Switching GPU

Y2K38@lemmy.one to Linux@lemmy.ml – 27 points –

does anyone know if its possible to switch between my integrated (ryzen 7700) and dedicated (rx6800xt) on arch? i want to automate this with a little script (which tries to detect games for example) for less powerusage on my desktop pc

9

Isn’t the GPU used for the application defined by the monitor it is opened on and on which GPU this monitor is then connected to?

I don't know, could be. But I don't want to always put the monitor cables into another port. I thought there maybe could be a software way to do this or only use the GPU for the really intense tasks.

When using open source drivers offloading should be automatic depending on demand. You can make it explicit with DRI_PRIME=0 or DRI_PRIME=1. You'll have to check which is which.

OP is it the 7700 non-x 65w tdp version? Asking because I'm thinking about upgrading my CPU from 5600x to the 7700non-x and have the same gpu. I was actually wondering how throwing that integrated graphics into the mix would work so thanks for asking this and looking forward to your findings if you don't mind posting however you end up solving this.

Yes, I have the non x version. I think the one with x has a higher tdp. I'll probably look into this this weekend. Hopefully, I'll find something out that's helpful to you.