Second monitor setup

I am completely new to linux but i have had my experience with manjaro and mint and i solely installed it as my primary OS because i fell in love with the i3wm setups on r/unixporn, i want to connect my second monitor but i cannot seem to do so, when my system boots and hdmi is connected then the booting text appears on my second monitor as well as laptop display but after it boots, second monitor goes blank, in Arandr my hdmi-A-1 is greyed out and this is the xrandr output below

eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  40.00
   1680x1050     60.01
   1280x1024     60.01
   1440x900      60.01
   1280x800      60.01
   1280x720      60.01
   1024x768      60.01
   800x600       60.01
   640x480       60.01
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)```

please help, i chose endeavour as you guys are said to be the most humble and helpful community.

Hi welcome to EndeavourOS can you provide a little more detail on your system? I did find a write up in the Manjaro forums that talked about HDMI listed as disconnected on xranr, and it looks like their issue was nvidia. Do you have nvidia? Can you provide the output of inxi -Fazy

If you can provide a little more detail folks might be able to better help you troubleshoot. I am not sure if this Manjaro forum will be your solution, but it might be.

If it is a nvidia issue here is a write up from the EndeavourOS Discovery page as a good starting point for nvidia

https://discovery.endeavouros.com/nvidia/optimus-manager-for-nvidia/2021/03/

Thanks for your response

here is the output

  Kernel: 6.2.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: initrd=\9eaca0308aba49ea9e74d818bf485025\6.2.12-arch1-1\initrd
    nvme_load=YES nowatchdog rw root=UUID=4069d900-df8f-4df2-871f-c070d580b4ed
    systemd.machine_id=9eaca0308aba49ea9e74d818bf485025
  Desktop: i3 v: 4.22 info: i3bar vt: 7 dm: LightDM v: 1.32.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec0xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 86D5 v: 96.45 serial: <superuser required> UEFI: AMI
    v: F.13 date: 03/03/2022
Battery:
  ID-1: BAT0 charge: 25.9 Wh (66.1%) condition: 39.2/39.2 Wh (100.0%)
    volts: 10.7 min: 11.6 model: Hewlett-Packard Primary type: Li-ion serial: N/A
    status: discharging cycles: 352
CPU:
  Info: model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen/Zen+ note: check gen: 1 level: v3 note: check
    built: 2019 process: GF 12nm family: 0x17 (23) model-id: 0x18 (24)
    stepping: 1 microcode: 0x8108109
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1762 high: 2395 min/max: 1400/2100 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1197 2: 1198
    3: 1730 4: 2020 5: 2394 6: 2395 7: 1196 8: 1970 bogomips: 33551
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
    vendor: Hewlett-Packard driver: nouveau v: kernel non-free: 530.xx+
    status: current (as of 2023-03) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: speed: Unknown lanes: 63
    link-max: gen: 6 speed: 64 GT/s ports: active: none off: HDMI-A-1
    empty: none bus-ID: 01:00.0 chip-ID: 10de:1f91 class-ID: 0300
  Device-2: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports:
    active: eDP-1 empty: HDMI-A-2 bus-ID: 04:00.0 chip-ID: 1002:15d8
    class-ID: 0300 temp: 73.0 C
  Device-3: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-1:2 chip-ID: 04f2:b6f1 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositor: Picom v: git-b700a driver:
    X: loaded: amdgpu,modesetting alternate: fbdev,nouveau,nv,vesa
    dri: radeonsi,nouveau gpu: amdgpu,nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.53") modes: N/A
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Vega 8 Graphics (raven
    LLVM 15.0.7 DRM 3.49 6.2.12-arch1-1) direct-render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.2.12-arch1-1 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0
    chip-ID: 10ec:c822 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0bda:b00c class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 9.98 GiB (1.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 7C scheme: GPT
Partition:
  ID-1: / raw-size: 930.53 GiB size: 914.85 GiB (98.31%) used: 9.91 GiB (1.1%)
    fs: ext4 dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 512 MiB used: 10.3 MiB (2.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 73.8 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0 fan-2: 0
  GPU: device: amdgpu temp: 73.0 C device: nouveau temp: N/A
Info:
  Processes: 238 Uptime: 43m wakeups: 1 Memory: 5.66 GiB used: 2.37 GiB (41.8%)
  Init: systemd v: 253 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 Packages: pm: pacman pkgs: 859 libs: 226 tools: yay Shell: Bash
  v: 5.1.16 running-in: alacritty inxi: 3.3.26
~ \>```


and yes i have nvidia gpu, gtx 1650 and i have noveu drivers installed.

Thanks for sharing, this will help folks that are much smarter than me in figuring out what is possibly wrong. Since it is NVIDIA I would start with reading the discovery article I posted in regards to the optimus-manager. That may be your fix just like the person in the Manjaro forum experienced. I have no experience with NVIDIA so I have never had to troubleshoot them before. So I am sorry that I won’t be a great resource, but I think that EOS Discovery article will point you in the right direction. If there is something in that article that doesn’t make sense I can try to help you out, but I have never done those steps myself so I can’t speak from experience.

Thank you so much for your help, i will go through that E0S Discovery article rn.

sorry for being such a noob, i went throught arch wiki page on how to install nvidia proprietary drivers but i do not get it honestly, the optimus manager page says that i will need to install nvidia proprietary drivers, can u link a page or anything else to guide me on how to install proprietary nvidia drivers, again, Thank you

this is the output of lspci -k | grep -A 2 -E “(VGA|3D)”

	DeviceName: NVIDIA GeForce GTX 1650
	Subsystem: Hewlett-Packard Company Device 86d5
--
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c2)
	DeviceName:  Onboard IGD
	Subsystem: Hewlett-Packard Company Device 86d5```


and this is of inxi -b

```System:
  Host: xenon-hppaviliongaminglaptop15ec0xxx Kernel: 6.2.12-arch1-1
    arch: x86_64 bits: 64 Desktop: i3 v: 4.22 Distro: EndeavourOS
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop
    15-ec0xxx v: N/A serial: <superuser required>
  Mobo: HP model: 86D5 v: 96.45 serial: <superuser required>
    UEFI: AMI v: F.13 date: 03/03/2022
Battery:
  ID-1: BAT0 charge: 21.1 Wh (56.6%)
    condition: 37.3/37.3 Wh (100.0%) volts: 10.5 min: 11.6
CPU:
  Info: quad core AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx [MT
    MCP] speed (MHz): avg: 2392 min/max: 1400/2100
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
    driver: nouveau v: kernel
  Device-2: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon
    Mobile Series] driver: amdgpu v: kernel
  Device-3: Chicony HP TrueVision HD Camera type: USB
    driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: amdgpu
    unloaded: modesetting dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Vega 8
    Graphics (raven LLVM 15.0.7 DRM 3.49 6.2.12-arch1-1)
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8822ce
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 931.51 GiB used: 20 GiB (2.1%)
Info:
  Processes: 229 Uptime: 38m Memory: 5.66 GiB used: 2.33 GiB (41.1%)
  Shell: Bash inxi: 3.3.26```

i found how to install nvidia proprietary drivers from reddit, now i will try Danny’s optimus manager suggestion, i hope it works, will report about it after i come back from school and part-time around 10 hours later

1 Like

No worries on being a noob, we all start somewhere and I wouldn’t refer to myself as being anything special. There are more NVIDIA articles on the Discovery page. Including a new nvidia driver page. These may be of help. I do see that you have the Noveau driver, I have no idea if that is better since I am not a NVIDIA guy.

Another option looking at the Arch Wiki. There is a link to the NVIDIA driver page in step 2, on that driver page you can search for your card, looks like you have a NVIDIA GeForce GTX 1650 and you can change the Operating System to Linux-64 bit. After searching it will bring you to the download page that will also provide some release highlights, supported products, and additional information. The Additional Information tab has some steps for Linux.

Again since I don’t have any NVIDIA to mess with I have not done these steps so I am not sure beyond reading these articles. I personally would start with the Discovery articles since they are written with EOS in mind.

I had a similar issue I ended up uninstalling nvidia booting to a live disk and looked over the computer and deleted any files associated with display. I then reinstalled the nvidia drivers and got everything working It was a little bit ago and I honestly don’t remember if I actually removed anything more than nvidia before doing a reinstall of nvidia and i think the linux kernel which I just reinstalled and didn’t remove

1 Like

went through it and got my 2nd monitor connected and detected now the issue i am facing is with xrandr it says configure crtc 4 failed

Thanks for the help guys and especially you danny, my 2 monitors are working now

what i did

Installed nvidia proprietary drivers for my gpu
after that i installed optimus manager
then i switched to hybrid in optimus manager and both screens were working fine

if u find command line kind of new then u can use arandr for setting 2 monitors, thank you guys

1 Like

thanks for your response, i did install nvidia proprietary drivers and it works now

1 Like

Congratulations on your new set up! I guess you aren’t the noob you thought you were. I hope you enjoy your time here with EndeavourOS :enos:

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