AMDGPU, kernel NULL pointer dereference
Brief summary of the problem:
My laptop (HP Pavillion 15-af138ur) has an AMD R5 M330 dedicated GPU, codenamed HAIHAN. When booting with mainline Linux 5.14 (built with this AUR package) with amdgpu.si_support=1
kernel parameter, a kernel BUG occurs during boot: see attached dmesg.log at line 860, timestamp [ 3.894214]
.
So far, this does not happen with Arch Linux's distribution of Linux at 5.13.13 at all for me.
Without this kernel parameter it seems to not be detected and used at all on all kernel versions I've tried and used: the bug also does not occur.
Probably irrelevant info, but to also note: my laptop also has integrated GPU codenamed MULLINS, which gets detected and used just fine, but only when amdgpu.cik_support=1
is set. Without either of those kernel parameters set, second screen connected via HDMI stays off, Xorg runs through fbdev, and I get llvmpipe as GLX renderer. Having both set causes both the kernel bug to happen and MULLINS to work properly.
I do also have radeon.{cik,si}_support=1
kernel parameters set, but any combination (or none) thereof does not seem to matter either.
Did not check with other kernel versions yet, will try to get to it later.
Hardware description:
- CPU: AMD A8-7410 APU with AMD Radeon R5 Graphics (4) @ 2.200GHz
- GPU: AMD R5 M330
- System Memory: 12GB of DDR3 RAM @ 1333MHz
- Display(s): laptop's embedded screen, see EDID in spoiler
- Type of Diplay Connection: eDP (the bug still happens without the second monitor connected via HDMI)
Screen's EDID
00 ff ff ff ff ff ff 00 06 af ed 38 00 00 00 00 00 19 01 04 95 22 13 78 02 bb f5 94 55 54 90 27 23 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 40 38 80 b4 70 38 36 40 6c 30 aa 00 58 c1 10 00 00 18 80 25 80 b4 70 38 36 40 6c 30 aa 00 58 c1 10 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 10 48 ff 0f 3c 6e 1e 14 21 6e 20 20 20 00 4dSystem information:
- Distro name and Version: Arch Linux, up-to-date as of 2021-08-31
- Kernel version: 5.14
- Custom kernel: mainline
- AMD package version: not sure how to check
How to reproduce the issue:
I assume booting into Linux 5.14 on a system with an AMD R5 M330 and amdgpu.si_support=1
is enough.