The Witcher 2: Assassins of Kings Enhanced Edition

The Witcher 2: Assassins of Kings Enhanced Edition

How do I display the FPS on Linux?
How do I display the FPS the game is running in on Linux?
< >
115/18 megjegyzés mutatása
If you're using the open source drivers for AMD or Nvidia, you can use the Gallium-HUD functionality. See

http://kparal.wordpress.com/2014/03/03/fraps-like-fps-overlay-for-linux/
I'm using Nvidia's proprietary drivers.
With vogelperf it does not matter which graphics card or driver you use :)
Legutóbb szerkesztette: NoXPhasma; 2014. máj. 24., 6:57
I did compile it earlier, and I also did a recording of it https://asciinema.org/a/9761. However, now I realise that I only compiled the 64 bit version
Legutóbb szerkesztette: matachi; 2014. máj. 24., 7:42
Tried to compile the 32 bit version but it fails:


(env)16:56~/voglperf/voglperf% make voglperf32

cmake options:
-DCMAKE_BUILD_TYPE='Release': Build debug or release. (Debug|Release)
-DCMAKE_VERBOSE='': Spew cmake project options. (On|Off)
-DBUILD_X64='False': Build 32 or 64-bit. (On|Off)

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
Building 32-bit voglperf...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matachi/voglperf/voglperf/build32
make[1]: Entering directory `/home/matachi/voglperf/voglperf/build32'
make[2]: Entering directory `/home/matachi/voglperf/voglperf/build32'
make[3]: Entering directory `/home/matachi/voglperf/voglperf/build32'
Scanning dependencies of target voglperf
make[3]: Leaving directory `/home/matachi/voglperf/voglperf/build32'
make[3]: Entering directory `/home/matachi/voglperf/voglperf/build32'
[ 25%] Building C object CMakeFiles/voglperf.dir/voglperf.c.o
Linking C shared library /home/matachi/voglperf/voglperf/bin/libvoglperf32.so
/usr/lib64/libGL.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [/home/matachi/voglperf/voglperf/bin/libvoglperf32.so] Error 1
make[3]: Leaving directory `/home/matachi/voglperf/voglperf/build32'
make[2]: *** [CMakeFiles/voglperf.dir/all] Error 2
make[2]: Leaving directory `/home/matachi/voglperf/voglperf/build32'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/matachi/voglperf/voglperf/build32'
make: *** [voglperf32] Error 2
Managed to compile it by running:

$ sudo yum remove mesa-libGL-devel.x86_64
$ make clean
$ make
Well, even the broken compile has created the 32bit library, you don't need more :)
it appears like i got it compiled but I am not sure how to use it. Within the readme it says to launch steam with steam bin/voglperfrun64 which I did but i dont' see anywhere in the terminal output it created a webserver. Can anyone please help me figure out how to use this tool, i want to know how many FPS i am getting the witcher 2 when using my gtx 760 with nvidia 337.25. thanks
UbuntuAddicted eredeti hozzászólása:
it appears like i got it compiled but I am not sure how to use it. Within the readme it says to launch steam with steam bin/voglperfrun64 which I did but i dont' see anywhere in the terminal output it created a webserver. Can anyone please help me figure out how to use this tool, i want to know how many FPS i am getting the witcher 2 when using my gtx 760 with nvidia 337.25. thanks
The commands you need to use you can see in this post: http://steamcommunity.com/app/20920/discussions/0/522728180993106963/#c522728268784736660
UbuntuAddicted eredeti hozzászólása:
it appears like i got it compiled but I am not sure how to use it. Within the readme it says to launch steam with steam bin/voglperfrun64 which I did but i dont' see anywhere in the terminal output it created a webserver. Can anyone please help me figure out how to use this tool, i want to know how many FPS i am getting the witcher 2 when using my gtx 760 with nvidia 337.25. thanks
You don't need to run Steam with voglperf, start Steam, after that start voglperf and you are ready to use voglperf.
NoXPhasma eredeti hozzászólása:
UbuntuAddicted eredeti hozzászólása:
it appears like i got it compiled but I am not sure how to use it. Within the readme it says to launch steam with steam bin/voglperfrun64 which I did but i dont' see anywhere in the terminal output it created a webserver. Can anyone please help me figure out how to use this tool, i want to know how many FPS i am getting the witcher 2 when using my gtx 760 with nvidia 337.25. thanks
You don't need to run Steam with voglperf, start Steam, after that start voglperf and you are ready to use voglperf.
ok, that worked. thank you. It shows i'm getting as high as low 40's and as low as 30, that's with a GTX 760 with nvidia 337.25 running xubuntu without compositing enabled. That's with Ultra but with Ubersampling OFF. I'd really like to log it to a file but when I attempt to run the command for logging Voglperf says, "ERROR: Game not running." when clearly it is and Voglperf is showing in the upper left corner of the game how many fps i'm getting. So other than logging not working i love the fact I can see how many FPS i'm getting since people watching my youtube video are asking.

What is everyone else getting in the witcher 2?
Legutóbb szerkesztette: UbuntuAddicted; 2014. jún. 2., 18:48
I'm getting 20-30 on low, the same on high when I disable some settings which consume CPU.

GTX 660
FX-8350
Legutóbb szerkesztette: NoXPhasma; 2014. jún. 3., 7:24
NoXPhasma eredeti hozzászólása:
I'm getting 20-30 on low, the same on high when I disable some settings which consume CPU.

GTX 660
FX-8350

Try again now. I heard news that the Linux build had an update and I checked it out and it did! Try updating the game by either running it or verifying the cache what ever works. My 660Ti no longer jitters and drops below 35ish FPS anymore.

Try it out and tell me what you think.
Sorry to resurrect this thread, but did you figure out how to log the fps using voglperf? I'm getting the same "ERROR: Game not running" as UbuntuAddicted...
< >
115/18 megjegyzés mutatása
Laponként: 1530 50

Közzétéve: 2014. máj. 24., 4:15
Hozzászólások: 18