ValveSoftware / voglperf

Benchmarking tool for Linux OpenGL games. Spews frame information, logs frametimes.
Other
201 stars 31 forks source link

steam: not found #24

Closed sabun123 closed 9 years ago

sabun123 commented 9 years ago

Hi,

Running in Ubuntu 15.04 64bit, I have tried both voglperfun32 and voglperfrun64 and neither seem to be able to locate steam. It is installed, and can be run from a terminal by simply entering steam.

This is what the Terminal spits out when voglperf cannot locate Steam:

> game start 255710

GameID: 255710 (gameid255710)

LD_PRELOAD=/home/ismail/Desktop/voglperf/bin/libvoglperf32.so:/home/ismail/Desktop/voglperf/bin/libvoglperf64.so:$LD_PRELOAD

VOGLPERF_CMD_LINE="--msqid=131076  --showfps"

Steam url string:
  steam steam://run/255710//VOGLPERF_CMD_LINE="--msqid=131076  --showfps" LD_PRELOAD=/home/ismail/Desktop/voglperf/bin/libvoglperf32.so:/home/ismail/Desktop/voglperf/bin/libvoglperf64.so:$LD_PRELOAD %command%

Launch string:
  steam steam://run/255710//VOGLPERF_CMD_LINE%3d%22--msqid%3d131076%20%20--showfps%22%20LD_PRELOAD%3d%2fhome%2fismail%2fDesktop%2fvoglperf%2fbin%2flibvoglperf32.so%3a%2fhome%2fismail%2fDesktop%2fvoglperf%2fbin%2flibvoglperf64.so%3a%24LD_PRELOAD%20%25command%25
Waiting for child process to start...
sh: 1: steam: not found

In this instance I am attempting to run Cities Skylines. There were no issues when I ran make to get the bin files.

Steam is installed, and runs without issue. Running games is also fine (Cities Skylines, Borderlands the Pre-Sequel, CSGO).

sabun123 commented 9 years ago

Corrected the issue.

I previously installed Steam through the command line, like so:

sudo apt-get install steam

While this installed a working Steam, it was outdated. The newer Steam doesn't store itself in the same directory anymore, which is why Voglperf could not locate Steam.

After uninstalling Steam through:

sudo apt-get remove steam

I then installed Steam through the .deb package offered on Valve's website: http://store.steampowered.com/about/

You will need to remove the .steam folder from your Home directory first (it's hidden, so you'll need to go to View -> Show Hidden Files), otherwise the newer installer won't be able to run. It will complain that it can't overwrite the current steam folder.

After that, it was pretty much smooth sailing. One good way to know if you've used the outdated installer for Steam, is if your icon is NOT the following:

I know this is probably trivial, but it took me quite a while to figure out why it would not work. Hopefully this helps others who may encounter the same issue.