nickguletskii / GLXOSD

GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
https://glxosd.nickguletskii.com
MIT License
123 stars 20 forks source link

Dont override GLXOSD_PRELOAD #69

Closed toofar closed 8 years ago

toofar commented 8 years ago

The help text states "GLXOSD_PRELOAD will be in LD_PRELOAD before GLXOSD libraries" but it is set to nothing at the top of the file. Probable an erroneous initialisation.

fyi: I have https://github.com/sickill/stderred in my LD_PRELOAD. With this in there anything run via glxosd was crashing at link time. Setting LD_DEBUG and LD_VERBOSE the last method printed was regarding binding fwrite_unlocked. Preloading libstderred.so before the glxosd stuff makes things not crash. I assume that means they are not being good LD_PRELOAD citizens or something.

nickguletskii commented 8 years ago

Thank you very much for the pull request, but I will be releasing GLXOSD v3 in a few days which already has this issue fixed so I don't really see a reason to merge this right now.