Can't detect external monitor on fedora 31

Hi,

I am new to Fedora and Linux in general. I have a Lenovo P50 with Fedora 31 that I have been using for daily work, but I can’t make it detect an external monitor.

I have tried some solutions that I found in this forums, and maybe is because my lack of knowledge but none have worked.

Can you help me figure out what’s wrong? Or what can I try?

Here is the general information about my pc,

card model

 ✝  /etc/X11/xorg.conf.d  /sbin/lspci | grep -e VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

nvidia modules

✝  ~  lsmod |grep -i nvidia
nvidia_drm             57344  2  
nvidia_modeset       1118208  1 nvidia_drm
nvidia_uvm           1081344  0
nvidia              20504576  2 nvidia_uvm,nvidia_modeset
ipmi_msghandler       118784  2 ipmi_devintf,nvidia
drm_kms_helper        237568  2 nvidia_drm,i915
drm                   598016  14 drm_kms_helper,nvidia_drm,i915

GPU Info

 ✘ ✝  ~  nvidia-smi
Wed May 20 11:49:25 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82       Driver Version: 440.82       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro M1000M       Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   43C    P8    N/A /  N/A |      1MiB /  2002MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Contents of X11 and xorg.conf.d directories

 ✝  /etc/X11  ls
applnk      Xmodmap                       xorg.conf.nvidia-xconfig-original
fontpath.d  xorg.conf.d                   Xresources
xinit       xorg.conf.nvidia_uninstalled  Xsession.d

 ✝  /etc/X11/xorg.conf.d  ls
00-keyboard.conf  20-intel.conf  nvidia.conf.bk

That nvidia.conf.bk is there because I tried this https://ask.fedoraproject.org/t/fedora-31-nvidia-prime-laptop-gnome-display-settings-and-xrandr-fails-to-detect-external-monitor-but-nvidia-settings-can-see-it/4204/7 solution but didn’t work. After restarting, it showed the booting up process but it never showed the login screen.

Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "SLI" "Auto"
	Option "BaseMosaic" "on"
	Option "PrimaryGPU" "yes"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Option "AllowNVIDIAGPUScreens"
EndSection

Thank you for any information or help

For anyone who comes across this post, the problem was the 20-intel.conf file. I just needed to delete it and use the nvidia.conf

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.