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?

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    8 months ago

    Linux does not do GPU switching the same way Windows does, if that’s what you’re asking. You won’t be able to just dynamically switch between video adapters.

    As far as the quality of the AMD APU chips, totally fine. They are the best on the market, obviously. I have a Ryzen 7000 series with a 680M, and it “just works”, as well as playing every title I’ve ever thrown at it totally smoothly.

    • CalcProgrammer1@lemmy.ml
      link
      fedilink
      arrow-up
      23
      ·
      8 months ago

      Most gaming laptops these days don’t do GPU switching anyways. They do render offloading, where the laptop display is permanently connected to the integrated GPU only. When you want to use the discrete GPU to play a game, it renders the game frames into a framebuffer on the discrete GPU and then copies the completed frame over PCIe into a framebuffer on the iGPU to then output it to the display. On Linux (Mesa), this feature is known as PRIME. If you have two GPUs and you do DRI_PRIME=1 <command>, it will run the command on the second GPU, at least for OpenGL applications. Vulkan seems to default to the discrete GPU no matter what. My laptop has an AMD iGPU and an NVIDIA dGPU and I’ve been testing the new NVK Mesa driver. Render offloading seems to work as expected. I would assume the AMD Mesa driver would work just as well for render offloading in a dual AMD situation.

    • joojmachine@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      8 months ago

      You won’t be able to just dynamically switch between video adapters.

      You will if you use GNOME, at least. It uses switcheroo to provide an easy way to open apps with your discrete GPU through a right click menu.

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