Ubuntu 18.04 双显示器不起作用

Ubuntu 18.04 双显示器不起作用

我以前运行 17.10,一切运行正常。升级后,第二台显示器停止工作。它在 Windows 中运行良好,但我不想使用 Windows。我的显卡是 AMD RX 480。

我将内核升级到最新的稳定内核 (4.17.9-041709-generic),并将 mesa 升级到最新版本。不幸的是,这些都无济于事。我还进入并将/etc/gdm3/custom.conf设置 wayland 更改为 false,但这也不起作用。当我进入此内核版本的恢复模式时,它可以工作,但无法加载到 gnome 中。它卡住了。

这是我的 xrandr:

$ 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)
DisplayPort-1 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  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)


$ lshw -c video
WARNING: you should run this program as super-user.
  *-display                 
       description: VGA compatible controller
       product: Ellesmere [Radeon RX 470/480/570/570X/580/580X]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:122 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:dfe00000-dfe3ffff memory:c0000-dffff

答案1

我也遇到了同样的问题。将显示管理器从 gdm3 更改为 lightdm 解决了我的问题。

安装 LightDM

sudo apt install lightdm

运行并在对话框中dpkg-reconfigure选择lightdm

sudo dpkg-reconfigure lightdm

值得注意的是,我安装了最新的可用 Nvidia 驱动程序:

$ ubuntu-drivers
devices : 
vendor: NVIDIA Corporation
driver : nvidia-driver-430 distro non-free recommended

相关内容