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

Add support for AMD GPUs #85

Open SuicSoft opened 8 years ago

SuicSoft commented 8 years ago

My laptop has a integrated Radeon 7640G (though it is integrated it was quiet powerful when it was new).When playing NeverBall with GLXOSD I can only see the CPU temperatures , not the GPU temperature.

I am using fglrx.

Maybe this can help : http://bazaar.launchpad.net/~alexmurray/indicator-sensors/master/files

nickguletskii commented 8 years ago

Unfortunately, as I don't have an AMD graphics card, I won't be able to write a plugin myself.

As much as I hate saying this, but: contributions welcome. I just don't see how I would develop for hardware I do not have myself.

SuicSoft commented 8 years ago

@nickguletskii So where's the code for showing the temperature text ?

nickguletskii commented 8 years ago

Here's how GLXOSD interfaces with NVML, the NVIDIA management library:

https://github.com/nickguletskii/GLXOSD/blob/master/src/glxosd/plugins/OSD/dataproviders/NVMLDataProvider.lua

SuicSoft commented 8 years ago

@nickguletskii I can try but I won't be able to add the fan speed since I have a laptop. And also how do I build GLXOSD

nickguletskii commented 8 years ago

You don't need to build it to write a plugin. You can use the existing binaries and just change the scripts.

SuicSoft commented 8 years ago

@nickguletskii I have GLXOSD installed on my laptop.So where are the plugins located (you say I don't have to build it)

nickguletskii commented 8 years ago

The plugins are usually located in /usr/share/glxosd/glxosd/plugins/. Basically, the /usr/share/glxosd/glxosd/ maps to https://github.com/nickguletskii/GLXOSD/tree/master/src/glxosd

SuicSoft commented 8 years ago

@nickguletskii Is there any guide for programming the LUA plugins.I know how to get the temperature but I don't know what to change / add

SuicSoft commented 7 years ago

Anyone here ?