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?

  • @onlinepersona
    link
    English
    36 months ago

    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

    • @[email protected]
      link
      fedilink
      56 months ago

      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.

      • @[email protected]
        link
        fedilink
        76 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.