-
Notifications
You must be signed in to change notification settings - Fork 17
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
Nvidia driver could not be loaded from '/usr/lib/libGLX_nvidia.so.0'. #85
Comments
I am not using archlinux so I don't really know/can experiment with the way graphics drivers are installed on archlinux. Therefore the best I can do is start guessing a bit in the hope that it might help. primus_vk/nv_vulkan_wrapper.cpp Line 43 in 0411d00
So if the file exists, ld.so probably fails to find all the necessary dependencies and fails because of that.I am not sure why the non-pvkrun of vkcube crashes, because primus_vk should not influence such a run at all. My best guess is that the steam environment is breaking primus_vk. You could try the following: If this command also fails, we need to identify which library is really missing/can not be resolved. I would suggest that you set the steam-launch-command to |
@felixdoerre vkcube actually will run in steam on the game, but the game will still throw the same error message. Vkcube not running on intel gpu was resolved because there was a rogue amd vulkan package on my system. Here's a full log of |
It is interesting that the error that you opened the ticket for also appears in the
So this does not seem to be caused by the game but by something that runs before the game. The actual output from the game starts in line 228 after this error message, so I begin to suspect that the reason the game does not start is something else. Does the game launch when you start it without pvkrun? |
@felixdoerre Yes, it will open without pvkrun. Additionally, pvkrun functions on everything except steam, dolphin-emu with vulkan shaders, etc, will run with pvkrun. It's possible the error is not related or perhaps only steam causes a fatal error because of the error. Not sure how to diagnose further. |
I suppose this game runs with proton, so the usual proton-debugging hints can be used. So here is a suggestion how we might get more output from the game:
(I don't own the game, so I can't say if its a problem with the game or just setup on your system, but as you say pvkrun runs with with other games, it might be something specific to this game) |
Pardon here. I'm having a similar problem on another game. Another thing I noticed is that, I started the game with It seems that steam calls Should we report it to the proton developers? |
From that commandline it seems that you are using pressure vessels, the new isolated steam runtime. In this runtime the games are launched in a new mount namespace, where steam automatically tries to copy all graphics drivers into manually. Naturally it misses all the config that is required for primus (including the bumblebee socket and others). I've discussed this already on the steam runtime repository: ValveSoftware/steam-runtime#274 (comment) and currently there seems to be little interest to invest much effort into making primus and/or primus_vk working inside those pressure vessels. So I guess this would count as "reported" and there is not much that you can do except from going back to the older, scout, runtime. |
In case you still want to run games with modern proton inside pressure vessels. It seems the steam runtime increased compatibility in the meantime and I was able to run a game with primus_vk with Proton 6.3-7 inside a pressure vessel. It seems that the primus_vk layer and its corresponding libraries are now correctly copied into the container. We just need to start bumblebee outside and only enable primus_vk and skip initializing primus (for which I still don't see an easy solution). So the command/configuration that I used inside steam:
This command activates bumblebee outside, without enabling primus ( |
PrimusVK: ERROR! Nvidia driver could not be loaded from '/usr/lib/libGLX_nvidia.so.0'.
Problem occurs when launching steam games with pvkrun, full log from start to finish is here.
archlinux 5.9.11-arch2-1
Using arch packages here and here.
vkcube runs with pvkrun but oddly will not on intel:
Note that the file does exist as a link to a shared library (application/x-sharedlib)
Can someone advise fix
The text was updated successfully, but these errors were encountered: