无法调整联想 Legion 5 15ACH6H AMDGPU Ryzen 5800H Ubuntu 21.10 的屏幕亮度

无法调整联想 Legion 5 15ACH6H AMDGPU Ryzen 5800H Ubuntu 21.10 的屏幕亮度

几天前拿到了这台设备(Lenovo Legion 5 Gen 6),在其上设置 Ubuntu(与 Windows 一起双启动)真的很麻烦。Wifi 开箱即用,发现其上的联发科 MT7921e Wifi 卡仅适用于内核 5.12 及以上版本。所以我运行的是自带的 Ubuntu 21.10 5.13.0-21-generic

目前,我无法调整设备上的亮度级别。它设置为混合模式,配备 Ryzen 7 5800H CPU 和 Nvidia RTX3060 GPU(通过 Windows Lenovo Vantage/BIOS)。

我尝试了多种解决方案,包括设置内核参数 GRUB_CMDLINE_LINUX="amdgpu.backlight=0"这里

也尝试过 acpi_backlight=vendor acpi_backlight=video acpi_backlight=native等等,但无济于事。

inxi -Fxxz输出:

System:    Kernel: 5.13.0-21-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: MATE 1.26.0 wm: marco dm: LightDM 
           Distro: Ubuntu 21.10 (Impish Indri) 
Machine:   Type: Laptop System: LENOVO product: 82JU v: Legion 5 15ACH6H serial: <filter> Chassis: type: 10 
           v: Legion 5 15ACH6H serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0T76485 WIN serial: <filter> UEFI: LENOVO v: GKCN44WW date: 08/30/2021 
Battery:   ID-1: BAT0 charge: 49.4 Wh (59.0%) condition: 83.7/80.0 Wh (104.6%) volts: 15.9 min: 15.4 model: Celxpert L20C4PC1 
           serial: <filter> status: Unknown 
CPU:       Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 rev: 0 cache: 
           L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 102207 
           Speed: 2455 MHz min/max: 1200/3200 MHz boost: enabled Core speeds (MHz): 1: 2455 2: 3276 3: 2378 4: 1916 5: 2060 
           6: 2494 7: 2658 8: 2698 9: 2118 10: 1916 11: 1916 12: 1916 13: 1916 14: 1909 15: 1916 16: 1916 
Graphics:  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 460.106.00 
           bus-ID: 01:00.0 chip-ID: 10de:2560 
           Device-2: Advanced Micro Devices [AMD/ATI] Cezanne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 06:00.0 
           chip-ID: 1002:1638 
           Display: x11 server: X.Org 1.20.13 compositor: marco driver: loaded: amdgpu,ati,nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~165Hz s-dpi: 98 
           OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.0-21-generic LLVM 12.0.1) v: 4.6 Mesa 21.2.2 direct render: Yes 
Audio:     Device-1: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:228e 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           bus-ID: 06: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: 06:00.6 chip-ID: 1022:15e3 
           Sound Server-1: ALSA v: k5.13.0-21-generic running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 2000 
           bus-ID: 03:00.0 chip-ID: 10ec:8168 
           IF: eno1 state: down mac: <filter> 
           Device-2: MEDIATEK vendor: Lenovo driver: mt7921e v: kernel port: 2000 bus-ID: 04:00.0 chip-ID: 14c3:7961 
           IF: wlp4s0 state: up mac: <filter> 
Bluetooth: Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 chip-ID: 0489:e0cd 
           Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block: hardware: no software: yes 
           address: <filter> 
Drives:    Local Storage: total: 1.86 TiB used: 29.8 GiB (1.6%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TDE9X084N size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> temp: 42.9 C 
           ID-2: /dev/nvme1n1 vendor: SK Hynix model: HFS001TDE9X084N size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> temp: 37.9 C 
Partition: ID-1: / size: 623.23 GiB used: 29.77 GiB (4.8%) fs: ext4 dev: /dev/nvme1n1p4 
           ID-2: /boot/efi size: 256 MiB used: 35.6 MiB (13.9%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   Message: No sensor data found. Is lm-sensors configured? 
Info:      Processes: 382 Uptime: 57m Memory: 13.51 GiB used: 2.97 GiB (22.0%) Init: systemd v: 248 runlevel: 5 Compilers: 
           gcc: 11.2.0 alt: 10/11 Packages: 2139 apt: 2128 snap: 11 Shell: Bash v: 5.1.8 running-in: mate-terminal

另外,注意到driver部分Display是空的,如果这可能是一个问题。我已经xserver-xorg-video-amdgpu安装了。

我避免使用独立显卡或任何仅调整伽马值的软件。

答案1

来源)以下是我所做的。

  1. 您可以使用mainline安装内核版本 5.16.1 RC1,它即可开箱即用。
  2. 重新启动,选择恢复模式,启用网络并转到根终端。
  3. 全新安装 nvidia 驱动程序:sudo apt purge nvidia-*然后sudo ubuntu-drivers autoinstall

相关内容