Hi, I have a Laptop with both, an onboard graphics card (Intel iris xe) and a discrete GPU (GeForce RTX 3050ti mobile). Thanks to PRIME and a lot of help from a friendly person from this forum, I now can run my system either on intel or using the nvidia GPU. I switch via envycontrol and everything works fine. I set ‘hybrid’ as default, so that most of the time the ‘intel’ does the job sufficiently, saving some energy. When I want an application to use the discrete GPU, I just start the app from the terminal using the prime-run command. That even seems to work for starting flatpaks.
Is there any why I can check, which graphics card is working for a specific programm, while I am using it?
Ah, ok. So no error - everything works. I just realized, that in the GUI I can right-click on any programm and then under ‘preferences’ there is a check box which says something like “always use the discrete GPU, if possible.” (I don’t know if that really is the correct translation, but it is at least something like that.) Is setting the hook there the same as “prime-run” and makes the programm runnig the GPU automatically?
If so, that can only work in ‘hybrid mode’ and ‘nvidia mode’, not in ‘intel mode’, right?
I started firefox by using the prime-run command. Then navigated to Youtube and played a video. Then checked nvtop and only the intel GPU was in use as it seems…
When I started firefox by using prime-run, the terminal returned: “Fallback WR to SW-WR”. After googling it seems like firefox is not able to use acceleration. I think, that’s why…
Just posting this in case of others coming across the same question.