![Ubuntu 23.10 显示端口在高分辨率下黑屏](https://linux22.com/image/1198383/Ubuntu%2023.10%20%E6%98%BE%E7%A4%BA%E7%AB%AF%E5%8F%A3%E5%9C%A8%E9%AB%98%E5%88%86%E8%BE%A8%E7%8E%87%E4%B8%8B%E9%BB%91%E5%B1%8F.png)
我最近在 Gigabyte G5GE 笔记本电脑上升级到了 ubuntu 23.10。我连接了 2 个显示器,HDMI 和 mini-DP。笔记本电脑有 2 个显卡:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)
lshw -c video
*-display
description: VGA compatible controller
product: GA107M [GeForce RTX 3050 Mobile]
...
configuration: depth=32 driver=nvidia latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
*-display
description: VGA compatible controller
product: Alder Lake-P Integrated Graphics Controller
...
configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
我首先想到的是 nvidia 驱动程序问题,并在 nvidia 论坛上发布了帖子,但看起来这更像是 i915 的问题:https://forums.developer.nvidia.com/t/ubuntu-23-10-display-port-not-working-on-ga107m-rtx-3050-mobile/271143
如果我切换到 DP 上的较低分辨率(1280x720),屏幕可以工作,但不能以原生 1920x1080 工作。Ubuntu 23.04 上的所有文件都可以正常工作。
xrandr 工作:
xrandr
Screen 0: minimum 320 x 200, current 5120 x 1385, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+3200+305 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.17*+ 144.17
1680x1050 144.17
...
HDMI-1 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 74.97 50.00 59.94
1680x1050 59.88
...
DP-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00 + 74.97 50.00 59.94
1680x1050 59.95
...
HDMI-2 disconnected (normal left inverted right x axis y axis)
当第二台外接显示器处于 1920 (黑色) 时 Xrandr:
Screen 0: minimum 320 x 200, current 4920 x 1920, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+3000+305 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.17*+ 144.17
1680x1050 144.17
...
HDMI-1 connected 1920x1080+1080+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 74.97 50.00 59.94
1680x1050 59.88
...
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 74.97 50.00 59.94
1680x1050 59.95
...
HDMI-2 disconnected (normal left inverted right x axis y axis)
nvidia 驱动程序是 ubuntu-drivers 推荐的驱动程序:
nvidia-driver-545 - third-party non-free recommended
我尝试禁用 Wayland,但没有结果: Ubuntu 22.10 外接显示器不工作
我不太清楚这里出了什么问题,是不是驱动程序问题,是不是由于 nvidia 或 intel 显卡导致的...我有点迷茫,不知道该尝试什么。
非常感谢您的阅读和帮助;)