AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1129216
Accepted
Nakrule
Nakrule
Asked: 2019-03-28 09:32:53 +0800 CST2019-03-28 09:32:53 +0800 CST 2019-03-28 09:32:53 +0800 CST

Ubuntu 无法识别 HDMI 端口

  • 772

我有一台带两个显卡的笔记本电脑:

  • 英特尔
  • 英伟达

我有官方的 Nvidia 驱动程序并使用 Nvidia 卡。但是,当我通过 HDMI 插入显示器时,Ubuntu 显示应用程序或 xrandr 都不会重新调整它:

 nakrule@mordor ~ xrandr 
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    144.00*+  60.01    59.97    59.96    60.00    59.93  
   1680x1050     84.94    74.89    69.88    59.95    59.88  
   ...
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)

这是命令的输出lshw

 nakrule@mordor ~ sudo lshw -C display
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: GP106M [GeForce GTX 1060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:ac000000-acffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:3000(size=128) memory:ad000000-ad07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:154 memory:ab000000-abffffff memory:40000000-4fffffff ioport:4000(size=64) memory:c0000-dffff

我也尝试使用我的英特尔卡,但这不起作用,除非我使用sudo apt purge nvidia-kernel-common-390. 然后,检测到我所有的视频端口。但是,由于使用了 Intel GPU,因此性能要差得多。我怎么还能使用 Nvidia 卡并访问视频端口?

谢谢您的帮助。

graphics hdmi 18.04
  • 1 1 个回答
  • 956 Views

1 个回答

  • Voted
  1. Best Answer
    Nakrule
    2019-03-29T10:00:29+08:002019-03-29T10:00:29+08:00

    更改线路options nvidia-drm modeset=1以options nvidia-drm modeset=0解决我的问题。要查找此设置存在于哪个文件中,请运行以下命令:

    • grep modeset /etc/modprobe.d/*
    • grep modeset /lib/modprobe.d/*
    • 1

相关问题

  • 在 VirtualBox 中将 Ubuntu 作为访客机器运行时如何启用视觉效果?[关闭]

  • System76 在他们的笔记本电脑中使用 ATI 卡——好还是坏?

  • Ubuntu 在使用 Intel 显卡 855MG 的 HP Compaq nx9020 上安装后冻结

  • 从休眠状态启动后,Netbook Remix 进入低图形模式 [关闭]

  • 如何让更多人参与为 Ubuntu 改进 X.org?[关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve