-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
lutris: overwatch 2 - Nvidia X Error: Overflow with BadValue (MIT-SHM). #195126
Comments
Should state, this is not a problem with the PR, as without it, Further info on the machine is that it runs an |
Looking into this more, it seems to be an issue of Going to keep this open while a solution for this shows up. |
Found some comments talking about ICD, nvidia, and vulkan about this. This may be a driver issue of nvidia.
Steam related issue about ICD/Nvidia/Vulkan: #157907 (comment) |
This might be wrong however, it seems to correctly fetch the vulkan ICD, at least from my understanding. |
Running with the default wine-staging included in nix, i get Start monitoring process.
gamemodeauto:
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
[1008/230127.995:ERROR:network_change_notifier_win.cc(142)] WSALookupServiceBegin failed with: 0
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
ntlm_auth: /home/sofi/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/1wn862qvv09ivc0mfzv2zhx8zqwfx3q9-samba-4.15.9/lib/samba/libcommon-auth-samba4.so)
[1008/230128.684:ERROR:dxva_video_decode_accelerator_win.cc(1397)] DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: Module not found. (0x7E)
[1008/230128.685:ERROR:dxva_video_decode_accelerator_win.cc(1405)] DXVAVDA fatal error: could not LoadLibrary: msvproc.dll: Module not found. (0x7E)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x180
Serial number of failed request: 3992
Current serial number in output stream: 4002
Initial process has exited (return code: 0)
Monitored process exited.
Exit with return code 0
2022-10-08 23:01:51,519: Game still running (state: running)
2022-10-08 23:01:51,519: Stopping Blizzard Battle.net (wine) Same also happens with This however seems common, and why |
I'm experiencing the same problem. |
So this seems to be an issue of I have a quick patch to test this out and it now starts with |
Sadly Heard some have success with |
Annoyingly, seems there are still a set of issues. Launcher however now starts and runs, but game does not. This is getting increasingly hard to debug, as i feel like i am hitting wine, compiling, and fhsenv issues. I think the best strategy is waiting for more general support for Wine and Overwatch 2 and try again then. |
@Kid0h What is your hardware, output of |
@imsofi I'm not using NixOS, but this problem also happens on Ubuntu and even arch based operating systems like Manjaro.. so I don't think it has anything to do with the distro, actually, I just installed today a FRESH copy of a the latest Ubuntu 22.04.01 and installed just lutris on it, still same issue with the explorer.exe explosion. Anyways here's some info about my machine: |
Yeah i have yet to figure out what the explorer.exe explosion stems from. I have also hit the issue when trying to run wine-tkg from nix-gaming. fufexan/nix-gaming#27 There is also an issue of |
btw, the explorer.exe explosion isn't present just with OW2, you can't really launch anything with Caffe (or wine-tkg-staging, same thing). |
Yeah, no that is a Wine issue. Hence why this issue is now about the Overflow with Lutris and Wine-Staging Which is a issue of how the fhsenv is set up. Sadly hard to give a good statement for a PR about this still, seeing how the game does not launch due to Wine related issues :/ |
|
I think I have a path we can explore, basically this problem only occurs in |
This copies a workaround required for steam, as the same issue occurs in lutris. See NixOS#109466 Fixes battle.net client crashing on startup and overwatch crashing. Fixes NixOS#195126
The SHM issues were also occuring for me with the default lutris wine version, AMD GPU/CPU. I opened #198384 to add the unshare = false options for lutris, but it looks like it does not completely resolve this issue, only part of it. |
Yeah this looks pretty much like my WIP patch. And working with upstream |
Describe the bug
After this PR: #194668 and running Overwatch 2 with
caffe-7.18
(as required by the game), it crashes with a death loop ofThis continues until the computer hardlocks. Unsure of what causes it however.
Log file
Steps To Reproduce
Steps to reproduce the behavior:
caffe-7.18
for anti-cheat support and enabling it in lutris)caffe-7.18
library.Expected behavior
Launching correctly.
Notify maintainers
CC: @jonringer @Madouura
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: