HP Omen 笔记本电脑上的 HDMI 端口无法使用

HP Omen 笔记本电脑上的 HDMI 端口无法使用

我正在尝试让第二台显示器在我的新 HP Omen/Ubuntu 16.04 上工作,这样我就可以在笔记本电脑上正常工作了。我对 Ubuntu 还比较陌生,我尝试过类似主题中建议的几种方法,但到目前为止都没有奏效(不幸的是,我没有很好地记录我尝试过的方法,但我记得尝试过不同版本的开源 nvidia 驱动程序以及专有驱动程序,我也尝试过使用 xconf,但找不到关于如何操作的正确说明并陷入困境)。我有以下输出。

lspci -v

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
DeviceName: Intel Kabylake HD Graphics GT2
Subsystem: Hewlett-Packard Company Device 8259
Flags: bus master, fast devsel, latency 0, IRQ 133
Memory at b2000000 (64-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915_bpo
Kernel modules: i915_bpo

01:00.0 3D controller: NVIDIA Corporation Device 1c8c (rev a1)
Subsystem: Hewlett-Packard Company Device 8259
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [disabled] [size=128]
Expansion ROM at b4000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau, nvidia_384_drm, nvidia_384

sudo lshw -C display

*-display UNCLAIMED     
       description: 3D controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:b4000000-b407ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915_bpo latency=0
       resources: irq:133 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:5000(size=64)

xrandr

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.06*+  59.93    40.04  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1368x768      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Xorg.0.log

在所有情况下,我都会在插入 HDMI 电缆且第二台显示器打开的情况下运行这些命令(如果这有关系的话)。如果有人能给我指明正确的方向,我很乐意深入研究并了解具体细节。

答案1

我最终通过直接安装从 nvidia.com 下载的驱动程序让它正常工作。然后教程。以前使用旧版本时,这些都出错了,但这次成功了,我现在可以使用第二台显示器了。我很高兴!

相关内容