You are not logged in.

#1 2016-07-25 12:08:55

alibkord
Member
Registered: 2016-07-22
Posts: 4

[SOLVED] External monitors not detected on Thinkpad P50

Thinkpad P50 with Intel+Nvidia cards:

$ lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev ff) (prog-if ff)

When I connect two external monitors, one via HDMI and one via eDPI, xrandr only shows the laptop monitor:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.01*+
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

and xrandr --prop:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff0009e5300600000000
		01190104952213780224109759548e27
		1e505400000001010101010101010101
		0101010101013c3780de703814403020
		360058c21000001a0000000000000000
		00000000000000000000000000fe0042
		4f452048460a202020202020000000fe
		004e5631353646484d2d4e34320a0099
	BACKLIGHT: 600 
		range: (0, 852)
	Backlight: 600 
		range: (0, 852)
	scaling mode: Full aspect 
		supported: None, Full, Center, Full aspect
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
   1920x1080     60.01*+
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

so I loaded a live Ubuntu from USB and both monitors were detected:

Screen 0: minimum 8 x 8, current 5760 x 1200, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1368x768      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1200+1920+0 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    59.93  
   1600x1200     65.00    60.00  
   1680x1050     69.88    59.95    59.88  
   1600x1024     60.17  
   1400x1050     70.00    59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      70.00    60.00  
   1024x768      60.04    70.07    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       70.00    65.00    60.00    60.32    56.25  
   840x525       69.88    60.01    59.88  
   800x512       60.17  
   700x525       70.06    59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    60.00    59.94  
   720x400       70.08  
   680x384       59.80    59.96  
   576x432       70.00    60.06  
   512x384       70.07    60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-2 connected 1920x1080+3840+0 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94    59.93  
   1920x1200     59.95  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     65.00    60.00  
   1680x1050     69.88    59.95    59.88  
   1600x1024     60.17  
   1400x1050     74.76    70.00    59.98  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      75.00    75.00    70.00    60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.05    60.04    75.08    75.03    70.07    60.00  
   960x720       75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   960x600       60.00  
   832x624       74.55  
   960x540       59.99  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   840x525       74.96    69.88    60.01    59.88  
   720x576       50.00  
   800x512       60.17  
   700x525       74.76    70.06    59.98  
   720x480       60.00    59.94  
   640x512       75.02    60.02  
   720x450       59.89  
   640x480       60.00    75.00    72.81    75.00    60.00    59.94  
   720x400       70.08  
   680x384       59.80    59.96  
   576x432       75.00    75.00    70.00    60.06  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       72.19    75.12    60.32    56.34  
   320x240       72.81    75.00    60.05  
DP-3 disconnected
  1920x1080 (0x49) 138.500MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  66.59KHz
        v: height 1080 start 1083 end 1088 total 1111           clock  59.93Hz
  1680x1050 (0x4d) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1680x1050 (0x4e) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1600x1024 (0x4f) 103.125MHz +HSync +VSync
        h: width  1600 start 1600 end 1656 total 1664 skew    0 clock  61.97KHz
        v: height 1024 start 1024 end 1029 total 1030           clock  60.17Hz
  1400x1050 (0x51) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0x52) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0x53) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x960 (0x54) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1360x768 (0x55) 84.750MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock  47.72KHz
        v: height  768 start  771 end  781 total  798           clock  59.80Hz
  1360x768 (0x56) 72.000MHz +HSync -VSync
        h: width  1360 start 1408 end 1440 total 1520 skew    0 clock  47.37KHz
        v: height  768 start  771 end  781 total  790           clock  59.96Hz
  1152x864 (0x58) 81.620MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock  53.70KHz
        v: height  864 start  865 end  868 total  895           clock  60.00Hz
  1024x768 (0x5b) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x64) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x65) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x70) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

I'm a noob (I've used Linux for about 10 years but only Ubuntu and Fedora, and OpenSuse before them), so I'm not very good at getting under the GUI surface to fix things.
Installing and running Arch has been an amazing learning experience so far, but this one thing I can't seem to figure out.
Thanks for your help.

Last edited by alibkord (2016-07-30 04:56:00)

Offline

#2 2016-07-25 13:45:22

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] External monitors not detected on Thinkpad P50

You will have to provide more information, does it work only with one external monitor? Which drivers are you using? Any error messages on dmesg about the gpus?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-07-25 23:55:26

alibkord
Member
Registered: 2016-07-22
Posts: 4

Re: [SOLVED] External monitors not detected on Thinkpad P50

does it work only with one external monitor?

No, same story with one monitor (HDMI or DP).

Which drivers are you using?

Sorry, forgot to include that info:

$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
	Subsystem: Lenovo Device 222e
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev ff)
	Kernel modules: nouveau, nvidia_drm, nvidia
$ sudo pacman -Ss nvidia | grep installed
extra/libvdpau 1.1.1-2 [installed]
extra/libxnvctrl 367.27-2 [installed]
extra/nvidia 367.27-1 [installed]
extra/nvidia-settings 367.27-2 [installed]
extra/nvidia-utils 367.27-1 [installed]
community/bumblebee 3.2.1-11 [installed]
multilib/lib32-nvidia-utils 367.27-1 [installed]
$ sudo pacman -Ss bumble | grep installed
community/bumblebee 3.2.1-11 [installed]
community/primus 20151110-5 [installed]
multilib/lib32-primus 20151110-3 [installed]
$ sudo pacman -Ss intel | grep installed
extra/intel-ucode 20160607-2 [installed]
extra/mesa 11.2.2-1 [installed]
extra/xf86-video-intel 1:2.99.917+676+g26f8ab5-1 (xorg-drivers xorg) [installed]
multilib/lib32-mesa 11.2.2-1 [installed]
$ cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"
EndSection
$ cat /etc/X11/xorg.conf.d/20-nvidia.conf 
Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "NoLogo" "true"
        #Option "UseEDID" "false"
        #Option "ConnectedMonitor" "DFP"
EndSection
$ cat ~/.nvidia-settings-rc 
RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
UpdateRulesOnProfileNameChange = Yes
Timer = Memory_Used_(GPU_0),Yes,3000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
$ cat /etc/modprobe.d/bbswitch.conf 
options bbswitch load_state=0 unload_state=1
$ cat /etc/modprobe.d/nouveau_blacklist.conf 
blacklist nouveau
$ cat /etc/mkinitcpio.conf 
MODULES="nvme i915"
BINARIES=""
FILES=""
HOOKS="base udev autodetect modconf block keyboard encrypt filesystems fsck"

The lib32 stuff is because I have Steam Linux running on my laptop (no problems there). Bumblebee seems to work fine too.

Hope this extra info helps. thanks

Offline

#4 2016-07-26 08:13:29

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] External monitors not detected on Thinkpad P50

I don't have experience with nvidia but from your description it sounds like you might want to try this https://wiki.archlinux.org/index.php/Bu … VIDIA_chip

The alternative is reverse prime https://wiki.archlinux.org/index.php/PR … ME]Reverse PRIME however it does seem to require you to use the open source drivers.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2016-07-27 01:07:27

alibkord
Member
Registered: 2016-07-22
Posts: 4

Re: [SOLVED] External monitors not detected on Thinkpad P50

Thanks a lot. I followed the instructions in the first link you posted and it worked! smile

In /etc/bumblebee/xorg.conf.nvidia change the lines UseEDID and Option "AutoAddDevices" "false" to "true", if you are having trouble with device resolution detection. You will also need to comment out the line Option "UseDisplayDevices" "none" in order to use the display connected to the NVIDIA GPU.

Then just ran "intel-virtual-output" with the monitors attached.

Offline

#6 2016-07-27 09:35:41

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] External monitors not detected on Thinkpad P50

Please edit your first post and add [Solved] to the title.

https://wiki.archlinux.org/index.php/Co … ow_to_post


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB