You are not logged in.

#1 2016-11-10 09:48:56

steveo_73
Member
Registered: 2012-09-16
Posts: 21

[Solved] Steam & Primusrun command not working

Hi Guys,

I can't figure out what is wrong here. All of a sudden steam isn't working with the primusrun command. I've tried it on 2 games and it just doesn't work.

When I run vblank_mode=0 primusrun glxgears I get 3853.539 FPS which means it is working via that test.

Any ideas. I have no idea where to even start on this issue.

Last edited by steveo_73 (2016-11-16 19:06:09)

Offline

#2 2016-11-10 14:00:06

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [Solved] Steam & Primusrun command not working

steveo_73 wrote:

Any ideas. I have no idea where to even start on this issue.


Hi,

You can start by giving more relevant information like how you launch your command and it's output.

Regards

Offline

#3 2016-11-11 06:04:36

steveo_73
Member
Registered: 2012-09-16
Posts: 21

Re: [Solved] Steam & Primusrun command not working

I'm not sure how to get more relevant information. Any assistance would help. I'll state what I do.

1. I run steam via the steam-native command on openbox
2. The game launcher option states primusrun %command%
3. That used to run the game via my GPU.
4. Since yesterday my GPU isn't being utilised when playing games.

I don't know where to look for log files related to this issue.

Offline

#4 2016-11-11 08:09:22

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [Solved] Steam & Primusrun command not working

Hi,

Hopefully if you launch steam-native from the terminal, you'll be able to see what's going wrong.

On a side note, is your system fully up-to-date ?

Offline

#5 2016-11-11 09:18:55

steveo_73
Member
Registered: 2012-09-16
Posts: 21

Re: [Solved] Steam & Primusrun command not working

/home/steveo/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
/home/steveo/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on arch  64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)

(steam:1345): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:1345): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Installing breakpad exception handler for appid(steam)/version(1476379980)
[1111/201334:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
[1111/201334:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20161013004706)
Installing breakpad exception handler for appid(steamwebhelper)/version(20161013004706)
Installing breakpad exception handler for appid(steamwebhelper)/version(1476379980)
Installing breakpad exception handler for appid(steamwebhelper)/version(1476319626)
Installing breakpad exception handler for appid(steamwebhelper)/version(1476379980)
[1111/201334:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Created shared memory when not owner SteamController_Shared_mem
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Installing breakpad exception handler for appid(steam)/version(1476379980)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
roaming config store loaded successfully - 1346 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1476379980)
Failed to init SteamVR because it isn't installed
ExecCommandLine: ""/home/steveo/.local/share/Steam/ubuntu12_32/steam" "
Installing breakpad exception handler for appid(steam)/version(1476379980)
System startup time: 13.58 seconds
/home/steveo/.steam/root/steam.sh: line 154: VERSION_ID: unbound variable
Generating new string page texture 74: 128x256, total string texture memory is 442.37 KB
Generating new string page texture 75: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 76: 64x256, total string texture memory is 507.90 KB
Generating new string page texture 77: 32x256, total string texture memory is 540.67 KB
/home/steveo/.steam/root/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on arch  64-bit
STEAM_RUNTIME is disabled by the user
ExecCommandLine: "/home/steveo/.local/share/Steam/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
Generating new string page texture 96: 128x256, total string texture memory is 671.74 KB
ExecSteamURL: "steam://nav/games"
Generating new string page texture 132: 256x256, total string texture memory is 933.89 KB
Generating new string page texture 133: 128x256, total string texture memory is 1.06 MB
Generating new string page texture 153: 512x256, total string texture memory is 1.59 MB
Generating new string page texture 154: 384x256, total string texture memory is 1.98 MB
Generating new string page texture 155: 1024x256, total string texture memory is 3.03 MB
Generating new string page texture 156: 8x256, total string texture memory is 3.04 MB
registry.cpp (271) : Assertion Failed: on disk registry has changed and is marked dirty - we're about to lose data.
Assert( Assertion Failed: on disk registry has changed and is marked dirty - we're about to lose data. ):registry.cpp:271

Installing breakpad exception handler for appid(steam)/version(1476379980)
assert_20161111201359_19.dmp[1482]: Uploading dump (out-of-process)
/tmp/dumps/assert_20161111201359_19.dmp
Game update: AppID 20920 "The Witcher 2: Assassins of Kings Enhanced Edition", ProcID 1484, IP 0.0.0.0:0
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 1484 for game ID 20920
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 1485 for game ID 20920
/home/share/steam/steamapps/common/the witcher 2/launcher: line 5: [: : integer expression expected
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 1488 for game ID 20920
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

(desktop-launcher:1489): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(desktop-launcher:1489): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
>>> Adding process 1489 for game ID 20920
** Message: window size should be 487x713
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/steveo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 1492 for game ID 20920
>>> Adding process 1493 for game ID 20920
Installing breakpad exception handler for appid(steam)/version(1476379980)
assert_20161111201359_19.dmp[1482]: Finished uploading minidump (out-of-process): success = yes
assert_20161111201359_19.dmp[1482]: response: CrashID=bp-de336771-ddab-478a-8919-3b4092161111
assert_20161111201359_19.dmp[1482]: file ''/tmp/dumps/assert_20161111201359_19.dmp'', upload yes: ''CrashID=bp-de336771-ddab-478a-8919-3b4092161111''
Setting breakpad minidump AppID = 20920
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198113755594 [API loaded no]
Installing breakpad exception handler for appid(gameoverlayui)/version(20161013004725)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
AL lib: (EE) alc_cleanup: 1 device not closed
Game removed: AppID 20920 "The Witcher 2: Assassins of Kings Enhanced Edition", ProcID 1493 
No cached sticky mapping in ActivateActionSet.

This is the terminal errors but I can't see anything wrong that is causing the issue. The game runs. It doesn't though use my GPU.

Offline

#6 2016-11-11 09:50:08

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [Solved] Steam & Primusrun command not working

How do you see that it's not running on the GPU ?

Have you checked with `cat /proc/acpi/bbswitch` while it's running ?

Offline

#7 2016-11-11 10:00:48

steveo_73
Member
Registered: 2012-09-16
Posts: 21

Re: [Solved] Steam & Primusrun command not working

That command isn't working however it now seems to be running. The problem is that I'm not sure what I've done to get it to work. I'll check a couple of things.

Offline

#8 2016-11-11 10:08:40

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [Solved] Steam & Primusrun command not working

steveo_73 wrote:

That command isn't working however it now seems to be running. The problem is that I'm not sure what I've done to get it to work. I'll check a couple of things.

In order to get more accurate help, it's useful to precise what's not working, eventually with the error messages you get. Also some bits of information about your setup would help narrow down the issues.

Offline

#9 2016-11-11 23:20:52

steveo_73
Member
Registered: 2012-09-16
Posts: 21

Re: [Solved] Steam & Primusrun command not working

skualito wrote:
steveo_73 wrote:

That command isn't working however it now seems to be running. The problem is that I'm not sure what I've done to get it to work. I'll check a couple of things.

In order to get more accurate help, it's useful to precise what's not working, eventually with the error messages you get. Also some bits of information about your setup would help narrow down the issues.

I understand but it's not easy to get an error message that is meaningful in this situation. I use Bumblebee to utilise my Nvidia card. The issue is that Steam doesn't seem to be utilising the Nvidia drivers. The logs that I posted don't appear to provide much meaningful information either.

It's a hard issue to debug.

My set-up excluding steam seems to be okay. It works via different applications but not via steam.

Last edited by steveo_73 (2016-11-11 23:21:21)

Offline

#10 2016-11-12 07:29:09

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: [Solved] Steam & Primusrun command not working

Hi,

Is it a laptop with optimus technology ? Which GPU ? Which drivers are you using ?

You could try to directly launch `primusrun steam-native`.

Maybe the graphical drivers or steam were upgraded recently ?

Why do you think that steam isn't using the GPU, "the game is not working" or "it's running now" are not that useful... It's important to give context.

Offline

#11 2016-11-16 19:05:47

steveo_73
Member
Registered: 2012-09-16
Posts: 21

Re: [Solved] Steam & Primusrun command not working

I'm going to make this as solved but it was solved via reinstalling everything and this thread details what happened:- https://bbs.archlinux.org/viewtopic.php?id=219624

Offline

Board footer

Powered by FluxBB