New Manj user here, moving from Ubunutu. Learning nvidia drivers has been a ride the past few days, and while it's been fun, I finally figured out that I need some help. I have a multi-monitor setup and after a load of trial and error and help from reading this board, I learned that multi-monitor is only supported under nvidia non-free drivers. That's fine with me, battery/power isn't a major concern, having multiple monitors IS my concern.
I can only get my external monitor to show up, or my laptop screen, but never the two shall meet. The system sees them, but I'm missing some (very likely BASIC) configuration to make them work at the same time. I had this working fine under Ubuntu 19.10, so I know it can work, I just don't understand why it did.
Here's my system
❯ neofetch --backend off bdm-kde@phyzz ------------- OS: Manjaro Linux x86_64 Host: Oryx Pro oryp5 Kernel: 5.6.7-1-MANJARO Uptime: 2 hours, 47 mins Packages: 1079 (pacman) Shell: zsh 5.8 Resolution: 2560x1080 DE: Plasma WM: KWin WM Theme: Breeze Theme: Breeze Dark [Plasma], Breath [GTK2/3] Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] Terminal: konsole Terminal Font: Fira Code Retina 12 CPU: Intel i7-9750H (12) @ 4.500GHz GPU: Intel UHD Graphics 630 GPU: NVIDIA GeForce RTX 2060 Mobile Memory: 3361MiB / 31829MiB
❯ inxi -Gxxxz Graphics: Device-1: Intel UHD Graphics 630 vendor: CLEVO/KAPOK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: CLEVO/KAPOK driver: nvidia v: 440.82 bus ID: 01:00.0 chip ID: 10de:1f11 Device-3: Acer BisonCam NB Pro type: USB driver: uvcvideo bus ID: 1-8:2 chip ID: 5986:9102 Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: nvidia resolution: 2560x1080~60Hz s-dpi: 81 OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82 direct render: Yes
❯ xrandr Screen 0: minimum 8 x 8, current 2560 x 1080, maximum 32767 x 32767 DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) HDMI-0 disconnected (normal left inverted right x axis y axis) DP-2 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm 2560x1080 59.94*+ 144.00 120.00 119.88 100.00 99.94 74.94 1920x1080 119.93 119.88 100.00 99.90 74.91 60.00 59.94 1600x900 119.95 1280x1024 119.96 75.02 1280x720 119.88 119.86 100.00 59.94 1152x864 119.77 1024x768 119.99 75.03 60.00 800x600 75.00 60.32 720x480 59.94 640x480 75.00 59.94 59.93 DP-3 disconnected (normal left inverted right x axis y axis)
❯ xrandr --listmonitors Monitors: 1 0: +*DP-2 2560/798x1080/334+0+0 DP-2
The external monitor is plugged in via displayport, works great. I can get the laptop screen to come up as long as the external monitor isn't plugged in.
❯ pacman -Qs randr  local/arandr 0.1.10-4 Provide a simple visual front end for XRandR 1.2. local/autorandr 1.10-1 Auto-detect connected display hardware and load appropiate X11 setup using xrandr local/libxrandr 1.5.2-2 X11 RandR extension library local/lxrandr 0.3.2-1 (lxde) Monitor configuration tool (part of LXDE) local/srandrd 0.5-1 Simple randr daemon that reacts to monitor hotplug events local/xorg-xrandr 1.5.1-1 (xorg-apps xorg) Primitive command line interface to RandR extension
~ >>> pacman -Qs nvidia  local/lib32-libvdpau 1.3-1 Nvidia VDPAU library local/lib32-nvidia-440xx-utils 440.82-1 NVIDIA drivers utilities (32-bit) local/libvdpau 1.3-1 Nvidia VDPAU library local/linux56-nvidia-440xx 440.82-7 (linux56-extramodules) NVIDIA drivers for linux. local/mhwd-nvidia-340xx 340.108-1 MHWD module-ids for nvidia 340.108 local/mhwd-nvidia-390xx 390.132-1 MHWD module-ids for nvidia 390.132 local/mhwd-nvidia-418xx 418.113-1 MHWD module-ids for nvidia-418xx 418.113 local/mhwd-nvidia-430xx 430.64-1.0 MHWD module-ids for nvidia-430xx 430.64 local/mhwd-nvidia-435xx 435.21-1.0 MHWD module-ids for nvidia 435.21 local/mhwd-nvidia-440xx 440.82-1 MHWD module-ids for nvidia 440.82 local/nvidia-440xx-utils 440.82-1 NVIDIA drivers utilities
I've tried several different randrs. I can see the system notice the displayport activity when I plug/unplug, but for the life of me I can't get both monitors to activate at the same time.
I'd love to know how to troubleshoot this myself, but I'm at wits end on what I'm supposed to read figure this out. All I need is a push.