Framework 16 with dGPU - bazzite-arch not using dGPU

I recently installed Aurora on my Framework 16 with dGPU and so far my experience has been great.

However I am trying to play some games using bazzite-arch and for some reason it seems like none of them will use the dGPU. I have tried the following:

  • In lutris I changed the following option to try and force the dGPU:
  • Both in bazzite-arch and on the desktop nvtop will only show the iGPU
  • In bazzite-arch I installed amdgpu_top and it also only show the iGPU. But it knows about the dGPU:
amdgpu_top --list
amdgpu_top v0.10.4

#0:
DevicePath {
    render: "/dev/dri/renderD128",
    card: "/dev/dri/card1",
    accel: "",
    pci: "0000:03:00.0",
    sysfs_path: "/sys/bus/pci/devices/0000:03:00.0",
    device_id: Some(
        0x7480,
    ),
    revision_id: Some(
        0xC1,
    ),
    device_name: "AMD Radeon RX 7700S",
    device_type: AMDGPU,
}
#1:
DevicePath {
    render: "/dev/dri/renderD129",
    card: "/dev/dri/card2",
    accel: "",
    pci: "0000:c4:00.0",
    sysfs_path: "/sys/bus/pci/devices/0000:c4:00.0",
    device_id: Some(
        0x15BF,
    ),
    revision_id: Some(
        0xC1,
    ),
    device_name: "AMD Radeon 780M Graphics",
    device_type: AMDGPU,
}
  • If I use amdgpu_top -i with either 0 or 1 it only shows the iGPU

  • I also tried to launch using various combinations of DRI_PRIME=(1 or 0) but still only the iGPU is used

  • Bazzite-arch switcherooctl returns an empty list but Aurora returns the following.

switcherooctl list
Device: 0
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Phoenix1
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_c4_00_0

Device: 1
  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600]
  Default:     no
  Discrete:    yes
  Environment: DRI_PRIME=pci-0000_03_00_0

I used linux for a long time and got various GPU to work on various distros, but it is my first time with an os-tree based one and I have to admit I am not sure where to go from there.

1 Like

By bazzite-arch I suppose you mean you are using distrobox to create a bazzite-arch container?

Not sure if it’s related, but there is a kernel regression post 6.13.5 where the dGPU is could become not available:

At the time of writing, it seems to be fixed in code but not landed in Fedora kernel releases yet

So maybe check if the host kernel is in affected versions?

1 Like

I am 99% sure that’s the issue, but I’m not sure how to actually resolve it in Bluefin. Is there a way to pin just the kernel back without reverting the entire distro? Or alternatively, is there a way to see what latest is on without switching to it? I don’t have a ton of bandwidth at the moment, so I’d like to avoid using up gigs of data only to find I’m still on a kernel version with the issue.

Yes that looks like it might be the issue! I guess I will have to wait and see. I was on Arch until 2 weeks ago and just reinstalled my dGPU after installing Aurora, so I might have been affected with Arch too but just did not know it. Thanks for sharing the information, hopefully it won’t be too long before we get the patched kernel.