I'd been following the randr-1.2 branch for a while, but it broke a while ago (and is still broken now it's been merged into HEAD). I finally did a git-bisect and tracked it to this change: commit cc8e1d95f1b90a259beea4e8cc4d7e29af660919 Author: Alex Deucher <alex@botch2.com> Date: Sun Aug 5 01:14:36 2007 -0400 RADEON: Major rework of BIOS table parsing - greatly simplify ATOM and legacy connector table parsing - use bios tables to detect LVDS and TV outputs - add support for TV table parsing (legacy only) Now when I try: xrandr --output VGA --mode 1920x1200 --right-of LVDS It exits with no errors and doesn't turn on the external display.
Created attachment 11336 [details] Xorg log with broken driver
Created attachment 11337 [details] Xorg log with working driver
Created attachment 11338 [details] xorg.conf
can you attach the output of xrandr --verbose from both git master and the older version? Next, it appears you have 3 monitors connected, one on the VGA, one on the DVI and the LVDS port. Is this correct? Are you trying to use only the LVDS and VGA ports in a side by side configuration?
Yeah, the the monitor has multiple inputs, I have both VGA and DVI connected. I'm not using the DVI because of blanking problems that I haven't had a chance to sit down and give useful info on yet.
Can you attach the xrandr outputs and try using only the DVI or VGA input? The monitor may be getting confused.
Disconnecting the DVI cable made no difference. Attaching the xrandr --verbose output as requested.
Created attachment 11345 [details] xrandr --verbose with broken driver
Created attachment 11346 [details] xrandr --verbose with working driver
It looks like the driver thinks the tv is connected and hence it is using a crtc, leaving none for the vga or dvi ports. does it help to turn off tv-out first? xrandr --output S-video --off then xrandr --output VGA-0 --auto or xrandr --output VGA-0 --mode 1920x1200 --right-of LVDS
Yeah, explicitly turning off the S-video connection made VGA work again. So the question is why does it think that's connected? There is an s-video port on the machine, but it's not hooked up to anything.
(In reply to comment #11) > Yeah, explicitly turning off the S-video connection made VGA work again. > > So the question is why does it think that's connected? There is an s-video port > on the machine, but it's not hooked up to anything. > The load detection code for tv-out is a bit flakey on some chips. Can you try commenting out lines 1413 and 1414 of radeon_output.c and see if that helps? remove these lines: if (IS_R300_VARIANT) return r300_detect_tv(pScrn); If not I may just disable tv-load detection by default.
(In reply to comment #12) > remove these lines: > > if (IS_R300_VARIANT) > return r300_detect_tv(pScrn); Commenting out those two lines did the trick.
Hmm, after a full reboot, same problem with those lines commented. I had to disable the S-video output manually.
Created attachment 11364 [details] xrandr --verbose after reboot with driver with 2 lines commented out
*** This bug has been marked as a duplicate of bug 12165 ***
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.