-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple games crash with Ryzen 3xxx #2927
Comments
Windows users suffered from this , might be a similar issue. |
@kisak-valve hey, I saw you asking someone else for line counts for this issue. Are you still interested in this for some other game ( Devil May Cry 5)? :) |
Tested this with Monster Hunter World. Same result |
Ryzen 3700X owner. Just installed Fedora 30 today with an updated iso to get around the rdrand instruction bug affecting systemd. Both Monster Hunter World (582010) and Resident Evil 2 (883710) crash at launch. Proton log is 63MB for Monster Hunter World and 1.1GB for Resident Evil 2. Same results in dmesg: |
I found this, if this helps.
|
Ryzen 3700X, Wolfenstein Youngblood : |
Found some googling on that exception that indicates this shouldn't be generating an exception at all: "For instance, programs running on WineHQ and DOSEMU2 rely on some of these instructions to function. It seems like this feature of UMIP may not be working. |
I believe this issue is also happening on the Epic Games store version of Metro Exodus (in case that helps at all) I'm also experiencing it with Shadow of the Tomb raider. |
And here I have my shiny new 3600 next to me, ready to install sometime next week... sigh. |
AMD pushed out updates to AGESA that fixes RDRAND issue (for example Asrock X570 Taichi got it already). Is SGDT problem related too? |
Yeah my board has AGESA 1.0.0.3 ABB update recently. Hope thats the one. |
Please post if it fixes that for you or not. |
I won't know until sometime next week, believe it or not I'm waiting for this new thermal paste to show up before I install the 3600. Bios is updated in preparation non the less. |
I updated the BIOS on my Asus Prime B450M-A to version 1804 |
@poke86: same SGDT issue? Can you please report it to AMD directly? I'm still waiting for my new CPU, so can't do it yet. |
UMIP provides fixups/fallbacks for certain instructions, including SGDT. However, this excludes processes in long mode (i.e. 64 bit applications). See the documentation here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/umip.c#n289 So, as far as I can see, everything works as it should and the game or wine is at fault here. |
But they apparently work with older Zen processors, and only Zen 2 is a problem. Why is that? |
I flashed my Gigabyte board today with the AGESA 1.0.0.3 update (F42a) and still the same. |
have you guys also tried to roll back to proton 4.2-9? 4.11-1 has some issues. |
That's a good question, but as far as I can tell, Zen 2 is the first AMD architecture to support UMIP. Does anyone know which Intel CPU architectures support it? Edit: it certainly isn't available (or enabled) on my Skylake system even though support for it is compiled into the kernel. You can check with |
I tried it with 4.2-9 and 3.16-9 before 4.11-1 came out and it doesn't change anything, for Youngblood at least. |
Yeah, I tried older versions of Proton too. |
Nothing on Ryzen 2000 too. Has someone tried a custom kernel with UMIP disabled? CONFIG_X86_INTEL_UMIP=n btw the feature isn't available if you disable support for Intel CPUs in the kernel |
There also is a chance that UMIP is disabled by firmware/BIOS on many (older?) mainboards and notebooks even though the CPU technically supports it. It's hard to find information about this feature. |
It seems "clearcpuid=514" in the Bootoptions should disable UMIP without the need to compile a custom kernel - maybe some zen2 owner could test it? |
Maybe Valve could put up a kernel with UMIP disabled on their PPA, like they did for fsync? |
Has anyone tried the |
i am willing to try but do not know how, can you elaborate on where i add that? |
when using grub: https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter i wouldn't make it permanent, but just try it for one boot by pressing "e" and adding it there :) |
i'm running fedora 32 with kernel 5.7.10-201.fc32.x86_64 I tried everything, any suggestion? |
This bug was seen on my setup as well and the workaround was the huge. I tried many OSes/versions of wine/compiling from source etc. This was the ultimate issue (as the workaround finally resolved the issue). This app (Everquest) worked previously with my different/old hardware. Disabling UMIP worked. |
With Linux 5.10 (released last month), all 5 UMIP instructions are now emulated/spoofed in both 32- and 64-bit processes. There shouldn't be any reason to use To recap:
|
Thanks @mrpippy, I think we're done here. Closing. |
Hi, Linux eNTi 5.10.4-107-tkg-cfs #1 TKG SMP PREEMPT Sat, 02 Jan 2021 12:06:24 +0000 x86_64 GNU/Linux and started to see exactly this issue. I'm playing World of Warcraft Classic via wine-tgk for over 3 months now and have never seen this. I just started today after the kernel upgrade. |
I'vé added |
Did you ever figure the freezes out? |
Hogwarts legacy produce this error without kernel parameter clearcpuid=514 |
Intel i9-13900K
Nvidia 535.54.03 |
Hi, guys! Added clearcpuid=514, than reboot and got black screen. PC: Indicators show that system is booted (temperature/voltage etc. on led screen). I think so. OS: Fedora Linux 38 KDE How can I roll back? Clear CMOS didn't work for me. |
Experiencing same error with r7-5800x3d and GTX 1080 (Latest Nvidia drivers also) |
Which Linux kernel? |
EA WRC 2023 suffers from this too
|
Hello @TheAquabat, The issue reported here has been resolved for years and anyone seeing kernel messages that also say that software emulation is happening means that this is a false lead in troubleshooting and the issue you're troubleshooting is elsewhere. |
There's some reports of users upgrading their hardware to Ryzen 3xxx processors and games that were previously working for them are now failing with
SGDT instruction cannot be used by applications.
in dmesg and large Proton logs that are mostly full of access violations.This issue report is to track the general umip compatibility of that processor generation.
References:
#1417 (comment)
#2386 (comment)
#2909 (comment) #2909 (comment)
#2997
Workaround:
Add
clearcpuid=514
as a kernel boot option to disable UMIP support.The text was updated successfully, but these errors were encountered: