Can no longer see dedicated GPU, Works on live Garuda usb. Relevant logs attached

Despite it fully functioning before, running a game, nvtop, lshw or any similar command, my dedicated graphics card does not appear anywhere other than a few non error lines in dmesg.

I do not know exactly when it stopped working or what triggered it. It may have happened any time over the span of ~2 weeks when I was attempting to get some software working that required rocm, I’ll attach my relevant shell history or other log files if it would help.

Here’s some of what I’ve tried so far:

My integrated GPU and its drivers are working properly, tested by running glxgears and glxinfo.

lsmod | grep amdgpu
amdgpu              14831616  253
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              69632  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_ttm_helper         12288  1 amdgpu
ttm                   114688  2 amdgpu,drm_ttm_helper
i2c_algo_bit           24576  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_display_helper    290816  1 amdgpu
video                  77824  3 asus_wmi,amdgpu,asus_nb_wmi

The integrated 680M with 512MB of memory is seen here. The dedicated 7600S which has ~8GB of memory is not.

glxinfo:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 17.0.6, DRM 3.57, 6.9.1-zen1-1-zen) (0x1681)
    Version: 24.0.7
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 19 MB, largest block: 19 MB
    VBO free aux. memory - total: 30035 MB, largest block: 30035 MB
    Texture free memory - total: 19 MB, largest block: 19 MB
    Texture free aux. memory - total: 30035 MB, largest block: 30035 MB
    Renderbuffer free memory - total: 19 MB, largest block: 19 MB
    Renderbuffer free aux. memory - total: 30035 MB, largest block: 30035 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 32280 MB
    Currently available dedicated video memory: 19 MB

As I was having some problems with a few other kernels I had installed (linux-tkg-bmq, linux-zen etc.), I swapped to bootctl/dracut and fixed the problems with those kernels, swapping kernels did not change anything.

I tried booting into a live USB of Garuda, nvtop showed both my dedicated and integrated GPU.

I tried diffing “pacman -Qq”'s output between the live system and mine.
Here’s a list of all packages that exist on the live USB and do not exist on my system, none seem relevant.

comm -23 pacman-live-usb.txt pacman.txt
arch-install-scripts
calamares-branding-garuda
calamares-garuda
garuda-boot-repair
garuda-dracut-support
garuda-live-base
garuda-live-skel
garuda-live-systemd
garuda-tools-base-git
grub-garuda
grub-theme-garuda-live
grub-theme-garuda-live-common

I tried re-installing the mesa OpenGL drivers, which changed nothing.

I tried booting to both plasma X11 and wayland, the dedicated GPU did not work on either.

I tried uninstalling the rocm drivers which were previously working fine.

sudo pacman -Rc opencl-amd
sudo pacman -Rc rocm-hip-runtime
sudo pacman -Rc rocm-core hip-runtime-amd

I tried swapping to the aur/vulkan-amdgpu-pro and aur/lib32-vulkan-amdgpu-pro drivers, which did not work.

I tried enabling and disabling the apparmor kernel parameters, rebooting changed nothing.

I also tried searching the internet, as my google-fu wasn’t enough, I tried a few language models, none helped.

I’ve confirmed amdgpu drivers are working

Xorg.0.log

Information	[    23.601] (II) Applying OutputClass "AMDgpu" to /dev/dri/card2
Information	[    23.601] 	loading driver: amdgpu
Information	[    23.601] (==) Matched amdgpu as autoconfigured driver 0
Information	[    23.601] (II) LoadModule: "amdgpu"
Information	[    23.601] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
Information	[    23.602] (II) Module amdgpu: vendor="X.Org Foundation"
Information	[    23.864] (II) AMDGPU: Driver for AMD Radeon:
Information		All GPUs supported by the amdgpu kernel driver

Here’s the dmesg logs matching “amdgpu”

Note, a card with 8GB of VRAM (the 7600S) is detected:

amdgpu 0000	3:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
	[drm] amdgpu kernel modesetting enabled.
amdgpu	vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
amdgpu	ATPX version 1, functions 0x00000a01
amdgpu	ATPX Hybrid Graphics
amdgpu	Virtual CRAT table created for CPU
amdgpu	Topology: Add CPU node
amdgpu 0000	3:00.0: enabling device (0000 -> 0003)
amdgpu 0000	3:00.0: amdgpu: Fetched VBIOS from ATRM
amdgpu	ATOM BIOS: 113-BRT108014.001
amdgpu 0000	3:00.0: amdgpu: CP RS64 enable
amdgpu 0000	3:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
amdgpu 0000	3:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
amdgpu 0000	3:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
amdgpu 0000	3:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
[drm] amdgpu	8176M of VRAM memory ready
[drm] amdgpu	31768M of GTT memory ready.
amdgpu 0000	3:00.0: amdgpu: Will use PSP to load VCN firmware
amdgpu 0000	3:00.0: amdgpu: reserve 0x1300000 from 0x81fc000000 for PSP TMR
amdgpu 0000	3:00.0: amdgpu: RAS: optional ras ta ucode is not available
amdgpu 0000	3:00.0: amdgpu: RAP: optional rap ta ucode is not available
amdgpu 0000	3:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
amdgpu 0000	3:00.0: amdgpu: smu driver if version = 0x00000035, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x00525b00 (82.91.0)
amdgpu 0000	3:00.0: amdgpu: SMU driver if version not matched
amdgpu 0000	3:00.0: amdgpu: SMU is initialized successfully!
amdgpu 0000	3:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
amdgpu	HMM registered 8176MB device memory
kfd kfd	amdgpu: Allocated 3969056 bytes on gart
kfd kfd	amdgpu: Total number of KFD nodes to be created: 1
amdgpu	Virtual CRAT table created for GPU
amdgpu	Topology: Add dGPU node [0x7480:0x1002]
kfd kfd	amdgpu: added device 1002:7480
amdgpu 0000	3:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 8, active_cu_number 28
amdgpu 0000	3:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
amdgpu 0000	3:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
amdgpu 0000	3:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
amdgpu 0000	3:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
amdgpu 0000	3:00.0: amdgpu: Using BOCO for runtime pm
	[drm] Initialized amdgpu 3.57.0 20150101 for 0000:03:00.0 on minor 1
amdgpu 0000	3:00.0: [drm] Cannot find any crtc or sizes
amdgpu 0000	8:00.0: enabling device (0006 -> 0007)
amdgpu 0000	8:00.0: amdgpu: Fetched VBIOS from VFCT
amdgpu	ATOM BIOS: 113-REMBRANDT-X37
amdgpu 0000	8:00.0: vgaarb: deactivate vga console
amdgpu 0000	8:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
amdgpu 0000	8:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
amdgpu 0000	8:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[drm] amdgpu	512M of VRAM memory ready
[drm] amdgpu	31768M of GTT memory ready.
amdgpu 0000	8:00.0: amdgpu: Will use PSP to load VCN firmware
amdgpu 0000	8:00.0: amdgpu: reserve 0xa00000 from 0xf41e000000 for PSP TMR
amdgpu 0000	8:00.0: amdgpu: RAS: optional ras ta ucode is not available
amdgpu 0000	8:00.0: amdgpu: RAP: optional rap ta ucode is not available
amdgpu 0000	8:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
amdgpu 0000	8:00.0: amdgpu: SMU is initialized successfully!
amdgpu	HMM registered 512MB device memory
kfd kfd	amdgpu: Allocated 3969056 bytes on gart
kfd kfd	amdgpu: Total number of KFD nodes to be created: 1
amdgpu	Virtual CRAT table created for GPU
amdgpu	Topology: Add dGPU node [0x1681:0x1002]
kfd kfd	amdgpu: added device 1002:1681
amdgpu 0000	8:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 6, active_cu_number 12
amdgpu 0000	8:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
amdgpu 0000	8:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
amdgpu 0000	8:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
amdgpu 0000	8:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
amdgpu 0000	8:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
	[drm] Initialized amdgpu 3.57.0 20150101 for 0000:78:00.0 on minor 2
fbcon	amdgpudrmfb (fb0) is primary device
amdgpu 0000	8:00.0: [drm] fb0: amdgpudrmfb frame buffer device
systemd[1]	Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl2...
snd_hda_intel 0000	3:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
snd_hda_intel 0000	8:00.1: bound 0000:78:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
amdgpu 0000	3:00.0: amdgpu: amdgpu: finishing device.
[drm] amdgpu	ttm finalized

Here’s the dmesg logs matching “bios”. Both cards appear, the 113-BRT108014.001 (7600S) and the 113-REMBRANDT-X37 (680M). I searched the ACPI errors, it did not seems like a relevant problem.

BIOS-e820	[mem 0x000000000a214000-0x000000008faeffff] usable
BIOS-e820	[mem 0x000000008faf0000-0x0000000092647fff] reserved
BIOS-e820	[mem 0x0000000092648000-0x00000000926e5fff] ACPI data
BIOS-e820	[mem 0x00000000926e6000-0x00000000979dbfff] ACPI NVS
BIOS-e820	[mem 0x00000000979dc000-0x0000000098ffdfff] reserved
BIOS-e820	[mem 0x0000000098ffe000-0x0000000098ffefff] usable
BIOS-e820	[mem 0x0000000098fff000-0x0000000098ffffff] reserved
BIOS-e820	[mem 0x0000000099000000-0x000000009affcfff] usable
BIOS-e820	[mem 0x000000009affd000-0x000000009bffffff] reserved
BIOS-e820	[mem 0x000000009ce00000-0x000000009fffffff] reserved
BIOS-e820	[mem 0x00000000e0000000-0x00000000efffffff] reserved
BIOS-e820	[mem 0x00000000fd000000-0x00000000ffffffff] reserved
BIOS-e820	[mem 0x0000000100000000-0x000000103e2fffff] usable
BIOS-e820	[mem 0x000000103f340000-0x00000010801fffff] reserved
efi	ACPI=0x926e5000 ACPI 2.0=0x926e5014 TPMFinalLog=0x97991000 SMBIOS=0x98dba000 SMBIOS 3.0=0x98db9000 MEMATTR=0x899c2698 ESRT=0x899f5a18 RNG=0x92678f18 INITRD=0x87020998 TPMEventLog=0x87426018
	SMBIOS 3.4.0 present.
DMI	ASUSTeK COMPUTER INC. ASUS TUF Gaming A16 FA617NS_FA617NS/FA617NS, BIOS FA617NS.410 06/15/2023
	ACPI BIOS Error (bug): Failure creating named object [\_TZ.TZ01], AE_ALREADY_EXISTS (20230628/dswload2-326)
	ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP2], AE_NOT_FOUND (20230628/dswload2-162)
	ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20230628/dswload2-162)
	ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP6.WLAN._S0W], AE_ALREADY_EXISTS (20230628/dswload2-326)
ACPI	[Firmware Bug]: BIOS _OSI(Linux) query ignored
amdgpu 0000	3:00.0: amdgpu: Fetched VBIOS from ATRM
amdgpu	ATOM BIOS: 113-BRT108014.001
amdgpu 0000	8:00.0: amdgpu: Fetched VBIOS from VFCT
amdgpu	ATOM BIOS: 113-REMBRANDT-X37
iwlwifi 0000	6:00.0: BIOS contains WGDS but no WRDS

This is my current system’s inxi, the dedicated GPU does not appear.

System:
  Kernel: 6.9.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: acpi_pm
    parameters: lsm=landlock,lockdown,yama,integrity,apparmor,bpf
    rd.luks.uuid=luks-a9654c2e-b4a3-4688-93bd-1af3b4851090
    rd.luks.options=a9654c2e-b4a3-4688-93bd-1af3b4851090=tpm2-device=auto
    root=UUID=ad458531-4213-49ed-96eb-2b08a5db2977 rootflags=subvol=@
  Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A16 FA617NS_FA617NS
    v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: FA617NS v: 1.0 serial: <filter>
    uuid: bd36a44a-f17d-5c4e-bc94-07cc2ea80c3f UEFI: American Megatrends LLC.
    v: FA617NS.410 date: 06/15/2023
CPU:
  Info: model: AMD Ryzen 7 7735HS with Radeon Graphics socket: FP7 bits: 64
    type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check built: 2022
    process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x44 (68) stepping: 1
    microcode: 0xA404102
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1889 high: 3067 min/max: 400/4829 base/boost: 3200/4800
    scaling: driver: amd-pstate-epp governor: powersave volts: 1.2 V
    ext-clock: 100 MHz cores: 1: 3067 2: 2047 3: 1678 4: 1500 5: 2055 6: 2072
    7: 2053 8: 2441 9: 2083 10: 400 11: 1367 12: 400 13: 1515 14: 2053
    15: 2981 16: 2518 bogomips: 102204
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
    v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
    pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: DP-2,
    DP-3, DP-4, DP-5, DP-6, Writeback-2 bus-ID: 78:00.0 chip-ID: 1002:1681
    class-ID: 0300 temp: 54.0 C
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x318mm (20.00x12.52")
    s-diag: 599mm (23.6")
  Monitor-1: eDP-2 model: ChiMei InnoLux N160JME_GE1 built: 2022
    res: 1920x1200 hz: 165 dpi: 143 gamma: 1.2 size: 340x220mm (13.39x8.66")
    diag: 406mm (16") ratio: 16:10 modes: max: 1920x1200 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.7-arch1.3
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    rembrandt LLVM 17.0.6 DRM 3.57 6.9.1-zen1-1-zen) device-ID: 1002:1681
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.279 layers: 8 device: 0 type: integrated-gpu
    name: AMD Radeon Graphics driver: amd v: (AMD proprietary shader compiler)
    device-ID: 1002:1681 surfaces: xcb,xlib device: 1 type: integrated-gpu
    name: AMD Radeon Graphics (RADV REMBRANDT) driver: mesa radv
    v: 24.0.7-arch1.3 device-ID: 1002:1681 surfaces: xcb,xlib device: 2
    type: cpu name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.7-arch1.3 (LLVM 17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Drives:
  Local Storage: total: 942.7 GiB used: 390.09 GiB (41.4%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA512QFM
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: V3MA003 temp: 41.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 71d 20h cycles: 301
    read-units: 5,922,995 [3.03 TB] written-units: 3,923,073 [2.00 TB]
  ID-2: /dev/nvme1n1 maj-min: 259:2 vendor: Smart Modular Tech.
    model: SHGP31-500GM size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 41062C20 temp: 51.9 C scheme: GPT
  SMART: yes health: PASSED on: 267d 13h cycles: 2,614
    read-units: 498,305,386 [255 TB] written-units: 187,033,139 [95.7 TB]
Partition:
  ID-1: / raw-size: 448.91 GiB size: 448.91 GiB (100.00%)
    used: 389.84 GiB (86.8%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-a9654c2e-b4a3-4688-93bd-1af3b4851090
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 256.1 MiB (85.5%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
    maj-min: 259:3
  ID-3: /home raw-size: 448.91 GiB size: 448.91 GiB (100.00%)
    used: 389.84 GiB (86.8%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-a9654c2e-b4a3-4688-93bd-1af3b4851090
  ID-4: /var/log raw-size: 448.91 GiB size: 448.91 GiB (100.00%)
    used: 389.84 GiB (86.8%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-a9654c2e-b4a3-4688-93bd-1af3b4851090
  ID-5: /var/tmp raw-size: 448.91 GiB size: 448.91 GiB (100.00%)
    used: 389.84 GiB (86.8%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-a9654c2e-b4a3-4688-93bd-1af3b4851090
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.05 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.55 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-112e4d5c-2510-4f1d-8829-77b68ba27a6a
Sensors:
  System Temperatures: cpu: 59.4 C mobo: N/A gpu: amdgpu temp: 58.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.05 GiB used: 5.86 GiB (9.4%)
  Processes: 456 Power: uptime: 4m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 24.72 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 255 default: graphical tool: systemctl
  Packages: 3606 pm: dpkg pkgs: 0 pm: nix-default pkgs: 0 pm: nix-sys
    pkgs: 0 pm: nix-usr pkgs: 0 pm: pacman pkgs: 3600 libs: 597 tools: paru
    pm: flatpak pkgs: 6 Compilers: clang: 17.0.6 gcc: 14.1.1 alt: 13
    Shell: garuda-inxi (sudo) default: fish v: 3.7.1 running-in: konsole
    inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2023-06-24
  Last full system update: 2024-05-20
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut(custom) grub-customizer
  Windows dual boot:       No/Undetected
  Failed units:

Here’s the relevant portions of the live system’s inxi, notice how the dedicated GPU appears.

System:
  Kernel: 6.8.7-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64
    lang=en_US keytable=us tz=UTC misobasedir=garuda
    root=miso:LABEL=GARUDA_KDELITE_BIRDOFPREY quiet systemd.show_status=1
    checksum=y driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A16 FA617NS_FA617NS
    v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: FA617NS v: 1.0 serial: <filter>
    uuid: bd36a44a-f17d-5c4e-bc94-07cc2ea80c3f UEFI: American Megatrends LLC.
    v: FA617NS.410 date: 06/15/2023
CPU:
  Info: model: AMD Ryzen 7 7735HS with Radeon Graphics socket: FP7 bits: 64
    type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check built: 2022
    process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x44 (68) stepping: 1
    microcode: 0xA404102
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1241 high: 2394 min/max: 400/4829 base/boost: 3200/4800
    scaling: driver: amd-pstate-epp governor: powersave volts: 1.2 V
    ext-clock: 100 MHz cores: 1: 1613 2: 1367 3: 1368 4: 400 5: 1369 6: 1751
    7: 1477 8: 400 9: 2369 10: 2386 11: 400 12: 400 13: 1369 14: 400 15: 2394
    16: 400 bogomips: 102213
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-3 code: Navi-33
    built: 2023+ pcie: gen: 4 speed: 16 GT/s lanes: 8 ports: active: none
    empty: DP-1, HDMI-A-1, Writeback-1, eDP-1 bus-ID: 03:00.0
    chip-ID: 1002:7480 class-ID: 0300
  Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
    v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
    pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: DP-2,
    DP-3, DP-4, DP-5, DP-6, Writeback-2 bus-ID: 78:00.0 chip-ID: 1002:1681
    class-ID: 0300 temp: 56.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:3 chip-ID: 2b7e:b685
    class-ID: 0e02
  Display: server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :1 note: <missing: xdpyinfo/xrandr>
  Monitor-1: eDP-2 model: ChiMei InnoLux N160JME_GE1 built: 2022
    res: 1920x1200 dpi: 142 gamma: 1.2 size: 344x215mm (13.54x8.46")
    diag: 406mm (16") ratio: 16:10 modes: max: 1920x1200 min: 640x480
  API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV REMBRANDT) driver: mesa radv v: 24.0.5-arch1.1
    device-ID: 1002:1681 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: AMD Radeon RX 7600S (RADV NAVI33) driver: mesa radv
    v: 24.0.5-arch1.1 device-ID: 1002:7480 surfaces: xcb,xlib device: 2
    type: cpu name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.5-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8 bus-ID: 03:00.1
    chip-ID: 1002:ab30 class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 78:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 78:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 78:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.8.7-zen1-2-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.5 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl

I appricate any help, I’ve tried but I’m lost.

Try running sudo pacman -S mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver linux-lts linux-lts-headers and reboot. Then paste the output of uname -r

Also make sure amdgpu is NOT blacklisted inside any .conf file in the /etc/modeprobe.d directory.

Thank you for your suggestions.

Also make sure amdgpu is NOT blacklisted inside any .conf file in the /etc/modeprobe.d directory.

I believe I’ve already verified that amdgpu is loaded, What will this tell you?

cat /etc/modprobe.d/*
options v4l2loopback_dc width=640 height=480

lsmod still shows amdgpu

lsmod | grep amdgpu
amdgpu              14831616  97
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              69632  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_ttm_helper         12288  1 amdgpu
ttm                   114688  2 amdgpu,drm_ttm_helper
i2c_algo_bit           24576  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_display_helper    290816  1 amdgpu
video                  77824  3 asus_wmi,amdgpu,asus_nb_wmi
sudo pacman -S mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver linux-lts linux-lts-headers --needed
[sudo] password for user:                  
warning: mesa-1:24.0.7-3 is up to date -- skipping
warning: lib32-mesa-1:24.0.7-3 is up to date -- skipping
warning: xf86-video-amdgpu-23.0.0-2 is up to date -- skipping
warning: vulkan-radeon-1:24.0.7-3 is up to date -- skipping
warning: lib32-vulkan-radeon-1:24.0.7-3 is up to date -- skipping
warning: libva-mesa-driver-1:24.0.7-3 is up to date -- skipping
warning: lib32-libva-mesa-driver-1:24.0.7-3 is up to date -- skipping
warning: linux-lts-6.6.31-1 is up to date -- skipping
warning: linux-lts-headers-6.6.31-1 is up to date -- skipping
 there is nothing to do

I assume you want me to reboot into the lts kernel? I’ll reinstall everything anyway and try that now.

sudo pacman -S mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver linux-lts linux-lts-headers
warning: mesa-1:24.0.7-3 is up to date -- reinstalling
warning: lib32-mesa-1:24.0.7-3 is up to date -- reinstalling
warning: xf86-video-amdgpu-23.0.0-2 is up to date -- reinstalling
warning: vulkan-radeon-1:24.0.7-3 is up to date -- reinstalling
warning: lib32-vulkan-radeon-1:24.0.7-3 is up to date -- reinstalling
warning: libva-mesa-driver-1:24.0.7-3 is up to date -- reinstalling
warning: lib32-libva-mesa-driver-1:24.0.7-3 is up to date -- reinstalling
warning: linux-lts-6.6.31-1 is up to date -- reinstalling
warning: linux-lts-headers-6.6.31-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (9) lib32-libva-mesa-driver-1:24.0.7-3  lib32-mesa-1:24.0.7-3  lib32-vulkan-radeon-1:24.0.7-3  libva-mesa-driver-1:24.0.7-3
             linux-lts-6.6.31-1  linux-lts-headers-6.6.31-1  mesa-1:24.0.7-3  vulkan-radeon-1:24.0.7-3  xf86-video-amdgpu-23.0.0-2

Total Download Size:   195.60 MiB
Total Installed Size:  477.86 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 vulkan-radeon-1:24.0.7-3-x86_64                               2.4 MiB  2.42 MiB/s 00:01 [---------------------------------------------------] 100%
 lib32-vulkan-radeon-1:24.0.7-3-x86_64                         2.4 MiB   776 KiB/s 00:03 [---------------------------------------------------] 100%
 libva-mesa-driver-1:24.0.7-3-x86_64                           4.1 MiB  1113 KiB/s 00:04 [---------------------------------------------------] 100%
 mesa-1:24.0.7-3-x86_64                                       15.0 MiB  2.43 MiB/s 00:06 [---------------------------------------------------] 100%
 lib32-mesa-1:24.0.7-3-x86_64                                 14.9 MiB  2.07 MiB/s 00:07 [---------------------------------------------------] 100%
 linux-lts-headers-6.6.31-1-x86_64                            24.6 MiB  3.21 MiB/s 00:08 [---------------------------------------------------] 100%
 lib32-libva-mesa-driver-1:24.0.7-3-x86_64                     3.9 MiB   407 KiB/s 00:10 [---------------------------------------------------] 100%
 linux-lts-6.6.31-1-x86_64                                   128.4 MiB  9.96 MiB/s 00:13 [---------------------------------------------------] 100%
 Total (8/8)                                                 195.6 MiB  15.1 MiB/s 00:13 [---------------------------------------------------] 100%
(9/9) checking keys in keyring                                                           [---------------------------------------------------] 100%
(9/9) checking package integrity                                                         [---------------------------------------------------] 100%
(9/9) loading package files                                                              [---------------------------------------------------] 100%
(9/9) checking for file conflicts                                                        [---------------------------------------------------] 100%
(9/9) checking available disk space                                                      [---------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/3) Performing snapper pre snapshots for the following configurations...
error: could not get current working directory
==> root: 1642
(2/3) Saving Linux kernel modules...
(3/3) Remove upgraded DKMS modules
==> dkms remove --no-depmod v4l2loopback/0.13.1 -k 6.6.31-1-lts
==> dkms remove --no-depmod v4l2loopback-dc/2.1.3 -k 6.6.31-1-lts
==> dkms remove --no-depmod vboxhost/7.0.18_OSE -k 6.6.31-1-lts
:: Processing package changes...
(1/9) reinstalling mesa                                                                  [---------------------------------------------------] 100%
(2/9) reinstalling lib32-mesa                                                            [---------------------------------------------------] 100%
(3/9) reinstalling xf86-video-amdgpu                                                     [---------------------------------------------------] 100%
(4/9) reinstalling vulkan-radeon                                                         [---------------------------------------------------] 100%
(5/9) reinstalling lib32-vulkan-radeon                                                   [---------------------------------------------------] 100%
(6/9) reinstalling libva-mesa-driver                                                     [---------------------------------------------------] 100%
(7/9) reinstalling lib32-libva-mesa-driver                                               [---------------------------------------------------] 100%
(8/9) reinstalling linux-lts                                                             [---------------------------------------------------] 100%
(9/9) reinstalling linux-lts-headers                                                     [---------------------------------------------------] 100%
:: Running post-transaction hooks...
( 1/13) Restoring Linux kernel modules...
++ uname -r
+ KVER=6.9.1-zen1-1-zen
+ test -e /usr/lib/modules/backup/6.9.1-zen1-1-zen
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/6.9.1-zen1-1-zen /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
( 2/13) Arming ConditionNeedsUpdate...
( 3/13) Updating module dependencies...
( 4/13) Install DKMS modules
==> dkms install --no-depmod v4l2loopback/0.13.1 -k 6.6.31-1-lts
==> dkms install --no-depmod vboxhost/7.0.18_OSE -k 6.6.31-1-lts
==> dkms install --no-depmod v4l2loopback-dc/2.1.3 -k 6.6.31-1-lts
==> depmod 6.6.31-1-lts
( 5/13) Generating unified EFI kernel images...
:: Building unified kernel image for 6.6.31-1-lts
( 6/13) Cleaning up...
( 7/13) Refreshing PackageKit...
( 8/13) Foreign/AUR package notification
(10/13) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/shells.pacnew
/etc/locale.gen.pacnew
/etc/pam.d/kde.pacnew
/etc/libvirt/qemu.conf.pacnew
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/paru.conf.pacnew
Please check and merge
(11/13) Signing EFI binaries...
Generating EFI bundles....
File has already been signed /boot/efi/EFI/Garuda/grubx64.efi
File has already been signed /boot/efi/EFI/boot/bootx64.efi
File has already been signed /boot/efi/EFI/systemd/systemd-bootx64.efi
(12/13) Performing snapper post snapshots for the following configurations...
==> root: 1643
(13/13) Syncing all file systems...

Rebooting now.

1 Like

I’ve rebooted into lts:

uname -r
6.6.31-1-lts
sudo ls -l /boot/efi/EFI/Linux/
[sudo] password for user:                  
total 214676
-rwxr-xr-x 1 root root 219825152 May 21 13:27 linux-6.6.31-1-lts-9aa8ed400806402aa5d663b734695747-rolling.efi

there are no changes, nvtop still shown only my integrated card, as does inxi

inxi -G
Graphics:
  Device-1: AMD Rembrandt [Radeon 680M] driver: amdgpu v: kernel
  Device-2: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB
  Display: wayland server: X.Org v: 24.1 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1200~165Hz
  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.7-arch1.3
    renderer: AMD Radeon Graphics (radeonsi rembrandt LLVM 17.0.6 DRM 3.54
    6.6.31-1-lts)
  API: Vulkan v: 1.3.279 drivers: radv,amd,llvmpipe
    surfaces: xcb,xlib,wayland

I do not believe the problem is missing drivers, as I tried booting into a live system, which showed both cards.
I then tried diffing the installed packages on this system and the live system.

These were the only different packages:

comm -23 pacman-live-usb.txt pacman.txt
arch-install-scripts
calamares-branding-garuda
calamares-garuda
garuda-boot-repair
garuda-dracut-support
garuda-live-base
garuda-live-skel
garuda-live-systemd
garuda-tools-base-git
grub-garuda
grub-theme-garuda-live
grub-theme-garuda-live-common

none of these seemed relevant to my issue.

make a new .conf file named amdgpu.conf in the /etc/modprobe.d and add in the following lines:

options amdgpu.cik_support=1
options amdgpu.si_support=1

Reboot.

See if this works

I’ve rebooted with those options.

I couldn’t find a simple way to see the options of loaded modules so I used an llm to write a script.

#!/bin/bash

echo "Module\tOption"
for mod in $(lsmod | awk '{print $1}'); do
    dir="/sys/module/$mod/parameters/"
    if [ -d "$dir" ]; then
        for opt in $(ls $dir); do
            echo "$mod $opt"
        done
    fi
done
list-module-options.sh | grep amdgpu

amdgpu abmlevel
amdgpu agp
amdgpu aspm
amdgpu async_gfx_ring
amdgpu audio
amdgpu backlight
amdgpu bad_page_threshold
amdgpu bapm
amdgpu cg_mask
amdgpu cik_support
amdgpu compute_multipipe
amdgpu cwsr_enable
amdgpu damageclips
amdgpu dc
amdgpu dcdebugmask
amdgpu dcfeaturemask
amdgpu debug_evictions
amdgpu debug_mask
amdgpu deep_color
amdgpu disable_cu
amdgpu discovery
amdgpu disp_priority
amdgpu dpm
amdgpu emu_mode
amdgpu enforce_isolation
amdgpu exp_hw_support
amdgpu force_asic_type
amdgpu forcelongtraining
amdgpu freesync_video
amdgpu fw_load_type
amdgpu gartsize
amdgpu gpu_recovery
amdgpu gttsize
amdgpu halt_if_hws_hang
amdgpu hw_i2c
amdgpu hws_gws_support
amdgpu hws_max_conc_proc
amdgpu ignore_min_pcap
amdgpu ip_block_mask
amdgpu lbpw
amdgpu lockup_timeout
amdgpu max_num_of_queues_per_device
amdgpu mcbp
amdgpu mes
amdgpu mes_kiq
amdgpu mes_log_enable
amdgpu moverate
amdgpu msi
amdgpu mtype_local
amdgpu no_queue_eviction_on_vm_fault
amdgpu noretry
amdgpu no_system_mem_limit
amdgpu num_kcq
amdgpu pcie_gen2
amdgpu pcie_gen_cap
amdgpu pcie_lane_cap
amdgpu pg_mask
amdgpu ppfeaturemask
amdgpu queue_preemption_timeout_ms
amdgpu ras_enable
amdgpu ras_mask
amdgpu reset_method
amdgpu runpm
amdgpu sched_hw_submission
amdgpu sched_jobs
amdgpu sched_policy
amdgpu sdma_phase_quantum
amdgpu seamless
amdgpu send_sigterm
amdgpu sg_display
amdgpu si_support
amdgpu smu_memory_pool_size
amdgpu smu_pptable_id
amdgpu timeout_fatal_disable
amdgpu timeout_period
amdgpu tmz
amdgpu umsch_mm
amdgpu user_partt_mode
amdgpu use_xgmi_p2p
amdgpu vcnfw_log
amdgpu virtual_display
amdgpu visualconfirm
amdgpu vis_vramlimit
amdgpu vm_block_size
amdgpu vm_fault_stop
amdgpu vm_fragment_size
amdgpu vm_size
amdgpu vm_update_mode
amdgpu vramlimit
amdgpu wbrf

both options appear.

amdgpu cik_support
amdgpu si_support

Nothing has changed, nvtop and inxi -G have the same output.

What are the cik_support and si_support drivers?
I tried to find the documentation but it didn’t explain much.

https://www.kernel.org/doc/html/latest/gpu/amdgpu/module-parameters.html

Sorry, idk a lot about amd and personally have an Intel igpu. Please excuse my inability to help you.

Thank you for your time. I appreciate the suggestions!

Have you checked whether the dGPU is activated in the BIOS?

No, I haven’t, but as it worked on a live system, I do not believe that can be the problem.

Solved.

For whatever reason my supergfxctl config reset.
As I set this up a few years ago I didn’t think to check.

diagnosed with

sudo supergfxctl -g
Integrated

setting the default to Hybrid fixed my problem.

Mode can be set via kernel cmdline with `supergfxd.mode=`. Capitalisation does not matter.

https://wiki.archlinux.org/title/Kernel_parameters#Configuration

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.