You are not logged in.

#1 2017-06-28 18:22:44

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

A question regarding Steam and jessie-backport nvidia nonfree driver

Hello!

I have the nvidia driver (64bit) from the jessie-backport running nicely, as I was very kindly shown how to set that up in this thread.

Wanting to install steam, I've been carefully reading this page. So far things are looking good. I've gotten as far as step 4, but I have some questions, and I want to be sure before proceeding.

When it say's:

/!\ Installing the 32-bit OpenGL libraries may uninstall the 64-bit drivers you may have previously installed. Installing the AMD graphics or NVIDIA graphics drivers for your system is recommended. The appropriate OpenGL library will be installed along with those drivers. If you installed these drivers from jessie-backports be sure to also install the 32 bit library from jessie-backports.

Does it mean that I should use the option they have for Nvidia graphics cards:

# aptitude install libgl1-nvidia-glx:i386

Or something else? I assume that the above is the equivilant 32 bit library to the regular nvidia-driver which is available. If so, how do I get the 32 bit library from the jessie-backports?

Any help is much appreciated.

Davy

Last edited by Davy (2017-06-28 18:23:01)

Offline

#2 2017-06-28 18:39:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Davy wrote:

how do I get the 32 bit library from the jessie-backports?

Use the "-t" flag for `aptitude` to specify that version, like this:

sudo aptitude install -t jessie-backports libgl1-nvidia-glx:i386

EDIT: if the `aptitude` command starts asking you to make decisions, quit the program (<Ctrl>+c) and post the output here please.

Last edited by Head_on_a_Stick (2017-06-28 18:42:29)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2017-06-28 18:53:12

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

It gave me:

The following NEW packages will be installed:
  libgl1-nvidia-glx:i386 libnvidia-glcore:i386{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 131 not upgraded.
Need to get 7,396 kB of archives. After unpacking 34.1 MB will be used.
The following packages have unmet dependencies:
 libgl1-glvnd-nvidia-glx : Conflicts: libgl1-nvidia-glx:i386 but 375.66-1~bpo8+1 is to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:                                                  
1)     libgl1-glvnd-nvidia-glx                                                       
2)     libgl1-nvidia-glvnd-glx                                                       
3)     nvidia-driver                                                                 
4)     nvidia-driver-libs                                                            

     Leave the following dependencies unresolved:                                    
5)     nvidia-settings recommends libgl1-nvidia-glvnd-glx | libgl1-nvidia-glx        
6)     nvidia-driver-bin recommends nvidia-driver                                    
7)     nvidia-kernel-dkms recommends nvidia-driver (>= 375.66) | libcuda1 (>= 375.66)
8)     xserver-xorg-video-nvidia recommends nvidia-driver (>= 375.66)  

That doesn't look right. What did I do wrong?

Offline

#4 2017-06-28 19:13:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Davy wrote:

What did I do wrong?

Not sure, did you use the "-t" flag?

If you did actually use the flag then please post the output of:

apt-get install -s -t jessie-backports libgl1-nvidia-glx:i386 libgl1-glvnd-nvidia-glx libgl1-nvidia-glx-

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2017-06-28 19:23:25

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

I'll jump in, since I've encountered the same problem myself.  You just need to remove the
Vulkan library (libgl1-glvnd-nvidia-glx) on 64-bit and replace it with the standard openGL library:  libgl1-nvidia-glx from jessie-backports. 

That works for me.  Another possible solution that I haven't tried is to install the matching Vulkan version on 32-bit libgl1-glvnd-nvidia-glx:i386, from jessie-backports, instead of the standard 32-bit GL library.

Offline

#6 2017-06-28 19:27:26

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Yup. the -t was there. Here's the output for that command:

NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'libgl1-nvidia-glx' is not installed, so not removed
libgl1-glvnd-nvidia-glx is already the newest version.
libgl1-glvnd-nvidia-glx set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-glvnd-nvidia-glx : Conflicts: libgl1-nvidia-glx:i386 but 375.66-1~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.

Offline

#7 2017-06-28 19:29:35

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Thanks for the reply steve. I'll give it a go.

Offline

#8 2017-06-28 20:20:04

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Oh dear. Still no joy I'm afraid. Switching libgl1-glvnd-nvidia-glx for libgl1-nvidia-glx went smoothly enough, though.

I did

sudo apt-get remove libgl1-glvnd-nvidia-glx

and

sudo apt-get install -t jessie-backports libgl1-nvidia-glx

then tried

sudo aptitude install -t jessie-backports libgl1-nvidia-glx:i386

again. Ran steam and it printed out this:

davy@fianna:~$ steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2017-06-28 20:58:21] Startup - updater built Aug 26 2014 15:35:42
[2017-06-28 20:58:21] Verifying installation...
[2017-06-28 20:58:21] Unable to read and verify install manifest /home/davy/.steam/package/steam_client_ubuntu12.installed
[2017-06-28 20:58:21] Verification complete
[2017-06-28 20:58:21] Downloading Update...
[2017-06-28 20:58:21] Checking for available update...
[2017-06-28 20:58:22] Package file tenfoot_misc_all.zip.008ed314d467eecacba58d188fdf082d23f264d2 missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_dicts_all.zip.87bb49891925214df2d745e12a53518fd2ea86f0 missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_fonts_all.zip.vz.7673e4cd32b6752bc621d8bc1a7118a9af19b64a_12077027 missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_ambientsounds_all.zip.12963b9dbc3d331e26559cc2d323ca0661942b6b missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_sounds_all.zip.vz.ffef2b2fc386819a842ea79484b966a937c2ca7e_1209792 missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_images_all.zip.vz.b206322dffd27ef3e5d89a9fa4ebe415ff7ad4ad_29392317 missing or incorrect size
[2017-06-28 20:58:22] Package file tenfoot_all.zip.vz.5cac343d38bfd9f28804bc5b214c97339b93c3d4_2282690 missing or incorrect size
[2017-06-28 20:58:22] Package file resources_misc_all.zip.vz.6596f073f874e66a5af7a41ca94e54e1b091fcb7_2030550 missing or incorrect size
[2017-06-28 20:58:22] Package file resources_all.zip.vz.e4473120a4f4551fe56a1c0b4fb67259933019ea_5053566 missing or incorrect size
[2017-06-28 20:58:22] Package file strings_en_all.zip.vz.5909f282eacc059f31447178bf5e01af86e4d07d_85389 missing or incorrect size
[2017-06-28 20:58:22] Package file strings_all.zip.vz.6ea5aaa4a4a47a4dd65a1c620de14fa968aef615_2165767 missing or incorrect size
[2017-06-28 20:58:22] Package file public_all.zip.vz.075b1194d23df3822fd271f342d507d549e41fdd_755023 missing or incorrect size
[2017-06-28 20:58:22] Package file bins_ubuntu12.zip.vz.284cbf14ccaf085dee91afc41194d57e4718507f_16586289 missing or incorrect size
[2017-06-28 20:58:22] Package file bins_pub_ubuntu12.zip.vz.7dae72febc95bbe1d345eb100eb866632a2aa311_9040643 missing or incorrect size
[2017-06-28 20:58:22] Package file bins_sdk_ubuntu12.zip.vz.9224955c3b3e89ee41b3cd7a79876239e0872825_10711779 missing or incorrect size
[2017-06-28 20:58:22] Package file bins_codecs_ubuntu12.zip.vz.84b14918e1591ffd02e819b8f7fc79315dbedb03_1832666 missing or incorrect size
[2017-06-28 20:58:22] Package file bins_misc_ubuntu12.zip.cf9dc936aa2a0c125b11de645d091048f205431a missing or incorrect size
[2017-06-28 20:58:22] Package file webkit_ubuntu12.zip.vz.a9861a08fc57339c8a3f2a6bd7ef6e303afaf817_45239503 missing or incorrect size
[2017-06-28 20:58:22] Package file miles_ubuntu12.zip.vz.4fd048667c97ef6eb976f4c42ce5c18f8695ac9e_295483 missing or incorrect size
[2017-06-28 20:58:22] Package file sdl2_ubuntu12.zip.vz.9655ddd48977bc67343de051a9df00749554c639_547260 missing or incorrect size
[2017-06-28 20:58:22] Package file steam_ubuntu12.zip.vz.7392a11691be3bad908cf89d23c0abd7f5568027_1453544 missing or incorrect size
[2017-06-28 20:58:22] Package file runtime_part0_ubuntu12.zip.74bd7230dea7a12b91615e70c0f6b82866558915 missing or incorrect size
[2017-06-28 20:58:22] Package file runtime_part1_ubuntu12.zip.bc5c3df828cc2fe31d3ae3819ea4dbeb5537332c missing or incorrect size
[2017-06-28 20:58:22] Downloading update (0 of 271,701 KB)...
[2017-06-28 20:58:22] Downloading update (92 of 271,701 KB)...

(I'll spare you the middle bit ^^)

[2017-06-28 21:04:32] Downloading update (271,701 of 271,701 KB)...
[2017-06-28 21:04:32] Download Complete.
[2017-06-28 21:04:32] uninstalled manifest found in /home/davy/.steam/package/steam_client_ubuntu12 (1).
[2017-06-28 21:04:32] Extracting package...
[2017-06-28 21:04:46] Installing update...
[2017-06-28 21:04:46] BCommitUpdatedFiles: failed to create directory ./bin/panorama
[2017-06-28 21:04:46] BCommitUpdatedFiles: failed to process ./bin
[2017-06-28 21:04:46] Failed to apply update, reverting...

A wondow pops up while it's downloading the update and in the end it just says:

Fatal Error: Failed to load steamui.so

I think this may have been addressed of the debian page mention in the OP, so I'll go read further and report back smile

Edit: Not addressed on the page. I'll try a few searches with the error message.

Last edited by Davy (2017-06-28 20:26:37)

Offline

#9 2017-06-29 06:45:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Did you try re-naming the steam directory in $HOME & letting it create a new folder?

https://bbs.archlinux.org/viewtopic.php?id=157825

Otherwise, we could try using the native runtime libraries rather than the Ubuntu 12.04 versions provided by the steam package.

Briefly:

sudo apt install libxtst6:i386 libxrandr2:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpulse0:i386 libgdk-pixbuf2.0-0:i386 libcurl4-openssl-dev:i386 libopenal1:i386 libusb-1.0-0:i386 libdbus-glib-1-2:i386 libnm-glib4:i386 libnm-util2:i386
sudo ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0

Then try starting steam with:

STEAM_RUNTIME=0 steam

https://wiki.debian.org/Steam#Variant:_ … se_runtime

I notice a small performance boost when running steam this way in my Arch (Intel Haswell) system so this may be preferred anyway.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#10 2017-06-29 18:24:00

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 59

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

I have everything working now.

I think I messed something up during the switch because when I next restarted it wouldn't work. At this stage it was easier for me to re-install than to recover, because it was a fresh install anyway and I wanted to try install steam first to see if I could get it working without the nvidia driver. So, everything I did from a fresh install to get this working, for posterity sake:


Firstly I enabled multi-arch support and then installed steam as outlined in this. I didn't do step 4.

To get steam to run, I had to do as Head_on_a_Stick said and rename the steam folder. I also have to launch it with

STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam

(I feel a bit foolish. I should have kept a link to the page explaining this. I'll try find it later. Nonetheless, it doesn't work without it, and it also doesn't work with

STEAM_RUNTIME=0 steam

)

I then installed the jessie backport nvidia driver same as before: https://forums.bunsenlabs.org/viewtopic.php?id=3844

So everything seems to be working! I installed the smallest game in my library and tested it and it was working fine. I'll have to wait and see on the larger ones.

One thing I would like to know is how to make STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 permanent, so all I need type is "steam". Mainly because putting STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 in before steam in Viomi's brilliantly useful script doesn't work.

Last edited by Davy (2017-06-29 18:28:16)

Offline

#11 2017-06-29 18:27:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: A question regarding Steam and jessie-backport nvidia nonfree driver

Davy wrote:

One thing I would like to know is how to make STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 permanent

Add this line to the end of the file at ~/.xsessionrc:

export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0

That file is read by LightDM (and most other display managers) after login.

If you ever switch to a console login use ~/.bash_profile or ~/.profile (if you don't use bash) instead


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB