Weird freezing on Wolfenstein: The New Order. Only on desktop, not Steam Deck. Is Valve interested in a bug report?
I'm on Kubuntu 24.04, rocking a build that was pretty darn high end in 2021 with an AMD 6800 XT, and of course, Wolfenstein: The New Order was already old news by then. Proton does miracles, but this game freezes my entire machine. The last time I saw something like this happen was with Monster Hunter World in 2018, on a much older version of Proton. I can reliably get the game to freeze my machine in the opening level of The New Order, even across multiple versions of Proton, even with the renderapi launch parameter that should switch it back to OpenGL. Of course, even if I report this to Steam support, they'll tell me that they only support Steam Deck and not bespoke Linux desktops, and the game works fine on my Steam Deck, but would they be interested in some logs and a bug reported against the GitHub project? This is assuming no one here has an easy fix, of course. But if not, how would I get the logs? I wouldn't know what I'm looking at in those logs, personally. I'm also not sure if they'll write out correctly. Because it freezes the entire machine, I end up having to hard shut down the computer by the power button, and once or twice during my experiments, it failed to mount my game SSD (a separate drive from where my OS is installed) at boot, and I had to set up the automatic mount in the partition manager again. So assuming that doesn't impact the ability to write out the logs, I can collect them with some instructions, if you kind strangers in the know wouldn't mind providing them, please. And if Valve is interested in looking at them.
https://github.com/ValveSoftware/Proton/wiki/Proton-FAQ
If it’s happening on your desktop but not the steamdeck, my first assumption would be an issue with your desktop software/hardware.
Might want to check OS logs at the same time of the crash as well.
https://linuxhandbook.com/journalctl-command/
I don’t see anyone else mention crashing: https://www.protondb.com/app/201810?device=pc
Alright, from journalctl, I can for sure identify exactly where my computer hung. That last line that repeats itself? It repeats itself thousands of times until I shut the machine down. Does that mean anything to you?
I can also get the Proton logs if you still need them, but that will have to come later, since it's an ordeal to plan for a scenario where my desktop will crash.
This is just a guess, but I imagine kubuntu probably has a slightly dated kernel / mesa versions. My understanding is that As much as we wouldn’t like it to be the case, there’s still issues with AMD. It’s not totally perfect and Improvements and fixes are being added to the kernel and mesa packages all the time.
Maybe someone on AMD can confirm?
I own the game and did not experience a crash when playing through it on my nvidia system last year.
To be fair, I can't find evidence of anyone on the internet experiencing this same freeze, so it's probably more specific to me than AMD in general. When I saw freezes like this in Monster Hunter, years ago, I was on Nvidia.
If it's an amdgpu bug try reporting it to the amd linux gitlab
Have you ever tested your RAM? Like a proper memtest overnight?
If I ever suspect hardware, I also stress test the cpu with prime95.
I could give it a shot. Will it test VRAM too? Last I ran memtest was years ago. It needs a boot device like a USB, right?
No. It only tests system RAM.
Yes. https://memtest.org
Thanks. I'll give it a go. I don't think I'm convinced it's a hardware issue, since that error says something about permissions and faulty IDs, but what do I know? Couldn't hurt to check.
I’m not so sure it is either, but since you’re on kubuntu you don’t easily have access to newer mesa/kernel to test software.
Troubleshooting is not about finding the issue right away, it’s about eliminating by going through all of it and trying it to narrow it down.
Have you tried a distro with a bit more recent packages? If it also crashes then we know it’s more likely something with your hardware.
I'm not in a position to test on more than just these two machines/distros. Once upon a time, I tried switching to Fedora, but some of the behaviors were not to my liking, so I went back to Kubuntu.
I’ll end it here.
If you are curious I’d check out the following link and see what version of mesa you are running vs the latest. Maybe you can find more info or other experiences from users on that specific version.
https://linuxcapable.com/how-to-upgrade-mesa-drivers-on-ubuntu-linux/
If you want to explore a newer kernel: https://ubuntuhandbook.org/index.php/2023/08/install-latest-kernel-new-repository/amp/
Finally, I’m curious if you boot using USB into a live distro like Nobara, if you can manage to test the game. Or even actually install Nobara to a spare USB drive drive and test the game.
Maybe someone else can chime in, but that’s about all I can think of. If you want to find a root cause, you have to run through and find what’s not the issue.
I understand the nature of troubleshooting, but I don't think testing a 45 GB game is feasible off of a live distro, and any way to test it on my hardware outside of logs is a whole lot of work to get one game working; I don't have a spare drive around either. I just figured these errors would mean something to someone who could take action on it to make a better Proton for everyone. I haven't checked the kernel yet, but my version of mesa matches the latest stable version in your link.
EDIT: I did find this link that sounds like it's a mesa bug. I'm on the same major version but a different minor version.
I would recommend against installing ppas in general.
I think that Kubuntu/ubuntu Noble is on a pretty recent stable kernel as is. There would be something even fresher in the HWE track, dunno if that exists for noble yet. The DXVK version is up to Proton (so Proton-GE would be slightly fresher).
The Mesa version, I'm not sure where that comes from. You have an OS installed copy, you have a flatpak/snap version, but aiui Steam Runtime and/or Proton also likes to bring its own version.
Better gpu crash handling is a todo on Linux.
https://ubuntu.com/kernel/lifecycle https://www.phoronix.com/news/AMDGPU-Per-Ring-Resets
Try the LTS kernel. Fixed a similar crash for me.
24.04 is an LTS distro release. Is my kernel not the LTS kernel? It's 6.8.0-39-generic, according to neofetch.
I believe 6.6 is the current LTS version. A similar crash to the one you describe in the OP started happening to me in the 6.7 kernel. If you check my posts, I have a writeup on it.
I can give it a try. LTS is from the Linux Foundation then, rather than Canonical?
Hmm, good question. I'd imagine they're very similar (if not identical.) Don't know, however. Mine is self-compiled from source, but when I tried Arch's LTS package it didn't crash either.
Try another desktop environment. When I play AoEIV, the game would freeze after a bit when using KDE Plasma, regardless if I was using X or Wayland. I do not have such problems when running Gnome. Which is unfortunate, because I much prefer KDE. This is also within the Ubuntu distro.