Ubuntu 19.10 笔记本电脑带外接显示器 - 显示问题(19.04 运行良好)

Ubuntu 19.10 笔记本电脑带外接显示器 - 显示问题(19.04 运行良好)

我最近升级到了 19.10(几个月来一直愉快地使用 19.04)。

现在,当我通过 HDMI 将我的笔记本电脑(带有 nvidia 显卡的 Dell XPS 9550)连接到外接显示器时出现以下故障:

  • 内置显示器(笔记本电脑)切换为黑色背景(而不是我为背景设置的图像)。但显示器获取了图像背景。
  • 内置显示器:当你移动窗口时,窗口会留下自己的图像。但这不会发生在外接显示器上
  • 在外接显示器上移动窗口时,窗口看起来很模糊

一个月前的这篇文章似乎显示(见其截图)并描述了完全相同的问题。

Ubuntu 19.10 多显示器,波浪显示窗口问题

但是那个人说更新后问题就消失了。我已经应用了所有更新,多次重启等等——使用 19.10 已经大约一周了。

有人知道我该如何解决这个问题吗?目前,它基本上无法与外接显示器一起使用。

补充:

发布此信息时,没有 /etc/X11/xorg.conf 文件。运行 nvidia-xconfig 会创建此文件:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.129  (buildmeister@swio-display-x64-rhel04-14)  Tue Jul 23 01:37:59 PDT 2019

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

这很有趣:

jhouse@squan:~$ nvidia-smi 
Wed Nov 27 06:56:16 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21       Driver Version: 435.21       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   51C    P0    N/A /  N/A |   1613MiB /  2004MiB |      5%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      3677      G   /usr/lib/xorg/Xorg                            71MiB |
|    0      8046      G   /usr/lib/xorg/Xorg                           631MiB |
|    0      8307      G   /usr/bin/gnome-shell                         853MiB |
+-----------------------------------------------------------------------------+
jhouse@squan:~$ 
jhouse@squan:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
jhouse@squan:~$ 

该笔记本电脑既有集成的英特尔显卡,也有 Nvidia 960M

相关内容