I wanted to post all the workaround and configs I needed to make Linux Mint work on the Lenovo Legion 5i Pro 2022 so others who need the help can find it on a non-reddit source. This will also be helpful for when I inevitably hop distros or break my system because I am a crazy person.
The following should get Linux Mint Vera 21.2 working reasonably well on your Lenovo Legion assuming the assuming the model is the same.
- Fixing stuck on mint logo after installing the nvidia driver.
Install the most recent nvidia driver using the driver manager on mint. Run the following so systemd does not stall waiting for the backlight service.
sudo systemctl mask systemd-backlight@backlight\:nvidia_0.service
- Edit your kernel arguments so that the backlight works on Cinnamon
Open the file:
sudo nano /etc/default/grub
Add the following to GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”
acpi_backlight=video
Update grub to apply the change
sudo update grub
- Get a more recent kernel through one of the following methods to make suspend and resume work properly
- https://xanmod.org/
- https://www.linuxcapable.com/how-to-install-latest-linux-kernel-on-linux-mint/
sudo apt install linux-oem-22.04c
- Adjust keyboard lighting (Optional)
https://github.com/4JX/L5P-Keyboard-RGB
All of that together should make the system function normal and reasonably optimal. So if you use Linux Mint or are having similar issues with your superior for some reason distribution, these may come in handy. As for future Rod Biren, quit spending all your time breaking your OS and avoiding actual work on your side projects. Loading bars are not actual progress.