You are not logged in.

#1 2017-03-11 16:27:53

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

[Solved] primusrun not longer working after last update

Hi, I just ran pacman -Syu and Linux, nvidia and lib32 libs were some of those updated packages.
After the update, primusrun is no longer working, it reports the following error:

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 director

Any idea how to fix this? optirun is btw working fine

Last edited by Magnus2552 (2017-03-12 00:24:23)

Offline

#2 2017-03-12 00:00:12

alfonsodg
Member
Registered: 2010-08-26
Posts: 18

Re: [Solved] primusrun not longer working after last update

Same here, apparently those libraries have  disappeared from that location

Offline

#3 2017-03-12 00:06:56

alfonsodg
Member
Registered: 2010-08-26
Posts: 18

Re: [Solved] primusrun not longer working after last update

Quick fix:

Go to /usr/lib/nvidia and create symlinks

[root@enterprise nvidia]# ln -s /usr/lib/libGL.so .
[root@enterprise nvidia]# ln -s /usr/lib/libGL.so.1 .

Done!

Offline

#4 2017-03-12 00:24:11

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

Re: [Solved] primusrun not longer working after last update

Thanks, that solved it for me too smile

Offline

#5 2017-03-12 00:27:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] primusrun not longer working after last update

That is a workaround, not a solution. Sounds like primusrun needs to be fixed.

Offline

#6 2017-03-13 19:24:23

Campaigner444
Member
From: Big Lick, VA
Registered: 2013-03-30
Posts: 4
Website

Re: [Solved] primusrun not longer working after last update

alfonsodg wrote:

Quick fix:

Go to /usr/lib/nvidia and create symlinks

[root@enterprise nvidia]# ln -s /usr/lib/libGL.so .
[root@enterprise nvidia]# ln -s /usr/lib/libGL.so.1 .

Done!

Yep, this seems to have worked for me too. Thanks smile

Offline

#7 2017-03-14 07:25:38

sfaunl
Member
Registered: 2016-08-24
Posts: 1

Re: [Solved] primusrun not longer working after last update

alfonsodg wrote:

Quick fix:

Go to /usr/lib/nvidia and create symlinks

[root@enterprise nvidia]# ln -s /usr/lib/libGL.so .
[root@enterprise nvidia]# ln -s /usr/lib/libGL.so.1 .

Done!

Don't forget to symlink 32bit libraries.

cd /usr/lib32/nvidia
ln -s /usr/lib32/libGL.so
ln -s /usr/lib32/libGL.so.1

Offline

#8 2017-03-14 11:07:58

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [Solved] primusrun not longer working after last update

you should have a new config file, /etc/bumblebee/bumblebee.conf.pacnew after the update, i noticed it was mentioned when pacman was doing its updates, so just rename that file to bumblebee.conf and backup your old file if you feel the need and then restart bumbleed service and your away.... at least it worked for me anway.

Offline

#9 2017-03-18 11:35:16

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

Re: [Solved] primusrun not longer working after last update

I can confirm that the above fixed it as well, even when the symlinks were not created.
Thanks for posting the real solution. smile

Offline

#10 2017-07-04 00:25:47

SeraphyBR
Member
Registered: 2017-07-04
Posts: 1

Re: [Solved] primusrun not longer working after last update

Thank you very much, it worked here. big_smile

Offline

Board footer

Powered by FluxBB