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
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    8 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

    • jrgd@lemm.ee
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      8 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.

      • CalcProgrammer1@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        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.