LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-16-2018, 10:09 PM   #1
ahTh6aaf
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Rep: Reputation: Disabled
primusrun and steam games


Hi!

I have a Geforce gtx 850m. When I run my steam games I always use the command

Code:
primusrun %command%
It works great with games like dota2, but with Shadow Tactics I'm getting the following error:

Code:
Game update: AppID 418240 "", ProcID 29450, IP 0.0.0.0:0
>>> Adding process 29450 for game ID 418240
GameAction [AppID 418240, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 418240, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 29451 for game ID 418240
primus: fatal: failed to load any of the libraries: /usr/lib64/nvidia-bumblebee/libGL.so.1:/usr/lib/nvidia-bumblebee/libGL.so.1
/usr/lib64/nvidia-bumblebee/libGL.so.1: wrong ELF class: ELFCLASS64
/usr/lib/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory
Game removed: AppID 418240 "", ProcID 29450 
No cached sticky mapping in ActivateActionSet.
I read that some people makes a symbolic link of /usr/lib64/nvidia-bumblebee/libGL.so.1 in the folder /usr/lib/nvidia-bumblebee, but then I get the following output and the game crashes (or doesn't open anything)

Code:
GameAction [AppID 418240, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 418240, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 418240, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 418240, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 418240, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 0
Game update: AppID 418240 "", ProcID 29050, IP 0.0.0.0:0
>>> Adding process 29050 for game ID 418240
GameAction [AppID 418240, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 418240, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 29051 for game ID 418240
ERROR: ld.so: object '/home/qwerty/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Found path: /home/qwerty/.local/share/Steam/steamapps/common/Shadow Tactics/Shadow Tactics
Mono path[0] = '/home/qwerty/.local/share/Steam/steamapps/common/Shadow Tactics/Shadow Tactics_Data/Managed'
Mono path[1] = '/home/qwerty/.local/share/Steam/steamapps/common/Shadow Tactics/Shadow Tactics_Data/Mono'
Mono config path = '/home/qwerty/.local/share/Steam/steamapps/common/Shadow Tactics/Shadow Tactics_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
displaymanager : trying .X11-unix
client :0 has 1 screens
displaymanager screen (0): 1920 x 1080
client :8 has 1 screens
displaymanager screen (1): 640 x 480
Using libudev for joystick management


Importing game controller configs
Game removed: AppID 418240 "", ProcID 29050 
No cached sticky mapping in ActivateActionSet.

I have tried adding /usr/lib to LD_LIBRARY_PATH as some mention in other forums but I had no success...

Any ideas on how to solve this issue?

Thanks a lot!
 
Old 02-16-2018, 11:41 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ahTh6aaf View Post
(wrong ELF class: ELFCLASS32)
This typically indicates it's getting the wrong ARCH. In this case, I believe it is expecting a 64bit ARCH and is getting a 32bit. Do you have a 32bit version (or multilib if they're available -- I'm not very familiar with today's versions of prism) of prism available? You might need to launch the game with that rather than the 64bit version.
 
Old 02-17-2018, 12:20 AM   #3
ahTh6aaf
LQ Newbie
 
Registered: Jul 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
This typically indicates it's getting the wrong ARCH. In this case, I believe it is expecting a 64bit ARCH and is getting a 32bit. Do you have a 32bit version (or multilib if they're available -- I'm not very familiar with today's versions of prism) of prism available? You might need to launch the game with that rather than the 64bit version.
You are right, I recompiled primus and nvidia-bumblebee with COMPAT32=yes option and now it's working.

Thanks a lot!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Steam Gets Controller Support for Non-Steam Games LXer Syndicated Linux News 0 01-20-2016 12:01 AM
[SOLVED] How to create link for catching steam games from steam website !!? tousif Linux - Newbie 5 10-17-2014 08:23 AM
LXer: iBomber games coming to Steam for Linux! Steam also expands their Beta! LXer Syndicated Linux News 0 12-06-2012 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration