HDMI second display not being detected on Fedora 31

When I connect my second display to Fedora it doesn’t get detected. What should I do?I plug it in and nothing happens. It works fine on Linux Mint. I switched from Mint to Fedora recently since it has precompiled developer packages. Any suggestions? I’m not even sure where to begin. I have an Intel and Nvidia graphics and I’ve managed to install Nvidia drivers from rpmfusion.

This might help you.

https://discussion.fedoraproject.org/t/fedora-31-nivdia-drivers-tripple-monitor-setup-issues-default-no-hdmi-out/71355

And after you get correct Xorg.conf in, make sure that you enable/turn on monitor in settings if it’s turned off (often is).

1 Like

I tried the suggestion. It didn’t work. I tried nvidia-xconfig and now my machine is stuck on this screen.


I can’t even get a TTY terminal.

Does it get stuck on hdmi screen or built-in one? 1 way to get to tty is to boot into text mode, you can do it by adding 3 after kernel parameters in grub, also your it might be good if you can show your xorg.conf file.

This is my xorg.conf

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

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

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

It gets stuck in the built in one.

I ran nvdia-xconfig again. Now the second display works but the built in one isn’t being detected by GNOME.

Make it look like this:

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

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

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "intel"
    VendorName     "Intel Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Then reboot you machine, and then go to settings and there might be option to turn this display on in systems settings.