我有一套三显示器配置,在22.04版本中工作正常。一个外部显示器通过HDMI输出运行,另一个通过USB-C DP输出和USB-HDMI转换器运行。在升级到24.04内核6.9后,USB-C运行良好。HDMI显示器被显示设置GUI识别,并且桌面也显示在那里,但鼠标无法移动到这个显示器上,因此无法使用,无论显示器设置如何。在内核6.7.3中也有相同的不良行为。以下是一些系统信息:
```
$ xrandr|grep connected
eDP-2 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 340mm x 210mm
DP-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 700mm x 400mm
HDMI-1 connected 2560x1440+5120+0 (normal left inverted right x axis y axis) 700mm x 390mm
```
```
OS: Ubuntu 24.04 LTS x86_64
Host: 82TD Legion 7 16IAX7
Kernel: 6.9.0-060900-generic
CPU: 12th Gen Intel i9-12900HX (24) @ 4.900GHz
GPU: Intel Alder Lake-HX GT1 [UHD Graphics 770]
GPU: NVIDIA GeForce RTX 3080 Ti Laptop GPU
```
```
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: GA103M [GeForce RTX 3080 Ti Laptop GPU]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=2560x1600 visual=truecolor xres=2560 yres=1600
resources: iomemory:600-5ff iomemory:640-63f irq:215 memory:83000000-83ffffff memory:6000000000-63ffffffff memory:6400000000-6401ffffff ioport:4000(size=128) memory:84000000-8407ffff
*-display
description: VGA compatible controller
product: Alder Lake-HX GT1 [UHD Graphics 770]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=2560,1600
resources: iomemory:640-63f iomemory:400-3ff irq:234 memory:6402000000-6402ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
$ nvidia-smi
| NVIDIA-SMI 550.78 Driver Version: 550.78
```
```
jr@jr-Legion-7-16IAX7:~$ sudo dmesg|grep -E "video|hdmi|DP|nvidia|display"
[ 0.821058] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[ 1.350318] UDP hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.350422] UDP-Lite hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.350493] NET: Registered PF_XDP protocol family
[ 1.371801] ACPI: AC: AC Adapter [ADP0] (on-line)
[ 1.851817] nvidia: loading out-of-tree module taints kernel.
[ 1.851822] nvidia: module license 'NVIDIA' taints kernel.
[ 1.851825] nvidia: module verification failed: signature and/or required key missing -
使用
nvidia-settings
图形用户界面,切换到PRIME配置文件->NVIDIA(性能模式)
并重启,似乎已经解决了问题。