NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dfsramos

NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

Hi everyone,

I'm kind of new here so I'm sorry if I'm bringing up an already discussed topic, but I've searched the forums (learned a lot in the process) but couldn't find a solution that fits my problem.

Essentially I have an MSI GP62-2QE laptop which has integrated INTEL GPU and a dedicated NVidia GTX950M GPU.

I've installed Linux Mint 19 and after installing 3rd party drivers, NVidia drivers and updating everything listed on the Update Manager it uses the INTEL GPU by default and all 3 displays work fine:

1 - Laptop display
2 - External BENQ GL2460 connected by HDMI to the laptop HDMI port
3 - External BENQ GL2460 connected by VGA to the laptop MiniDP port using a MiniDP to VGA adapter

However, if I open the NVidia X Server Settings and select "NVIDIA (Performance Mode)" as my GPU to be used, after I logout and log back in only displays 1 and 2 (see above) work. Display 3 isn't even detected.

I hope someone can help me, and for this I'm providing what I've see people asking for a lot of times:

a) inxi -SMCGx

Code: Select all

System:    Host: daniel-GP62-2QE Kernel: 4.15.0-43-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Micro-Star product: GP62 2QE v: REV:1.0 serial: N/A
           Mobo: Micro-Star model: MS-16J3 v: REV:0.B serial: N/A
           UEFI: American Megatrends v: E16J3IMS.110 date: 11/21/2015
CPU:       Dual core Intel Core i5-4210H (-MT-MCP-) 
           arch: Haswell rev.3 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11572
           clock speeds: max: 3500 MHz 1: 1332 MHz 2: 1506 MHz 3: 1494 MHz
           4: 1507 MHz
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 950M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.01hz, 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 950M/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.77 Direct Render: Yes
b) xrandr--verbose

Code: Select all

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+0+0 (0x47) normal (normal left inverted right x axis y axis) 344mm x 193mm
	Identifier: 0x42
	Timestamp:  25062
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      1 0 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff000daed21500000000
		1219010495221378024205ac4f44ac28
		0c505400000001010101010101010101
		010101010101b43b804a713834406442
		6a0058c110000018000000fe004e3135
		364847452d45414c0a20000000fe0043
		4d4e0a202020202020202020000000fe
		004e3135364847452d45414c0a2000df
	PRIME Synchronization: 1 
		supported: 0, 1
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  1920x1080 (0x47) 152.840MHz -HSync -VSync *current +preferred
        h: width  1920 start 2020 end 2086 total 2250 skew    0 clock  67.93KHz
        v: height 1080 start 1086 end 1096 total 1132           clock  60.01Hz
  1920x1080 (0x48) 356.375MHz -HSync +VSync DoubleScan
        h: width  1920 start 2080 end 2288 total 2656 skew    0 clock 134.18KHz
        v: height 1080 start 1081 end 1084 total 1118           clock  60.01Hz
  1920x1080 (0x49) 266.500MHz +HSync -VSync DoubleScan
        h: width  1920 start 1944 end 1960 total 2000 skew    0 clock 133.25KHz
        v: height 1080 start 1081 end 1084 total 1111           clock  59.97Hz
  1920x1080 (0x4a) 173.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz
  1920x1080 (0x4b) 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 (0x4c) 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 (0x4d) 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 (0x4e) 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 (0x4f) 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
  1600x900 (0x50) 246.000MHz -HSync +VSync DoubleScan
        h: width  1600 start 1728 end 1900 total 2200 skew    0 clock 111.82KHz
        v: height  900 start  901 end  904 total  932           clock  59.99Hz
  1600x900 (0x51) 186.500MHz +HSync -VSync DoubleScan
        h: width  1600 start 1624 end 1640 total 1680 skew    0 clock 111.01KHz
        v: height  900 start  901 end  904 total  926           clock  59.94Hz
  1600x900 (0x52) 118.250MHz -HSync +VSync
        h: width  1600 start 1696 end 1856 total 2112 skew    0 clock  55.99KHz
        v: height  900 start  903 end  908 total  934           clock  59.95Hz
  1600x900 (0x53) 97.500MHz +HSync -VSync
        h: width  1600 start 1648 end 1680 total 1760 skew    0 clock  55.40KHz
        v: height  900 start  903 end  908 total  926           clock  59.82Hz
  1280x1024 (0x54) 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 (0x55) 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
  1400x900 (0x56) 103.500MHz -HSync +VSync
        h: width  1400 start 1480 end 1624 total 1848 skew    0 clock  56.01KHz
        v: height  900 start  903 end  913 total  934           clock  59.96Hz
  1400x900 (0x57) 86.500MHz +HSync -VSync
        h: width  1400 start 1448 end 1480 total 1560 skew    0 clock  55.45KHz
        v: height  900 start  903 end  913 total  926           clock  59.88Hz
  1280x960 (0x58) 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
  1440x810 (0x59) 198.125MHz -HSync +VSync DoubleScan
        h: width  1440 start 1548 end 1704 total 1968 skew    0 clock 100.67KHz
        v: height  810 start  811 end  814 total  839           clock  60.00Hz
  1440x810 (0x5a) 151.875MHz +HSync -VSync DoubleScan
        h: width  1440 start 1464 end 1480 total 1520 skew    0 clock  99.92KHz
        v: height  810 start  811 end  814 total  833           clock  59.97Hz
  1368x768 (0x5b) 85.250MHz -HSync +VSync
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
  1368x768 (0x5c) 72.250MHz +HSync -VSync
        h: width  1368 start 1416 end 1448 total 1528 skew    0 clock  47.28KHz
        v: height  768 start  771 end  781 total  790           clock  59.85Hz
  1360x768 (0x5d) 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 (0x5e) 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
  1280x800 (0x5f) 174.250MHz -HSync +VSync DoubleScan
        h: width  1280 start 1380 end 1516 total 1752 skew    0 clock  99.46KHz
        v: height  800 start  801 end  804 total  829           clock  59.99Hz
  1280x800 (0x60) 134.250MHz +HSync -VSync DoubleScan
        h: width  1280 start 1304 end 1320 total 1360 skew    0 clock  98.71KHz
        v: height  800 start  801 end  804 total  823           clock  59.97Hz
  1280x800 (0x61) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x800 (0x62) 71.000MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  49.31KHz
        v: height  800 start  803 end  809 total  823           clock  59.91Hz
  1152x864 (0x63) 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
  1280x720 (0x64) 156.125MHz -HSync +VSync DoubleScan
        h: width  1280 start 1376 end 1512 total 1744 skew    0 clock  89.52KHz
        v: height  720 start  721 end  724 total  746           clock  60.00Hz
  1280x720 (0x65) 120.750MHz +HSync -VSync DoubleScan
        h: width  1280 start 1304 end 1320 total 1360 skew    0 clock  88.79KHz
        v: height  720 start  721 end  724 total  740           clock  59.99Hz
  1280x720 (0x66) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1280x720 (0x67) 63.750MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  44.27KHz
        v: height  720 start  723 end  728 total  741           clock  59.74Hz
  1024x768 (0x68) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x69) 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
  960x720 (0x6a) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x6b) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x6c) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  1024x576 (0x6d) 98.500MHz -HSync +VSync DoubleScan
        h: width  1024 start 1092 end 1200 total 1376 skew    0 clock  71.58KHz
        v: height  576 start  577 end  580 total  597           clock  59.95Hz
  1024x576 (0x6e) 78.375MHz +HSync -VSync DoubleScan
        h: width  1024 start 1048 end 1064 total 1104 skew    0 clock  70.99KHz
        v: height  576 start  577 end  580 total  592           clock  59.96Hz
  1024x576 (0x6f) 46.500MHz -HSync +VSync
        h: width  1024 start 1064 end 1160 total 1296 skew    0 clock  35.88KHz
        v: height  576 start  579 end  584 total  599           clock  59.90Hz
  1024x576 (0x70) 42.000MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  35.47KHz
        v: height  576 start  579 end  584 total  593           clock  59.82Hz
  960x600 (0x71) 96.625MHz -HSync +VSync DoubleScan
        h: width   960 start 1028 end 1128 total 1296 skew    0 clock  74.56KHz
        v: height  600 start  601 end  604 total  622           clock  59.93Hz
  960x600 (0x72) 77.000MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  74.04KHz
        v: height  600 start  601 end  604 total  617           clock  60.00Hz
  960x540 (0x73) 86.500MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1124 total 1288 skew    0 clock  67.16KHz
        v: height  540 start  541 end  544 total  560           clock  59.96Hz
  960x540 (0x74) 69.250MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  66.59KHz
        v: height  540 start  541 end  544 total  555           clock  59.99Hz
  960x540 (0x75) 40.750MHz -HSync +VSync
        h: width   960 start  992 end 1088 total 1216 skew    0 clock  33.51KHz
        v: height  540 start  543 end  548 total  562           clock  59.63Hz
  960x540 (0x76) 37.250MHz +HSync -VSync
        h: width   960 start 1008 end 1040 total 1120 skew    0 clock  33.26KHz
        v: height  540 start  543 end  548 total  556           clock  59.82Hz
  800x600 (0x77) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x78) 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 (0x79) 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
  840x525 (0x7a) 73.125MHz -HSync +VSync DoubleScan
        h: width   840 start  892 end  980 total 1120 skew    0 clock  65.29KHz
        v: height  525 start  526 end  529 total  544           clock  60.01Hz
  840x525 (0x7b) 59.500MHz +HSync -VSync DoubleScan
        h: width   840 start  864 end  880 total  920 skew    0 clock  64.67KHz
        v: height  525 start  526 end  529 total  540           clock  59.88Hz
  864x486 (0x7c) 32.500MHz -HSync +VSync
        h: width   864 start  888 end  968 total 1072 skew    0 clock  30.32KHz
        v: height  486 start  489 end  494 total  506           clock  59.92Hz
  864x486 (0x7d) 30.500MHz +HSync -VSync
        h: width   864 start  912 end  944 total 1024 skew    0 clock  29.79KHz
        v: height  486 start  489 end  494 total  500           clock  59.57Hz
  800x512 (0x7e) 51.562MHz +HSync +VSync DoubleScan
        h: width   800 start  800 end  828 total  832 skew    0 clock  61.97KHz
        v: height  512 start  512 end  514 total  515           clock  60.17Hz
  700x525 (0x7f) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  800x450 (0x80) 59.125MHz -HSync +VSync DoubleScan
        h: width   800 start  848 end  928 total 1056 skew    0 clock  55.99KHz
        v: height  450 start  451 end  454 total  467           clock  59.95Hz
  800x450 (0x81) 48.750MHz +HSync -VSync DoubleScan
        h: width   800 start  824 end  840 total  880 skew    0 clock  55.40KHz
        v: height  450 start  451 end  454 total  463           clock  59.82Hz
  640x512 (0x82) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  720x450 (0x83) 53.250MHz -HSync +VSync DoubleScan
        h: width   720 start  760 end  836 total  952 skew    0 clock  55.93KHz
        v: height  450 start  451 end  454 total  467           clock  59.89Hz
  700x450 (0x84) 51.750MHz -HSync +VSync DoubleScan
        h: width   700 start  740 end  812 total  924 skew    0 clock  56.01KHz
        v: height  450 start  451 end  456 total  467           clock  59.96Hz
  700x450 (0x85) 43.250MHz +HSync -VSync DoubleScan
        h: width   700 start  724 end  740 total  780 skew    0 clock  55.45KHz
        v: height  450 start  451 end  456 total  463           clock  59.88Hz
  640x480 (0x86) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x87) 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
  720x405 (0x88) 22.500MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  25.11KHz
        v: height  405 start  408 end  413 total  422           clock  59.51Hz
  720x405 (0x89) 21.750MHz +HSync -VSync
        h: width   720 start  768 end  800 total  880 skew    0 clock  24.72KHz
        v: height  405 start  408 end  413 total  419           clock  58.99Hz
  684x384 (0x8a) 42.625MHz -HSync +VSync DoubleScan
        h: width   684 start  720 end  788 total  892 skew    0 clock  47.79KHz
        v: height  384 start  385 end  390 total  399           clock  59.88Hz
  684x384 (0x8b) 36.125MHz +HSync -VSync DoubleScan
        h: width   684 start  708 end  724 total  764 skew    0 clock  47.28KHz
        v: height  384 start  385 end  390 total  395           clock  59.85Hz
  680x384 (0x8c) 42.375MHz -HSync +VSync DoubleScan
        h: width   680 start  716 end  784 total  888 skew    0 clock  47.72KHz
        v: height  384 start  385 end  390 total  399           clock  59.80Hz
  680x384 (0x8d) 36.000MHz +HSync -VSync DoubleScan
        h: width   680 start  704 end  720 total  760 skew    0 clock  47.37KHz
        v: height  384 start  385 end  390 total  395           clock  59.96Hz
  640x400 (0x8e) 41.750MHz -HSync +VSync DoubleScan
        h: width   640 start  676 end  740 total  840 skew    0 clock  49.70KHz
        v: height  400 start  401 end  404 total  415           clock  59.88Hz
  640x400 (0x8f) 35.500MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  49.31KHz
        v: height  400 start  401 end  404 total  411           clock  59.98Hz
  576x432 (0x90) 40.810MHz -HSync +VSync DoubleScan
        h: width   576 start  608 end  668 total  760 skew    0 clock  53.70KHz
        v: height  432 start  432 end  434 total  447           clock  60.06Hz
  640x360 (0x91) 37.250MHz -HSync +VSync DoubleScan
        h: width   640 start  672 end  736 total  832 skew    0 clock  44.77KHz
        v: height  360 start  361 end  364 total  374           clock  59.86Hz
  640x360 (0x92) 31.875MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  44.27KHz
        v: height  360 start  361 end  364 total  370           clock  59.83Hz
  640x360 (0x93) 18.000MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  22.50KHz
        v: height  360 start  363 end  368 total  376           clock  59.84Hz
  640x360 (0x94) 17.750MHz +HSync -VSync
        h: width   640 start  688 end  720 total  800 skew    0 clock  22.19KHz
        v: height  360 start  363 end  368 total  374           clock  59.32Hz
  512x384 (0x95) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  512x288 (0x96) 23.250MHz -HSync +VSync DoubleScan
        h: width   512 start  532 end  580 total  648 skew    0 clock  35.88KHz
        v: height  288 start  289 end  292 total  299           clock  60.00Hz
  512x288 (0x97) 21.000MHz +HSync -VSync DoubleScan
        h: width   512 start  536 end  552 total  592 skew    0 clock  35.47KHz
        v: height  288 start  289 end  292 total  296           clock  59.92Hz
  480x270 (0x98) 20.375MHz -HSync +VSync DoubleScan
        h: width   480 start  496 end  544 total  608 skew    0 clock  33.51KHz
        v: height  270 start  271 end  274 total  281           clock  59.63Hz
  480x270 (0x99) 18.625MHz +HSync -VSync DoubleScan
        h: width   480 start  504 end  520 total  560 skew    0 clock  33.26KHz
        v: height  270 start  271 end  274 total  278           clock  59.82Hz
  400x300 (0x9a) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x9b) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  432x243 (0x9c) 16.250MHz -HSync +VSync DoubleScan
        h: width   432 start  444 end  484 total  536 skew    0 clock  30.32KHz
        v: height  243 start  244 end  247 total  253           clock  59.92Hz
  432x243 (0x9d) 15.250MHz +HSync -VSync DoubleScan
        h: width   432 start  456 end  472 total  512 skew    0 clock  29.79KHz
        v: height  243 start  244 end  247 total  250           clock  59.57Hz
  320x240 (0x9e) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
  360x202 (0x9f) 11.250MHz -HSync +VSync DoubleScan
        h: width   360 start  372 end  404 total  448 skew    0 clock  25.11KHz
        v: height  202 start  204 end  206 total  211           clock  59.51Hz
  360x202 (0xa0) 10.875MHz +HSync -VSync DoubleScan
        h: width   360 start  384 end  400 total  440 skew    0 clock  24.72KHz
        v: height  202 start  204 end  206 total  209           clock  59.13Hz
  320x180 (0xa1)  9.000MHz -HSync +VSync DoubleScan
        h: width   320 start  332 end  360 total  400 skew    0 clock  22.50KHz
        v: height  180 start  181 end  184 total  188           clock  59.84Hz
  320x180 (0xa2)  8.875MHz +HSync -VSync DoubleScan
        h: width   320 start  344 end  360 total  400 skew    0 clock  22.19KHz
        v: height  180 start  181 end  184 total  187           clock  59.32Hz
DP-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  25062
	Subpixel:   unknown
	Clones:     HDMI-1-1
	CRTCs:      1 0 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x44
	Timestamp:  25062
	Subpixel:   unknown
	Clones:     DP-1-1
	CRTCs:      1 0 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1-2 connected primary 1920x1080+1920+0 (0xa3) normal (normal left inverted right x axis y axis) 531mm x 299mm
	Identifier: 0x45
	Timestamp:  25062
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      1 0 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0009d1ce7845540000
		2617010380351e782e6b35a455559f27
		0c5054a56b80d1c081c081008180a9c0
		b30001010101023a801871382d40582c
		4500132b2100001e000000ff00323944
		3130373634534c300a20000000fd0032
		4c1e5311000a202020202020000000fc
		0042656e5120474c323436300a20017f
		020322f14f9005040302011112131406
		0715161f2309070765030c0010008301
		0000023a801871382d40582c4500132b
		2100001f011d8018711c1620582c2500
		132b2100009f011d007251d01e206e28
		5500132b2100001e8c0ad08a20e02d10
		103e9600132b21000018000000000000
		000000000000000000000000000000e7
	PRIME Synchronization: 1 
		supported: 0, 1
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  1920x1080 (0xa3) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0xad) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0xae) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080i (0xaf) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0xb0) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  50.00Hz
  1920x1080i (0xb1) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  1680x1050 (0x4d) 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
  1600x900 (0xa4) 108.000MHz +HSync +VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock  60.00KHz
        v: height  900 start  901 end  904 total 1000           clock  60.00Hz
  1280x1024 (0xa5) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x54) 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
  1280x800 (0x62) 71.000MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  49.31KHz
        v: height  800 start  803 end  809 total  823           clock  59.91Hz
  1152x864 (0xa6) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1280x720 (0xa7) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0xb2) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0xb3) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0xa8) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x69) 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
  832x624 (0xa9) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0xaa) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x78) 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
  720x576 (0xb4) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x576i (0xb5) 13.500MHz -HSync -VSync Interlace
        h: width   720 start  732 end  795 total  864 skew    0 clock  15.62KHz
        v: height  576 start  580 end  586 total  625           clock  50.00Hz
  720x480 (0xb6) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0xb7) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  720x480i (0xb8) 13.514MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.75KHz
        v: height  480 start  488 end  494 total  525           clock  60.00Hz
  720x480i (0xb9) 13.500MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.73KHz
        v: height  480 start  488 end  494 total  525           clock  59.94Hz
  640x480 (0xab) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0xba) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x87) 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
  720x400 (0xac) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
Looking forward to hear from you guys and thank you very much in advance for taking your time to even go through this.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

Post the Xorg.0.log file. Use this command to open it: xed /var/log/Xorg.0.log

If there is a problem posting that long file, then it can be uploaded to terminal.com pastebin using this command:
cat /var/log/Xorg.0.log | nc termbin.com 9999

Post the URL link that displays in the Terminal window
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by trytip »

try" https://www.linuxbabe.com/desktop-linux ... ard-ubuntu
prime-select query
sudo prime-select nvidia

add this to your xed admin:///etc/default/grub
Change this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

To this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Then update grub and reboot: sudo update-grub; reboot
Image
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

roblm wrote: Thu Jan 03, 2019 9:37 am Post the Xorg.0.log file. Use this command to open it: xed /var/log/Xorg.0.log

If there is a problem posting that long file, then it can be uploaded to terminal.com pastebin using this command:
cat /var/log/Xorg.0.log | nc termbin.com 9999

Post the URL link that displays in the Terminal window
Here you go

https://termbin.com/pns9
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

trytip wrote: Thu Jan 03, 2019 1:00 pm try" https://www.linuxbabe.com/desktop-linux ... ard-ubuntu
prime-select query
sudo prime-select nvidia

add this to your xed admin:///etc/default/grub
Change this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

To this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Then update grub and reboot: sudo update-grub; reboot
Sorry, this didn't work. :(
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by trytip »

do you have any nvidia named files in /etc/modprobe.d/ i have one
/etc/modprobe.d/nvidia-340.conf

Code: Select all

# This file was installed by nvidia-340
# Do not edit this file manually

blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
Image
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

This line may be the source of the problem, from the /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf file:
Option "IgnoreDisplayDevices" "CRT"

Use this command in the Terminal to open that file for editing: xed admin:///usr/share/X11/xorg.conf.d/11-nvidia-prime.conf

Add a pound sign (#) in front of the line to disable it, so it will now look like this:
# Option "IgnoreDisplayDevices" "CRT"


However, another problem is that the gpu-manager will probably overwrite that file after rebooting and restore the original one. To prevent that, use this command to lock the file and then reboot:
sudo chattr +i /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf


If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to unlock the file and reboot: sudo chattr -i /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf; reboot
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

roblm wrote: Fri Jan 04, 2019 3:06 pm This line may be the source of the problem, from the /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf file:
Option "IgnoreDisplayDevices" "CRT"

Use this command in the Terminal to open that file for editing: xed admin:///usr/share/X11/xorg.conf.d/11-nvidia-prime.conf

Add a pound sign (#) in front of the line to disable it, so it will now look like this:
# Option "IgnoreDisplayDevices" "CRT"


However, another problem is that the gpu-manager will probably overwrite that file after rebooting and restore the original one. To prevent that, use this command to lock the file and then reboot:
sudo chattr +i /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf


If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to unlock the file and reboot: sudo chattr -i /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf; reboot
Hi everyone,

Sorry for late reply, but I got caught up on other stuff on the last couple of weeks.

I'm back to this and, unfortunately roblm commenting that line didn't fix the issue. I commented it out, rebooted without any issues, confirmed it still remains commented out, but the 3rd display (the one connected to the display port through a DP -> VGA adapter) still doesn't work when I have NVidia setup as the card in use.

Any further ideas?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

Try this method. The Nvidia GPU should be selected. Use this command to create an xorg.conf file:
sudo touch /etc/X11/xorg.conf

Open the file for editing: xed admin:///etc/X11/xorg.conf

Add these lines:

Code: Select all

Section "Monitor"
   Identifier    "Monitor0"
EndSection

Section "Monitor"
   Identifier    "Monitor1"
EndSection

Section "Monitor"
   Identifier    "Monitor2"
   Option "Enable" "true"
   Option "Ignore" "false"
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "nvidia"   			
   BusID  "PCI:1:0:0"
EndSection

Section "Device"
   Identifier   "Device1"
   Driver   "modesetting"   			
   Option "Monitor-eDP-1-1" "Monitor0"
   Option "Monitor-HDMI-1-2" "Monitor1"
   Option "Monitor-DP-1-1" "Monitor2"
   BusID  "PCI:0:2:0"
EndSection
Log out and back in. If the third display is not working, then check the output of xrandr to see if DP-1-1 is connected.

If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter tty1 and use this command to remove the xorg.conf file and reboot: sudo rm /etc/X11/xorg.conf; reboot

This file should only be used with the Nvidia GPU selected. If you want to switch to the Intel GPU, then use this command before switching, to disable it: sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

roblm wrote: Mon Jan 21, 2019 12:18 pm Try this method. The Nvidia GPU should be selected. Use this command to create an xorg.conf file:
sudo touch /etc/X11/xorg.conf

Open the file for editing: xed admin:///etc/X11/xorg.conf

Add these lines:

Code: Select all

Section "Monitor"
   Identifier    "Monitor0"
EndSection

Section "Monitor"
   Identifier    "Monitor1"
EndSection

Section "Monitor"
   Identifier    "Monitor2"
   Option "Enable" "true"
   Option "Ignore" "false"
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "nvidia"   			
   BusID  "PCI:1:0:0"
EndSection

Section "Device"
   Identifier   "Device1"
   Driver   "modesetting"   			
   Option "Monitor-eDP-1-1" "Monitor0"
   Option "Monitor-HDMI-1-2" "Monitor1"
   Option "Monitor-DP-1-1" "Monitor2"
   BusID  "PCI:0:2:0"
EndSection
Log out and back in. If the third display is not working, then check the output of xrandr to see if DP-1-1 is connected.

If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter tty1 and use this command to remove the xorg.conf file and reboot: sudo rm /etc/X11/xorg.conf; reboot

This file should only be used with the Nvidia GPU selected. If you want to switch to the Intel GPU, then use this command before switching, to disable it: sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
Hi mate,

Tried this but the 3rd display still didn't work.
The output of xrandr is as follows:

Code: Select all

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
eDP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1-1 disconnected (normal left inverted right x axis y axis)
   1368x768      59.88  
   1360x768      59.80  
   1280x800      59.81  
   1152x864      60.00  
   1280x720      59.86  
   1024x768      60.00  
   1024x576      59.90  
   960x540       59.63  
   800x600       60.32  
   800x450       59.82  
   700x450       59.88  
   640x480       59.94  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32  
   320x240       60.05  
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
Since I need the 3 displays to work I've backed up the xorg.conf as per the last command you provided.

Any more ideas?

EDIT: added the full xrandr output rather than just the DP1-1 part.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

Use the instructions in my second post to disable the line Option "IgnoreDisplayDevices" "CRT"
and lock the file 11-nvidia-prime.conf

Then use the xorg.conf file again. If you disabled that line, then use this command to reverse:
sudo mv /etc/X11/xorg.conf.old /etc/X11/xorg.conf

If that doesn’t work, open the xorg.conf file: xed admin:///etc/X11/xorg.conf
Remove all the lines and add these:

Code: Select all

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Monitor"
   Identifier    "Monitor0"
EndSection

Section "Monitor"
   Identifier    "Monitor1"
EndSection

Section "Monitor"
   Identifier    "Monitor2"
   Option "Enable" "true"
   Option "Ignore" "false"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0:2:0"
    Option "AccelMethod" "None"
    Option "Monitor-eDP-1-1" "Monitor0"
    Option "Monitor-HDMI-1-2" "Monitor1"
    Option "Monitor-DP-1-1" "Monitor2"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
EndSection

If that doesn’t work, change the word modesetting in the line Driver "modesetting" to intel:

If that fails, post the output of this command: ls /sys/class/drm
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

@roblm
Did all you suggested, the only time it behaved differently was the final instruction where you asked me to change from "modesetting" to "intel". When I did this the laptop would boot, show the mint loading screen for a couple of seconds, and then all the 3 displays would get signal, but would get stuck on a black screen with just a non-blinking cursor on top left. I rebooted a couple of times, just in case, but eventually had to resort to going into the virtual console and manually change "intel" back to "modesetting" and reboot in order to be able to get back to the SO.

Bear in mind I did all of this with nvidia mode selected no the nvidia prime application.

As requested, the content of "ls /sys/class/drm" (this output is before any of your instructions):

Code: Select all

card0       card0-eDP-1     card0-HDMI-A-2  renderD128  version
card0-DP-1  card0-HDMI-A-1  card1           renderD129
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

Disable the xorg.conf file. Reboot and at the GRUB boot menu select the correct line but don’t press Enter. Press the “E” key to edit. If no menu shows, then hold down the shift key while starting. Use the Down arrow key to go down to the line that starts with:
linux /boot/vmlinuz.............ro quiet splash $vt_handoff

Go to the end of the line. Add a space and then add this kernel parameter: video=DP-1:e

Press F10 to start your system. If that fails, then repeat the steps and add this:

Code: Select all

 video=DP-1:e drm_kms_helper.edid_firmware=DP-1:edid/1920x1080.bin
dfsramos

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by dfsramos »

roblm wrote: Tue Jan 22, 2019 2:12 pm Disable the xorg.conf file. Reboot and at the GRUB boot menu select the correct line but don’t press Enter. Press the “E” key to edit. If no menu shows, then hold down the shift key while starting. Use the Down arrow key to go down to the line that starts with:
linux /boot/vmlinuz.............ro quiet splash $vt_handoff

Go to the end of the line. Add a space and then add this kernel parameter: video=DP-1:e

Press F10 to start your system. If that fails, then repeat the steps and add this:

Code: Select all

 video=DP-1:e drm_kms_helper.edid_firmware=DP-1:edid/1920x1080.bin
Dwd... F*ck YE!
Thank you so much!!!!

Adding video=DP-1:e to that line on GRUB did the trick. I'm now running on NVidia mode (according to the NVidia settings window) with 3 displays working.
This change on the GRUB line, is it permanent, or are there any additional steps to make it a permanent change?

Again, 100000000 thank yous!
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GPU on laptop and 3 displays (laptop + 2 externals)

Post by roblm »

To make the effect of the kernel paramenter permanent, add it to the grub file. Use this command to open it:
xed admin:///etc/default/grub

Change this line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=DP-1:e"
Then use this command to update grub: sudo update-grub
Locked

Return to “Graphics Cards & Monitors”