![]() Refresh RateĪnother less important quirk is that Xorg prefers the 60Hz mode by default when using the dedicated GPU. Despite that, there's still hope: This thread shows promising results with similar models and it is estimated that a working driver will be ready by early 2022. ![]() However, the speakers have a couple of Cirrus CS35L41 pre-amps that Linux doesn't recognize correctly, and therefore doesn't initialize. The 3.5mm headphone jack and Bluetooth audio work fine. The audio issues are sadly almost impossible to fix. If you need a guide on how to apply patches and build a custom kernel, you can check out this post. If you still can't get it to work, make sure that you have enabled CONFIG_SERIAL_MULTI_INSTANTIATE in your kernel config. Backlight ControlĪs of kernel 5.18, audio is no longer an issue. Sadly, Linux is not officially supported by Lenovo on this model, so two major issues were immediately noticeable: backlight control and speaker audio. This, along with the GPU MUX switch shows promise for a single-GPU PCI passthrough setup. The default IOMMU groups were also decent, with the GPU Video and Audio buses being separate from the rest of the system. Battery Conservation Mode (using a simple script).GPU Switching (since you do that from the UEFI).Most of the laptop's hardware was working out of the box, including: Pacman -S nvidia xf86-video-amdgpu Bug Fixing After installing a desktop environment / display manager / window manager combo (in my case, that's LightDM and AwesomeWM), you should also install the necessary video drivers:.Pacstrap /mnt base linux linux-firmware amd-ucode efibootmgr grub git nano vim linux-headers net-tools networkmanager sudo When running pacstrap, I recommend installing a lot more than just what the wiki recommends:.However, you can partition your drive however you see fit. I only made a single ext4 partition (instead of separate root, home, and swap) and created a /swapfile for easy resizing later down the line.I'm not going to describe the entire installation process since the Arch Wiki does it better than I could ever hope to, but I still want to mention a couple of things: So, after checking that everything was working fine, I imaged the entire disk using Clonezilla in case something went wrong, and proceeded to install Arch Linux. As a CompSci student, I wanted to have a machine that allows me to code and compile projects on the go, manage multiple virtual machines, and have decent battery life. For rapid charge, provide the -r flag with 1 or 2, respectively.Even though Windows is without a doubt the best operating system for gaming, that's not what I wanted to use this device for. To change performance mode, provide the -p flag followed by 1, 2, or 3 to change the respective performance mode. Otherwise, it will present the current mode and a help message. Note that the module can be loaded after install with sudo modprobe acpi_call. ![]() Without any flags, the program should display an error message if the kernel module is not installed and loaded. If this does not work, ensure it is an exectuable by running chmod +x utils.sh. The script requires superuser elevations. FeaturesĪdjusting performance modes - options include:Īdjusting rapid charge modes - 1: on, 2: off Dependenciesĭepending on your system, either acpi_call, acpi_call-lts, acpi_call-dkms. It is currently untested as I've been using WSL instead of a native Linux install this semester. It should be noted that this script ONLY works for Ryzen 4000 series Ideapads and has not been tested on all models. This script uses the acpi_call kernel module to change performance modes and rapid charge modes. As someone who uses Linux, I found that one of my biggest issues was the fact that my Ryzen 4000 Ideapad laptop had poor battery life and I was unable to access features included in Lenovo Vantage, which is for Windows only. This is my first venture into Bash scripting. Ideapad Utilities Lenovo Vantage Utilities for Linux
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |