[Desktop] Auto-select Discrete Graphic Cards on a GPU switching system.
Right now some Emulators use the internal GPU on a GPU switching system.
We have just to add the following parameters to the desktop file
PrefersNonDefaultGPU=true X-KDE-RunOnDiscreteGpu=true
Or maybe we can set as envs in the wrapper
Or maybe we can set as envs in the wrapper
Also it should work. But I think that in this second case we have to make a distinguish between Nvidia and AMD cards.
Or maybe we can set as envs in the wrapper
Also it should work. But I think that in this second case we have to make a distinguish between Nvidia and AMD cards.
lspci -vnn | grep VGA | grep -i intel
lspci -vnn | grep VGA | grep -i nvidia
lspci -vnn | grep VGA | grep -i amd
The first one that is not empty is the one.
I think that the problem is the order, in my laptop both the nvidia and the intel are true. SO you have to do before nvidia and then the other. But if you have a amd cpu + intel gpu you should do before intel and vice versa in the other case.