Multi Monitor Setup on Plasma w/ nVidia Stuck

Riding the struggle bus here fam. Assistance would be appreciated.

Hardware:

Manjaro (latest)
2 Graphics Cards
Main: GeForce 2080ti
          Primary Monitor BENQ (working great)
Secondary: GeForce 1080
          Secondary Monitor HP VH240A
          Secondary Monitor HP VH240A
          Secondary Monitor HP VH240A

OS Install and steps so far

  • Booted to live (only primary monitor working)
  • Installed Manjaro
  • Rebooted into new install (only primary monitor working)
  • Ran all updates
  • Rebooted
  • Error Failed to start simple desktop display manager
  • CTRL ALT F2
  • sudo mhwd -a pci nonfree 0300
  • It compiles and eventually monitors go black. Wait a while for good measure. I enter sudo reboot now enter.
  • Reboots, loads plasma great. (only primary monitor working)
  • Open System Settings -> Display and Monitor -> Select first HP monitor from list -> Check Enabled -> Clicked Apply -> Nothing happens
  • Try the other monitors -> System Settings app crashes.
  • Restart System Settings app and none of my previous settings were saved. More attempted ended with another System Settings app crash.
  • Tried learning to use xrandr and used “xrandr --output DP-1-3 --auto --right-of DP-0” and got the following error:
xrandr: Configure crtc 4 failed
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  82
  Current serial number in output stream:  82

So I’m worried any more tinkering I do will lose me my primary display which will leave me with my only recourse being a reinstall which will potentially lose me this learning opportunity. Any help you guys can provide will be appreciated. Here are some various outputs that might be useful:

lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] (rev a1)

lsmod | grep "kms\|drm"
nvidia_drm             57344  31
nvidia_modeset       1220608  24 nvidia_drm
drm_kms_helper        262144  1 nvidia_drm
cec                    73728  1 drm_kms_helper
drm                   589824  20 drm_kms_helper,nvidia_drm
agpgart                53248  1 drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper

find /dev -group video
/dev/dri/card1
/dev/dri/card0
/dev/fb0

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=0dc8fa2c-7f7b-453c-9dd1-b925351a54bb rw quiet cryptdevice=UUID=4703aac2-3571-4506-9b9b-ece539eabf3a:luks-4703aac2-3571-4506-9b9b-ece539eabf3a root=/dev/mapper/luks-4703aac2-3571-4506-9b9b-ece539eabf3a apparmor=1 security=apparmor udev.log_priority=3

find /etc/modprobe.d/
/etc/modprobe.d/
/etc/modprobe.d/mhwd-gpu.conf

cat /etc/modprobe.d/*kms*
cat: '/etc/modprobe.d/*kms*': No such file or directory

ls /etc/X11/xorg.conf.d
00-keyboard.conf  30-touchpad.conf  90-mhwd.conf

glxinfo | grep -i "vendor\|rendering"
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_NV_packed_float_linear, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_buffer_object, 
    GL_NV_shadow_samplers_cube, GL_NV_stereo_view_rendering, 
    
grep LoadModule /var/log/Xorg.0.log
[     9.462] (II) LoadModule: "glx"
[     9.485] (II) LoadModule: "nvidia"
[     9.503] (II) LoadModule: "fb"
[     9.505] (II) LoadModule: "wfb"
[     9.507] (II) LoadModule: "ramdac"
[     9.513] (II) LoadModule: "glxserver_nvidia"
[    12.703] (II) LoadModule: "dri2"
[    12.723] (II) LoadModule: "dri2"
[    12.790] (II) LoadModule: "libinput"

xrandr -q
Screen 0: minimum 8 x 8, current 3839 x 1080, maximum 32767 x 32767
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm panning 3839x1080+0+0
   1920x1080     60.00 + 144.00*  119.98    99.93    59.94    50.00  
   1440x900     119.85  
   1280x1024     75.02  
   1280x960      99.78  
   1280x720      60.00    59.94    50.00  
   1024x768     119.99    75.03    60.00  
   800x600      119.97    99.66    75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    99.77    75.00    59.93    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1-0 disconnected
HDMI-1-0 connected
   1920x1080     60.00 +  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
HDMI-1-1 connected
   1920x1080     60.00 +  60.00    59.94    50.00    23.98    60.00    50.04  
   1680x1050     59.95  
   1360x768      60.02  
   1280x1024     60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1-0 disconnected
DP-1-1 connected
   1920x1080     60.00 +  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1-2 disconnected
DP-1-3 connected
   1920x1080     60.00 +  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
  1920x1080 (0x1be) 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 (0x1c2) 148.350MHz +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
  1920x1080 (0x1c3) 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
  1280x720 (0x1c7) 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 (0x1c8) 74.180MHz +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
  1280x720 (0x1c9) 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
  1024x768 (0x1cc) 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 (0x1d0) 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 (0x1d1) 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 (0x1d2) 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 (0x1d7) 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
  640x480 (0x1d6) 25.170MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.46KHz
        v: height  480 start  490 end  492 total  525           clock  59.93Hz

Post the output of inxi -Fazy and xrandr --listproviders. The xrandr output shows 5 connected displays, but you say there are 4? Does nvidia-smi show Xorg running on both GPUs?

1 Like

have you tried downgrading sddm? With the 19.0-x version of it there seem to be some kinks that need to be ironed out. It should probably work for now to downgrade to 18.1-3.

inxi -Fazy

System:
  Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=0dc8fa2c-7f7b-453c-9dd1-b925351a54bb rw quiet 
  cryptdevice=UUID=4703aac2-3571-4506-9b9b-ece539eabf3a:luks-4703aac2-3571-4506-9b9b-ece539eabf3a 
  root=/dev/mapper/luks-4703aac2-3571-4506-9b9b-ece539eabf3a apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.20.3 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Gigabyte product: Z170X-GamingG1 v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: Z170X-GamingG1 v: x.x serial: <filter> 
  UEFI: American Megatrends v: F21 date: 03/06/2017 
CPU:
  Info: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP 
  arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: E2 
  L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 64026 
  Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: ASUSTeK driver: nvidia 
  v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 03:00.0 
  chip ID: 10de:1b80 
  Device-2: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] driver: nvidia 
  v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 04:00.0 
  chip ID: 10de:1e07 
  Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: nvidia 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.7x13.5") 
  s-diag: 693mm (27.3") 
  Monitor-1: DP-0 res: 1920x1080 dpi: 82 size: 597x336mm (23.5x13.2") 
  diag: 685mm (27") 
  OpenGL: renderer: GeForce RTX 2080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a170 
  Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 03:00.1 chip ID: 10de:10f0 
  Device-3: NVIDIA TU102 High Definition Audio driver: snd_hda_intel v: kernel 
  bus ID: 04:00.1 chip ID: 10de:10f7 
  Device-4: Focusrite-Novation Focusrite Scarlett 2i2 2nd Gen type: USB 
  driver: snd-usb-audio bus ID: 1-5.1.3:14 chip ID: 1235:8202 
  Device-5: SteelSeries ApS Arctis Pro Wireless type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-5.1.1.3:16 
  chip ID: 1038:1294 
  Sound Server: ALSA v: k5.8.18-1-MANJARO 
Partition:
  ID-1: / raw size: 931.21 GiB size: 915.60 GiB (98.32%) 
  used: 14.19 GiB (1.5%) fs: ext4 dev: /dev/dm-0 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 36 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 41% 
Info:
  Processes: 271 Uptime: 52m Memory: 62.77 GiB used: 2.27 GiB (3.6%) 
  Init: systemd v: 246 Compilers: gcc: N/A Packages: pacman: 1235 lib: 363 
  flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.08 

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x377 cap: 0x2, Sink Output crtcs: 4 outputs: 7 associated providers: 1 name:NVIDIA-G0

**

Correct – that is a tele prompter display not intended for use with this OS. It can be disabled or ignored. You’re very observant! :smiley:

Yes I believe it does:

Thu Nov 26 06:03:53 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01    Driver Version: 455.45.01    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 00000000:03:00.0 Off |                  N/A |
|  0%   38C    P8     8W / 180W |      6MiB /  8119MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 208...  Off  | 00000000:04:00.0  On |                  N/A |
| 41%   35C    P5    19W / 260W |    322MiB / 11016MiB |     31%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1257      G   /usr/lib/Xorg                       4MiB |
|    1   N/A  N/A      1257      G   /usr/lib/Xorg                     138MiB |
|    1   N/A  N/A      1841      G   /usr/bin/kwin_x11                  50MiB |
|    1   N/A  N/A      1902      G   /usr/bin/plasmashell               35MiB |
|    1   N/A  N/A      2778      G   ...token=4929999007243543443       28MiB |
|    1   N/A  N/A      9860      G   ...AAAAAAAAA= --shared-files       61MiB |
+-----------------------------------------------------------------------------+

I don’t think it’ll change much, but have you tried configuring the monitors using arandr?

It seems so, indeed.

Yes. Same errors unfortunately.
It wont let me embed the screen shot of the error in this post… Maybe because I’m a new user or something…

i had similar problems a year ago. you could look at After update: nvidia driver ignores 2nd card - Drivers - Manjaro Linux Forum
i had to switch to noveau-driver. Maybe you can find something usefull to you in this old thread.

I’ve never attempted a downgrade (kinda new to linux). Whats the best way to do that? And how to restore to latest if it isnt the problem? Thanks! :slight_smile:

There is a program called downgrade. Although in my opinion this is not an SDDM problem. I think the traditional one GPU <-> one screen approach would work here, but then you couldn’t drag most applications between the monitors of the two GPUs as far as I’m aware.

Have you tried what happens if only a single monitor is connected to each GPU?

1 Like

I have not-- unfortunately this workstation, used for media production, will always have these monitors connected where they are so I must find a way to get it working with them (preferrably with at least two of the secondary cards monitors working) or move on.

Is there a way to assign the open source drivers to the secondary card only? Might that work?

I realize that, I suggested that to see if maybe you’re reaching some kind of limitation in the driver, etc.