hey, i have noticed that amdgpu-dkms causes kernel modules’ builds to fail with Error! Bad return status for module build on kernel: 6.5.13-hardened2-1-hardened (x86_64)
and that for all installed kernels (hardened, zen and plain linux), in the log i see this
/var/lib/dkms/amdgpu-19.30/855429/build/include/kcl/kcl_drm.h:6:10: fatal error: drm/drmP.h: No such file or directory
a total of 11 times, and i have no idea what to do about this, i have also not found any problems like this. i have tried reinstalling the kernels and their modules, reinstalling amdgpu-dkms and also restarting inbetween, nothing seems to work, i hope someone of you got an idea on what do do here. kind of similar problems where with wrong paths so files in directories that are not included, but i (or rather both find and fzf) can’t find any drmP.h
file on my system.
inxi
System:
Kernel: 6.6.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=372689e5-8a05-4c8d-b0a1-d5cb4d6fc475 rw rootflags=subvol=@
quiet rd.luks.uuid=bdc9d9a7-5505-4937-ac5a-6b24c7ab837d
rd.luks.uuid=6c89d81b-0faf-4455-a69c-ed567e9a4272
resume=/dev/mapper/luks-6c89d81b-0faf-4455-a69c-ed567e9a4272 loglevel=3
ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450-A PRO MAX (MS-7B86) v: 4.0
serial: <superuser required> UEFI: American Megatrends LLC. v: M.J0
date: 06/30/2023
CPU:
Info: model: AMD Ryzen 5 5500 bits: 64 type: MT MCP arch: Zen 3 gen: 4
level: v3 note: check built: 2021-22 process: TSMC n7 (7nm)
family: 0x19 (25) model-id: 0x50 (80) stepping: 0 microcode: 0xA50000D
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1534 high: 3294 min/max: 400/4267 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 3216 2: 2993 3: 400
4: 400 5: 400 6: 400 7: 3294 8: 400 9: 400 10: 400 11: 2903 12: 3209
bogomips: 86244
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] 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: DP-2,HDMI-A-1 empty: DP-1,DP-3 bus-ID: 12:00.0 chip-ID: 1002:73ff
class-ID: 0300
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
s-diag: 1055mm (41.54")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,left
model: Samsung C24F390 serial: <filter> built: 2019 res: 1920x1080 hz: 60
dpi: 94 gamma: 1.2 size: 521x293mm (20.51x11.54") diag: 598mm (23.5")
ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: right model: HP V22e
serial: <filter> built: 2020 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
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: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6600 (navi23 LLVM
16.0.6 DRM 3.54 6.6.6-zen1-1-zen) device-ID: 1002:73ff memory: 7.81 GiB
unified: no
API: Vulkan v: 1.3.269 layers: 7 device: 0 type: discrete-gpu name: AMD
Radeon RX 6600 (RADV NAVI23) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:73ff surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-4: JMTek LLC. USB PnP Audio Device
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-1.2:4 chip-ID: 0c76:161e class-ID: 0300
API: ALSA v: k6.6.6-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.0 status: active 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
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.27 TiB used: 631.05 GiB (27.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3SSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR30A temp: 23.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LX005-1CW162
size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: LVD1 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000BX500SSD1
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 054
Partition:
ID-1: / raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 466.05 GiB (52.0%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-bdc9d9a7-5505-4937-ac5a-6b24c7ab837d
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 720 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 466.05 GiB (52.0%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-bdc9d9a7-5505-4937-ac5a-6b24c7ab837d
ID-4: /var/log raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 466.05 GiB (52.0%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-bdc9d9a7-5505-4937-ac5a-6b24c7ab837d
ID-5: /var/tmp raw-size: 896.86 GiB size: 896.86 GiB (100.00%)
used: 466.05 GiB (52.0%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-bdc9d9a7-5505-4937-ac5a-6b24c7ab837d
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 34.36 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-0 maj-min: 254:0
mapped: luks-6c89d81b-0faf-4455-a69c-ed567e9a4272
ID-2: swap-2 type: zram size: 31.23 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 30.2 C mobo: N/A gpu: amdgpu temp: 26.0 C
mem: 28.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Processes: 345 Uptime: 8m wakeups: 0 Memory: total: 32 GiB
available: 31.23 GiB used: 4.17 GiB (13.3%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages: 1512
pm: pacman pkgs: 1486 libs: 421 tools: octopi,paru pm: flatpak pkgs: 26
Shell: fish v: 3.6.4 running-in: konsole inxi: 3.3.31
Garuda (2.6.19-2):
System install date: 2023-11-03
Last full system update: 2023-12-11
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: No/Undetected
Failed units: