升级到 Ubuntu Gnome 16.04 后无法检测到笔记本电脑显示屏

升级到 Ubuntu Gnome 16.04 后无法检测到笔记本电脑显示屏

我有一台华硕 N55S 笔记本电脑,配备 Nvidia Gefore GT555M 和一台通过 HDMI 连接的外接三星显示器。使用专有 Nvidia 驱动程序,双显示模式在 Ubuntu Gnome 15.10 中运行良好,但升级到 16.04 后,内置笔记本电脑显示器不再被检测到。Gnome 显示设置以及 Nvidia X 服务器设置仅显示外接三星显示器。当我断开外接显示器时,内置笔记本电脑显示屏保持黑色,我根本没有显示。Nvidia 驱动程序版本为 361.42。

监视器.xml:

<monitors version="1">
  <configuration>
    <clone>no</clone>
    <output name="HDMI-0">
      <vendor>SAM</vendor>
      <product>SMBX2431</product>
      <serial>0x42324347</serial>
      <width>1920</width>
      <height>1080</height>
      <rate>60</rate>
      <x>1920</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="LVDS-1-0">
      <vendor>SEC</vendor>
      <product>0x314c</product>
      <serial>0x00000000</serial>
      <width>1920</width>
      <height>1080</height>
      <rate>59.998786926269531</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
</monitors>

xorg.conf:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

答案1

我能够使用图形驱动程序 ppa 中的 364.19 驱动程序解决此问题:

  1. 删除当前的 Nvidia 驱动程序:sudo apt-get purge nvidia-*
  2. 添加图形驱动程序 PPA: sudo add-apt-repository ppa:graphics-drivers/ppa
  3. 更新软件包列表:sudo apt-get update
  4. 从“软件和更新”应用程序中的“附加驱动程序”选项卡安装 364.19 驱动程序

相关内容