Created attachment 21701 [details] screenshot showing the corrupt background I own a Lenovo W500 laptop coming with an integrated intel GM45 Express based GPU (and a second, but disabled ATI GPU), where Mandriva 2009.0 is running. I have configured the card for a dual head configuration. Now when I boot up the laptop without an external monitor connected, the background for my desktop is completely corrupted, see the attached screenshot. While the left part of the image (=the background for the external monitor) is obviously correct, the right part (=the background for the LVDS) is garbage. I can "fix" the issue by commenting out the 'Option "LeftOf" "LCD"' line below for the "ExtVGA" monitor, but that eventually breaks my dual head configuration. The relevant parts of my xorg.conf look like this: ---------CUT--------- Section "Monitor" Identifier "LCD" Option "DPMS" EndSection Section "Monitor" Identifier "ExtVGA" VendorName "Hanns.G" ModelName "Hanns.G HG221D" HorizSync 31-80 VertRefresh 56-75 Option "LeftOf" "LCD" # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync Option "DPMS" EndSection Section "Device" Identifier "device0" VendorName "Intel Corporation" BoardName "Intel 810 and later" Driver "intel" # Option "ModeDebug" "true" BusId "PCI:0:2:0" Option "DPMS" Option "AccelMethod" "EXA" Option "monitor-LVDS" "LCD" Option "monitor-VGA" "ExtVGA" EndSection Section "Screen" Identifier "screen0" Device "device0" Monitor "LCD" DefaultColorDepth 24 Subsection "Display" Depth 24 Modes "1920x1200" EndSubsection EndSection Section "Screen" Identifier "screen1" Device "device0" Monitor "ExtVGA" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1680x1050_60" EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "SendCoreEvents" Screen "screen0" EndSection ---------CUT---------
Please attach Xorg.0.log and the output of "xrandr -q", according to http://www.intellinuxgraphics.org/how_to_report_bug.html.
Created attachment 21717 [details] xrandr -q output with only lvds connected
Created attachment 21718 [details] Xorg.0.log with only lvds connected
hi, Could you try the command $xrandr --output VGA --left-of LVDS when when you boot up the laptop without an external monitor connected(as you said the desktop was corrupted), instead of Option "LeftOf" "LCD" in config file. Thanks Ma Ling
(In reply to comment #4) > hi, > Could you try the command $xrandr --output VGA --left-of LVDS when when you > boot up the laptop without an external monitor connected(as you said the > desktop was corrupted), instead of Option "LeftOf" "LCD" in config file. > Thanks > Ma Ling sorry please use "$xrandr --output LVDS --pos 0x0" to replace above one.
ok, just to be clear about this: If I boot up without an external monitor connected having this Monitor section in xorg.conf ... ------CUT------ Section "Monitor" Identifier "ExtVGA" VendorName "Hanns.G" ModelName "Hanns.G HG221D" HorizSync 31-80 VertRefresh 56-75 Option "LeftOf" "LCD" # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync Option "DPMS" EndSection ------CUT------ ... then the background is corrupted. And if I then invoke "$xrandr --output LVDS --pos 0x0" as you suggested, the corruption goes away :-)
hi Udo Rader, thanks for your reply soon.I think it is not driver problem, for more detail info how to configure dual head, please refer to http://intellinuxgraphics.org/dualhead.html. Thanks Ma Ling
Hmm, I still don't see where I am wrong, sorry :-) Is there something missing from my xorg.conf? The only thing that I did not specify is "Virtual x y" in the "Screen" section, but I don't understand why I should be required to set this (optional) parameter.
hi Udo Rader please try below configuration. (use the below 2 sections to replace original ones ) Section "Monitor" Identifier "LCD" Option "DPMS" Option "LeftOf" "ExtVGA" EndSection Section "Monitor" Identifier "ExtVGA" VendorName "Hanns.G" ModelName "Hanns.G HG221D" HorizSync 31-80 VertRefresh 56-75 Option "Position" "1920 0" # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync Option "DPMS" EndSection and Virtual x y set as Virtual 3600 2048 Thanks Ma Ling
hi Udo Rader, how about your desktop of laptop now ?
(In reply to comment #8) > Hmm, I still don't see where I am wrong, sorry :-) > Is there something missing from my xorg.conf? hi Udo Rader Because your laptop is primary screen, you should make it as left one(position 0 0). then tell VGA start position .e.g Option "Position" "1920 0" > The only thing that I did not specify is > "Virtual x y" > in the "Screen" section, but I don't understand why I should be required to set > this (optional) parameter. I 'm not sure whether it must be set, but the option tell Xorg how much memory we need to show on the screen. your bug has been fixed ? thanks Ma Ling
sorry for the late response, I had been out of office. For the problem itself, I also had to modify my LCD panel definition like this: Section "Monitor" Identifier "LCD" Option "DPMS" Option "LeftOf" "ExtVGA" Option "Position" "0 0" EndSection Without Position 0 0, the external & interal screens were somewhat "merged" at the border. But, the solution you provided does not really solve my problem. My primary display is the laptop's LCD screen, located _at the right_ of the external VGA. So I tried to alter my configuration like this: ----CUT---- Section "Monitor" Identifier "LCD" Option "DPMS" Option "RightOf" "ExtVGA" Option "Position" "1680 0" EndSection Section "Monitor" Identifier "ExtVGA" VendorName "Hanns.G" ModelName "Hanns.G HG221D" HorizSync 31-80 VertRefresh 56-75 Option "Position" "0 0" # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync Option "DPMS" EndSection And Virtual 3600 2048 given in both Screen sections ----CUT---- That gives me a working dual head configuration when both monitors are present, but still leaves me with a corrupted background when the external VGA monitor is not connected.
hi Udo Rader I found the problem will occur at 2.5.1 version. Could you update your driver as latest version from master tree? Thanks Ma Ling
Udo, for the screenshot you attached. did you get screenshot from your LVDS directly? ( i.e. the left part of LVDS panel is correct, the right part of LVDS panel is garbelled? ) I'm asking because not sure if you stitch two screenshots (one from VGA, one from LVDS ) into one..
What is "the latest version"? The "best" I can easily get is 2.6.0, that is by updating my box to the latest Mandriva development version ("cooker"). On the other hand, if you mean updating to the latest version from Git, that will be more work (because that probably means recompiling loads of packages). And per the background image, I got it directly by aquiring a screenshot from LVDS using Gimp, so I did not stitch together two images.
I now upgraded my system so that it uses version 2.6.0. And I still see the mentioned problem occuring here.
hi Udo Rader, I have set up the same environment with you, please upstream your xorg.conf file. Thanks Ma Ling
xorg.conf will follow in a second, but just another note: after upgrading to 2.6.1, I don't have the issue any more.
Created attachment 22477 [details] xorg.conf giving corrupt background until <= 2.6.0
hi Udo Rader, Thanks for your help, I will close the issue now. Regards Ma Ling
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.