How can i tell which gpu i am using?

I have a lenovo ideapad gaming 3laptop with a gtx 1650 and vega 7 igpu, but when im playing games the performance seems like it is using the igpu how can I fix this

A hybrid config must be installed:

mhwd -li

Then for testing:

glxinfo | grep "OpenGL renderer"
prime-run glxinfo | grep "OpenGL renderer"

Just use prime-run before the command to switch GLX to the Nvidia dGPU.

top command says OpenGL renderer string: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.38-1-MANJARO) bottom command says OpenGL renderer string: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.38-1-MANJARO)

i can confirm that it is using the amd gpu becuase when i launch minecraft it says it is using the amd gpu in the f3 menu.

Give also mhwd -l

i have a amd 5600h and a gtx 1650 but even though the hybrid drivers are installed the 5600h is being used for games

@BeanMan I moved your post, because it is the same topic and you didn’t choose a solution.

Please provide some basic information about your system:

inxi -Fazy
mhwd -l && mhwd -li

It depends on the driver, if you can use bumblebee or prime.

PRIME - ArchWiki
Bumblebee - ArchWiki

Bumblebee doesn’t work out of the box and need some manual configuration.