Dual monitors on Dell latitude 5591

Completely new Manjaro install, trying to get dual monitors to work. Selected proprietary drivers on install. External monitor plugged in on hdmi and is present in display manager. However it stays black when extending the desktop to it and monitor reports "no signal". Have been browsing optimus topics for hours and it seems like the nvidia card is not used at all, probably because the drivers failed to install. Trying to install "linux-rt-lts-manjaro-nvidia-340xx" for 4.19.2 gives the following error:

could not satisfy dependencies:
removing nvidia-utils breaks dependency 'nvidia-utils=1:418.56' required by linux419-nvidia

[erib@terminalen ~]$ !33
glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center
optirun -b none nvidia-settings -c :8
[ 1927.283025] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[ 1927.283094] [ERROR]Aborting because fallback start is disabled.

[erib@terminalen ~]$ dmesg |grep bbswitch
[    3.070432] bbswitch: loading out-of-tree module taints kernel.
[    3.070447] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[    3.070593] bbswitch: version 0.8
[    3.070805] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[    3.070876] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[    3.071064] bbswitch: detected an Optimus _DSM function
[    3.071121] bbswitch: disabling discrete graphics
[    3.165218] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off
[  114.689564] bbswitch: enabling discrete graphics
[  968.233649] bbswitch: enabling discrete graphics
[ 1927.279860] bbswitch: enabling discrete graphics

[erib@terminalen ~]$ inxi -Fxz
  Host: terminalen Kernel: 4.19.34-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.2.1 Desktop: Gnome 3.32.0 Distro: Manjaro Linux 
  Type: Laptop System: Dell product: Latitude 5591 v: N/A serial: <filter> 
  Mobo: Dell model: 0DVVG1 v: A00 serial: <filter> UEFI: Dell v: 1.7.3 
  date: 04/03/2019 
  ID-1: BAT0 charge: 68.0 Wh condition: 68.0/68.0 Wh (100%) 
  model: LGC-LGC8.820 DELL DV9NT8B status: Full 
  Topology: 6-Core model: Intel Core i7-8850H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62232 
  Speed: 800 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 801 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 
  Device-2: NVIDIA GM108M [GeForce MX130] driver: N/A bus ID: 01:00.0 
  Display: x11 server: X.org 1.20.4 driver: N/A 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 19.0.2 direct render: Yes 
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k4.19.34-1-MANJARO 
  Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi 
  v: kernel port: 4000 bus ID: 00:14.3 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: efa0 bus ID: 00:1f.6 
  IF: eno2 state: down mac: <filter> 
  Local Storage: total: 476.94 GiB used: 7.11 GiB (1.5%) 
  ID-1: /dev/sda vendor: Micron model: 1100 SATA 512GB size: 476.94 GiB 
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 bus ID: 00:17.0 
  ID-1: / size: 468.16 GiB used: 7.11 GiB (1.5%) fs: ext4 dev: /dev/sda2 
  System Temperatures: cpu: 49.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
  Processes: 308 Uptime: 23m Memory: 15.46 GiB used: 1.67 GiB (10.8%) 
  Init: systemd Compilers: gcc: N/A Shell: bash v: 5.0.2 inxi: 3.0.32 

For more information read this post: How to provide good information in your posts

Remember to remove all of this help text before you post.

The real time (rt) driver is not intended for the regular kernels. That is a mismatch, the driver must match the kernel version.

Thanks! So according to the package manager I have the following installed Screenshot%20from%202019-04-28%2009-47-07
which seems not to be working. That version number seems a bit odd since I am on 4.19-kernel, but maybe thats in order? Any idea how I can get the nvidia to work or make dual monitors to work on the intel card? I read somewhere that on some laptops the hdmi port is wired directly to to the nvidia card? Could this affect me here? That would make sense since the nvidia is appearantly not working and the screen is black....

Best practice for installing drivers is the use of MHWD, as for now it seems you don't have any available configuration for the dGPU. What you show in your screenshot is the kernel driver module, but is not loaded.

For your model, as an optimus laptop, this is the way to go:

chose just one of them!

If you are for bumblebee then what you have to do is:
sudo mhwd -i pci video-hybrid-intel-nvidia-bumblebee

In the link above are also links how to troubleshoot any issue and how to initiate an application to use the dGPU.

1 Like

You can't mix nvidia versions. (nvidia != nvidia-340xx)
Use mhwd and mhwd-kernel for relevant operations, or the MSM GUI.

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

Forum kindly sponsored by