this post was submitted on 22 Mar 2024
61 points (95.5% liked)

Linux

48323 readers
728 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
 

I want to buy used laptop with rx6600m and r7 5800h
Does switch between discrete gpu and apu work on linux for amd gpus?
Maybe there are some pitfalls?

you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 3 points 8 months ago (1 children)

Hmm... are you sure about that?

$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD TURKS

DRI_PRIME=1 switches to the discrete GPU (or used to at least - I don't have hybrid graphics anymore). I'd be surprised if that feature were removed...

CC BY-NC-SA 4.0

[–] jrgd@lemm.ee 5 points 8 months ago (2 children)

This is render offloading, not GPU switching. GPU switching implies switching the primary rendering device (the one power the displays) entirely rather than rendering on a separate GPU and copying the output to the primary.

[–] CalcProgrammer1@lemmy.ml 7 points 8 months ago

Most gaming laptops these days don't support true GPU switching as it requires a hardware mux to switch the display between the GPUs. Every gaming laptop I've used from the past decade has been muxless and only used render offloading.

[–] onlinepersona@programming.dev 3 points 8 months ago

I see! Thanks for clearing that up.