Bug 77903

Summary: X crash on start with radeonsi
Product: xorg Reporter: Will H <half-shot>
Component: Server/Acceleration/glamorAssignee: Zhigang Gong <zhigang.gong>
Status: RESOLVED FIXED QA Contact: xf86-video-ati maintainers <xorg-driver-ati>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
System Specifications
none
Xorg Log
none
/var/log/Xorg.0.log.old of crash after steam being launched none

Description Will H 2014-04-24 17:03:47 UTC
Created attachment 97913 [details]
System Specifications

Using a RadeonHD 7950, the latest git drivers for mesa and ati-dri crash when starting any X session. I have tried Gnome 3.12 and Openbox and both crash just after starting. 

Additionally, steam complains of a missing radeon_si.so file despite it being there while under stable drivers the system works fine. 

All packages were installed under the git version and prior to todays git (git-61601.80c1b93) update in Arch, everything was running fine with a small amount of instability crashes every couple of hours.

System specs.
Comment 1 Will H 2014-04-24 17:04:44 UTC
Created attachment 97914 [details]
Xorg Log
Comment 2 Michel Dänzer 2014-04-25 03:06:50 UTC
Fixed in glamor Git.
Comment 3 Will H 2014-04-25 16:09:21 UTC
Great. Works fine.
Comment 4 jackdachef 2014-07-21 15:04:19 UTC
X crashes here for me with latest xorg-server, libdrm, glamor, xf86-video-ati:

[ 10651.334] (EE) Backtrace:
[ 10651.334] (EE) 0: /usr/bin/X (xorg_backtrace+0x87) [0x7f914f081667]
[ 10651.334] (EE) 1: /usr/bin/X (0x7f914ee95000+0x1f153d) [0x7f914f08653d]
[ 10651.334] (EE) 2: /lib64/libc.so.6 (0x7f914d088000+0x35180) [0x7f914d0bd180]
[ 10651.334] (EE) 3: /usr/lib64/dri/radeonsi_dri.so (0x7f91472c3000+0x2a888c) [0x7f914756b88c]
[ 10651.334] (EE) 4: /usr/lib64/dri/radeonsi_dri.so (0x7f91472c3000+0x2a76b6) [0x7f914756a6b6]
[ 10651.334] (EE) 5: /usr/lib64/dri/radeonsi_dri.so (0x7f91472c3000+0x1dd9fc) [0x7f91474a09fc]
[ 10651.334] (EE) 6: /usr/lib64/dri/radeonsi_dri.so (0x7f91472c3000+0x1b457a) [0x7f914747757a]
[ 10651.334] (EE) 7: /usr/lib64/dri/radeonsi_dri.so (0x7f91472c3000+0x146640) [0x7f9147409640]
[ 10651.334] (EE) 8: /usr/lib64/xorg/modules/libglamoregl.so (0x7f914bc8a000+0x1ad6) [0x7f914bc8bad6]
[ 10651.334] (EE) 9: /usr/lib64/xorg/modules/libglamoregl.so (glamor_egl_create_argb8888_based_texture+0xb2) [0x7f914bc8bed2]
[ 10651.334] (EE) 10: /usr/lib64/libglamor.so.0 (0x7f914b613000+0x2bc5c) [0x7f914b63ec5c]
[ 10651.334] (EE) 11: /usr/lib64/libglamor.so.0 (0x7f914b613000+0x2c417) [0x7f914b63f417]
[ 10651.334] (EE) 12: /usr/lib64/libglamor.so.0 (glamor_create_pixmap+0x31d) [0x7f914b61795d]
[ 10651.334] (EE) 13: /usr/lib64/libglamor.so.0 (0x7f914b613000+0xbe68) [0x7f914b61ee68]
[ 10651.334] (EE) 14: /usr/lib64/libglamor.so.0 (0x7f914b613000+0xd0f7) [0x7f914b6200f7]
[ 10651.334] (EE) 15: /usr/bin/X (0x7f914ee95000+0x1624ee) [0x7f914eff74ee]
[ 10651.334] (EE) 16: /usr/bin/X (0x7f914ee95000+0x155eed) [0x7f914efeaeed]
[ 10651.334] (EE) 17: /usr/bin/X (0x7f914ee95000+0x55c9f) [0x7f914eeeac9f]
[ 10651.334] (EE) 18: /usr/bin/X (0x7f914ee95000+0x5aa2a) [0x7f914eeefa2a]
[ 10651.334] (EE) 19: /lib64/libc.so.6 (__libc_start_main+0x114) [0x7f914d0a80f4]
[ 10651.334] (EE) 20: /usr/bin/X (0x7f914ee95000+0x41889) [0x7f914eed6889]
[ 10651.334] (EE) 
[ 10651.334] (EE) Segmentation fault at address 0x10
[ 10651.334] (EE) 
Fatal server error:
[ 10651.334] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 10651.334] (EE) 
[ 10651.334] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 10651.334] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10651.334] (EE) 
[ 10651.334] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 10651.340] (EE) Server terminated with error (1). Closing log file.


did this re-appear ?


kernel is 3.14.13

would running with 3.15 make a difference ?
Comment 5 jackdachef 2014-07-21 15:08:31 UTC
Created attachment 103194 [details]
/var/log/Xorg.0.log.old of crash after steam being launched

warsow, openarena, glxgears, etc. works fine without crashing X
Comment 6 Michel Dänzer 2014-07-22 06:42:46 UTC
(In reply to comment #5)
> did this re-appear ?

No, you seem to be using the standalone glamor 0.6.0 release or another snapshot of the standalone glamor tree which doesn't have the fix for this crash yet.

Please use glamor from the xserver tree, that'll also give you much better performance.
Comment 7 jackdachef 2014-08-01 01:58:14 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > did this re-appear ?
> 
> No, you seem to be using the standalone glamor 0.6.0 release or another
> snapshot of the standalone glamor tree which doesn't have the fix for this
> crash yet.
> 
> Please use glamor from the xserver tree, that'll also give you much better
> performance.

indeed !

meanwhile been using xserver tree glamor and it's way better

thanks for the reply

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.