Bug 75433 - xserver crashes after suspend with radeonsi and glamor, poor 2d performance
Summary: xserver crashes after suspend with radeonsi and glamor, poor 2d performance
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL: https://bugs.launchpad.net/glamor/+bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 11:22 UTC by blaze
Modified: 2014-03-20 14:00 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg after the crash (77.73 KB, text/plain)
2014-03-10 18:44 UTC, blaze
Details

Description blaze 2014-02-24 11:22:46 UTC
Hardware: AMD KABINI Temash [Radeon HD 8250/8280G] [1002:983d] 
Uname: Linux 3.13.0-8-generic x86_64
With "EXA" enabled instead of "glamor" everything is fine.

[ 2118.897] (EE) Backtrace:
[ 2118.934] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f4539513958]
[ 2118.934] (EE) 1: /usr/bin/X (0x7f453936b000+0x1ac649) [0x7f4539517649]
[ 2118.934] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f4538468000+0x10330) [0x7f4538478330]
[ 2118.935] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x23530c) [0x7f45328ae30c]
[ 2118.935] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x236d30) [0x7f45328afd30]
[ 2118.935] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x21c3aa) [0x7f45328953aa]
[ 2118.935] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x144a91) [0x7f45327bda91]
[ 2118.935] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x14c850) [0x7f45327c5850]
[ 2118.935] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0x14ee0c) [0x7f45327c7e0c]
[ 2118.935] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0xe7237) [0x7f4532760237]
[ 2118.935] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f4532679000+0xe8680) [0x7f4532761680]
[ 2118.936] (EE) 11: /usr/lib/x86_64-linux-gnu/libglamor.so.0 (0x7f4535093000+0x26956) [0x7f45350b9956]
[ 2118.936] (EE) 12: /usr/lib/x86_64-linux-gnu/libglamor.so.0 (0x7f4535093000+0x27136) [0x7f45350ba136]
[ 2118.936] (EE) 13: /usr/lib/x86_64-linux-gnu/libglamor.so.0 (glamor_create_pixmap+0x298) [0x7f45350975e8]
[ 2118.936] (EE) 14: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f4532dc5000+0x4c963) [0x7f4532e11963]
[ 2118.936] (EE) 15: /usr/bin/X (0x7f453936b000+0x519f7) [0x7f45393bc9f7]
[ 2118.936] (EE) 16: /usr/bin/X (0x7f453936b000+0x55a9e) [0x7f45393c0a9e]
[ 2118.936] (EE) 17: /usr/bin/X (0x7f453936b000+0x5989a) [0x7f45393c489a]
[ 2118.937] (EE) 18: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f4536ea5ed5]
[ 2118.937] (EE) 19: /usr/bin/X (0x7f453936b000+0x44e7e) [0x7f45393afe7e]
[ 2118.937] (EE)
[ 2118.937] (EE) Segmentation fault at address 0x10
[ 2118.937] (EE)
Fatal server error:
[ 2118.937] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 2118.937] (EE)
[ 2118.937] (EE)
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 2118.937] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2118.938] (EE)
[ 2118.938] (EE) Server terminated with error (1). Closing log file.
Comment 1 Jarno Leppänen 2014-02-25 12:08:57 UTC
I'm having the same issue which I reported here: https://bugs.freedesktop.org/show_bug.cgi?id=75494

I was under the impression that EXA doesn't work with radeonsi? On my machine enabling EXA disables direct rendering with Xorg.log complaining that "Screen 0 is not DRI2 capable" so the suggested workaround doesn't really work.
Comment 2 blaze 2014-02-25 19:15:22 UTC
Of course DRI is not working. At least there are no crashes with "EXA" enabled and 2d performance is pretty normal.

gtkperf:
GtkDrawingArea - Lines - time:  1.32
GtkDrawingArea - Circles - time:  2.56
Comment 3 blaze 2014-02-25 19:37:44 UTC
(In reply to comment #1)
> I'm having the same issue which I reported here:
> https://bugs.freedesktop.org/show_bug.cgi?id=75494
> 
> I was under the impression that EXA doesn't work with radeonsi? On my
> machine enabling EXA disables direct rendering with Xorg.log complaining
> that "Screen 0 is not DRI2 capable" so the suggested workaround doesn't
> really work.
Comment 4 Michel Dänzer 2014-02-27 07:09:15 UTC
Please attach the output of dmesg after the crash.

Can you get a backtrace of the crash with gdb?

Note that there is no EXA support for Southern Islands and newer Radeons, Option "AccelMethod" "EXA" just disables all hardware acceleration with those.
Comment 5 blaze 2014-03-10 18:44:53 UTC
Created attachment 95527 [details]
dmesg after the crash
Comment 6 blaze 2014-03-20 14:00:44 UTC
Fixed since I've updated kernel to 3.14rc7.


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.