I am on a Asus Flow X13 (2021) laptop, that has AMD Ryzen 9 5900HS.
I installed Fedora 34, and then immediately after I upgraded to F35.
F35 came with kernel 5.16.15, and the system would not boot using this kernel. No visible output on my screen, and it happens straight after selecting the OS in the grub entry.
I then selected my F34 kernel 5.11.12 and it booted fine. As just after installation, my laptop shortcuts for sleep, brightness and sound is not working, but i can adjust all this in the OS. [Fixed with kernel 5.15]
But all shortcuts are working and system feels overall snappy now, which is a fantastic sign.
I will try 5.17 as well and see if it is any different. I am fairly new here btw, I hope it is not against the rules to post multiple times in a row like this? (I like to separate out actions and findings I do as in a timeline…)
EDIT: Kernel 5.17.0 was acting the same way as 5.16 - I had bootloops after grub. No output reported if i removed quiet from the grub cmd default on boot.
I will go about debugging Dracut and see what it says.
The flag did not work, sadly - same same behaviour. I guess it is unrelated then.
When it comes to graphics driver, I attempted to follow the instructions, however it downloads and installs the 5.16 kernel headers in the process and when I reboot, it claims the nvidia module was not found and that it falls back to nouveau.
Is there any way I can force it to use my current kernel version for the installation?
Other than wanting a newer kernel and maybe experimenting if nvidia works, my system is almost running perfectly. Some actions make the system freeze for ~ 15 seconds but I will investigate and open a separate topic regarding this.
I tried installing NVIDIA, but I am struggling - It now wants to install 5.14 kernel packages, almost like 5.15 does not exist. Excluding 5.14 with the same as 5.16, here is my output;
$ sudo dnf install akmod-nvidia --exclude=kernel*5.16* --exclude=kernel*5.14*
Last metadata expiration check: 3:26:07 ago on Thu 24 Mar 2022 14:11:42 CET.
Problem: package akmod-nvidia-3:510.47.03-2.fc35.x86_64 requires akmods, but none of the providers can be installed
- package akmods-0.5.6-28.fc35.noarch requires kernel-devel-uname-r, but none of the providers can be installed
- conflicting requests
- package kernel-debug-devel-5.14.10-300.fc35.x86_64 is filtered out by exclude filtering
- package kernel-devel-5.14.10-300.fc35.x86_64 is filtered out by exclude filtering
- package kernel-debug-devel-5.16.16-200.fc35.x86_64 is filtered out by exclude filtering
- package kernel-devel-5.16.16-200.fc35.x86_64 is filtered out by exclude filtering
(try to add '--skip-broken' to skip uninstallable packages)
I have also made sure that I have the necessary devel and headers packages, and all should be installed using [user@fedora ~]$ cd $(mktemp -d) && sudo koji download-build --arch=x86_64 --arch=noarch kernel-5.15.18-200.fc35 && sudo dnf upgrade *
That’s probably because at first dnf tried to install latest available versions (5.16), from updates repo, and when you blocked it, older ones (5.14 - the ones f35 shipped with) from fedora repo.
They are missing on your system. That one-liner ends with dnf upgrade *, so even though koji downloaded all the packages form that build, -devel and -headers packages were never installed on your system, so they were not used (upgraded). Download and install them manually for the first time from kernel-5.15.18-200.fc35 | Build Info | koji. After that dnf’ll keep updating them.
That guide haven’t been updated in a while, you need to (backup and) edit 5.16’s or 5.17’s entry in /boot/loader/entries/ or, while in grub after a reboot, select appropriate entry and press e, modify it (just for the current boot-up) and start by pressing Ctrl+x.
Super, then I was not as far away from the right path as I initially thought!
So I’ve tried all available options from pressing e in the selecteed grub entry (both with kernels 5.16 and 5.17) and I am completely unable to see anything useful at all. There are no outputs, no fallback shell, and the laptop just instantaneously reboots after trying to load. Could it be dracut causing the issue?
Pardon my lack of knowledge on fedora, this is my first time using it, and I truly appreciate you taking your time to come with useful input so far! I’ve learnt a lot.
Otherwise, I was able to install nvidia drivers now, and I am currently enjoying that and my external monitors are working perfectly. I also was lucky enough to get screen rotation working as a bonus.