Connect 2 monitors to Dell Laptop G3 15 on Fedora 32

If you are trying to connect 2 monitors (HDMI + USB C), you might find that only USB C and the laptop monitors is working in Fedora 32. After I search around, here is the simple solution.

Create a file (any file name end with extension .conf) under folder /etc/X11/xorg.conf.d.

I name it 11-nvidia-prime.conf. (Copy from ubuntu). Enter the lines below and reboot. 

[root@localhost xorg.conf.d]# cat 11-nvidia-prime.conf
Section "OutputClass"
    Identifier "Nvidia Prime"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "IgnoreDisplayDevices" "CRT"
    Option "PrimaryGPU" "Yes"
EndSection

I believe this solution should be working for Fedora 25 and above.

Leave me a message if you have question.

Comments

Popular posts from this blog

Setup mail server with ldap authentication in docker

How to allow non root user to execute hping command ?

Install VMware workstation 11 on Fedora 21 with kernel 3.17