Second display is not recognized

Hi, new to manjaro.

So when i first booted it, the second display was disabled, i enabled it in and it worked just fine, i installed the drivers for my 1050ti, setup the background, stuff like that, and when i rebooted, the second monitor was turned on, tho black screen, and seemingly unrecognized (in the display settings its not disabled, but not there at all).

I have the main one connected to the GPU, and the one that is not working connected to the mobo, this worked fine on windows and on here as well, before i rebooted as i said.

Help?

System:
  Kernel: 5.8.16-2-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=0371e102-df86-410d-b93b-f96b76e335cf rw quiet apparmor=1 
  security=apparmor 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: Hewlett-Packard product: HP EliteDesk 800 G1 SFF 
  v: N/A serial: <filter> Chassis: type: 4 serial: <filter> 
  Mobo: Hewlett-Packard model: 1998 serial: <filter> UEFI: Hewlett-Packard 
  v: L01 v02.33 date: 07/15/2014 
Memory:
  RAM: total: 7.69 GiB used: 1.07 GiB (13.9%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: Quad Core model: Intel Core i7-4790 bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 
  L2 cache: 8192 KiB bogomips: 57492 
  Speed: 1153 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 913 2: 976 
  3: 897 4: 896 5: 901 6: 831 7: 898 8: 986 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 
  bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 
  dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu 
  fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce 
  md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid 
  pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand 
  rdtscp rep_good sdbg sep smep smx 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 xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  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: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: Hewlett-Packard EliteDesk 800 G1 driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:0412 
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Gigabyte 
  driver: nvidia v: 455.28 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1c82 
  Display: x11 server: X. Org 1.20.9 driver: nvidia display ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 339x271mm (13.3x10.7") 
  s-diag: 434mm (17.1") 
  Monitor-1: HDMI-0 res: 1280x1024 hz: 75 dpi: 96 
  size: 340x270mm (13.4x10.6") diag: 434mm (17.1") 
  OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 455.28 
  direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Hewlett-Packard EliteDesk 800 G1 driver: snd_hda_intel v: kernel 
  bus ID: 00:03.0 chip ID: 8086:0c0c 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Hewlett-Packard EliteDesk 800 G1 driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 chip ID: 8086:8c20 
  Device-3: NVIDIA GP107GL High Definition Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
  Sound Server: ALSA v: k5.8.16-2-MANJARO 
Network:
  Device-1: Intel Ethernet I217-LM vendor: Hewlett-Packard EliteDesk 800 G1 
  driver: e1000e v: 3.2.6-k port: f080 bus ID: 00:19.0 chip ID: 8086:153a 
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Drives:
  Local Storage: total: 253.13 GiB used: 7.69 GiB (3.0%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Samsung model: MZ7PD256HCGM-000H7 size: 238.47 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 6H6Q scheme: GPT 
  ID-2: /dev/sdb type: USB vendor: Kingston model: DataTraveler 3.0 
  size: 14.65 GiB block size: physical: 512 B logical: 512 B 
  serial: <filter> rev: PMAP scheme: MBR 
  Optical-1: /dev/sr0 vendor: hp model: DVDRAM GTB0N rev: HCS1 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / raw size: 34.18 GiB size: 33.39 GiB (97.70%) 
  used: 7.67 GiB (23.0%) fs: ext4 dev: /dev/sda5 label: N/A 
  uuid: 0371e102-df86-410d-b93b-f96b76e335cf 
  ID-2: /boot/efi raw size: 100.0 MiB size: 96.0 MiB (96.00%) 
  used: 25.1 MiB (26.2%) fs: vfat dev: /dev/sda2 label: N/A uuid: 9475-AA29 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/sda1 size: 529.0 MiB fs: ntfs label: Recovery 
  uuid: 6E9A759C9A75620F 
  ID-2: /dev/sda3 size: 16.0 MiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
  ID-3: /dev/sda4 size: 203.66 GiB fs: ntfs label: N/A 
  uuid: 3E1C7B3F1C7AF0EF 
  ID-4: /dev/sdb1 size: 2.60 GiB fs: iso9660 label: MANJARO_XFCE_2012 
  uuid: 2020-10-19-14-07-24-00 
  ID-5: /dev/sdb2 size: 4.0 MiB fs: vfat label: MISO_EFI uuid: C27E-0D8A 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip ID: 8087:8008 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 15 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Device-1: 2-2:2 info: Maxxter Telink Wireless Receiver 
  type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
  speed: 12 Mb/s chip ID: 248a:8367 
  Device-2: 2-3:3 info: Holtek Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  chip ID: 04d9:1503 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Hub: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip ID: 8087:8000 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 
  Device-1: 4-6:2 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 
  speed: 5 Gb/s chip ID: 0951:1666 serial: <filter> 
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A gpu: nvidia temp: 41 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 36% 
Info:
  Processes: 239 Uptime: 4m Init: systemd v: 246 Compilers: gcc: N/A 
  Packages: pacman: 1091 lib: 339 flatpak: 0 Shell: Bash v: 5.0.18 
  running in: xfce4-terminal inxi: 3.1.05

Please post the output of xrandr --listproviders and xrandr -q.

Providers: number : 1
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 0 name:NVIDIA-0

Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 75.02*+ 60.02
1920x1080 59.94
1280x720 59.94
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x480 59.94 59.94
640x480 75.00 72.81 59.94
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)

Hello,

Disable the iGPU in BIOS.
Delete the displays.xml file as described here

Create a fixed layout in nvidia.conf - see some of the examples mentioned in the linked post.

Uploading: IMG_20201023_141251.jpg… [quote=“bogdancovaciu, post:5, topic:33538”]
Disable the iGPU in BIOS.
Delete the displays.xml file as described here
[/quote]

This is what i found in my bios, i guess that is the same thing, after I disabled it, the monitor didn’t turn on at all, as opposed to turning on with a black screen, and deleting displays.xml and rebooting did nothing.

The main monitor is 75hz and the secondary is 60hz if that means anything

Also, i didn’t touch nvidia.conf, here are the contents of it:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 455.28

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Do you have a monitor connected to the iGPU? If yes, then either your system is capable to display trough both GPU’s, or once you turn off iGPU in BIOS your both monitors are connected to the dGPU.
Now please make sure that you also set what is the primary GPU in the BIOS, if has that option.

If that doesn’t work, an alternative solution is to install the hybrid configuration and install optimus-manager and switch to nvidia mode.

Can’t find it, shouldn’t the external GPU be primary anyway since its the only enabled GPU?

Thats for hybrid? I guess i can try, all i do on the secondary display is browse, do i need to re-enable the iGPU for that?

Yes, you need to enable the integrated gpu for that.

I followed the tutorial, installed it and switched to nvidia mode and now it works!!! Thanks a ton, kind of scared to restart now, will it still work?

followed the tutorial, installed it and switched to nvidia mode and now it works!!! Thanks a ton, kind of scared to restart now, will it still work?

It works but when i reboot, I need to switch to nvidia mode again, is there a way to save so that I dont have to do that?

Ok I got it to boot in nvidia mode in the optimus manager, thanks a lot.

Just for the record, the startup mode can be edited in /etc/optimus-manager/optimus-manager.conf:

startup_mode=nvidia

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