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

Dota2 (steam) always crashes, when run with glxosd #17

Closed martin80cz closed 8 years ago

martin80cz commented 9 years ago

I have Ubuntu 14.04 and GeForce 755M (lenovo ideapad y510p). Dota2 without glxosd runs fine, but when I try glxosd --steam %command% and launch it, all I can see for a second i is a black screen with osd, then crashes ... any others of games launching with glxosd run fine.

nickguletskii commented 9 years ago

How did you install GLXOSD? Did you install it form the PPA? Do you have hybrid graphics?

Your issue might be related to this: https://github.com/nickguletskii/GLXOSD/issues/5

sabun123 commented 9 years ago

I can confirm that Dota 2 crashes when adding GLXOSD to the launch options. Dota 2 will crash with a segmentation fault. It happens exactly as martin80cz says.

I'm running discrete graphics on a desktop computer. I've installed GLXOSD via the PPA. OS: Ubuntu 14.10 64bit CPU: Intel i7-4770 3.4GHz GPU: Nvidia GTX680 (346.35 proprietary driver)

sabun123 commented 9 years ago

It would seem that Counter Strike Global Offensive and Chivalry now crash as well. Does this have to do with the newer Nvidia drivers or how things have changed under the hood in Ubuntu 14.10?

Back in Ubuntu 14.04 with older Nvidia drivers I was able to run CS GO with GLXOSD no problem. [EDIT] I believe the offending package is among the following

glxosd-libs-nvidia-support-amd64 glxosd-libs-nvidia-support-i386

After performing:

sudo apt-get remove glxosd glxosd-libs-libsensors-support-amd64 glxosd-libs-libsensors-support-i386 glxosd-libs-nvidia-support-amd64 glxosd-libs-nvidia-support-i386

and deleting glxosd.conf in the etc/folder, I reinstalled GLXOSD but only with:

sudo apt-get install -y glxosd glxosd-libs-libsensors-support-amd64 glxosd-libs-libsensors-support-i386

Now GLXOSD is able to inject itself in CSGO and Chivalry. It's still unable to work with Dota 2 though. Dota 2 will crash immediately the same as before.

[EDIT2] Further trying stuff, I removed the following:

sudo apt-get remove glxosd-libs-libsensors-support-amd64 glxosd-libs-libsensors-support-i386

So, this leaves me with only the FPS OSD and just the glxosd base package.

Even with only the bare minimum package installed, Dota 2 still crashes. Everything else is fine though.

nickguletskii commented 9 years ago

Doesn't seem to happen to me on Kubuntu 14.04 with CS:GO, so I assume this is caused by libstdc++ compatibility issues... I will try Dota 2 tomorrow, but I can't really guarantee a solution any time soon because this issue would require a lot of packaging work and I don't really have that much time right now...

nickguletskii commented 9 years ago

This bug is directly related to this:

https://github.com/nickguletskii/GLXOSD/issues/24

nickguletskii commented 9 years ago

I tried CS:GO in Ubuntu 15.04 running in VirtualBox and it worked (after removing Steam's copy of libstdc++). Can you please try removing Steam's libstdc++?

mv /home/shoof/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}
sabun123 commented 9 years ago

I renamed the following on Ubuntu 15.04 64bit, and it seems to work now with Dota 2. No crashing on startup anymore, and GLXOSD is able to display itself properly.

libstdc++.so.6.0.18
libstdc++.so.6
libgcc_s.so.1

GLXOSD is still black in Metro and Shadow Warrior though, so that issue seems to be unrelated to this.

nickguletskii commented 8 years ago

This is fixed in version 3.1.0.