Bug 108753

Summary: [RX570]GOG Dosbox game causes lockup
Product: DRI Reporter: baraclese
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: harry.wentland, nicholas.kazlauskas
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
kernel trace
none
Xorg.0.log none

Description baraclese 2018-11-15 10:46:08 UTC
Created attachment 142473 [details]
kernel trace

I have a two monitor setup connected to a RX 570, one via display port, one via DVI.

I installed the GOG game 'Star Wars - Dark Forces' which runs in dosbox. When dosbox starts it switches to fullscreen and displays on the monitor attached via DVI. At that point the computer locks up. This bug is always reproducible.

The kernel trace shows errors such as:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:64:DVI-D-1] flip_done timed out
Comment 1 Michel Dänzer 2018-11-15 11:11:57 UTC
Please attach the corresponding Xorg log file, preferably captured after the problem occurred.
Comment 2 baraclese 2018-11-15 12:47:34 UTC
Created attachment 142475 [details]
Xorg.0.log
Comment 3 Nicholas Kazlauskas 2018-11-15 13:50:06 UTC
What distro and desktop environment are you using?

Does this problem occur when using xf86-video-amdgpu instead of the modesetting driver?
Comment 4 baraclese 2018-11-15 15:06:34 UTC
Arch Linux/Budgie Desktop. I tried a few other dosbox games and they work correctly. The game also works correctly when starting dosbox in windowed mode. Then I tried to start the game with only one monitor attached and I could reproduce the problem with the BENQ G2420HDBL monitor attached via DVI. The error also occurred when starting in windowed mode and then switching to fullscreen manually. Also the error does not occur with kernel version 4.14.80. I will be able to test without modesetting driver tomorrow.
Comment 5 baraclese 2018-11-23 10:39:03 UTC
I can confirm that the problem does not occur when I load xf86-video-amdgpu driver.
Comment 6 Michel Dänzer 2018-11-23 14:16:42 UTC
I'm glad to hear that, but it would still be good to rule out a kernel bug. Can you bisect the kernel change which triggered the problem with the modesetting driver?
Comment 7 baraclese 2018-11-29 21:01:04 UTC
Well, I'm having trouble compiling a bootable kernel v4.15, so I can't pinpoint it excactly. The last kernel that shows the error that I was able to compile was 4.16 and the last good kernel without the error is the 4.14 series.
Comment 8 Martin Peres 2019-11-19 09:04:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/609.

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.