Bug 109067 - Xorg crash when changing volume from game
Summary: Xorg crash when changing volume from game
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/AMDgpu (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-15 23:06 UTC by Clément Guérin
Modified: 2018-12-20 09:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Clément Guérin 2018-12-15 23:06:49 UTC
xf86-video-amdgpu 0d60233d
linux 4.19.8
gnome-shell

I was playing GTA V and changed the volume while in game. Xorg crashed with the following backtrace:

#0  0x00007f65bac82d7f raise (libc.so.6)
#1  0x00007f65bac6d672 abort (libc.so.6)
#2  0x00005576b88f6aea OsAbort (Xorg)
#3  0x00005576b88ed55f FatalError (Xorg)
#4  0x00005576b88fb37e n/a (Xorg)
#5  0x00007f65bac82e00 __restore_rt (libc.so.6)
#6  0x00007f65bae3782c n/a (amdgpu_drv.so)
#7  0x00007f65bae37e8f n/a (amdgpu_drv.so)
#8  0x00005576b8969e6a n/a (Xorg)
#9  0x00005576b8969fd8 n/a (Xorg)
#10 0x00007f65bae37770 n/a (amdgpu_drv.so)
#11 0x00007f65bae3b30c n/a (amdgpu_drv.so)
#12 0x00007f65bae32533 n/a (amdgpu_drv.so)
#13 0x00007f65bae32965 n/a (amdgpu_drv.so)
#14 0x00005576b88f4881 n/a (Xorg)
#15 0x00005576b88ff3a0 WaitForSomething (Xorg)
#16 0x00005576b888189b n/a (Xorg)
#17 0x00007f65bac6f223 __libc_start_main (libc.so.6)
#18 0x00005576b888230e _start (Xorg)
Comment 1 Clément Guérin 2018-12-15 23:17:36 UTC
Here's a better backtrace:

#0  0x00007f071e97cd7f raise (libc.so.6)
#1  0x00007f071e967672 abort (libc.so.6)
#2  0x0000564520015aea OsAbort (Xorg)
#3  0x000056452000c55f FatalError (Xorg)
#4  0x000056452001a37e n/a (Xorg)
#5  0x00007f071e97ce00 __restore_rt (libc.so.6)
#6  0x00007f071eb3182c amdgpu_present_check_flip (amdgpu_drv.so)
#7  0x00007f071eb31e8f amdgpu_present_flip (amdgpu_drv.so)
#8  0x0000564520088e6a n/a (Xorg)
#9  0x0000564520088fd8 n/a (Xorg)
#10 0x00007f071eb31770 amdgpu_present_flip_event (amdgpu_drv.so)
#11 0x00007f071eb3530c drmmode_flip_handler (amdgpu_drv.so)
#12 0x00007f071eb2c533 amdgpu_drm_queue_handle_one (amdgpu_drv.so)
#13 0x00007f071eb2c965 amdgpu_drm_handle_event (amdgpu_drv.so)
#14 0x0000564520013881 n/a (Xorg)
#15 0x000056452001e3a0 WaitForSomething (Xorg)
#16 0x000056451ffa089b n/a (Xorg)
#17 0x00007f071e969223 __libc_start_main (libc.so.6)
#18 0x000056451ffa130e _start (Xorg)

It seems to crash when the game regains focus.
Comment 2 Michel Dänzer 2018-12-18 10:48:26 UTC
Please attach the corresponding Xorg log file and the output of xrandr --prop.
Comment 3 Ernst Sjöstrand 2018-12-18 12:02:43 UTC
I had a crash a few weeks ago when changing volume during Vulkan fullscreen gaming and using the Gnome desktop (which pops up transparent window on top).

It looked like this: https://paste.ubuntu.com/p/FD9dDx68kd/

But I had a slightly outdated version of amdgpu ddx and got this reply:

MrCooper: ernstp: make sure you have all commits from the master branch, in particular https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/commit/51ba6dddee40c3688d4c7b12eabeab516ed153b7 might help for that crash 

But I guess you have that commit now...
Comment 4 Michel Dänzer 2018-12-18 16:08:35 UTC
Does https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/merge_requests/19 (the first patch specifically) fix it?
Comment 5 Clément Guérin 2018-12-19 05:25:31 UTC
I can confirm that MR !19 fixes it. Thanks for looking into this!
Comment 6 Michel Dänzer 2018-12-20 09:32:07 UTC
Now merged, thanks for the report and testing.


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.