Manjaro no longer detecting second display

Hello,

Im running Manjaro Plasma on a Lenovo laptop, and now its not detecting HDMI output. It was working a few weeks ago, but I haven’t had it plugged in in a while, and now when I tried it, nothing. It’s not a problem from the output, Im dual booting windows and it detects it just fine.

I’ve tried the solutions in these threads to no avail, or maybe I did something wrong:
https://forum.manjaro.org/t/can-not-detect-and-connect-to-external-hdmi-monitor-on-hybrid-intel-nvidia-laptop/62859
https://forum.manjaro.org/t/xrandr-can-no-longer-find-my-second-monitor/93144/2

Here is my graphics info:

Graphics:
  Device-1: Intel HD Graphics 630 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: none bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] vendor: Lenovo
    driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-08) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c20
    class-ID: 0300
  Device-3: Acer EasyCamera type: USB driver: uvcvideo bus-ID: 1-6:4
    chip-ID: 5986:06b0 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: modesetting gpu: i915 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-1 model: AU Optronics 0x63ed built: 2017 res: 1920x1080
    hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes

driver info:

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI

xrandr output:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93    48.04  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  

Hello @Vazonz :wink:

Normally you have to switch to NVIDIA, since HDMI is normally soldered to the NVIDIA card on hybrid laptops and the proprietary drivers don’t play nice with open source drivers due reasons.

Hey,
Thanks for the answer, in the meantime I’ve run into another problem…
I was working on my assignment through windows, so I could use my second monitor, but now when I try to get back to manjaro it is stuck in emergency mode, I have no idea what to do, or what I screwed up, any tips?

In 99% it is an incomplete Upgrade or you still use an EOL kernel which has been removed on an upgrade now. I would do just the following:

  1. Boot up until Grub Boot Menu, edit the entry and add the parameter init=/bin/bash and boot it.
  2. Now you are root on a readonly filesystem. Change that by remounting:
mount -o rw,remount /
  1. Now fix everything.
pacman -Syu
pacman -Sy linux515 linux515-nvidia linux515-headers
mkinitcpio -P
grub-mkconfig -o /boot/grub/grub.cfg

However that are just general steps. I have no idea what system and how you installed it and the steps can differ in many ways.

You can also boot up a Manjaro Installation Media and fix it from there.