Sabayon 3.4 | New Xorg AutoConfig & Screen Resolution

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Sabayon 3.4 | New Xorg AutoConfig & Screen Resolution

Postby jonnyrockets » Sat Aug 04, 2007 2:31

Greetings All,

Been following sabayon for a while, and getting others hooked on it. I have a rather unique problem..

First let me state that my setup works fine... I have an Asus s5n laptop (1.8GHz w/ 768RAM).

The only problem I am experiencing is with my screen resolution. My laptop is not widescreen, just a regular 12" LCD display, but Xorg autoconfig seems to only let me choose the widescreen resolutions.

The tool has many resolutions, most of which are not supported by my lcd - and it doesn't have 1024x768.

Usually in the past to fix something like this i would edit the xorg.conf file as superuser, which I have just tried.

The setup is a bit different though, and the screen resolutions displayed in the Gnome Control Center are not the same as what's in xorg.conf. I tried to uncomment out the mode line to enable 1024x768 (my max lcd resolution), then restarted X ( i have done this many times in the past with success).

Then, when i went to start up the screen resolution picker from control center it crashed.. and that is all it does now is just crash when i attempt to start it.

But the weird thing is that everything continues to run fine... I can do the 3d desktop effects , but when i zoom out on the cube you can see the extra 20 pixels or so on the right when i do not use, and do not fit on my screen..

So, my question is - how can i change my screen resolution with the new autoconfig Xorg, and how can i get the screen resolution tool to stop crashing?

Thanks in advance,


Jonny Rockets
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Postby wolfden » Sat Aug 04, 2007 3:38

have you ever tried to boot the livedvd with the proper res cheat code than install?? See the wiki for cheat codes
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby jonnyrockets » Sun Aug 05, 2007 22:36

no, i have the OS fully installed now on the hard drive.. i need a fix that is not a live dvd fix.

i have just checked the wiki, and the cheat codes seem to be only for the live dvd. any suggestions?

also - probably unrelated, but i use GNOME, and whenever i click "logout" the system locks up. this has happened to me for all of the past sabayon distros.. i usually just end up killing the X server, and shutting down from there.
Last edited by jonnyrockets on Sun Aug 05, 2007 23:12, edited 1 time in total.
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Postby wolfden » Sun Aug 05, 2007 23:09

It doesn't matter if installer or not, Boot up the livedvd with correct information and you will have a nice xorg.conf to copy over to your installed OS to use.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby jonnyrockets » Sun Aug 05, 2007 23:14

ok, so if i boot with the liveDVD again, and give the cheat code:

noddc res=1024x768 refresh=60

that will generate a new xorg.conf ?

will it overwrite my current xorg.conf ?

i don't understand how to access the new config.. or if its automatic.
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Postby wolfden » Sun Aug 05, 2007 23:54

augh

once booted, go to /etc/X11 and copy the xorg.conf to your partiton that you installed your OS too, or copy and paste is some place on the net so you can access it after you reboot to your installed OS
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby jonnyrockets » Mon Aug 06, 2007 0:55

I don't beileve modifying my xorg will change this problem... but i will give this a shot and repost.
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Postby jonnyrockets » Mon Aug 06, 2007 2:10

yeah.. that didn't work at all. I made sure to make a backup of my old xorg.conf file, and this new one still works the same way the old one does.

the live cd still managed to boot into the wrong resolution even after the cheat code.. the only difference this time was that it failed to load the KDE menu this time!

super frustrating.


still the screen resolution tool crashes every time i start it.

does anyone know how to fix this?

FYI originally the screen resolution tool displayed many resolutions not present in the xorg.conf file. I do not understand how this new autoconfig stuff works.
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Postby wolfden » Mon Aug 06, 2007 2:36

:lol:

The only way you are gonna get your res is to set the xorg.conf right.


Very Very Very odd the res= cheat code didn't work, haven't seen it fail yet



try posting your xorg.conf
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby jonnyrockets » Mon Aug 06, 2007 2:43

Section "Files"


#FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/corefonts"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"

Load "dbe"
Load "i2c"
Load "glx"
Load "ddc"
Load "type1"
Load "freetype"
Load "extmod"
Load "synaptics"
Load "vbe"
Load "dri"

EndSection


# **********************************************************************
# Server flags section. This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

Option "AllowMouseOpenFail" "true"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
Identifier "Synaptics1"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
# For ALPS/MacBook TouchPads
#Option "MaxSpeed" "0.7"
#Option "MinSpeed" "0.18"
#Option "AccelFactor" "0.08"
#Option "TopEdge" "120"
#Option "LeftEdge" "120"
#Option "BottomEdge" "830"
#Option "RightEdge" "650"
#Option "FingerLow" "25"
#Option "FingerHigh" "30"
# MacBook touchpad
#Option "MaxTapTime" "180"
#Option "MaxTapMove" "220"
#Option "MaxDoubleTapTime" "180"
#Option "VertScrollDelta" "20"
#Option "HorizScrollDelta" "50"
#Option "TapButton2" "3"
#Option "TapButton3" "2"
#Option "VertTwoFingerScroll" "1"

# Do you keep moving the mouse while typing? Try this trick.
#synclient TouchpadOff=1 disable your synaptics touchpad
#synclient TouchpadOff=0 enable your synaptics touchpad
EndSection


Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

Option "AutoRepeat" "500 5"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbRules" "xorg"
# Macintosh keyboard
#Option "XkbOptions" "lv3:rwin_switch"

EndSection


Section "InputDevice"
Driver "wacom"
Identifier "wacom1"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "wacom2"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "wacom3"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Generic Monitor"
#Option "DPMS"

VertRefresh 60
HorizSync 28 - 80

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA"
Driver "i810" # do not remove vesa
#Option "RenderAccel" "on"
Option "XAANoOffscreenPixmaps"
#Option "BusType" "PCI"
#Option "ColorTiling" "on"
#Option "EnablePageFlip" "on"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

Identifier "Screen 1"
Device "VESA"
Monitor "Generic Monitor"
Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

DefaultDepth 24

SubSection "Display"
Depth 8
ViewPort 0 0
Modes "1024x768" "1024x768" "800x600"
EndSubsection

SubSection "Display"
Depth 16
ViewPort 0 0
Modes "1024x768" "1024x768" "800x600"
EndSubsection

SubSection "Display"
Depth 24
ViewPort 0 0
Modes "1024x768" "1024x768" "800x600"
EndSubsection


EndSection


Section "ServerLayout"
# The Identifier line must be present

Identifier "Main Layout"
Screen 0 "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Synaptics1" "SendCoreEvents"
#InputDevice "wacom1" "SendCoreEvents"
#InputDevice "wacom2" "SendCoreEvents"
#InputDevice "wacom3" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
jonnyrockets
Baby Hen
 
Posts: 19
Joined: Thu May 31, 2007 18:59

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

cron