I struggle to find to find on which GPU is Wayland running

I have a laptop with 2 GPUs, it’s a Nvidia Optimus hybrid graphics system. I struggle to find on which of those GPUs Wayland (KDE Plasma) is running. Tool wayland-info spits out lots of detailed technical information. Not very user friendly. I’m not sure what I should look there for to get my answer.

The Wayland tab under Info Center just displays content of wayland-info so, not extra help there.

Please, KWin/Plasma devs, if you read this, please could you add extra information under Info Center showing on which GPU is Wayland running?

Thank you

I think you can find it in OpenGL (GLX). Scroll a bit down, you will see Device: driver name (e.g. in my case its Device: Mesa Intel...), under Extended renderer info section.
ETA: You can also use the search at the top. Just search for Device:.

For what it’s worth - as a general rule, across most modern distributions and desktop environments, you can open a terminal window and run glxinfo | grep OpenGL. The first couple lines there will tell you what’s actively rendering:

On my NVIDIA-only desktop:

$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2

On the kids’ hybrid laptop:

$ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.0, DRM 3.60, 6.12.15-200.fc41.x86_64)

And on that same laptop, but prefixed with environment variables to force running on the NVIDIA card:

$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
1 Like

@akagi

Here is my Info Center, OpenGL (GLX) tab:

And here when searching there for “Device” founds nothing.

Running Open(EGL) tab says that eglinfo tool crashed while generating page content.
I guess I should report it with openSuse.

In my understanding, EGL is successor to GLX, and Wayland uses EGL. GLX is used by X11. So, I should look there, shouldn’t I?

For comparison, here is Info Center output from my other laptop, also dual GPU, but where I assume Wayland runs primarily on iGPU, Intel integrated card.

OpenGL (ELX) searching for “Drive”:

OpenGL (GLX) searching for “Drive” - nothing found.
I can attach only one screenshot.

Sorry, try searching for OpenGL in OpenGL (GLX). If that doesn’t work, search for direct (just to test the search). If it doesn’t return anything, something is wrong with the Info Center.

Or you could run @johnandmegh’s suggested command in the terminal.
But yeah I think KDE should show this more clearly.

In my understanding, EGL is successor to GLX, and Wayland uses EGL. GLX is used by X11. So, I should look there, shouldn’t I?

It is so I guess you might be right but for whatever reason on my system it only shows my AMD dGPU in the EGL page.