HDMI 连接不工作

HDMI 连接不工作

我一直在尝试将笔记本电脑与电视建立 HDMI 连接。我发现有很多类似的帖子,但我没有找到对我有用的。系统规格为:Intel® Core™ i7-8750H CPU、GeForce GTX 1060、Ubuntu 18.04。

我已经安装了最新的 Nvidia 驱动程序(410),并尝试使用我安装的原始驱动程序(390)并尝试使用 Nouveau。

xrandr 的输出是:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 214mm

然后是一长串的分辨率,没有提到 HDMI 或 VGA。我尝试过连接和断开 HDMI 电缆。然后我发现了一个问题,引导我到这里;https://wiki.ubuntu.com/X/Config/HDMI

get-edid | parse-edid 的输出看起来更有希望;

    This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 8
No EDID on bus 9
2 potential busses found: 7 10
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
256-byte EDID successfully retrieved from i2c bus 7
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
    Identifier "PHILIPS FTV"
    ModelName "PHILIPS FTV"
    VendorName "PHL"
    # Monitor Manufactured week 20 of 2015
    # EDID version 1.3
    # Digital Display
    DisplaySize 640 360
    Gamma 2.20
    Option "DPMS" "false"
    Horizsync 30-83
    VertRefresh 56-76
    # Maximum pixel clock is 170MHz
    #Not giving standard mode: 1280x1024, 60Hz

    #Extension block found. Parsing...
    Modeline    "Mode 16" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync 
    Modeline    "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
    Modeline    "Mode 1" 84.75 1360 1432 1568 1776 768 771 776 798 -hsync -vsync 
    Modeline    "Mode 2" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 3" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 4" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 5" 74.250 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 6" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 7" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
    Modeline    "Mode 8" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
    Modeline    "Mode 9" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline    "Mode 10" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
    Modeline    "Mode 11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline    "Mode 12" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline    "Mode 13" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
    Modeline    "Mode 14" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
    Modeline    "Mode 15" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
    Modeline    "Mode 17" 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync 
    Modeline    "Mode 18" 74.25 1920 2448 2492 2640 540 542 547 562 +hsync +vsync interlace
    Modeline    "Mode 19" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync 
    Option "PreferredMode" "Mode 16"
EndSection

唯一的问题是我完全不知道如何处理这些信息。我在下面提到的任何位置都找不到 xorg.conf 文件,# man xorg.conf所以我打开了 Nvidia X Server 并创建了一个。我现在的问题是我应该如何使用从 获得的信息来编辑它get-edid | parse-edid。这是否值得尝试,还是我走错了路?我的 xorg.conf 的内容如下。感谢您花时间阅读此/帮助。

    # nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 415.27

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

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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 "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1060"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    DefaultDepth    24
    Option         "UseDisplayDevice" "none"
    SubSection     "Display"
        Virtual     1920 1080
        Depth       24
    EndSubSection
EndSection

相关内容