我知道还有很多其他类似的主题。但是,我尝试了所有其他解决方案,例如更改 grub 文件中的内核参数、使用xbacklight
等。但是,还没有成功。我很确定我错过了其他东西,但我无法弄清楚。
我在用着Debian 11与XFCE桌面。当我按下降低和增加屏幕亮度时会出现弹出菜单fn+(f4/f5)
,但是该功能不起作用并且亮度停留在最大。
同时,我可以借助 来控制亮度xrandr
,但据我所知,xrandr
是通过更改软件参数来控制亮度,而不是真正的硬件层。我已经安装了 Nvidia 驱动程序(包括免费/非免费相关包)。
以下是一些可能有用的命令输出:
# ls /sys/class/backlight/
intel_backlight
# nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.182.03 Driver Version: 470.182.03 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:02:00.0 Off | N/A |
| N/A 51C P0 N/A / N/A | 0MiB / 2002MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
# /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="acpi_backlight=native" # I've tried other parameters, but none of them works
...
# lspci -nn | egrep -i "3d|display|vga":
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
0000:02:00.0 3D controller [0302]: NVIDIA Corporation GP107M [GeForce MX350] [10de:1c94] (rev a1)