Coder Social home page Coder Social logo

lenovo-legion5-15arh05-scripts's Introduction

Lenovo Legion 5 15ARH05 Notes on GNU + Linux

Simple scripts and guides to work around with issues on running gnu+linux in Lenovo Legion 5 15ARH05 version.

From Linux version 5.14.x the brightness control works out of the box, no need for workarounds. If you are running linux version below that then you have to use the workaround, please see the guides.

The down below is tested on the latest linux kernel 5.16.x at the time of writing.

What's Working

  • Brightness Control in Hybrid Graphics now works out of the box (from linux 5.14.x)
  • Wifi, Bluetooth working perfectly (I can get upto 100 Mega Bits speed with Wifi)
  • Battery Conservation (The battery conservation mode is working as expected)
  • NVIDIA Graphics Card working perfectly with the non-free NVIDIA Driver software. (Novena?? works too)
  • Fn keys work.
  • Secure boot works with OpenSUSE, Ubuntu and Debian. (Basically all linux distros which supports secureboot)
  • NVME SSD and HDD is usable and it is discoverd by GNU+Linux.
  • Users complained about the sound but in linux you could go beyond 100% so sound is a blast in GNU+Linux.
  • Played some old titles in Wine, Linux gaming is totatly possible but there is 10% degrade in performance because of Wine and other translations.
  • Backlit keyboard is working.
  • Can switch different modes with Fn + Q.
  • Fn + Esc (FnLock) works as expected and led responds perfectly like in Windows.

What's not Working

  • When using Hybrid Graphics mode, you can't use HDMI and X.org freezes, we can avoid this by using the discrete graphics card but this disables the hybrid graphics. More research needed to confirm if this is kernel bug or result of poor X.Org Configuration. (In Windows, This works with no issues.)

Guides

AMDGPU Brightness Fix - See AMDGPUFIX/ Directory of this Repo. (Brightness works out of box now with linux 5.14.x)

Touchpad Fix - See Touchpad/ Directory of this Repo. (Touchpad works out of the box from linux 5.12)

Nvidia Graphics X Server Configuration to fix brightness control and High DPI when using Discrete Graphics - See XOrgConfigurationNvidia/ directory.

Battery Conservation Mode Control - See BatteryConservation/ Directory.

lenovo-legion5-15arh05-scripts's People

Contributors

antony-jr avatar henryhormaza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lenovo-legion5-15arh05-scripts's Issues

Manjaro Settings

Some of these settings don't work well on Manjaro Gnome. Would apprecitate some help with trackpad swipe gestures and Discrete mode brightness control.

What works:

  • Gnome Pinch gestures work
  • GPU Resolution & 165Hz refresh rate

What isn't working:

  • GPU Brightness control
  • Swipe gestures

Current Setup:

  • Distro+Kernel : 5.13.19-2-MANJARO
  • DE : Gnome 40.5

Switch Power Modes with fn+Q

Hi, I'm glad I discovered your repo and have a question. I have the same model but with GTX1650 and Ryzen 5 4600H. I'm about to do a fresh install since it was a bit bloated. :D and have a question: How do you switch power modes with fn+Q on linux because I can't find any information on repo? Did I mention that I use Arch btw?

EDIT: Oh and also could you check if backlight regulation of November Arch ISO works for you? Because for me it doesn't. I tried on Arch with 5.14.16 but no luck without amdgpu.backlight=0. Also there was a race between systemd and amdgpu which produced errors. But after loading amdgpu module first in mkinitcpio error was gone but still without boot parameter backlight values have changed but it didn't change the backlight.

Same machine as IdeaPad Gaming 3 15ARH05?

Do you know if Lenovo Legion 5 15ARH05 is the same machine as IdeaPad Gaming 3 15ARH05? Is it just different names for different markets? The 15ARH05 I'm looking at in Europe is called IdeaPad Gaming 3 and has R5 4600H/8GB RAM/256GB SSD/GTX 1650.

Brightness control in gnome modifying wrong file

Hello Antony.

I've been having this issue for around a month. After trying a lot of things, including the amdgpu.backlight=0, on almost all the distros I use (Manjaro, Arch, Fedora and Ubuntu, all of them with GNOME desktop) I've been having this issue with the brightness.

Today I've seen with the watch -n 0 cat /sys/class/backlight/nvidia_0/brightness that the gnome control panel is changing the brightness of the nvidia card, not the amd one... Thus, if I try to change the amdgpu_bl0 one from 255 to 128 for example, it would change (I also noticed i had to do it with nano, I couldn't do it with sudo echo 100 > /sys/class/backlight/amdgpu_bl0/brightness). I don't know if there's a way to tell the OS to modify the value from amdgpu and not from nvidia...

Sorry if all of what I said didn't make any sense. English is not my mother tongue.

Have a nice week.

Booting Linux with 'Switchable Graphics' option in BIOS causes SDDM not to load.

I wanted to be able to control my brightness on my Lenovo Legion 5 15ARH05H laptop, so I tried selecting the 'Switchable Graphics' mode in BIOS, and it boots much faster than with the 'Discrete Graphics' option in the BIOS, but when I do this, SDDM doesn't load, and I'm not able to switch to any other TTY.

I have had this issue with Linux Zen and Linux kernels.

Does anyone know how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.