Bug 17748

Summary: Black screen after "switch cursors over to generic allocator" commit (4dff54a3...)
Product: xorg Reporter: Tyson Whitehead <twhitehead>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: regression
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Log from running last working commit driver
none
Log from running first non-working commit. none

Description Tyson Whitehead 2008-09-23 18:30:18 UTC
Commit "switch cursors over to generic allocator" (5b1978a4796bcc31ac2f01d303dc8f8f44323025) resulted in my laptop's built in screen going black as soon as XOrg loads.

The machine is not locked up.  I can switch to VTs and enter commands, however, the display remains black (even when switching VTs) until I reboot it.  Due to the commit description, I tried the "SWcursor" option and discovered this does not happen (i.e., it works) if it is specified.

I'll attach full logs for running with the previous commit and this one.  The differences are (I may have caused an additional VT switch or something when collecting the running blind log):

--- radeon-5b1978a4796bcc31ac2f01d303dc8f8f44323025.log 2008-09-23 19:51:49.000000000 -0400                                         
+++ radeon-4dff54a3c8d7c9f2d6ec50354ff0b92f1b7fcbdf.log 2008-09-23 19:57:11.000000000 -0400                                         
@@ -12,7 +12,7 @@                                                                                                                   
 Markers: (--) probed, (**) from config file, (==) default setting,                                                                 
        (++) from command line, (!!) notice, (II) informational,                                                                    
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.                                                               
-(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 23 19:50:14 2008                                                               
+(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 23 19:50:27 2008                                                               
 (==) Using config file: "/etc/X11/xorg.conf"                                                                                       
 (==) ServerLayout "Default Layout"                                                                                                 
 (**) |-->Screen "Default Screen" (0)                                                                                               
@@ -661,6 +661,51 @@
 (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: MOUSE)
 (WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
 (--) SynPS/2 Synaptics TouchPad touchpad found
+Blank CRTC 0 success
+Disable CRTC 0 success
+Blank CRTC 1 success
+Disable CRTC 1 success
+(II) RADEON(0): RADEONRestoreMemMapRegisters() :
+(II) RADEON(0):   MC_FB_LOCATION   : 0x00df00d0 0x00df00d0
+(II) RADEON(0):   MC_AGP_LOCATION  : 0x00000000
+(II) RADEON(0): avivo_restore !
+Enable CRTC 0 success
+Unblank CRTC 0 success
+(II) Open ACPI successful (/var/run/acpid.socket)
+Output 68 disable success
+Output 66 disable success
+Blank CRTC 0 success
+Disable CRTC 0 success
+Blank CRTC 1 success
+Disable CRTC 1 success
+Blank CRTC 0 success
+Disable CRTC 0 success
+Mode 1680x1050 - 1904 1066 0
+(II) RADEON(0): RADEONRestoreMemMapRegisters() :
+(II) RADEON(0):   MC_FB_LOCATION   : 0x00df00d0 0x00df00d0
+(II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
+freq: 122000000
+best_freq: 122000000
+best_feedback_div: 488
+best_ref_div: 12
+best_post_div: 9
+(II) RADEON(0): crtc(0) Clock: mode 122000, PLL 122000
+(II) RADEON(0): crtc(0) PLL  : refdiv 12, fbdiv 0x1E8(488), pdiv 9
+Set CRTC PLL success
+Set CRTC Timing success
+Not using RMX
+scaler 0 setup success
+Set CRTC 0 Source success
+Enable CRTC 0 success
+Unblank CRTC 0 success
+Output 68 disable success
+Output 66 disable success
+Blank CRTC 1 success
+Disable CRTC 1 success
+(II) Configured Mouse: ps2EnableDataReporting: succeeded
+(--) Synaptics Touchpad touchpad found
+(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
+(--) SynPS/2 Synaptics TouchPad touchpad found
 (II) UnloadModule: "kbd"
 (II) UnloadModule: "mouse"
 (II) UnloadModule: "synaptics"
Comment 1 Tyson Whitehead 2008-09-23 18:31:40 UTC
Created attachment 19142 [details]
Log from running last working commit driver
Comment 2 Tyson Whitehead 2008-09-23 18:32:15 UTC
Created attachment 19143 [details]
Log from running first non-working commit.
Comment 3 Michel Dänzer 2008-09-24 00:23:32 UTC
You probably need to re-run autogen.sh, check the X server's stderr output.

In general, when building from Git, make sure --enable-maintainer-mode is passed to configure.

Please reopen if this turns out not to be the problem.
Comment 4 Tyson Whitehead 2008-09-24 08:36:31 UTC
You were right.  It was an unresolved symbol problem that went away when I re-ran autogen.sh and rebuilt.

Thanks!  -Tyson

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.