You are not logged in.
I have just upgraded my Arch system to the latest version, and the nvidia drivers were updated. There is no more nvidia-libgl or mesa-libgl or anything, there is just libglvnd (vendor-neutral dispatch libgl). Xorg runs fine with integrated card, but when I try running anything with primusrun (in order to use the nvidia card to run the application), I get an error saying that the shared object file of nvidia libgl can't be found. I have already tried updating bumblebee and primus, without success.
Has anyone had the same problem?
Last edited by altermetax (2017-03-18 12:09:52)
Offline
There is a github issue. You can try to do the variable export before running primus.
https://github.com/amonakov/primus/pull/195
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
@progandy has this not already been address by https://git.archlinux.org/svntogit/comm … 73debdf07d?
Offline
Oh, right. I did not see that patch line, just compared the commits. As of now, this patch is still in [testing] and has not been moved to [community] yet. It should have moved to community last week. (2017-03-11)
Just to be sure, you have the most recent nvidia-utils package that includes all nvidia libgl libraries?
Last edited by progandy (2017-03-16 21:55:35)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
@progandy I do.
Here's the actual error:
$ primusrun glxgears
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
Actually, just using optirun works.
Last edited by altermetax (2017-03-17 12:23:10)
Offline
Primusrun works here, are you absolutely certain you are on the latest version (primus 20151110-7)?
Last edited by V1del (2017-03-17 16:39:25)
Offline
@V1del I confirm I'm running the latest version.
community/primus 20151110-7 [installato]
Faster OpenGL offloading for Bumblebee
multilib/lib32-primus 20151110-3 [installato]
Faster OpenGL offloading for Bumblebee (32-bit)
Maybe I have to change some configuration?
Last edited by altermetax (2017-03-17 20:51:24)
Offline
Have a look at this post in the dedicated libglvnd thread: https://bbs.archlinux.org/viewtopic.php … 1#p1696971
You may need to adjust the commands for your installed packages, although like neobim posted, I'm unsure which particular packages are absolutely necessary.
Anyway, it worked for me too.
Offline
@SteveK That solved it, thank you very much. I just used the actual commands listed at the link without thinking about which particular packages to remove and reinstall. I would actually like why that worked, but it's not very important.
Offline