[Solved] Suspend and brightness scale not working on Lenovo IP 3 15ALC6

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Tol1as
Level 1
Level 1
Posts: 3
Joined: Sun Jan 23, 2022 5:06 pm

[Solved] Suspend and brightness scale not working on Lenovo IP 3 15ALC6

Post by Tol1as »

Hello, I'm new a Linux user.

I installed Mint Cinnamon today in this newly bought laptop (Ryzen 7 5700U/15.6 FHD IPS/8GB/512GB SSD), in dual boot with WIn 10. After installation I ran both the Software and Driver manager and did all upgrades.

Everything went fine, except for a few issues so far:

1) Choosing to suspend and then waking up the laptop results in the keyboard leds turning on and the fans working but the screen won't turn on.
2) Cannot control the monitor's brightness at all. The brightness is maxed out (which really eats at the battery) and using either the laptop shortcut (Fn + F5/F6) or the brightness setting in the battery has no effect, i.e the sliders work but brightness is not decreased (or increased) at all.
3) Every time I boot on Mint I get a message that I should upgrade my display drivers... running the driver manager tells me that my drivers are all up to date.

Inxi:

Code: Select all

System:
  Kernel: 5.4.0-96-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.2.7 wm: muffin 5.2.0 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 82KU v: IdeaPad 3 15ALC6 
  serial: <filter> Chassis: type: 10 v: IdeaPad 3 15ALC6 serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI: LENOVO 
  v: GLCN42WW date: 12/13/2021 
Battery:
  ID-1: BAT0 charge: 30.9 Wh condition: 38.0/38.0 Wh (100%) volts: 8.7/7.7 
  model: Celxpert L20C2PF0 type: Li-poly serial: <filter> status: Charging 
  cycles: 4 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 57491 
  Speed: 1360 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1398 3: 1502 4: 1507 5: 1322 6: 1396 7: 1392 8: 1327 9: 1397 
  10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1397 16: 1310 
Graphics:
  Device-1: AMD vendor: Lenovo driver: N/A bus ID: 03:00.0 
  chip ID: 1002:164c 
  Display: x11 server: X.Org 1.20.13 driver: ati,fbdev 
  unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.0.3 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 03:00.1 chip ID: 1002:1637 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Lenovo driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 03:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.4.0-96-generic 
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  vendor: Lenovo driver: ath10k_pci v: kernel bus ID: 01:00.0 
  chip ID: 168c:003e 
  IF: wlp1s0 state: up mac: <filter> 
  Device-2: Qualcomm Atheros type: USB driver: btusb bus ID: 3-4:3 
  chip ID: 0cf3:e300 
Drives:
  Local Storage: total: 476.94 GiB used: 16.82 GiB (3.5%) 
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA512QFD size: 476.94 GiB 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 0011P6LN scheme: GPT 
Partition:
  ID-1: / size: 274.02 GiB used: 16.79 GiB (6.1%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 318 Uptime: 19m Memory: 17.50 GiB used: 3.39 GiB (19.4%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
EDIT

It seems my google-fu wasn't strong enough. All issues were due to the fact that Ryzen 5700U is newer than the current Mint Kernel (5.4.0.96)

All issues were resolved by installing new kernel: Update Manager -> View -> Linux Kernels, then click a version and install. I personally went with the latest 5.13.0-27

Inxi also correctly gives

Device-1: AMD vendor: Lenovo driver: amdgpu v: kernel bus ID: 03:00.0 , where it was saying N/A before. Praise the kernel gods.

Hope this will help someone else in the future.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18227
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Suspend and brightness scale not working on Lenovo IP 3 15ALC6

Post by karlchen »

Hello, Tol1as.

This section in your inxi output illustrates the root cause of your problem:
Graphics:
Device-1: AMD vendor: Lenovo driver: N/A bus ID: 03:00.0
chip ID: 1002:164c
Display: x11 server: X.Org 1.20.13 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.0.3
compat-v: 3.1 direct render: Yes
The kernel should load amdgpu, I guess, but it does not load any video module matching your AMD graphics card.
The x11 server should load ati,amdgpu, but it loads ati, fbdev instead. fbdev is too old and not capable of supporting all the features of your video card.
And the culprit will be your old kernel 5.4.0-96-generic, which is older than your machine from 12/13/2021

Solution:
I am pretty confident that the solution offered and implemented in this similar thread, [Solved] My system is currently running without video hardware acceleration., will help you as well.

Curious to learn whether I am right.

Regards,
Karl
--
P.S.:
Oops, our posts crossed. Rather your Edit and my post crossed and you have solved the problem yourself by switching to a newer kernel series.
Congratulations. Right move.
Last edited by karlchen on Sun Jan 23, 2022 6:06 pm, edited 1 time in total.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Tol1as
Level 1
Level 1
Posts: 3
Joined: Sun Jan 23, 2022 5:06 pm

Re: [Solved] Suspend and brightness scale not working on Lenovo IP 3 15ALC6

Post by Tol1as »

Yep you were Karl. I found the solution by googling Mint 20.3 Ryzen 5700U, as I remembered reading about the new-ish ryzens causing issues in Linux. Thanks for responding.

As a side jesus, was this installation fast. It took me like an hour and a half to set up almost everything, while it took four++ hours in for the same thing in Win10...
Locked

Return to “Hardware Support”