You are not logged in.
Hi guys,
I have an intel x3100 on my laptop.
At home I have a monitor with native resolution 1680x1050.
At work I have a monitor with native resolution 1280x1024.
The laptop monitor has 1280x800 native resolution and works well always.
This is my xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "xtrap"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "DellLedMonitor"
VendorName "Dell"
ModelName "DellLedMonitor"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile GM965/GL960 Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "DellLedMonitor"
Subsection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1280x800"
ViewPort 0 0
Virtual 2048 2048
EndSubSection
EndSection
With previous xorg-server I was able to attach both monitors and the native resolutions were detected correctly.
After the upgrade I have to set every time the right resolution with xrandr.
For instance if in my xorg.conf I have:
Modes "1680x1050" "1280x1024" "1280x800"
then the monitor at home works well and the resolution on the monitor at work is messed up.
If I have:
Modes "1280x1024" "1280x800"
the monitor at home is messed up and the monitor at work has the correct resolution.
In the man xorg.conf I found this info:
The first valid mode in this list will be the default display mode for startup. The list of valid modes is converted internally into a circular list.
It is possible to switch to the next mode with Ctrl+Alt+Keypad-Plus and to the previous mode with Ctrl+Alt+Keypad-Minus.
The problem is that I'm not able to switch between the modes.
It is possible to configure this xorg-server in order to obtain the same behavior of the previous?
Any hint? If you also have some docs about latest xorg-server and the external monitors configuration please post.
BTW I'm using hotplugging system and disabling it didn't change anything. I always have one monitor with correct resolution at time.
Thank you very much for any information.
PS: I have searched on web but all I find are topics about previous versions of xorg-server. And in the forum I didn't found any useful information although there are many xorg about topics.
Last edited by ArchArael (2008-12-10 22:35:52)
Offline
In the end after tinkering with modelines screens and all possible sections in the xorg.conf I opted for this not so elegant solution:
I put these two functions in my .bashrc
function workres(){
xrandr --output VGA --mode 1280x1024
xrandr --output LVDS --below VGA
nitrogen --restore
}
function homeres(){
xrandr --output VGA --mode 1680x1050
xrandr --output LVDS --below VGA
nitrogen --restore
}
Last edited by ArchArael (2008-12-11 11:28:10)
Offline