I recently bought Lenovo Yoga 7 Slim Gen 8 and trying to get Manjaro working on it.
I have a strange anomaly right now, that I can’t explain. If I open hardware configuration, it shows that I have an “Unknown Device Name (ATI technologies)”
It’s probably integrated Radeon 780M graphics. So I’ve been going through AMDGPU wiki page – and can’t really understand what the problem is.
If I run inxi -G, I see video card in use with correct amdgpu driver.
Graphics:
Device-1: AMD Phoenix1 driver: amdgpu v: kernel
Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 23.2.6
compositor: gnome-shell v: 45.4 driver: gpu: amdgpu
resolution: no compositor data resolution: 2944x1840
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM 16.0.6 DRM 3.57
6.8.8-2-MANJARO)
If I run a following command sudo dmesg | grep -i amd. It seems that driver gets properly initialized and used.
[ 0.210865] smpboot: CPU0: AMD Ryzen 7 7840S with Radeon 780M Graphics (family: 0x19, model: 0x74, stepping: 0x1)
[ 0.211052] Performance Events: Fam17h+ 16-deep LBR, core perfctr, AMD PMU driver.
[ 0.806990] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.809797] AMD-Vi: Extended features (0x246577efa2254afa, 0x0): PPR NX GT [5] IA GA PC GA_vAPIC
[ 0.809806] AMD-Vi: Interrupt remapping enabled
[ 0.809960] AMD-Vi: Virtual APIC enabled
[ 0.810278] perf: AMD IBS detected (0x00000bff)
[ 0.810282] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 2.412815] [drm] amdgpu kernel modesetting enabled.
[ 2.416130] amdgpu: Virtual CRAT table created for CPU
[ 2.416142] amdgpu: Topology: Add CPU node
[ 2.416297] amdgpu 0000:c3:00.0: enabling device (0006 -> 0007)
[ 2.513008] amdgpu 0000:c3:00.0: amdgpu: Fetched VBIOS from VFCT
[ 2.513013] amdgpu: ATOM BIOS: 113-PHXGENERIC-001
[ 2.517939] amdgpu 0000:c3:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
[ 2.551912] amdgpu 0000:c3:00.0: vgaarb: deactivate vga console
[ 2.551929] amdgpu 0000:c3:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
[ 2.552041] amdgpu 0000:c3:00.0: amdgpu: VRAM: 4096M 0x0000008000000000 - 0x00000080FFFFFFFF (4096M used)
[ 2.552049] amdgpu 0000:c3:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
[ 2.552438] [drm] amdgpu: 4096M of VRAM memory ready
[ 2.552441] [drm] amdgpu: 13921M of GTT memory ready.
[ 2.553964] amdgpu 0000:c3:00.0: amdgpu: Will use PSP to load VCN firmware
[ 3.245827] amdgpu 0000:c3:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 3.254500] amdgpu 0000:c3:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 3.254502] amdgpu 0000:c3:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 3.282757] amdgpu 0000:c3:00.0: amdgpu: SMU is initialized successfully!
[ 3.367479] amdgpu 0000:c3:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
[ 3.405363] amdgpu: HMM registered 4096MB device memory
[ 3.407658] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[ 3.407684] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[ 3.407875] amdgpu: Virtual CRAT table created for GPU
[ 3.408703] amdgpu: Topology: Add dGPU node [0x15bf:0x1002]
[ 3.408706] kfd kfd: amdgpu: added device 1002:15bf
[ 3.408721] amdgpu 0000:c3:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 6, active_cu_number 12
[ 3.408729] amdgpu 0000:c3:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 3.408732] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 3.408734] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 3.408736] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[ 3.408737] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[ 3.408738] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[ 3.408740] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[ 3.408741] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[ 3.408742] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[ 3.408744] amdgpu 0000:c3:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[ 3.408745] amdgpu 0000:c3:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[ 3.408746] amdgpu 0000:c3:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
[ 3.408748] amdgpu 0000:c3:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
[ 3.414846] [drm] Initialized amdgpu 3.57.0 20150101 for 0000:c3:00.0 on minor 1
[ 3.422896] fbcon: amdgpudrmfb (fb0) is primary device
I’m not sure, what is wong here. The only thing, that doesn’t work is code-insiders pacakge from snap. I’m seeing following issue when I try to run it:
[6521:0511/215245.463385:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=133
[6521:0511/215245.463402:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 5 time(s)
MESA-LOADER: failed to open radeonsi: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/kms_swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load swrast driver
I’m not sure, why is driver not being detected as expected?