ValveSoftware / voglperf

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

WARNING: realpath /usr/bin/./libvoglperf64.so failed 'No such file or directory.' #16

Open cjwijtmans opened 10 years ago

cjwijtmans commented 10 years ago

a lib should be in /usr/lib not in /usr/bin.

$ ls /usr/lib/libvoglperf64.so /usr/lib/libvoglperf64.so

mdeguzis commented 9 years ago

I have this same issue as well. I'm not even sure where libvoglperf32 lib is, tried using locate and find. This is required to get things properly working:

WARNING: realpath /home/desktop/voglperf/bin/./libvoglperf32.so failed 'No such file or directory.'

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

VOGLPERF_CMD_LINE="--msqid=0 "

Steam url string:
  steam steam://run/40800//VOGLPERF_CMD_LINE="--msqid=0 " LD_PRELOAD=./libvoglperf32.so:/home/desktop/voglperf/bin/libvoglperf64.so:$LD_PRELOAD %command%

Launch string:
  steam steam://run/40800//VOGLPERF_CMD_LINE%3d%22--msqid%3d0%20%22%20LD_PRELOAD%3d.%2flibvoglperf32.so%3a%2fhome%2fdesktop%2fvoglperf%2fbin%2flibvoglperf64.so%3a%24LD_PRELOAD%20%25command%25

Seems that this is due to the target compile for voglperf is only 64 bit

Problem is...even if I symlink libGL and compile voglperf32, I still get a crash. Example below with Super Meat Boy:

desktop@steamos:~/voglperf$ sudo -u steam bin/voglperfrun64

Starting web server...
  Started http://192.168.11.112:8081

game start 40800
> game start 40800

GameID: 40800 (gameid40800)

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

VOGLPERF_CMD_LINE="--msqid=229380 "

Steam url string:
  steam steam://run/40800//VOGLPERF_CMD_LINE="--msqid=229380 " LD_PRELOAD=/home/desktop/voglperf/bin/libvoglperf32.so:/home/desktop/voglperf/bin/libvoglperf64.so:$LD_PRELOAD %command%

Launch string:
  steam steam://run/40800//VOGLPERF_CMD_LINE%3d%22--msqid%3d229380%20%22%20LD_PRELOAD%3d%2fhome%2fdesktop%2fvoglperf%2fbin%2flibvoglperf32.so%3a%2fhome%2fdesktop%2fvoglperf%2fbin%2flibvoglperf64.so%3a%24LD_PRELOAD%20%25command%25
Waiting for child process to start...
Running Steam on steamos 1.0 64-bit

The game attempts to start, then crashes back to Steam and wrecks gamepad input.