Kernel 5.7 not working on Lenovo Thinkpad T14 AMD

Hey there,

I've got a new Lenovo T14 AMD. I installed Manjaro and it works so far but the brightness control.
On kernel 5.6 it does not work and when installing 5.7 even boot fails with:
FAILED to start Load/Save #ness of backlight:acpi_video0.
I've tried a lot of posts on the internet to fix this error but none of it helped.
Maybe someone of you has an idea.

Thanks,
felixoi

Sorry for not reading that first.
So I can get into the shell and startx is working when i do it manually.
Seems like its not starting automatically somehow.

Even tho brightness control is still not working then.

EDIT: it seems to crash from time to time.

Just try all available kernel and use the best one for you.

You cou could try installing some dedicated program for controlling the screen brightness such as:

https://aur.archlinux.org/packages/brightness-controller-git/

Or search for other control utilities, or better yet do some research on the cause and how perhaps it might be corrected without second party software.

Use a search term such as "Brightness control Arch Linux". There should be no shortage of information on the topic.

1 Like

Add the acpi_backlight=vendor kernel parameter to GRUB_CMDLINE_LINUX in /etc/default/grub.

1 Like

Already did this. Not fixing my issue.

inxi -Fxxxza --no-host
System:    Kernel: 5.6.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64 root=UUID=52e4d59f-0ac6-4696-ad11-33507341f00b rw quiet 
           "acpi_osi=!Windows 2012" acpi_backlight=vendor apparmor=1 security=apparmor 
           resume=UUID=a64b6dd1-8e58-4dfa-9627-ed8290d0bb3c udev.log_priority=3 
           Desktop: Gnome 3.36.4 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 20UD0013GE v: ThinkPad T14 Gen 1 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20UD0013GE serial: <filter> UEFI: LENOVO v: R1BET36W(1.05 ) date: 06/11/2020 
Battery:   ID-1: BAT0 charge: 49.8 Wh condition: 50.5/50.5 Wh (100%) volts: 13.2/11.6 model: LGC 5B10W139 type: Li-poly 
           serial: <filter> status: Charging cycles: 2 
CPU:       Topology: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics bits: 64 type: MT MCP arch: Zen family: 17 (23) 
           model-id: 60 (96) stepping: 1 microcode: 8600104 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 54318 
           Speed: 1398 MHz min/max: 1400/1700 MHz boost: enabled Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1396 5: 1397 
           6: 1397 7: 1397 8: 1396 9: 1397 10: 1396 11: 1397 12: 1396 13: 1397 14: 1396 15: 1397 16: 1397 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 07:00.0 
           chip ID: 1002:1636 
           Display: x11 server: X.org 1.20.8 driver: ati,radeon unloaded: modesetting alternate: fbdev,vesa 
           compositor: gnome-shell resolution: <xdpyinfo missing> 
           OpenGL: renderer: AMD RENOIR (DRM 3.36.0 5.6.19-2-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.1.3 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           chip ID: 1002:1637 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           bus ID: 07:00.5 chip ID: 1022:15e2 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 07:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.6.19-2-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3400 
           bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: enp2s0f0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 bus ID: 03:00.0 chip ID: 8086:2723 
           IF: wlp3s0 state: up mac: <filter> 
           Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 2000 
           bus ID: 05:00.0 chip ID: 10ec:8168 
           IF: enp5s0 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 18.01 GiB (1.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXM7 scheme: GPT 
Partition: ID-1: / raw size: 292.97 GiB size: 287.37 GiB (98.09%) used: 17.98 GiB (6.3%) fs: ext4 dev: /dev/nvme0n1p5 
           ID-2: swap-1 size: 19.53 GiB used: 0 KiB (0.0%) fs: swap swappiness: 60 (default) cache pressure: 100 (default) 
           dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 59.0 C mobo: 0.0 C gpu: amdgpu temp: 47 C 
           Fan Speeds (RPM): cpu: 2900 
Info:      Processes: 404 Uptime: 31m Memory: 46.37 GiB used: 2.38 GiB (5.1%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           Shell: zsh v: 5.8 running in: gnome-terminal inxi: 3.0.37

The acpi_osi='!windows 2012' was also a suggested fix which did not work.

Considering the age (or youth) of this machine that doesnt seem like a great idea.
Something like this would probably make more sense:
acpi_osi=! acpi_osi='Windows 2015'
(but it may or may not really be wanted)

Also .. ryzens usually benefit from these options:

iommu=pt idle=nomwait

You should be using amdgpu.. so something is definitely wrong.

Did you do anything to try and change drivers or blacklist something or similar ?

1 Like

No. This is a fresh install on a brand new machine :frowning:

:confused: .. did you choose 'non-free' during install or something ?

Anyhoo ..
Lets start with

sudo pacman-mirrors -f && sudo pacman -Syyu

Also please make sure to add at least the idle and iommu options, then run sudo update-grub.

And .. lets force reinstall the drivers:

sudo mhwd -f -i pci video-linux

Then we can reboot and check..

1 Like

Did that. Thanks for that one.

Wait I accidentally did it. Can I get the other drivers somehow?

Seems like that one worked :slight_smile:

ystem:
 Kernel: 5.6.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
 parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64 
 root=UUID=52e4d59f-0ac6-4696-ad11-33507341f00b rw quiet iommu=pt 
 idle=nomwait acpi_backlight=vendor apparmor=1 security=apparmor 
 resume=UUID=a64b6dd1-8e58-4dfa-9627-ed8290d0bb3c udev.log_priority=3 
 Desktop: Gnome 3.36.4 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux 
Machine:
 Type: Laptop System: LENOVO product: 20UD0013GE v: ThinkPad T14 Gen 1 
 serial: <filter> Chassis: type: 10 serial: <filter> 
 Mobo: LENOVO model: 20UD0013GE serial: <filter> UEFI: LENOVO 
 v: R1BET36W(1.05 ) date: 06/11/2020 
Battery:
 ID-1: BAT0 charge: 48.9 Wh condition: 50.5/50.5 Wh (100%) volts: 13.0/11.6 
 model: LGC 5B10W139 type: Li-poly serial: <filter> status: Unknown 
 cycles: 2 
CPU:
 Topology: 8-Core model: AMD Ryzen 7 PRO 4750U with Radeon Graphics 
 bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 60 (96) 
 stepping: 1 microcode: 8600104 L2 cache: 4096 KiB 
 flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
 bogomips: 54321 
 Speed: 1397 MHz min/max: 1400/1700 MHz boost: enabled Core speeds (MHz): 
 1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 9: 1397 
 10: 1396 11: 1398 12: 1400 13: 1404 14: 1581 15: 1397 16: 1397 
 Vulnerabilities: Type: itlb_multihit status: Not affected 
 Type: l1tf status: Not affected 
 Type: mds status: Not affected 
 Type: meltdown status: Not affected 
 Type: spec_store_bypass 
 mitigation: Speculative Store Bypass disabled via prctl and seccomp 
 Type: spectre_v1 
 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
 Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, 
 IBRS_FW, STIBP: conditional, RSB filling 
 Type: srbds status: Not affected 
 Type: tsx_async_abort status: Not affected 
Graphics:
 Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel 
 bus ID: 07:00.0 chip ID: 1002:1636 
 Display: x11 server: X.org 1.20.8 driver: none compositor: gnome-shell 
 resolution: <xdpyinfo missing> 
 OpenGL: renderer: AMD RENOIR (DRM 3.36.0 5.6.19-2-MANJARO LLVM 10.0.0) 
 v: 4.6 Mesa 20.1.3 direct render: Yes 
Audio:
 Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
 bus ID: 07:00.1 chip ID: 1002:1637 
 Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
 vendor: Lenovo driver: N/A bus ID: 07:00.5 chip ID: 1022:15e2 
 Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
 v: kernel bus ID: 07:00.6 chip ID: 1022:15e3 
 Sound Server: ALSA v: k5.6.19-2-MANJARO 
Network:
 Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
 vendor: Lenovo driver: r8169 v: kernel port: 3400 bus ID: 02:00.0 
 chip ID: 10ec:8168 
 IF: enp2s0f0 state: down mac: <filter> 
 Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 
 bus ID: 03:00.0 chip ID: 8086:2723 
 IF: wlp3s0 state: up mac: <filter> 
 Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
 vendor: Lenovo driver: r8169 v: kernel port: 2000 bus ID: 05:00.0 
 chip ID: 10ec:8168 
 IF: enp5s0 state: down mac: <filter> 
Drives:
 Local Storage: total: 931.51 GiB used: 18.81 GiB (2.0%) 
 ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB 
 size: 931.51 GiB block size: physical: 512 B logical: 512 B 
 speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXM7 scheme: GPT 
Partition:
 ID-1: / raw size: 292.97 GiB size: 287.37 GiB (98.09%) 
 used: 18.78 GiB (6.5%) fs: ext4 dev: /dev/nvme0n1p5 
 ID-2: swap-1 size: 19.53 GiB used: 0 KiB (0.0%) fs: swap 
 swappiness: 60 (default) cache pressure: 100 (default) dev: /dev/nvme0n1p6 
Sensors:
 System Temperatures: cpu: 67.0 C mobo: 0.0 C gpu: amdgpu temp: 51 C 
 Fan Speeds (RPM): cpu: 3300 
Info:
 Processes: 402 Uptime: N/A Memory: 46.30 GiB used: 1.75 GiB (3.8%) 
 Init: systemd v: 245 Compilers: gcc: 10.1.0 Shell: zsh v: 5.8 
 running in: gnome-terminal inxi: 3.0.37 

Sadly there is still this backlight issue with all kernels but 5.6..

With or without the acpi_backlight=vendor kernel parameter as I mentioned above? Now that you have the right video driver installed, it should help.

Thats still not right.

Maybe check

ls /etc/modprobe.d/
cat /etc/X11/{mhwd,xorg.conf}.d/*

Both return nothing.

With it enabled.

Are you sure? Mine shows that as well.

Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.8 driver: none unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.37.0 5.7.9-1-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.1.3

Thats probably not good...

(heres mine)

Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] 
           driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.51-RAVEN LLVM 10.0.0) 
           v: 4.6 Mesa 20.1.3 

But I suppose you can also check with something like

glxinfo | grep 'renderer string'

Also tried with the 5.8rc, same stuff as before.

OpenGL renderer string: AMD RENOIR (DRM 3.36.0, 5.6.19-2-MANJARO, LLVM 10.0.0)

Oh right .. that only reports the device in use .. doesnt help to see whether amdgpu is running it...

EDIT .. oh idea! @felixoi

cat /etc/mkinitcpio.conf

Check the Modules line .. and make sure to have amdgpu in there .. mine has nothing else so:
MODULES=(amdgpu)
Then run
sudo mkinitcpio -P
(reboot and check again)

2 Likes

Forum kindly sponsored by