RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

[Desktop] Auto-select Discrete Graphic Cards on a GPU switching system.

Open Lazorne opened this issue 2 years ago • 5 comments

Right now some Emulators use the internal GPU on a GPU switching system.

Lazorne avatar Sep 12 '23 11:09 Lazorne

We have just to add the following parameters to the desktop file

PrefersNonDefaultGPU=true X-KDE-RunOnDiscreteGpu=true

Lx32 avatar Sep 12 '23 11:09 Lx32

Or maybe we can set as envs in the wrapper

XargonWan avatar Sep 12 '23 11:09 XargonWan

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.

Lx32 avatar Sep 13 '23 11:09 Lx32

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.

XargonWan avatar Sep 13 '23 12:09 XargonWan

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.

Lx32 avatar Oct 04 '23 12:10 Lx32