Hello lads! Need your help. So i have MSI Delta 15 laptop with RX6700M gpu running Fedora 38 kernel 6.5.9-200 . I’ve been using it for more than a year and i am comfortable with terminal. Two days ago i installed Blender but encountered an issue: hip rendering isn’t working on opensource drivers. I downloaded amdgpu-install script from official website (rhel 9.1), followed all the instructions but at the end i got a build error that said that it couldn’t build for my running kernel and spitted stacktrace. It also said that something was up with dkms. I run the command again sudo amdgpu-install --usecase=workstation --vulkan=pro --opencl=rocr
and got:
Last metadata expiration check: 0:05:05 ago on Tue 28 Nov 2023 10:56:03.
Package amdgpu-pro-23.30-1684442.el9.x86_64 is already installed.
Package amdgpu-dkms-1:6.2.4.50702-1683306.el9.noarch is already installed.
Package rocm-opencl-runtime-5.7.2.50702-110.el9.x86_64 is already installed.
Package vulkan-amdgpu-pro-23.30-1684442.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
WARNING: amdgpu dkms failed for running kernel
sudo dkms status
gave me: amdgpu/6.2.4-1683306.el9: added
then i run: sudo dkms install -m amdgpu -v 6.2.4-1683306.el9
Building module:
Cleaning build area…(bad exit status: 2)
make -j16 KERNELRELEASE=6.5.12-200.fc38.x86_64 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.5.12-200.fc38.x86_64/build M=/var/lib/dkms/amdgpu/6.2.4-1683306.el9/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.12-200.fc38.x86_64 (x86_64)
Consult /var/lib/dkms/amdgpu/6.2.4-1683306.el9/build/make.log for more information.
I had enough for that day so i rebooted the system and got an error:
[TIME] Timed out waiting for device
[DEPEND] Dependency failed for
The next day i chrooted from live usb into my system and in an attempt to fix the issue i tried to install older kernel headers and somehow got kernel 6.2. BTW it didn’t display the new kernel in GRUB.
Today i chrooted in the system again, run dnf update
and updated to new 6.6 kernel that DID showed up in GRUB but when booting into it i get:
error: …/…/grub-core/fs/btrfs.c:2120:file ‘/boot/vmlinuz-6.6.2-101.fc38.x86_64’ not found
error: …/…/grub-core/loader/i386/efi/linux.c:258:you need to load the kernel first
I think that is because when chrooting i only mounted /proc /dev and /sys according to this guide: How to: Chroot into a broken system via live CD/ISO or alternate Linux system | TurnKey GNU/Linux
Guys, did i completely bricked my system? I don’t want to reinstall everything from zero… I know i should’ve used something like Timeshift prior. Any suggestions?