![18.04 更新后第二个屏幕变黑](https://linux22.com/image/1008509/18.04%20%E6%9B%B4%E6%96%B0%E5%90%8E%E7%AC%AC%E4%BA%8C%E4%B8%AA%E5%B1%8F%E5%B9%95%E5%8F%98%E9%BB%91.png)
从 17.10 更新到 18.04 后,我的第二台显示器似乎被检测到了(虽然很奇怪地显示为“三星电气公司 19”,但实际上是三星 SyncMaster 940N),但却是黑色的。它被设置为连接显示器,我可以在第二个显示器桌面空间上盲目地操作东西。
我安装了 vanilla Gnome,但切换到 Ubuntu 风格的 Gnome 没有任何变化。强制不使用 wayland 似乎也没有任何作用。
可能存在什么问题?
编辑:
的结果lspci -nnk | grep -A3 -Fe '[0300]'
:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT / Amethyst XT [Radeon R9 380X / R9 M295X] [1002:6938] (rev f1)
Subsystem: Gigabyte Technology Co., Ltd Radeon R9 380X [1458:22c8]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
xrandr
使用单一显示模式的结果:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 60.02
1440x900 60.00
1280x960 60.00
1280x800 59.91
1280x720 60.00 50.00 59.94
1024x768 60.00
1024x576 59.97
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected (normal left inverted right x axis y axis)
1280x1024 60.02 + 75.02
1280x960 60.00
1280x800 60.02
1152x864 75.00
1280x720 60.02
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
xrandr
使用镜像显示模式的结果:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1280x1024+0+0 (normal left inverted right x
axis y axis) 598mm x 336mm
1920x1080 60.00 + 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 60.02*
1440x900 60.00
1280x960 60.00
1280x800 59.91
1280x720 60.00 50.00 59.94
1024x768 60.00
1024x576 59.97
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1280x1024+0+0 (normal left inverted right x axis y
axis) 376mm x 301mm
1280x1024 60.02*+ 75.02
1280x960 60.00
1280x800 60.02
1152x864 75.00
1280x720 60.02
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
编辑:
我四处寻找,重新安装了 gnome,确保我拥有最新的 open amd 驱动程序:https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers,搜索了相同的问题,但找不到任何问题。它在 Win10 上继续完美运行。17.10->18.04 更新可以做什么来让辅助屏幕变黑?
编辑:
尝试过 Live USB,现场环境也有同样的问题,所以似乎与 18.04 不兼容。
答案1
我看到了这条建议......引用“尝试在启动时将 amdgpu.dc=0 添加到内核命令行”
18.04 版配备 Radeon RX 580 GPU 的双显示器
sudo vi /etc/default/grub
老的
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
新的
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.dc=0"
保存然后发布
sudo update-grub
然后重新启动