Bug 12913

Summary: radeon driver drives external monitor at 59Hz intead of higher (85) - flicker
Product: xorg Reporter: Orion Poplawski <orion>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: anthony.brock, chithanh
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
x log
none
xorg.conf
none
x log with lid up none

Description Orion Poplawski 2007-10-24 14:47:50 UTC
This is with the latest (10/24) git version.

Running on a Dell Inspiron 4150 laptop in dock with external crt.  Lid is closed.  I've forced the resolution to 1600x1200 because without it it tries to run at 1024x768 117.8kHz/146Hz which is small and out of range of the monitor.

Monitor OSD reports 1600x1200 mode as 73.9kHz/59Hz.
Comment 1 Orion Poplawski 2007-10-24 14:48:10 UTC
Created attachment 12174 [details] [review]
x log
Comment 2 Orion Poplawski 2007-10-24 14:48:25 UTC
Created attachment 12175 [details] [review]
xorg.conf
Comment 3 Orion Poplawski 2007-12-04 11:04:02 UTC
Anyone?  This is killing my eyes.  Just installed version 6.7.196-2.fc8 but no change.  Any way to force 85Hz in xorg.conf?
Comment 4 Orion Poplawski 2007-12-04 11:05:41 UTC
Although I think the problem is that X *thinks* it is driving the display at 85Hz, but it really isn't.
Comment 5 Alex Deucher 2007-12-04 11:28:29 UTC
can you attach the output of xrandr?  Does it help if you switch to another mode and back?

xrandr --output VGA-0 --mode 1024x768
xrandr --output VGA-0 --mode 1600x1200 --rate 85
xrandr --output VGA-0 --mode 1600x1200 --rate 75
Comment 6 Orion Poplawski 2007-12-04 11:58:05 UTC
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1200
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
   1600x1200      85.0*+   75.0
   1024x768       85.0     75.1
   1280x1024      84.8     75.0
   1152x864       75.0
   800x600        84.9     75.0
   640x480        84.6     75.0     60.0
   720x400        70.1
LVDS disconnected (normal left inverted right x axis y axis)
S-video disconnected (normal left inverted right x axis y axis)

Switching to 1024x768 drives the monitor at 117.8kHz/146Hz.
Switching to 1600x1200x75 drives it at 74.5kHz/59Hz.
                       85              73.9kHz/59Hz.

So it doesn't appear to be twiddling the registers properly.
Comment 7 Alex Deucher 2007-12-04 12:11:22 UTC
does VGA work properly when the lid is open and LVDS is active?
Comment 8 Orion Poplawski 2007-12-04 12:49:54 UTC
Created attachment 12939 [details]
x log with lid up

With the laptop out of the dock and the lid up, it drives the external monitor fine.  Mode is 106.8kHz/85Hz as reported by the monitor.
Comment 9 Alex Deucher 2007-12-04 14:47:57 UTC
(In reply to comment #8)
> Created an attachment (id=12939) [details]
> x log with lid up
> 
> With the laptop out of the dock and the lid up, it drives the external monitor
> fine.  Mode is 106.8kHz/85Hz as reported by the monitor.
> 

seems to be an issue with pll on crtc 0.  Seems like it's stuck at the panel clock.  I'll investigate once I get access to monitor.
Comment 10 Alex Deucher 2007-12-09 21:11:07 UTC
I think bug 12913 and bug 13533 may be related.  It seems pll 0 has issues that may be related to bios init.
Comment 11 Alex Deucher 2007-12-11 07:49:04 UTC
*** Bug 13590 has been marked as a duplicate of this bug. ***
Comment 12 Alex Deucher 2007-12-11 07:49:16 UTC
*** Bug 13533 has been marked as a duplicate of this bug. ***
Comment 13 Alex Deucher 2007-12-11 09:00:15 UTC
should be fixed with commit: f3d2ec3a5ae61215c792018320158750e7aa937c
Comment 14 Orion Poplawski 2007-12-11 09:25:27 UTC
Works for me.  Thanks!
Comment 15 Chí-Thanh Christopher Nguyễn 2007-12-14 02:59:07 UTC
After commit f3d2ec3a5ae61215c792018320158750e7aa937c, the display in my laptop's internal panel is heavily distorted.
Comment 16 Anthony Brock 2007-12-17 08:25:59 UTC
This also resolved my issue. Dual-head is working fine now!
Comment 17 Jerome Glisse 2009-05-20 04:49:54 UTC
Seems fixed, closing the bug, reopen (and update buginfo) if you still have issue with lastest xf86-video-ati.

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.