Dual monitors Nvidia graphics (not Nouveau)


#1

I am trying to use a monitor plugged into an Nvidia card (vulkan drivers) and a monitor plugged into my motherboard (not being detected).

What do I need to do to make the monitor detectable?

Thanks,
Daveyman123


#2

Hi,

please provide when posting good information:

Concerning your problem, if my interpretation is correct you want to use the Nvidia GPU as your primary GPU and use additionally the outputs of the Intel GPU. This should be possible with reverse PRIME. Usually this concerns Optimus laptops, so read and check if you need to follow the steps in the tutorial. Be also aware that you must only do the steps of your display manager


#3

In most configs you cannot use both GPU’s on desktops, is a laptop thing, but if you check your system BIOS, there may be an option to re-enable the on-board graphics while a discrete card exists.
Connect your both Monitors to the Nvidia GPU and you can safely disable the integrated one.


#4

Thank you @bogdancovaciu I missed the most obvious and preferable way on a desktop.
I must admit I never tried it, but I think prime could theoretical be possible, since it exchanges the framebuffers via software (nvidia’s description).


#5

Yes, if the OP system has the “muxless” it should work, but since the connected Monitor to the integrated GPU is not detected, i thought the system doesn’t have that. It defaults to the Nvidia GPU.


#6

huh? I dont have the ability to connect both to the GPU because I dont have the proper connectors currently. Anyway, I seem to have borked my system by typing this command: sudo mhwd -r pci video-hybrid-intel-nouveau-bumblebee

I think I need, from what im reading, to “chroot” into the machine and try some things.

Thanks for the replies,
Daveyman


#7

Is your system desktop or a laptop?
When you boot, in boot menu press e and go down and replace quiet with nomodeset then press F10. Your system might boot into GUI and then please share the inxi -Fxz so we know what system you have there.
With that command you removed the drivers …


#8

desktop

I just opted to reinstall since I didnt have anything on the system anyway.

alright


#9

I’ve just logged in to a fresh system.

Do i do sudo mhwd -i pci video-nvidia?

what do I need to do in bios to get dualmonitors?


#10

Sorry to hear your system was borked. Before you do anything. Please follow @bogdancovaciu s advice and post

as text in with ``` above and under the output.

Another thing for your future with linux: Please research what the command you are executing does. The manpages (man <command you want to execute>) are good to read what a command does with which option, otherwise google or use the --help option of the command if available.


#11

Thanks firefightux
I will remember that in the future.

again, just to reiterate, I am trying to get latest nvidia graphics as well as have a second monitor running off the motherboard.

here is the output of inxi -Fxz:

System:
  Host: david-pc Kernel: 4.19.4-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Cinnamon 4.0.1 Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Dell product: OptiPlex 790 v: 01 serial: <filter> 
  Mobo: Dell model: 0HY9JP v: A02 serial: <filter> BIOS: Dell v: A13 
  date: 04/02/2012 
CPU:
  Topology: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24755 
  Speed: 1596 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: eVga.com. 
  driver: nouveau v: kernel bus ID: 03:00.0 
  Display: x11 server: X.Org 1.20.3 driver: intel,nouveau 
  unloaded: modesetting tty: N/A 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 18.2.5 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus ID: 03:00.1 
  Device-3: Razer USA type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 2-1.8:5 
  Sound Server: ALSA v: k4.19.4-1-MANJARO 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e 
  v: 3.2.6-k port: 4080 bus ID: 00:19.0 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 5.88 GiB (0.6%) 
  ID-1: /dev/sda vendor: SanDisk model: SSD PLUS 1000GB size: 931.52 GiB 
  ID-2: /dev/sdb model: SATA SSD size: 111.79 GiB 
  ID-3: /dev/sdc type: USB model: USB size: 14.91 GiB 
Partition:
  ID-1: / size: 903.32 GiB used: 5.88 GiB (0.7%) fs: ext4 dev: /dev/sda1 
  ID-2: swap-1 size: 12.77 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A gpu: nouveau temp: 51 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 184 Uptime: 12m Memory: 11.61 GiB used: 1.06 GiB (9.1%) 
  Init: systemd Compilers: gcc: 8.2.1 Shell: bash v: 4.4.23 inxi: 3.0.27

#12

You can also install and remove drivers with Manjaro Settings Manager if you wish.

To install the proprietary nvidia drivers, you can run:
sudo mhwd -a pci nonfree 0300 it will automatically detect the best available proprietary driver and install it.

can you please also provide xrandr -q This will query all outputs and list them.


#13

thanks for the tech support. here is the relevant output:

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DVI-D-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-1-2 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x67) 148.500MHz +HSync +VSync
        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 (0x68) 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 (0x69) 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 (0x6a) 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 (0x6b) 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 (0x6c) 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
  1600x900 (0x6d) 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 (0x6e) 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 (0x6f) 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
  1152x864 (0x70) 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 (0x71) 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 (0x72) 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 (0x73) 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 (0x74) 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 (0x75) 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 (0x76) 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 (0x77) 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 (0x78) 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
  720x480 (0x79) 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 (0x7a) 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
  640x480 (0x7b) 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 (0x7c) 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 (0x7d) 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 (0x7e) 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

[david@david-pc ~]$ inxi -G
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  driver: i915 v: kernel 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nouveau v: kernel 
  Display: x11 server: X.Org 1.20.3 driver: intel,nouveau 
  unloaded: modesetting resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 18.2.5 

EDIT:
It should say the driver is nvidia 415… but I havent rebooted yet.

actually here is the output:

[david@david-pc ~]$ inxi -G
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  driver: i915 v: kernel 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: N/A 
  Display: x11 server: X.Org 1.20.3 driver: intel resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 18.2.5 

nvidia settings is not loaded because there is not nvidia driver detected.


#14

AFAIK this desktop model doesn’t have the ability to pass trough both GPU’s (integrated and the dedicated one). Once the BIOS detects the primary GPU as the one on PCI port, it disables the output to the integrated one. The system will still display it, but there will be no signal. If you disable the integrated GPU from BIOS, it will not be detected anymore, but since you mentioned that you don’t have the connectors to use only the Nvidia GPU…
While you keep the Intel GPU active, the MHWD will try to solve the dual GPU, so now you ended up with:

and no working Nvidia Driver …


#15

ah so it picked the best graphics driver for the integrated gpu…
from what I understand its either one or the other?

I may just have to either install ubuntu or find an adapter.

Thanks,
Daveyman


#16

Did you try another OS before, it worked that way ? If the BIOS doesn’t pass the signal trough both GPU’s the OS is not going to help.
Cheers!


#17

I will try on ubuntu and report back… I know it works on windows but thats ewww.

I will never use 4chan for tech support again. This place is much better lol


#18

Have a look here


I think is the same thing for the 790 model.


#19

the ubuntu USB just finished but i will give it a shot first


#20

I’ve read on this page by Dell:
Multi-Display
This option enables or disables Multi-Display. It should be enabled in the system BIOS for Windows 7 32/64-bit Operating Systems only. This feature is not applicable for other Operating Systems