Manjaro 6 and external monitor

Hi, I installed MANJARO 6 yesterday on lenovo X1 Carbon laptop and unable to connect my external monitor. External monitor works fine with my windows 11 on this same laptop (dual boot)

Below are the details. Let me know if more info is needed:

$ uname -a
Linux X1Carbon 6.1.12-1-MANJARO #1 SMP PREEMPT_DYNAMIC Tue Feb 14 21:59:10 UTC 2023 x86_64 GNU/Linux

$ mhwd --list                                                                                                     ✔ 
> 0000:00:02.0 (0300:8086:0a16) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

$ sudo inxi -G                                                                                             ✔  3s  
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
  Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: modesetting
    dri: crocus gpu: i915 resolution: 1600x900~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 4400 (HSW
    GT2)


$ systemctl status optimus-manager                                                                                                                                      INT ✘  1m 22s  
● optimus-manager.service - Optimus Manager Commands Daemon
     Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; preset: disabled)
     Active: active (running) since Tue 2023-02-21 05:05:05 EST; 52min ago
    Process: 305 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_daemon_start (code=exited, status=0/SUCCESS)
    Process: 340 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_xorg_start (code=exited, status=1/FAILURE)
   Main PID: 398 (python3)
      Tasks: 1 (limit: 9360)
     Memory: 15.2M
        CPU: 383ms
     CGroup: /system.slice/optimus-manager.service
             └─398 /usr/bin/python3 -u -m optimus_manager.daemon

Feb 21 05:05:05 X1Carbon python3[340]:     _load_module(available_modules, "nvidia", options=nvidia_options)
Feb 21 05:05:05 X1Carbon python3[340]:   File "/usr/lib/python3.10/site-packages/optimus_manager/kernel.py", line 241, in _load_module
Feb 21 05:05:05 X1Carbon python3[340]:     raise KernelSetupError(
Feb 21 05:05:05 X1Carbon python3[340]: optimus_manager.kernel.KernelSetupError: module nvidia is not available for current kernel. Is the corresponding package installed ?
Feb 21 05:05:05 X1Carbon python3[340]: [258] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
Feb 21 05:05:05 X1Carbon python3[340]: [258] INFO: Writing state {'type': 'pre_xorg_start_failed', 'switch_id': '20230221T050505', 'requested_mode': 'nvidia'}
Feb 21 05:05:05 X1Carbon systemd[1]: Started Optimus Manager Commands Daemon.
Feb 21 05:05:05 X1Carbon python3[398]: [2] INFO: # Commands daemon
Feb 21 05:05:05 X1Carbon python3[398]: [3] INFO: Opening UNIX socket
Feb 21 05:05:05 X1Carbon python3[398]: [3] INFO: Awaiting commands


Can you post a full inxi? Optimus-Manager? I thought that was an Nvidia thing to switch between gpus? I don’t see an Nvidia graphics card from the inxi snippet that you posted. On my Dell laptop (xfce) I have the laptop Display as disabled and the External display as primary with settings to ignore the lid being closed. I also have a card that uses the i915 driver. So, I would check over the display settings again and figure out if you do have an Nvidia card and do need optimus-manager.

Some reading:

    ~  sudo inxi --F                                                                                               INT ✘ 
System:
  Host: X1Carbon Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.5 Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 20A8S0SE0R v: ThinkPad X1 Carbon 2nd
    serial: R907KYEK
  Mobo: LENOVO model: 20A8S0SE0R v: SDK0E50510 WIN serial: W1KS51L10VH
    UEFI: LENOVO v: GRET56WW (1.33 ) date: 03/06/2018
Battery:
  ID-1: BAT0 charge: 27.2 Wh (95.1%) condition: 28.6/45.0 Wh (63.4%)
    volts: 15.2 min: 14.8
CPU:
  Info: dual core model: Intel Core i7-4600U bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 2139 min/max: 800/3300 cores: 1: 2136 2: 2140 3: 2140
    4: 2140
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
  Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: modesetting
    dri: crocus gpu: i915 resolution: 1600x900~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 4400 (HSW
    GT2)
Audio:
  Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
  Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.1.12-1-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: yes
  Sound Server-2: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Intel Ethernet I218-LM driver: e1000e
  IF: enp0s25 state: down mac: 54:ee:75:40:f3:8d
  Device-2: Intel Wireless 7260 driver: iwlwifi
  IF: wlp3s0 state: up mac: 5c:c5:d4:6b:0e:cc
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 238.47 GiB used: 15.24 GiB (6.4%)
  ID-1: /dev/sda vendor: Toshiba model: THNSFJ256GDNU size: 238.47 GiB
Partition:
  ID-1: / size: 139.86 GiB used: 15.24 GiB (10.9%) fs: ext4 dev: /dev/sda6
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 2520
Info:
  Processes: 218 Uptime: 3m Memory: 7.64 GiB used: 2.81 GiB (36.7%) Shell: Zsh
  inxi: 3.3.25

As per this error

Feb 22 09:07:45 X1Carbon python3[357]:     raise KernelSetupError(
Feb 22 09:07:45 X1Carbon python3[357]: optimus_manager.kernel.KernelSetupError: module nvidia is not available for current kernel. Is the corresponding package installed ?
Feb 22 09:07:45 X1Carbon python3[357]: [354] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)


Do we have optimus_manager for Manjaro 6? If not, whats the alternative to connect to external monitor?

What do you mean with the number 6?

Do you actually have a nvidia card in this machine or not?

I was referring to manjaro version 6 from uname -a = “6.1.12-1-MANJARO”
i don’t think i have nvidia card - lenovo x1 carbon 2nd gen doesn’t have it.
is that required to hook up the external monitor through hdmi?

If you don’t have an Nvidia card, you have no need for optimus manager. Check your Display settings, check your HDMI cable. Make certain that Windows is completely shutdown , fast boot, hibernation and hybrid sleep are disabled as well. No special software is required to use an external monitor via HDMI, AFAIK.

Your inxi output looks incomplete. It isn’t showing any display info…

 inxi --admin --verbosity=7 --filter --no-host --width  

This is an easy misconception to make, but it does not actually refer to the version of Manjaro you are using. This is the version of the Linux Kernel that you are using. The -MANJARO just means that Manjaro has made a few tweaks to the kernel, so this is the Manjaro-specific version.

Manjaro is a rolling release distro, which means that it does not have a “version” per say (though the team does still put out version numbers). Instead, updates are released as necessary without a set release cycle. Because of this, there is no reason to specify what version you are using as long as your system is up to date.

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