Package Details: glxosd-git r32.9f216b2-1

Package Base: glxosd-git
Description: An OSD for OpenGL applications running under the X Window System. This allows you to monitor your framerate and hardware temperature in games on Linux!
Upstream URL: https://github.com/nickguletskii/GLXOSD
Category: x11
Licenses: GPL
Conflicts: glxosd
Provides: glxosd
Submitter: xpander
Maintainer: xpander
Last Packager: xpander
Votes: 4
First Submitted: 2014-08-01 18:10
Last Updated: 2014-08-17 08:59

Dependencies (11)

Required by (0)

Sources

Latest Comments

Comment by xpander

2014-08-29 14:01

@Commander

lib32-libxnvctrl and lib32-lm_sensors are also needed..but those are not available officially..so those packages have to be created via aur also, by using the i686 repos and pulling the lm_sensors and libxnvctrl from there and making them as lib32 ones

Comment by Dea993

2014-08-29 09:33

@Commander, i can try to upload, i'm not expert, i've uploaded on AUR only simply PKGBUILD

Comment by Commander

2014-08-29 09:27

@Dea993 When you upload a lib32-glxosd to AUR then you will able to download it =)

@xpander what dependencies are missing for the 32bit?

Comment by Dea993

2014-08-19 11:00

where i can install lib32-glxosd? i can't find on AUR

this is the output of steam when i launch the witcher 2 with the option

"vblank_mode=0 optirun -b primus glxosd -s %command%"

http://pastebin.com/HaFYxbsX

Comment by xpander

2014-08-18 17:47

if someone wants to take over the packaging for this tool, let me know.
i just don't have enough time to deal with 2 extra packages needed to make this package compatible with 32bit games on 64bit.

Comment by Commander

2014-08-18 17:40

@Dea993
Im guessing you are running 64bit arch?
Then you need to run 32bit libs of glxosd. Run Steam from terminal and you will get your answer. Also dont post contents into chat here but put it in a pastebin =)

Comment by Dea993

2014-08-18 09:12

i've solved copying
/usr/bin/glxosd/libglxosd-plugins-nvidia-support.so.2.2.2
in
/usr/bin/glxosd/libglxosd-plugins-nvidia-support.so.2
and
/usr/bin/glxosd/libglxosd-plugins-nvidia-support.so

now works

but when i try to launch a steam game with option
glxosd -s %command%

game crash, how can i solve it?

Comment by Dea993

2014-08-18 08:39

if i try to execute glxosd with primusrun (i've an optimus notebook) i receive this error

[GLXOSD] Reading global configuration file at "/etc/glxosd.conf"...
[GLXOSD] Found key-value pair: (key: "font_name", value: "CPMono_v07 Bold")
[GLXOSD] Found key-value pair: (key: "font_size_int", value: "16")
[GLXOSD] Found key-value pair: (key: "font_colour_r_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_colour_b_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_r_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_b_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_width_float", value: "1")
[GLXOSD] Found key-value pair: (key: "show_text_outline_bool", value: "true")
[GLXOSD] Found key-value pair: (key: "text_pos_x_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_pos_y_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_spacing_x_float", value: "0")
[GLXOSD] Found key-value pair: (key: "text_spacing_y_float", value: "0")
[GLXOSD] Found key-value pair: (key: "osd_toggle_keycombo", value: "Shift+F10")
[GLXOSD] Found key-value pair: (key: "frame_logging_toggle_keycombo", value: "Shift+F9")
[GLXOSD] Found key-value pair: (key: "frame_logging_message_string", value: "Logging frame timings...")
[GLXOSD] Found key-value pair: (key: "frame_log_directory_string", value: "/tmp/")
[GLXOSD] Found key-value pair: (key: "fps_format", value: "FPS: %1$.1f\n")
[GLXOSD] Found key-value pair: (key: "temperature_format", value: "%1$i C")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_format", value: "%1%:\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_format", value: " %1%: %2%\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_filter", value: "NULL")
[GLXOSD] Found key-value pair: (key: "nvidia_gpu_format", value: "%1% (%2%): %3%\n")
[GLXOSD] The configuration was read successfully.
[GLXOSD] Reading user's configuration file at "/home/andrea/.config/glxosd/glxosd.conf"...
[GLXOSD] Found key-value pair: (key: "font_name", value: "CPMono_v07 Bold")
[GLXOSD] Found key-value pair: (key: "font_size_int", value: "16")
[GLXOSD] Found key-value pair: (key: "font_colour_r_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_colour_b_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_r_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_b_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_width_float", value: "1")
[GLXOSD] Found key-value pair: (key: "show_text_outline_bool", value: "true")
[GLXOSD] Found key-value pair: (key: "text_pos_x_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_pos_y_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_spacing_x_float", value: "0")
[GLXOSD] Found key-value pair: (key: "text_spacing_y_float", value: "0")
[GLXOSD] Found key-value pair: (key: "osd_toggle_keycombo", value: "Shift+F10")
[GLXOSD] Found key-value pair: (key: "frame_logging_toggle_keycombo", value: "Shift+F9")
[GLXOSD] Found key-value pair: (key: "frame_logging_message_string", value: "Logging frame timings...")
[GLXOSD] Found key-value pair: (key: "frame_log_directory_string", value: "/tmp/")
[GLXOSD] Found key-value pair: (key: "fps_format", value: "FPS: %1$.1f\n")
[GLXOSD] Found key-value pair: (key: "temperature_format", value: "%1$i C")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_format", value: "%1%:\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_format", value: " %1%: %2%\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_filter", value: "NULL")
[GLXOSD] Found key-value pair: (key: "nvidia_gpu_format", value: "%1% (%2%): %3%\n")
[GLXOSD] The configuration was read successfully.
[GLXOSD] Loading libglxosd-plugins-libsensors-support.so
[GLXOSD] Loaded libglxosd-plugins-libsensors-support.so
[GLXOSD] Loading libglxosd-plugins-nvidia-support.so
[GLXOSD] Loaded libglxosd-plugins-nvidia-support.so
glxgears: symbol lookup error: /usr/lib/glxosd/libglxosd-plugins-nvidia-support.so: undefined symbol: XextFindDisplay

Comment by Dea993

2014-08-17 10:04

@Commander
i've tried to modify the 2 lines into /usr/bin/glxosd
but i receive these messages when i launch "glxosd glxgears" and the windows immediatly close

Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
[GLXOSD] Reading global configuration file at "/etc/glxosd.conf"...
[GLXOSD] Found key-value pair: (key: "font_name", value: "CPMono_v07 Bold")
[GLXOSD] Found key-value pair: (key: "font_size_int", value: "16")
[GLXOSD] Found key-value pair: (key: "font_colour_r_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_colour_b_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_r_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_g_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_b_int", value: "0")
[GLXOSD] Found key-value pair: (key: "font_outline_colour_a_int", value: "255")
[GLXOSD] Found key-value pair: (key: "font_outline_width_float", value: "1")
[GLXOSD] Found key-value pair: (key: "show_text_outline_bool", value: "true")
[GLXOSD] Found key-value pair: (key: "text_pos_x_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_pos_y_int", value: "4")
[GLXOSD] Found key-value pair: (key: "text_spacing_x_float", value: "0")
[GLXOSD] Found key-value pair: (key: "text_spacing_y_float", value: "0")
[GLXOSD] Found key-value pair: (key: "osd_toggle_keycombo", value: "Shift+F10")
[GLXOSD] Found key-value pair: (key: "frame_logging_toggle_keycombo", value: "Shift+F9")
[GLXOSD] Found key-value pair: (key: "frame_logging_message_string", value: "Logging frame timings...")
[GLXOSD] Found key-value pair: (key: "frame_log_directory_string", value: "/tmp/")
[GLXOSD] Found key-value pair: (key: "fps_format", value: "FPS: %1$.1f\n")
[GLXOSD] Found key-value pair: (key: "temperature_format", value: "%1$i C")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_format", value: "%1%:\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_format", value: " %1%: %2%\n")
[GLXOSD] Found key-value pair: (key: "libsensors_chip_feature_filter", value: "NULL")
[GLXOSD] Found key-value pair: (key: "nvidia_gpu_format", value: "%1% (%2%): %3%\n")
[GLXOSD] The configuration was read successfully.
[GLXOSD] Reading user's configuration file at "/home/andrea/.config/glxosd/glxosd.conf"...
[GLXOSD] There is no file at "/home/andrea/.config/glxosd/glxosd.conf". Skipping.
[GLXOSD] Loading libglxosd-plugins-libsensors-support.so
[GLXOSD] Loaded libglxosd-plugins-libsensors-support.so
[GLXOSD] Loading libglxosd-plugins-nvidia-support.so
[GLXOSD] Loaded libglxosd-plugins-nvidia-support.so
terminate called after throwing an instance of 'std::runtime_error'
what(): Couldn't compile GLXOSD shader: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

/usr/bin/glxosd: riga 72: 1927 Annullato "$@"

Comment by xpander

2014-08-17 08:59

@Commander, seems something changed recently.. updated PKGBUILD.
should work now

Comment by Commander

2014-08-17 02:58

@Dean993 yeah check my post.
@xpander yeah i know i think its a permission error or something because i Tried it also and it does not change it.

Comment by Dea993

2014-08-16 12:05

i receive thi error
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Comment by xpander

2014-08-14 20:45

@Commander
PKGBUILD should already take care of this with:
sed s+/usr/lib/x86_64-linux-gnu/glxosd+/usr/lib/glxosd+g -i $pkgdir/usr/bin/glxosd
sed s+/usr/lib/i386-linux-gnu/glxosd+/usr/lib/glxosd+g -i $pkgdir/usr/bin/glxosd

Comment by Commander

2014-08-14 05:51

Changed /usr/bin/glxosd entries to;
GLXOSD_LIBRARY_PATH_I386="/usr/lib/glxosd/"
GLXOSD_LIBRARY_PATH_AMD64="/usr/lib/glxosd/
seems to fixed it

Comment by Commander

2014-08-14 04:34

I'm getting ld errors.
http://codepad.org/LVUI8ZnY

This when running.
glxosd glxgears
(tried both 32bit and 64bit same issue)

Am I missing something?

Comment by xpander

2014-08-07 15:22

@DaMadOne, no, not atm. This means 2 more packages... and i'm in the opinion that every game should be 64bit nowadays.

Comment by DaMadOne

2014-08-04 22:48

xpander, any plans to make this compile both 32bit and 64bit libs so it works OOB with both 32bit and 64bit games? I have done it manually as I said in a comment on the other AUR pkg before it was removed. It will unfortunatly require making AUR pkgs for both lib32-libxnvctrl and Lib32-lm_sensors since they do not exist or extracting the precompiled libs from the i686 pkgs (which is what I did). Though I don't think thats the best way to go about it. It all works great with both 32bit and 64bit games once it is done though.

Comment by xpander

2014-08-02 14:29

@fabertawe thanks for pointing out.. made corrections to PKGBUILD, should work out of box now

Comment by fabertawe

2014-08-02 13:39

As DaMadOne pointed out in the comments for glxosd before it was removed for this package - 'GLXOSD_LIBRARY_PATH_AMD64=/usr/lib/x86_64-linux-gnu/glxosd' needed to be changed to 'GLXOSD_LIBRARY_PATH_AMD64=/usr/lib/glxosd' in '/usr/bin/glxosd' for me to get the full overlay, and not just FPS, as 'libglxosd-plugins-libsensors-support.so' and 'libglxosd-plugins-nvidia-support.so' were not being used.

Cheers.