dGPU detection issue on Framework 16

I'm having trouble getting the dGPU working on my new Framework 16 with the Radeon RX-7700S.

My preferred OS is Zorin 17.1 Pro, so I've setup a partition with 24.04 LTS for hardware testing and another with Zorin. I updated Zorin according to the Framework Ubuntu 22.04 guide, including the kernel update and mediatek update (I was having wifi issues on both installs). I'm stuck though with ensuring the dGPU is enabled, despite having the kernel updated.

Here is the output I'm seeing from neofetch:

and

vulkaninfo | grep "GPU[0123]" -A 10

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 4. Skipping ICD.

--GPU0:
VkPhysicalDeviceProperties:

apiVersion        = 4206847 (1.3.255)
driverVersion     = 96477185 (0x5c02001)
vendorID          = 0x1002
deviceID          = 0x15bf
deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
deviceName        = AMD Unknown (RADV GFX1103_R1)
pipelineCacheUUID = e75ab6b8-f0a3-6b04-20f4-e8b7f1c24530

--
GPU1:
VkPhysicalDeviceProperties:

apiVersion        = 4206847 (1.3.255)
driverVersion     = 1 (0x0001)
vendorID          = 0x10005
deviceID          = 0x0000
deviceType        = PHYSICAL_DEVICE_TYPE_CPU
deviceName        = llvmpipe (LLVM 15.0.7, 256 bits)
pipelineCacheUUID = 32332e32-2e31-2d31-7562-756e7475332e

--
GPU2:
VkPhysicalDeviceProperties:

apiVersion        = 4206847 (1.3.255)
driverVersion     = 96477185 (0x5c02001)
vendorID          = 0x1002
deviceID          = 0x7480
deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName        = AMD Unknown (RADV GFX1102)
pipelineCacheUUID = e10a6cab-7e01-d585-a6dc-927c1b1fd8cd

and lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e8
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14e9
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ed
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ef
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:04.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ef
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 12)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 12)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 7480 (rev c1)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device ab30
04:00.0 Network controller: MEDIATEK Corp. Device 0616
05:00.0 Non-Volatile memory controller: Phison Electronics Corporation Device 5027 (rev 01)
c4:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15bf (rev c2)
c4:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1640
c4:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15c7
c4:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
c4:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
c4:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 63)
c4:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
c5:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
c5:00.1 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Device 1502
c6:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
c6:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
c6:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
c6:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Device 1668
c6:00.6 USB controller: Advanced Micro Devices, Inc. [AMD] Device 1669

any help or thoughts appreciated!

I don't know if the kernel is new enough for ZOS17.1 since it is based on Ubuntu 22.04 LTS and not 24.04 LTS. I know ZOS gets a newer kernel but not sure how to update it further. ZOS can be great for older hardware but the newer it is the more you have to know about Linux to use it properly on the newer hardware like the Framework.

1 Like

Ubuntu 22.04 LTS is a supported OS for the FW16, knowing that's what Zorin 17.1 uses, I applied the FW kernel update to get the AMD driver support from the OEM-D kernel as described here: linux-docs/ubuntu-22.04-fw-16.md at main · FrameworkComputer/linux-docs · GitHub

1 Like

Maybe this OEM Kernel is the Problem. Did You tested Your System with the normal 6.5 Kernel that comes with Zorin?

Yes, I did start there, but no luck either.

Hmm ... maybe a newer Kernel would be working better like @C141ZorinOS suggested. It could work better with the Hardware.