28
Switching GPU (lemmy.one)
submitted 11 months ago by Y2K38@lemmy.one to c/linux@lemmy.ml

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

top 9 comments
sorted by: hot top controversial new old
[-] Strit@lemmy.linuxuserspace.show 14 points 11 months ago
[-] INeedMana@lemmy.world 5 points 11 months ago

I've also found this article that doesn't add nvidia to the mix. But in general it seems to work the same for both as long as you have the drivers proper for your hardware installed

[-] LeTak@lemm.ee 6 points 11 months ago

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?

[-] AProfessional@lemmy.world 6 points 11 months ago

The output and the renderer are separate and configurable concepts.

[-] Y2K38@lemmy.one 1 points 11 months ago

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.

[-] _cnt0@sh.itjust.works 4 points 11 months ago

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.

[-] TerkErJerbs@lemm.ee 3 points 11 months ago

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.

[-] Y2K38@lemmy.one 2 points 11 months ago

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.

[-] drwankingstein@lemmy.dbzer0.com 2 points 11 months ago

I typically use DRI_PRIME for ogl and VK_ICD_FILENAMES for vulkan

this post was submitted on 27 Nov 2023
28 points (96.7% liked)

Linux

47919 readers
1180 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS