You are not logged in.

#1 2013-05-17 18:37:39

Pipix
Member
Registered: 2013-05-17
Posts: 9

[SOLVED]Installing steam in optimus and lib32-libgl dependency problem

Hello everyone!

I have a problem concerning the installation of steam under arch_64 on a laptop with Optimus. I have succesfully installed Bumblebee with Nvidia 319.17-2, everything works fine. I have also installed lib32-nvidia-utils which is version 319.17-1. Now I try to install steam:

[root@VOSTRO onur]# pacman -S steam
resolving dependencies...
:: There are 3 providers available for lib32-libgl:
:: Repository multilib
   1) lib32-mesa-libgl  2) lib32-nvidia-304xx-utils  3) lib32-nvidia-libgl

Enter a number (default=1): 

The problem arises at this point:

1) I am using nvidia, so I can't use mesa.
2) I have installed driver 319.17 with the corresponding util package, so not this one.
3) I guess this is the answer. But since I am using bumblebee, I checked the wiki page (https://wiki.archlinux.org/index.php/Bumblebee)  and under section 2.1 there is a note:

Note: Do not install lib32-nvidia-libgl! Bumblebee will find the correct lib32 nvidia libs without it.

This leaves me confused. What am I supposed to do at this point? Is it a problem on Bumblebee's part? Or since lib-32-nvidia-304xx-utils is legacy now, shouldn't the dependency be updated to include the latest nvidia-utils package 319.17-1? Or am I missing something?

Any kind of insight will be deeply appreciated.

NOTE: Just before submitting this post, I learned that there was Optimus support in the beta release of this driver, but in the release notes of the released version contains nothing about Optimus
http://www.nvidia.com/object/linux-disp … river.html
so I guess installing Bumblebee was not a mistake?

Last edited by Pipix (2013-05-17 22:43:22)

Offline

#2 2013-05-17 22:17:51

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

Just install lib32-mesa-libgl. You are mistaken if you think you are not using mesa. Your primary graphics card uses mesa. It's just your nvidia card that sometimes turn on. Make sure to install lib32-nvidia-utils though so you get nvidia 32 bit userspace.

Offline

#3 2013-05-17 22:42:16

Pipix
Member
Registered: 2013-05-17
Posts: 9

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

Everything seems to be working well with lib32-mesa-libgl. Thank you!

Offline

#4 2013-05-18 12:55:50

grabbexi
Member
Registered: 2013-05-12
Posts: 51

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

A LITTE bit off-topic: I recommend using Primus instead of Optimus. Much better with steam, since some games don't run under optirun but instead primusrun.

Offline

#5 2013-08-26 20:23:22

labotsirc
Member
Registered: 2013-08-21
Posts: 108

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

I have pretty much the same problem.

I went for lib32-mesa-libgl and uninstalled lib32-nvidia-libgl.  Problem was that Steam did not find libgl.so so i had to install lib32-intel-dri too.
Now steam works but i cannot use the nvidia GPU..... if i set launch options to "primusrun %command%" then dota2 does not launch.

optirun glxgears works.
primusrun glxgears works.
Even all CUDA examples work.

what could be the problem?

Last edited by labotsirc (2013-08-26 20:25:32)

Offline

#6 2013-08-26 20:44:52

Lynden
Member
Registered: 2011-11-10
Posts: 23

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

labotsirc, I'm going to assume dota 2 uses the S3TC library, so is libtxc_dxtn & lib32-libtxc_dxtn installed? They don't get installed by default due to patent concerns.
You also need lib32-primus, the commands you ran only test the 64bit counter parts.

Also take a look at /var/log/Xorg.8.log and try running steam in a terminal to see if it spits out any odd things.

Last edited by Lynden (2013-08-26 20:46:45)

Offline

#7 2013-08-26 20:52:51

Pipix
Member
Registered: 2013-05-17
Posts: 9

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

labotsirc: I use the following code to run Dota 2; it runs flawlessly in my system:

 optirun --bridge primus %command% -steam 

Hope this helps.

Offline

#8 2013-08-26 21:05:19

labotsirc
Member
Registered: 2013-08-21
Posts: 108

Re: [SOLVED]Installing steam in optimus and lib32-libgl dependency problem

@Lynden @Pipix

I did what you both suggested and now it works smile, thanks guys really!!!

Offline

Board footer

Powered by FluxBB