GPUs not being detected

I noticed, that my GPUs don’t show in any resource monitor I’ve tried (btop, stacer, monitor, command center). I use the nvidia proprietary drivers and nvidia-smi does see the GPU:

In addition my iGPU also isnt showing. I first thought nothing of it as the GPU is clearly being utilized and they also show up on fastfetch:


Apparently whatever is going on does cause some more problems though, as LWJGL doesn’t detect any supported platform:

When looking at about:support of firefox I also see the 3080 being detected for WebGL use.

Here are my configs to do with the Nvidia GPU:

Does anyone know what might be causing this?

If nvidia-smi is working the hardware monitors are probably a red herring. Maybe if they in fact properly support nvidia and that’s actually compiled in, though that’s unlikely as the graphics pipeline/basic openGL libraries are completely separate from nvidia’s monitoring API. Plus, firefox’ WebGL working means that the GL libraries are set up correctly, so it’s probably just lwjgl.

My guess would be something about the environment you launch lwjgl in. What is the context around that?

Unrelatedly, your nvidia config is probably quite suboptimal. A few notes with links to the nvidia docs that actually explain the settings where appropriate:

Your iGPU is probably not showin anywhere because you’re using only your nvidia GPU. To use both you’d need to set up offload rendering, which is probably a good idea on devices with an iGPU (and will correctly set up your uvm module).

The hyprland wiki also recommends some environment variables you do not currently set, if memory serves. That may also be relevant, but it’s been a long time since I’ve used it.

Cheers for the information on the NVidia settings, I’ll change that.
And about lwjgl: I was playing around with a libGDX project I had previously developed on a Windows machine in school. So I probably just had something set up the wrong way to run on Linux.