Seems like you already have your hybrid video driver installed, so your system should be working properly, you could use the Nvidia video card for gaming with the proper commands when running a game.
To verify that you actually have the proper setup and that it is working you can give the output of the following commands
list the installed drivers with mhwd -li
list the card used by default (should be Intel) glxinfo | grep renderer
list the card used by offloading (should be Nvidia) prime-run glxinfo | grep renderer
There is no problem in my opinion currently with your system. Your Nvidia card is recognized. But having an hybrid system requires you to force the usage of Nvidia card, by default it will work with the Intel card only. There are possibilities to disable the Intel card permanently, or to setup the system in a different way for the Nvidia card to be the default card and the Intel to be the offloading card too, but I’m not sure this is something you’re asking.
It shows what you were waiting for ?
Now, my question would be, how to force NVIDIA card when I open a game for example.
Or if is’t not possible how to only use NVIDIA card.
I use a laptop but it’s always plugged so it doesn’t matter if it’s more energy consuming.
To me it seems it is working as intended, yes. By default with the Intel/Nvidia hybrid driver it is the Intel card that is used, and you can “offload” the work on the Nvidia card, on demand.
To offload to the Nvidia card you run your program with the prime-run command, for example start a game with prime-run name-of-game-executable.
For Steam games you need to modify the Launch Options, in the game Properties. Right click the game in the Steam Library, go to Properties, then add this in the Launch Option field prime-run %command% exactly as is, there is no typo this is what you need to write.
I just bought a new laptop that comes with Dual GPU (AMD Renoir/NVIDIA RTX 3050). I was searching on the forums on how to check wheter an app is using one or the other GPU and reached this post and your info.
The thing is I’ve played through Steam various games: DOTA 2 (Linux runtime), Metro 2033 and Neverwinter (Proton). Right now I’m comparing running Metro 2033 with and without the Launch Option field and I have to admit I cannot see any difference. It is a game from 2010, though, so maybe the internal GPU is good enough. DOTA 2 looks amazing also but haven’t tried with the Launch Option forcing the prime-run command.
How could I tell which GPU is using when I’m inside the game itself? I mean, I could open a terminal doing ALT+TAB or even move to a TTY with CTRL+F1, but are there any parameters to give to ps (for example) to identify which GPU is using a specific command? Any help will be appreciated.
Maybe I did not explain myself well. I’ve actually “liked” your previous posts because with the commands you list again now I could see that Manjaro set up everything right (the AMD for the default glxinfo, the RTX for the prime-run glxinfo).
But as I cannot see any difference between running games in Steam with the Launch Options set with the prime-run parameter I was asking if is there any way to actually confirm that the Steam games are running with the RTX or not.