Bug 13557 - radeon: incorrect crtc for external LCD on VGA-0
Summary: radeon: incorrect crtc for external LCD on VGA-0
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 00:05 UTC by Otto Solares
Modified: 2008-12-04 07:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg config file (3.76 KB, text/plain)
2007-12-07 00:08 UTC, Otto Solares
no flags Details
xorg log file (114.07 KB, text/plain)
2007-12-07 00:08 UTC, Otto Solares
no flags Details
xrandr verbose (4.59 KB, text/plain)
2007-12-15 17:39 UTC, Otto Solares
no flags Details

Description Otto Solares 2007-12-07 00:05:49 UTC
Video card on x86 laptop:                                                                           
                                                                                                    
ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 02)                                    
                                                                                                    
I used to have an old external CRT monitor attached to the VGA-0                                    
connector and the command `xrand --output LVDS --off` would                                         
correctly turn off the laptop's LCD so I can work in the external                                   
without having both monitors powered-on.                                                            
                                                                                                    
Problem now is that I buy a new external LCD monitor and the                                        
above command would turn off both the new LCD and the laptop's                                      
LCD.                                                                                                
                                                                                                    
But when `xrandr --output VGA-0 --crtc 0` everything works as                                       
expected so I pressume is a bug in the crtc detection when a                                        
LCD is attached in the VGA-0 connector both monitors are driven                                     
by the same crtc.  As I said, plugging the CRT monitor doesn't                                      
exhibit this problem.                                                                               
                                                                                                    
Running latest Debian Sid (X Server 1.4.0) and git radeon driver.
Comment 1 Otto Solares 2007-12-07 00:08:00 UTC
Created attachment 12991 [details]
xorg config file
Comment 2 Otto Solares 2007-12-07 00:08:28 UTC
Created attachment 12992 [details]
xorg log file
Comment 3 Otto Solares 2007-12-07 08:28:51 UTC
I did a mistake, please replace with `xrandr --output VGA-0 --crtc 1` the original bug report as `--crtc 0` does not exist.
Comment 4 Alex Deucher 2007-12-09 10:37:01 UTC
Can you attach the output of xrandr --verbose before forcing the crtc for VGA-0?
Comment 5 Alex Deucher 2007-12-11 09:09:44 UTC
Can you also try with the latest ati git master?
Comment 6 Otto Solares 2007-12-15 17:39:47 UTC
Created attachment 13138 [details]
xrandr verbose
Comment 7 Otto Solares 2007-12-15 17:44:55 UTC
Latest git driver don't solve the problem even with latest git xrandr tool, additionally now I can't force a CRTC for the VGA-0 port.

Comment 8 Otto Solares 2007-12-15 17:49:19 UTC
Additional testing and it seems that now the VGA-0 port have the correct CRTC but issuing `xrandr --output LVDS --off` will turn off both VGA-0 and LVDS ports so the original problem persists.
Comment 9 Alex Deucher 2007-12-16 09:58:27 UTC
The crtc mappings have been correct all along.  The driver only supports one output per crtc at the moment.  Something else is going on here.  If this used to work properly before, can you use git bisect to find where it broke?
Comment 10 Otto Solares 2007-12-16 18:46:05 UTC
If the attached monitor to the VGA-0 port is a CRT it never was a problem.
If the attached monitor to the VGA-0 port is a LCD it always is a problem.

But this solves the problem for me:

xrandr --output VGA-0 --off
xrandr --auto
xrandr --output LVDS --off
Comment 11 Orion Poplawski 2008-06-18 10:13:58 UTC
I think I'm seeing the same/similar on a Radeon Mobility M6 LY running Fedora 8.  Reverting to 6.6.3-4.fc7 from Fedora 7 makes it work for me.  I'm currently in the process of a git bisect.  I'll post more information when I have it.
Comment 12 Alex Deucher 2008-12-03 00:55:57 UTC
Is this still an issue with a newer driver (6.9.0 or newer)?
Comment 13 Otto Solares 2008-12-04 07:36:08 UTC
(In reply to comment #12)
> Is this still an issue with a newer driver (6.9.0 or newer)?

I just tested with the original hardware; drivers in Debian Sid 6.9.0 and latest git tree and I can't reproduce the bug, everything is working properly on both versions.

Thanks for fixing it!


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.