Can't get nvidia-dkms-open to compile
Closed this issue · 8 comments
I've confirmed that I'm installing the latest nvidia-dkms-open with CachyOS patches, which does have this patch, but I keep getting the error:
ERROR: modpost: "drm_fbdev_ttm_setup" [/var/lib/dkms/nvidia/560.35.03/build/kernel-open/nvidia-drm.ko] undefined!
How is this possible? Is this something due to erroneous configuration of my built Linux kernel?
Mhm, thats weird. Which kernel version youre running?
Im using nvidia-open-dkms from our repository and its working fine.
I'm running 6.11.2. Tried clearing my ccache and still the same happens
Can you try with a non modprobe kernel?
It compiles with other kernel headers (e.g., stock arch kernel) without trouble
It compiles with other kernel headers (e.g., stock arch kernel) without trouble
Then I would suspect the stripped config, no?
Let me check!
Cleared ccache, recompiled my kernel, now everything's working. Really weird, must be some strange ccache bug or config bug.