Weird green and blue artifacts after opening and closing laptop lid
OS: Fedora 40 (Gnome)
Hardware: Asus ROG Laptop, NVIDIA graphics
Issue:
Was trying to get my laptop to "ignore" on lid switch status. However, after editing the logind.conf, when I would close and open my laptop lid, the screen would go black and there were weird artifacts. The computer was unresponsive. No clicking or pressing of any keys would get it to go back to the login screen. Only a hard reset would work.
Solution:
Found on: https://discussion.fedoraproject.org/t/black-screen-after-fresh-install-of-f39/108675/2
- Change the boot setting
- Boot into boot menu
- Press the
ekey - On the line that begins with
linuxaddnomodesetat the end of the line
- Install NVIDIA drivers
sudo dnf install akmods
- Enroll the akmod
- Boot into the firmware menu
- Enable secure boot
- Read through
/usr/share/doc/akmods/README.secureboot- All
mokutilscalls need to be run assudo - Run
/usr/sbin/kmodgencato generate certificate- Should be in the directories
/etc/pki/akmods/certsand/etc/pki/akmods/private/
- Should be in the directories
- Run
sudo mokutil --import /etc/pki/akmods/certs/public_key.der - Reboot
- Enroll the MOK
- Confirm it was enrolled
sudo mokutil --test-key /etc/pki/akmods/certs/public_key.der
- All
No Comments