Bug 11238

Summary: screen is black for 15.369 seconds when switching vt (Mobility X700)
Product: xorg Reporter: Tormod Volden <bugzi11.fdo.tormod>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
xorg.conf (Ubuntu 7.04)
none
gdb output
none
limits PanelPwrDly to 2000 ms, as for non-AtomBios none

Description Tormod Volden 2007-06-11 15:41:31 UTC
This came somewhere towards ati 6.6.191 (it was fine in 6.6.3). Whenever the consoles are switched with ctrl-alt-F7, the X server starts, or when coming back from sleep, there is something like 10 seconds of black screen before the normal screen comes back. I am using the patch from bug #5473 (otherwise it would be black forever...), but I am not sure it is related, since the patch was working fine before.
Comment 1 Tormod Volden 2007-06-11 15:42:35 UTC
Created attachment 10259 [details]
Xorg.0.log
Comment 2 Tormod Volden 2007-06-11 15:43:17 UTC
Created attachment 10260 [details]
xorg.conf (Ubuntu 7.04)
Comment 3 Michel Dänzer 2007-06-12 00:43:17 UTC
Is this not bug 7771?
Comment 4 Tormod Volden 2007-06-12 14:56:47 UTC
Created attachment 10273 [details]
gdb output

I found the problem, it is running usleep(info->PanelPwrDly * 1000), but that value was set to 15369.

In RADEONGetLVDSInfoFromBIOS there is some logic for limiting the value to 2000, but this not done when info->IsAtomBios is true.
Comment 5 Tormod Volden 2007-06-12 15:31:19 UTC
Created attachment 10278 [details] [review]
limits PanelPwrDly to 2000 ms, as for non-AtomBios
Comment 6 Alex Deucher 2007-06-12 20:57:21 UTC
fixed in master and randr-1.2.  thanks!

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.