protonscr

System freeze after playing Proton Game

steamclosed AMD driversDistro Family: UbuntuWeb Component
ValveSoftware/steam-for-linux#7714 · opened 2021-03-23 by meddario · updated 2021-05-06 · 5 comments · github
Mmeddario 2021-03-23 github

Your system information

  • Steam client version (build number or date): Mar 23 2021 20:11:07 (could be the previous version, it auto updated)
    steam-system-information.txt

  • Distribution (e.g. Ubuntu): Ubuntu 20.04.2 LTS

  • Opted into Steam client beta?: [Yes/No] No

  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Steps for reproducing this issue:

  1. Open Steam launching Age Of Empires 2 Definitive edition with discrete graphics card
  2. Play Game
  3. Observe some stuttering in game, then close the game
  4. Steam locks up and after a short time the whole desktop hangs

Other info

Game uses Proton 5.13-6

In the syslog i see messages like:

Mar 23 23:27:31 dario-Aspire-E5-553G kernel: [ 2784.630726] GpuWatchdog[14120]: segfault at 0 ip 00007f286c6e9bdd sp 00007f28613984d0 error 6 in libcef.so[7f2868963000+69a4000]
Mar 23 23:27:31 dario-Aspire-E5-553G kernel: [ 2784.630742] Code: 00 79 09 48 8b 7d a0 e8 61 80 c1 02 41 8b 85 00 01 00 00 85 c0 0f 84 ab 00 00 00 49 8b 45 00 4c 89 ef be 01 00 00 00 ff 50 58 <c7> 04 25 00 00 00 00 37 13 00 00 c6 05 01 a6 37 03 01 80 bd 7f ff
Mar 23 23:27:31 dario-Aspire-E5-553G steam.desktop[34163]: --2021-03-23 23:27:31--  http://crash.steampowered.com/submit
Mar 23 23:27:31 dario-Aspire-E5-553G steam.desktop[34163]: Risoluzione di crash.steampowered.com (crash.steampowered.com)... 208.64.203.173, 208.64.203.140
Mar 23 23:27:31 dario-Aspire-E5-553G kernel: [ 2784.937600] [drm] Fence fallback timer expired on ring sdma0
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]: Connessione a crash.steampowered.com (crash.steampowered.com)|208.64.203.173|:80... connesso.
Mar 23 23:27:32 dario-Aspire-E5-553G kernel: [ 2785.449452] [drm] Fence fallback timer expired on ring sdma1
Mar 23 23:27:32 dario-Aspire-E5-553G kernel: [ 2785.449466] [drm] Fence fallback timer expired on ring sdma0
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]: Richiesta HTTP inviata, in attesa di risposta... 200 OK
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]: Lunghezza: non specificato [text/plain]
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]: Salvataggio in: "/dev/fd/4"
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]:      0K                                                        2,78M=0s
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34163]: 2021-03-23 23:27:32 (2,78 MB/s) - "/dev/fd/4" salvato [48]
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34162]: Failed to get crash dump id.
Mar 23 23:27:32 dario-Aspire-E5-553G steam.desktop[34162]: Report Id: CrashID=bp-45823

and

Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070479] INFO: task steamwe:disk$2:34435 blocked for more than 120 seconds.
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070487]       Tainted: G        W         5.8.0-45-generic [#51](/issue/ValveSoftware/steam-for-linux/51)~20.04.1-Ubuntu
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070489] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070492] steamwe:disk$2  D    0 34435  14104 0x80004002
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070497] Call Trace:
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070510]  __schedule+0x394/0xa60
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070516]  ? common_interrupt+0x87/0x150
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070519]  schedule+0x55/0xc0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070522]  schedule_timeout+0x111/0x160
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070527]  wait_for_completion+0x94/0x100
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070538]  drm_sched_entity_fini+0x4a/0x1e0 [gpu_sched]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070544]  drm_sched_entity_destroy+0x20/0x30 [gpu_sched]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070778]  amdgpu_vm_fini+0x243/0x400 [amdgpu]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070958]  amdgpu_driver_postclose_kms+0x165/0x230 [amdgpu]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.070964]  ? idr_destroy+0x79/0xc0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071015]  drm_file_free.part.0+0x1f6/0x270 [drm]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071043]  drm_close_helper.isra.0+0x65/0x70 [drm]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071071]  drm_release+0x6e/0xf0 [drm]
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071076]  __fput+0xe9/0x250
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071080]  ____fput+0xe/0x10
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071084]  task_work_run+0x70/0xb0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071087]  do_exit+0x373/0xb30
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071091]  do_group_exit+0x43/0xa0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071094]  get_signal+0x17d/0x8f0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071100]  do_signal+0x34/0x280
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071105]  __prepare_exit_to_usermode+0x155/0x210
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071109]  __syscall_return_slowpath+0x31/0x160
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071114]  do_syscall_64+0x56/0xc0
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071118]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071122] RIP: 0033:0x7f95d692b376
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071125] RSP: 002b:00007f95bf19e6d0 EFLAGS: 00000282 ORIG_RAX: 00000000000000ca
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071128] RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 00007f95d692b376
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071130] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00003335572d20c8
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071131] RBP: 00003335572d20a0 R08: 0000000000000000 R09: 0000000000000000
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071133] R10: 0000000000000000 R11: 0000000000000282 R12: 00003335572d20c4
Mar 23 23:51:37 dario-Aspire-E5-553G kernel: [ 4230.071134] R13: 00003335572d2078 R14: 00007f95bf19e710 R15: 00003335572d20c8

In attachment also the full syslog until the reboot with sysrq REISUB.
syslog.txt

Let me know if some information is missing,

Thanks!

Kkisak-valve maintainer 2021-03-24 github

Hello @meddario, in general, no OpenGL application including libcef (Steam's web component) should be capable of taking down the entire system and this reads like a video driver issue. It may be worthwhile to also mention this issue to your video driver vendor.

You could try using a newer version of mesa from a PPA like oibaf or kisak-mesa and that affects the issue.

Mmeddario 2021-03-24 github

Hi Kisak, thank you for the answer, for now I'll report the problem in the Ubuntu bug tracker.

Of the two PPAs, the second (https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa) is the more "safe" and less bleeding-edge, correct?

Kkisak-valve maintainer 2021-03-24 github

That is correct. It should be noted that the Ubuntu package mantainers would only be interested in the non-PPA build of mesa for Ubuntu. If you can reproduce the issue with either of those PPAs, then upstream mesa devs would be more interested in the feedback because mesa 20.2 has reached its end of life.

Mmeddario 2021-03-24 github

Ok, I think that for now I'll keep the current (old) version, I reported the bug to Ubuntu's Launchpad and maybe they'll need some additional info. In the future I think that I will upgrade to your PPA.
If it's related to the graphic drivers, I think that this is a regression in Ubuntu, because it only happened this week, I have been using this game under Ubuntu for a while because for some reason it always worked better under Wine/Proton than under Windows (btw, thank you all for Steam On Linux, works really well!).
I'll update this issue if I find out something interesting!

Mmeddario 2021-05-06 github

This can be closed, didn't happen again (no mesa changes, everything stock Ubuntu 20.04 with regular updates).

Proton versions

Error codes