-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Linux regression due to userfaultfd change #1704
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
Comments
Can confirm, have to comment out said line before compiling to load in game bloodborne ; am running arch linux on intel cpu + nvidia gpu desktop.
with EDIT after #1704 (comment): |
@setepenre Both GOTY and non-GOTY BB launches
EDIT2: While the game LAUNCHES, it freezes in character creator EDIT3: This seems to make an existing freezing issue more prominent but is not necessarily the cause of it. |
x11 having this issue too |
Following for updates, same issue on steam deck |
On Nvidia proprietary driver 565.77 on Wayland what worked for me was |
commenting out that line worked for me on X11, but wayland still need to unset the DISPLAY variable. |
The PR that makes userfaultfd opt-in has been merged, but for those that userfaultfd was causing crashes and not freezes, it would be nice if you posted a stack trace in here. One can enable userfaultfd support during compile time via |
I am getting the freeze as well. It isn't Wayland specific. But I am also using KDE. nVidia driver is 565.77. If I This seems like a pretty useful thing to solve. I am getting MUCH better performance in the beginning of the Bloodborne DLC with userfaultfd enabled (notably the area with the worst performance in the game, as far as I've seen). Edit: Here's a dump of the current threads, mixed with the GDB session log, and the emulator log ( |
#1777 disabled this, so this problem is now temporarily solved, but ideally the devs will figure out the issue with the implementation and userfaultfd will be reintruduced without the current problem. |
#1640 has introduced enabling userfaultfd by default (and this commit added the ability to run it in user mode), which breaks basically my entire library of games on Linux Mint (games I tested that were previously working: Bloodborne, Minecraft, Gravity Rush Remastered, NieR: Automata and TLG (from splash screen to nothing)) , causing them to hang either indefinitely or just "only" so much that I didn't have the patience to wait it out (meaning more than 1 minute). Bloodborne sometimes also crashes here:
[Debug] <Critical> signals.cpp:SignalHandler:85: Unreachable code! Unhandled access violation in thread 'FMOD mixer thre' at code address 0x7f14c952725d: Read from address 0x0
Commenting this line out to disable the change solves all related problems from happening.
The text was updated successfully, but these errors were encountered: