Ubuntu on Lenovo Legion Y540
I recently purchased a Lenovo Legion Y540 laptop. Prior research revealed that people were having problems with wireless connections, screen brightness and some other usual suspects.
My research also indicated that later versions of the Linux kernel fixed all/most of these issues. So I installed Xubuntu 19.10 which provides kernel version 5.3. Standard Ubuntu 19.10 or newer should give the same results.
This is not a review, but a collection of notes for those who intend to purchase the same laptop.
- Nvidia GeForce RTX 2060
- Intel Core i7-9750H
- 16 GB DDR4 RAM
- 1 TB SSD hard drive
Booting the live USB disk in normal mode caused the machine to hang. Safe graphics mode worked. You’ll find the option in the GRUB loader when booting from the USB disk.
Secure Boot was disabled.
I wasn’t able to adjust the screen brightness using the
fn keys on the
keyboard, nor through Xfce’s display brightness controls. Thankfully, there’s an
If you’re using the proprietary NVIDIA drivers you can add an option to the Xorg configuration.
Edit (or create)
Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option "RegistryDwords" "EnableBrightnessControl=1;" # Add this ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg" EndSection
This should fix the screen brightness controls.
This is a gaming laptop, and gaming laptops aren’t known for their battery life. A quick test showed that I was able to browse the Internet using Chrome and play around in the terminal for 2.5 hours before the battery level reached 10%. The screen brightness was set to 70% and the keyboard backlight was turned off.
$ uptime && cat /sys/class/power_supply/BAT0/capacity 15:17:51 up 2:30, 1 user, load average: 0,32, 0,35, 0,34 10
The last line shows battery percentage.
Note that Xubuntu uses the Xfce desktop environment which is considered fairly lightweight.
I haven’t noticed any problems with:
- Keyboard backlight adjustment
- Volume adjustment
- Wireless connections/drivers
- Proprietary NVIDIA drivers
- The mousepad
- Media controls on the keyboard