你可以想象我对这种情况有点不高兴。
我在 Windows 和 Ubuntu 的双启动模式下运行,并且可以使用 Windows 10 上的第二台显示器正常工作。
但是,当我切换到 Ubuntu 时,显示器在显示菜单中无法识别(它只显示我的常规笔记本电脑屏幕)。我认为应该连接 HDMI 电缆,并且显示器自行供电。
该显示器是三星 syncmaster 226BW(我认为是较旧的显示器)。
笔记本电脑是 acer nitro 5。Ubuntu 是 18.04.2 LTS。
我认为我的笔记本电脑只有可用于显示器的 HDMI 端口......
我提前道歉,我不知道如何在 ubuntu 论坛中正确地将这些终端输出格式化为可读格式...这是我运行命令的一些ubuntu-drivers devices
输出
lauri@lauri-Nitro-AN515-51:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C8Dsv00001025sd0000118Bbc03sc00i00
vendor : NVIDIA Corporation
model : GP107M [GeForce GTX 1050 Mobile]
driver : nvidia-driver-418 - third-party free recommended
driver : nvidia-driver-415 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
我尝试重新安装驱动程序但迄今为止仍无法解决问题。
下面是登录屏幕,但登录按钮附近的“齿轮菜单”中没有 xorg 东西,所以我只选择了常规 Ubuntu。其他选择似乎是我一直试图安装的某种 Ubuntu 主题,但我不确定它们是否与这个问题有很大关系。
下面显示了我认为正在使用的驱动程序,但是 nvidia x 服务器设置也由于某种原因显示空白屏幕,这似乎令人担忧......
我安装了 hwinfo 并运行命令“hwinfo --gfxcard”,这是输出
lauri@lauri-Nitro-AN515-51:~$ hwinfo --gfxcard
15: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.378]
Unique ID: VCu0.utdygrXIfNE
Parent ID: vSkL.JVzEGPFfAb1
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia GP107M [GeForce GTX 1050 Mobile]"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x1c8d "GP107M [GeForce GTX 1050 Mobile]"
SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
SubDevice: pci 0x118b
Revision: 0xa1
Memory Range: 0xa3000000-0xa3ffffff (rw,non-prefetchable)
Memory Range: 0x90000000-0x9fffffff (ro,non-prefetchable)
Memory Range: 0xa0000000-0xa1ffffff (ro,non-prefetchable)
I/O Ports: 0x4000-0x407f (rw,disabled)
Memory Range: 0xa4080000-0xa40fffff (ro,non-prefetchable,disabled)
IRQ: 255 (no events)
Module Alias: "pci:v000010DEd00001C8Dsv00001025sd0000118Bbc03sc00i00"
Driver Info #0:
Driver Status: nvidiafb is not active
Driver Activation Cmd: "modprobe nvidiafb"
Driver Info #1:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Driver Info #2:
Driver Status: nvidia_drm is not active
Driver Activation Cmd: "modprobe nvidia_drm"
Driver Info #3:
Driver Status: nvidia is not active
Driver Activation Cmd: "modprobe nvidia"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #13 (PCI bridge)
23: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.378]
Unique ID: _Znp.5o5btZi_3hC
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Model: "Intel VGA compatible controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x591b
SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
SubDevice: pci 0x118a
Revision: 0x04
Memory Range: 0xa2000000-0xa2ffffff (rw,non-prefetchable)
Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)
I/O Ports: 0x5000-0x503f (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 255 (no events)
Module Alias: "pci:v00008086d0000591Bsv00001025sd0000118Abc03sc00i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Primary display adapter: #15