Внешний монитор не подключен

Я недавно установил Ubuntu 18.04 в свой ноутбук вместе с Windows 10. К сожалению, мой внешний монитор, подключенный к HDMI-1, не работает в Ubuntu (не обнаружено). Я перепробовал почти все здесь и здесь . Он связан с HDMI-to-VGA_Adapter . Моя видеокарта - GeForce GTX 1650, и я попытался загрузить этот драйверы от NVidia. Кроме того, как вы можете видеть на рисунке, в настройках экрана даже не отображается макет экрана.

В Ubuntu 14.04 (мой старый ноутбук) я решал подобную проблему в прошлом, используя что-то вроде:

echo $myNewMode
## Output: "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr --addmode eDP-1 $myNewModeName
xrandr --output eDP-1 --mode $myNewModeName --output HDMI-1 --auto --right-of eDP-1

Но это тоже не сработало. Есть идеи?

enter image description here

ОБНОВЛЕНИЕ: Я запустил X -configure (работал только основной экран), как упоминание здесь и послесловия, которые я запустил nvidia-xconfig (работает только HDMI). Почему-то кажется, что nvidia взяла самый последний созданный файл xorg.conf.new и сделал из него собственный xorg.conf. Тем не менее, если я отключу HDMI все пусто. По крайней мере, теперь я вижу одну схему экрана (HDMI) и содержимое в окне приложения nvidia x server settings (раньше оно было пустым) enter image description here

Вот самое последнее xorg.conf файл:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 440.26

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "built-ins"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                 # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "Backlight"             # <str>
        #Option     "CustomEDID"            # <str>
        #Option     "DRI"                   # <str>
        #Option     "Present"               # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "HWRotation"            # [<bool>]
        #Option     "VSync"                 # [<bool>]
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"          # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "ReprobeOutputs"        # [<bool>]
        #Option     "XvMC"                  # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "VirtualHeads"          # <i>
        #Option     "TearFree"              # [<bool>]
        #Option     "PerCrtcPixmaps"        # [<bool>]
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"      # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "BufferCache"           # [<bool>]
    Identifier     "Card0"
    Driver         "nvidia"
    BusID          "PCI:0:2:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "WrappedFB"             # [<bool>]
        #Option     "GLXVBlank"             # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapLimit"             # <i>
        #Option     "AsyncUTSDFS"           # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "DRI"                   # <i>
    Identifier     "Card1"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Последний вывод xrandr: xrandr

2
задан 20 October 2019 в 17:51

1 ответ

Наконец, я заставил его работать над двойным экраном. Я сделал много шагов и являюсь одним из решений, которое заставляет Вас задаться вопросом, "Оно работает, как??". Мои последние шаги были:

1 - Я позволил/выбрал gdm3 вместо lightdm как менеджер:

sudo gdm3
sudo dpkg-reconfigure gdm3

2 - Войдите в следующие шаги режима восстановления здесь.

3 - Полностью удалите файл rm -rf /etc/X11/xorg.conf

4 - Выполненный X -configure, но НЕ заменяют файл, который был создан /root/xorg.conf.new в /etc/X11/xorg.conf.

5 - Перезагрузка в нормальный режим и я ожидал что-то испорченное, но внезапно парный монитор был активен и хорошо работал.

В настоящее время это работает ни с кем xorg.conf файл.

enter image description here enter image description here enter image description here enter image description here

Я немного боюсь касаться его прямо сейчас, хотя это, я думаю, что должен попытаться воссоздать xorg.conf файл, возможно, через Nvidia?! Я надеюсь, что это могло быть полезно для других с подобной проблемой.

Кроме того, если я включаю безопасную начальную загрузку на BIOS, возвращается к нулевому и парному монитору, не работает, хотя та человечность работает правильно. Возможно, потребность к драйверам со знаком в ядро или что-то, я не уверен.

Если у кого-либо будет какая-либо идея о том, что на самом деле произошло, то я буду рад услышать.

0
ответ дан 2 December 2019 в 05:54

Другие вопросы по тегам:

Похожие вопросы: