我有一台配备 Nvidia GeForce RTX 3060 Mobile 显卡的 Dell G15。刚刚安装了 ubuntu 22.04 和 Windows,但我遇到了两个主要问题:
- 屏幕随机闪烁。
- 亮度控制不起作用,无论是键盘还是操作系统。特别是当调高/调低亮度时,没有任何效果(亮度卡在最大)。
这是我的nvidia-smi
输出:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| 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:01:00.0 Off | N/A |
| N/A 40C P0 N/A / N/A | 5MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1507 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+
我的ubuntu-drivers devices
输出
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00002560sv00001028sd00000B5Ebc03sc00i00
vendor : NVIDIA Corporation
model : GA106M [GeForce RTX 3060 Mobile / Max-Q]
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-510-server - distro non-free
driver : nvidia-driver-515-server - distro non-free
driver : nvidia-driver-510 - distro non-free
driver : nvidia-driver-470 - distro non-free
driver : nvidia-driver-515 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
输出sudo lspci -k | grep -EA3 'VGA|3D|Display'
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Subsystem: Dell GA106M [GeForce RTX 3060 Mobile / Max-Q]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
--
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt (rev c8)
Subsystem: Dell Device 0b5e
Kernel driver in use: amdgpu
Kernel modules: amdgpu
*已经尝试将该GRUB_CMDLINE_LINUX_DEFAULT
行更改/etc/default/grub
为:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi=linux"
另请参阅:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=legacy"
然后总是
sudo update-grub
但一点运气都没有。任何帮助都将不胜感激!
答案1
您有一个混合 GPU(主要)设置。显示器连接到集成的 AMD 显卡,而 Nvidia GPU 则充当 3D 处理器,您可以将繁重的 3D 任务卸载到该处理器。换句话说,尝试通过 Nvidia GPU 控制亮度是错误的方法:看看这是否有助于找到正确的 acpi_osi 字符串: https://iam.tj/prototype/enhancements/Windows-acpi_osi.html
编辑:BIOS 中也可能存在覆盖操作系统的相关控制。
Video
LCD Brightness
Brightness on battery power - Sets the screen brightness when the computer is running on battery power.
Brightness on AC power - Sets the screen brightness when the computer is running on AC power.
EcoPower - Enables or disables EcoPower which increases the battery life by reducing the screen brightness when appropriate.
Default: ON.