Problem recognising all monitors in multi monitor setup

Hey guys!

I recently moved across from Arch, all was great (love Manjaro), but I had a bit of a problem with my 3 monitor setup. My Samsung ultra wide would often not get recognized when starting X. I guessed this was due to its slow startup time. I always had to go into nvidia-settings to enable it after starting X.

Eventually I forced the kernel to always recognize it by adding the following to my xorg.conf:

Option "ConnectedMonitor" "DP-0, DP-3, HDMI-0"

All was well until an update or 2 ago, and this no longer works. My Samsung monitor is always off until I go into nvidia-settings to enable it.

What’s worse, the following command I had aliased (to quickly cleanup layout) no longer works to switch it on. I can only enable the monitor from nvidia-settings:

xrandr --output DP-0 --primary --auto --pos 1920x1080 --output HDMI-0 --auto --pos 0x0 --output DP-3 --auto --pos 5360x836 --rotate right"

what has changed? any clues? help appreciated

cheers

here’s my 90-mhwd.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 440.100

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VP278"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1660"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0, DP-3: nvidia-auto-select +5360+836 {rotation=right}, DP-0: nvidia-auto-select +1920+1080"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "ConnectedMonitor" "DP-0, DP-3, HDMI-0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

output from xrandr when everything is set up correctly:

Screen 0: minimum 8 x 8, current 6440 x 2756, maximum 32767 x 32767
DP-0 connected primary 3440x1440+1920+1080 (normal left inverted right x axis y axis) 797mm x 333mm
   3440x1440     59.97*+  74.98  
   2560x1440     59.95  
   2560x1080     60.00    59.94  
   1920x1080     60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1080x1920+5360+836 right (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32    56.25  
   640x480       75.00    59.94  
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1440x576      50.00  
   1440x480      59.94  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

:+1: Welcome to Manjaro! :+1:

I’m really sorry to have to do this to you as you provided a lot of useful information but:

Please read this:


and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

An inxi --admin --verbosity=7 --filter --no-host would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

:innocent:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU you have, …

1 Like

thanks! I’m really liking this distro so far

apologies for not reading the posting guidelines!

carl@doolittle:~ $ inxi --admin --verbosity=7 --filter --no-host
System:    Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=02b0a89d-47ec-4ecd-b098-ac114b58c2e8 rw apparmor=1 
           security=apparmor resume=UUID=21ceafc8-fbc7-4514-9b64-ccae9cfd2362 udev.log_priority=3 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Desktop System: Micro-Star product: MS-7B98 v: 1.0 serial: <filter> 
           Mobo: Micro-Star model: Z390-A PRO (MS-7B98) v: 1.0 serial: <filter> UEFI: American Megatrends v: 1.80 
           date: 12/25/2019 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M185 serial: <filter> charge: 55% (should be ignored) 
           rechargeable: yes status: Discharging 
Memory:    RAM: total: 15.57 GiB used: 4.73 GiB (30.4%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: 6-Core model: Intel Core i5-9600KF bits: 64 type: MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: C (12) microcode: D6 L2 cache: 9216 KiB bogomips: 44412 
           Speed: 800 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 
           Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 
           bts clflush clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est 
           f16c flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida 
           intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae 
           pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp rep_good rtm sdbg 
           sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
           tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT disabled 
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: ZOTAC driver: nvidia v: 440.100 alternate: nouveau,nvidia_drm 
           bus ID: 01:00.0 chip ID: 10de:2184 
           Display: server: X.Org 1.20.8 driver: nvidia display ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 6440x2756 s-dpi: 96 s-size: 1700x727mm (66.9x28.6") s-diag: 1849mm (72.8") 
           Monitor-1: DP-0 res: 3440x1440 hz: 60 dpi: 110 size: 797x333mm (31.4x13.1") diag: 864mm (34") 
           Monitor-2: DP-3 res: 1080x1920 hz: 60 
           Monitor-3: HDMI-0 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") diag: 686mm (27") 
           OpenGL: renderer: GeForce GTX 1660/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: NVIDIA TU116 High Definition Audio vendor: ZOTAC driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:1aeb 
           Device-3: NAD NAD USB Audio type: USB driver: snd-usb-audio bus ID: 1-2:34 chip ID: 17ae:0003 serial: <filter> 
           Sound Server: ALSA v: k5.8.6-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:15bc 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IP v4: <filter> type: noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           WAN IP: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 365.17 GiB (39.2%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/sda vendor: Western Digital model: WDS100T2B0B-00YS70 size: 931.51 GiB block size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 20WD scheme: GPT 
           Message: No Optical or Floppy data was found. 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / raw size: 922.42 GiB size: 906.94 GiB (98.32%) used: 365.17 GiB (40.3%) fs: ext4 dev: /dev/sda2 label: N/A 
           uuid: 02b0a89d-47ec-4ecd-b098-ac114b58c2e8 
           ID-2: /boot/efi raw size: 300.0 MiB size: 299.4 MiB (99.80%) used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 
           label: N/A uuid: CA37-6BF4 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 label: N/A 
           uuid: 21ceafc8-fbc7-4514-9b64-ccae9cfd2362 
Unmounted: Message: No unmounted partitions found. 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           Device-1: 1-2:34 info: NAD NAD USB Audio type: Audio driver: snd-usb-audio interfaces: 2 rev: 1.0 speed: 12 Mb/s 
           chip ID: 17ae:0003 serial: <filter> 
           Device-2: 1-9:4 info: Holtek Keyboard type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
           speed: 1.5 Mb/s chip ID: 04d9:1603 
           Device-3: 1-10:5 info: Logitech Unifying Receiver type: Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 2 
           rev: 2.0 speed: 12 Mb/s chip ID: 046d:c52f 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 32.0 C mobo: N/A gpu: nvidia temp: 36 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 38% 
Info:      Processes: 225 Uptime: 9d 1h 51m Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1158 lib: 365 
           flatpak: 0 Shell: Bash v: 5.0.18 running in: terminator inxi: 3.1.05 

No worries: we live and we learn. :wink:

This is good:

  1. What’s the output of xrandr when it doesn’t work?
  2. Did you do a monitor firmware upgrade? (Yes/no: no need to look for one at the moment)

:innocent:

1 Like

Weirdly, I can’t recreate this error anymore. It just seems to work now!

Maybe an update “fixed” it?

anyway, thanks for your time Fabby

It fixed itself

Central Services - YouTube

1 Like