Bug 14068 - VGA-0 is used as primary device with Xpress 200M 5955 PCIE
Summary: VGA-0 is used as primary device with Xpress 200M 5955 PCIE
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 07:44 UTC by Richard Van Den Boom
Modified: 2008-01-15 07:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg Log output (39.20 KB, application/octet-stream)
2008-01-14 07:44 UTC, Richard Van Den Boom
rvdb: 6.9/7.0+
Details
X Conf file (1.52 KB, patch)
2008-01-14 07:44 UTC, Richard Van Den Boom
no flags Details | Splinter Review

Description Richard Van Den Boom 2008-01-14 07:44:01 UTC
Created attachment 13708 [details]
Xorg Log output

Hi!
I use a Slackware current on a MSI S270 laptop, and recently upgraded the Xserver to 1.4.0.90 and the ATI driver to 6.7.197. I also upgraded to a self-compiled KDE4.
At first, when I started X, it seemed like two desktops were drawn on top of the other, the one receiving the KDE taskbar seeming to use a 1024x768 output while the LCD seems to display a 1280x800 screen underneath. Looking at the Xorg.0.log file, I saw that both VGA-0 and LVDS were using the same monitor entry in the xorg.conf. After googling and fiddling with xorg.conf options, I finally managed to bind the VGA-0 output and the LVDS to a specific monitor entry in the xorg.conf.
The problem is that apparently  the VGA-Output seems still to be considered primary, and the LVDS secondary, as KDE still doesn't set the taskbar on the Panel display.

It seems, according to the Xorg.0.log file, that the driver considers that there is a VGA output (while no screen is actually attached) :

(II) RADEON(0): Added native panel mode: 1280x800
(II) RADEON(0): Total number of valid Screen mode(s) added: 0
(II) RADEON(0): Output VGA-0 connected
(II) RADEON(0): Output LVDS connected
(II) RADEON(0): Output S-video disconnected
(II) RADEON(0): Output VGA-0 using initial mode 1024x768
(II) RADEON(0): Output LVDS using initial mode 1280x800

And obviously, it sets up the resolution accordingly. It sets it up on Port 0, which seems to determine it as the primary :

(II) RADEON(0): Output VGA-0 using monitor section VGA
(**) RADEON(0): Option "RightOf" "LCD"
(II) RADEON(0): I2C bus "MONID" initialized.
(II) RADEON(0): Output LVDS using monitor section LCD
(II) RADEON(0): Panel ID string: AU B121EW01 1280x800WXGA
(II) RADEON(0): Panel Size from BIOS: 1280x800
(II) RADEON(0): BIOS provided dividers will be used.
(WW) RADEON(0): LVDS Info:
XRes: 1280, YRes: 800, DotClock: 68900
HBlank: 128, HOverPlus: 8, HSyncWidth: 48
VBlank: 16, VOverPlus: 2, VSyncWidth: 3
(II) RADEON(0): Output S-video has no monitor section
(II) RADEON(0): Default TV standard: NTSC
(II) RADEON(0): TV standards supported by chip: NTSC 
(II) RADEON(0): Port0:
 Monitor   -- AUTO
 Connector -- VGA
 DAC Type  -- TVDAC/ExtDAC
 TMDS Type -- None
 DDC Type  -- MONID
(II) RADEON(0): Port1:
 Monitor   -- AUTO
 Connector -- Proprietary/LVDS
 DAC Type  -- None
 TMDS Type -- None
 DDC Type  -- None

Best regards,
Comment 1 Richard Van Den Boom 2008-01-14 07:44:31 UTC
Created attachment 13709 [details] [review]
X Conf file
Comment 2 Alex Deucher 2008-01-14 08:25:19 UTC
This should be work better in ati git master. We are not yet able to reliably do ddc on rs4xx chips, so the default was to light up the port.  In ati git master this is only done as a last resort so VGA shouldn't light up by default.  I'm not sure how kde decides what should be the "primary" screen, but your best bet is probably to mess with your kde config.  The laptop panel by default will be driven by crtc0 which is what most GUIs consider the "primary" desktop, perhaps kde has reversed logic?
Comment 3 Alex Deucher 2008-01-14 08:26:11 UTC
BTW, this will also work:
xrandr --output VGA-0 --off
Comment 4 Richard Van Den Boom 2008-01-14 08:37:26 UTC
Thanks for the very fast reply! :-D
Well, I tried to set up the xrandr command in the xinitrc, but that didn't cut it.
I'll try to check with KDE and maybe give a try to the git driver.
Comment 5 Alex Deucher 2008-01-14 09:23:26 UTC
you can also add this line to your VGA monitor section to default the monitor to off:
Option "Enable"  "FALSE"
Comment 6 Richard Van Den Boom 2008-01-15 01:19:01 UTC
OK, I'm sorry, it seems that for some reason, KDE4 kept memorized the positions of taskbar according to the occasion when I started X with apparently two screens. Removing the settings in .kde dir made everything back to normal so I suppose that either the "Enable" option for the monitor or the xrandr has done the trick OK, and that there was no real X bug.
So I suppose you can close this bugreport and sorry for the bother.


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.