You are not logged in.

#1 2024-02-13 01:39:45

Enbionic
Member
Registered: 2023-09-10
Posts: 6

[Solved] amdgpu driver not loading

For some reason I can't adjust my backlight I think it's because the amdgpu driver is not loading properly. I have used this laptop with an Arch/i3 setup multiple times it's not a HW issue. I'm still pretty new so there really might be something blatant I'm just not getting.

xf86-video-amdgpu wasn't installed so I installed that along with the ati variant and vulkan-radeon still the driver doesn't seem to load.

I've tried various kernel parameters and followed with

sudo grub-mkconfig -o /boot/grub/grub.cfg

And now that I've taken out the acpi_backlight=(either vendor or video) I've lost devices with brightnessctl that I could adjust, although no actual brightness change would happen.

It also seems even when I do have the acpi_backlight=video parameters set the output of (from memory)

cat /sys/class/backlight/acpi_video0/actual_brightness

is still zero.

Also the systemd-backlight service isn't listed with

sudo systemctl --type=service

Here's various system outputs with my current parameters:

sudo lspci -v -s 04:00.0

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev cd) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
        Flags: fast devsel, IRQ 49, IOMMU group 12
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Memory at c0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 1000 [size=256]
        Memory at c0400000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [64] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
        Capabilities: [c0] MSI-X: Enable- Count=3 Masked-
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [200] Physical Resizable BAR
        Capabilities: [270] Secondary PCI Express
        Capabilities: [2a0] Access Control Services
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] Page Request Interface (PRI)
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Kernel modules: amdgpu

brightnessctl -l

Available devices:
Device 'input4::capslock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'input4::scrolllock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'mmc1::' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 255

Device 'ath9k-phy0' of class 'leds':
        Current brightness: 255 (100%)
        Max brightness: 255

Device 'input4::numlock' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 1

Device 'mmc0::' of class 'leds':
        Current brightness: 0 (0%)
        Max brightness: 255

Current grub kernel parameters listing with sed -n 1,7p /etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/mmcblk0p3:volgroup0:allow-discards loglevel=3 quiet"
GRUB_CMDLINE_LINUX="acpi_osi=linux" 

I see error with dmsg | grep amdgpu

[    3.918835] [drm] amdgpu kernel modesetting enabled.
[    3.921309] amdgpu: Virtual CRAT table created for CPU
[    3.921320] amdgpu: Topology: Add CPU node
[    3.921695] amdgpu 0000:04:00.0: Direct firmware load for amdgpu/raven2_gpu_info.bin failed with error -2
[    3.921698] amdgpu 0000:04:00.0: amdgpu: Failed to get gpu_info firmware "amdgpu/raven2_gpu_info.bin"
[    3.921700] amdgpu 0000:04:00.0: amdgpu: Fatal error during GPU init
[    3.921702] amdgpu 0000:04:00.0: amdgpu: amdgpu: finishing device.

inxi -F

System:
  Host: archlinux Kernel: 6.7.4-zen1-1-zen arch: x86_64 bits: 64
  Desktop: i3 v: 4.23 Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82R1 v: IdeaPad 1 15ADA7
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76477 WIN
    serial: <superuser required> UEFI: LENOVO v: HQCN15WW(V1.04)
    date: 05/30/2022
Battery:
  ID-1: BAT1 charge: 38.0 Wh (100.0%) condition: 38.0/42.0 Wh (90.4%)
CPU:
  Info: dual core model: AMD Athlon Silver 3050U with Radeon Graphics bits: 64
    type: MCP cache: L2: 1024 KiB
  Speed (MHz): avg: 1319 min/max: 1400/2300 cores: 1: 1400 2: 1239
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    driver: N/A
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: modesetting,radeon,vesa unloaded: fbdev dri: swrast gpu: N/A
    resolution: 1366x768~60Hz
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.7.4-zen1-1-zen status: kernel-api
  Server-1: PulseAudio v: 17.0 status: active
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
    driver: ath9k
  IF: wlo1 state: up mac: 30:f7:72:67:ec:23
  IF-ID-1: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Qualcomm Atheros driver: N/A type: USB
Drives:
  Local Storage: total: 1.02 TiB used: 16.9 GiB (1.6%)
  ID-1: /dev/mmcblk0 model: MMC128 size: 116.48 GiB type: Removable
  ID-2: /dev/nvme0n1 vendor: Crucial model: CT1000P3SSD8 size: 931.51 GiB
Partition:
  ID-1: / size: 29.36 GiB used: 14.77 GiB (50.3%) fs: ext4 dev: /dev/dm-1
  ID-2: /boot size: 973.4 MiB used: 279.3 MiB (28.7%) fs: ext4
    dev: /dev/mmcblk0p2
  ID-3: /home size: 82.58 GiB used: 1.85 GiB (2.2%) fs: ext4 dev: /dev/dm-2
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 20 GiB note: est. available: 17.5 GiB used: 1.87 GiB (10.7%)
  Processes: 164 Uptime: 31m Shell: Bash inxi: 3.3.33

I've run

sudo mkinitcpio -p linux

Last edited by Enbionic (2024-02-13 21:34:42)


My Wins Are Your Wins Your Losses Are My Losses

Offline

#2 2024-02-13 15:24:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: [Solved] amdgpu driver not loading

xf86-video-anything doesn't have anything to do w/ the kernel modules, nor do the vulkan drivers.

Try the regular kernel and the please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2024-02-13 18:37:27

Enbionic
Member
Registered: 2023-09-10
Posts: 6

Re: [Solved] amdgpu driver not loading

Okay.

http://0x0.st/HdYB.txt

Last edited by Enbionic (2024-02-13 18:38:38)


My Wins Are Your Wins Your Losses Are My Losses

Offline

#4 2024-02-13 19:06:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] amdgpu driver not loading

Do you have linux-firmware installed?

Offline

#5 2024-02-13 20:07:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: [Solved] amdgpu driver not loading

AthrBT_0x31010000.dfu is missing, too  - so "no"
And since there's really no other obvious problem, that's probably all.

Offline

#6 2024-02-13 21:31:57

Enbionic
Member
Registered: 2023-09-10
Posts: 6

Re: [Solved] amdgpu driver not loading

Yeah that was it. Thanks both you for helping a newbie.


My Wins Are Your Wins Your Losses Are My Losses

Offline

#7 2024-02-13 22:06:25

Enbionic
Member
Registered: 2023-09-10
Posts: 6

Re: [Solved] amdgpu driver not loading

In the interest of making this more useful to anyone viewing this and for my own reading.

https://wiki.archlinux.org/title/Genera … leshooting

This ones a bit rough around the edges but oh well.
https://www.reddit.com/r/archlinux/comm … ?rdt=49038


My Wins Are Your Wins Your Losses Are My Losses

Offline

Board footer

Powered by FluxBB