Dedicated GPU not recognized by Linux Mint 22.1 (Framework 16)

Hi,

I’m using Linux Mint 22.1 Cinnamon with kernel 6.8.0-58-generic and BIOS version 3.05. I followed the instructions from here (DRI_PRIME1 detection):

  • Steam was successfully installed from the official deb-package.
  • I installed a game and added the launch option but the dGPU checking tool showed that the discrete graphics were not used while the game was running.

I tried both launch options, none work:
DRI_PRIME=1 %command%
or
DRI_PRIME=1 DXVK_FILTER_DEVICE_NAME="AMD Radeon RX 7700S (RADV NAVI33)" %command%

What can I do to fix this and make Steam use the dGPU?

The output of vulkaninfo:

GPU0:
VkPhysicalDeviceProperties:
---------------------------
	apiVersion        = 1.3.289 (4206881)
	driverVersion     = 24.2.8 (100671496)
	vendorID          = 0x1002
	deviceID          = 0x15bf
	deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName        = AMD Radeon 780M (RADV GFX1103_R1)
	pipelineCacheUUID = c30544dc-e5be-d0ea-e8ad-6f1dac95dd3e

--
GPU1:
VkPhysicalDeviceProperties:
---------------------------
	apiVersion        = 1.3.289 (4206881)
	driverVersion     = 24.2.8 (100671496)
	vendorID          = 0x1002
	deviceID          = 0x7480
	deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName        = AMD Radeon RX 7700S (RADV NAVI33)
	pipelineCacheUUID = d7c6d7c2-dbc8-81bb-5a14-ae76427e3625

--
GPU2:
VkPhysicalDeviceProperties:
---------------------------
	apiVersion        = 1.3.289 (4206881)
	driverVersion     = 0.0.1 (1)
	vendorID          = 0x10005
	deviceID          = 0x0000
	deviceType        = PHYSICAL_DEVICE_TYPE_CPU
	deviceName        = llvmpipe (LLVM 19.1.1, 256 bits)
	pipelineCacheUUID = 32342e32-2e38-2d31-7562-756e7475317e

Here are some additional system infos:

Machine: Laptop System: Framework product: Laptop 16 (AMD Ryzen 7040 Series)
CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Graphics:
  Device-1: AMD Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] vendor: Framework
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 8 ports: active: none
    empty: DP-1,Writeback-1,eDP-1 bus-ID: 03:00.0 chip-ID: 1002:7480 class-ID: 0300
  Device-2: AMD Phoenix1 vendor: Framework driver: amdgpu v: kernel arch: RDNA-3 pcie:
    speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8,
    DP-9, Writeback-2 bus-ID: c5:00.0 chip-ID: 1002:15bf class-ID: 0300 temp: 41.0 C
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: amdgpu,modesetting,radeon unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65") s-diag: 798mm (31.43")
  Monitor-1: eDP-2 mapped: eDP-1 model: BOE Display 0x0bc9 res: 2560x1600 dpi: 188
    size: 345x215mm (13.58x8.46") diag: 407mm (16") modes: max: 2560x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1
    drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon 780M (radeonsi gfx1103_r1 LLVM 19.1.1 DRM 3.57
    6.8.0-58-generic) device-ID: 1002:15bf
  API: Vulkan v: 1.3.275 layers: 7 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A
    device-ID: 1002:15bf device: 1 type: discrete-gpu driver: N/A device-ID: 1002:7480 device: 2
    type: cpu driver: N/A device-ID: 10005:0000