Installed Manjaro recently but external monitor is not working

Tried installing optimus manager but cant switch graphics throws an error , my hdmi is linked to nvidia and i think its not turning on

Xrander output

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    120.00*+
   1680x1050    120.00  
   1280x1024    120.00  
   1440x900     120.00  
   1280x800     120.00  
   1280x720     120.00  
   1024x768     120.00  
   800x600      120.00  
   640x480      120.00  
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected (normal left inverted right x axis y axis)
   1920x1080     74.97 +  60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1400x1050     59.98  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-1-2 disconnected (normal left inverted right x axis y axis)
System:
  Kernel: 6.1.21-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
    root=UUID=7689f317-333d-4fcc-ac00-6c4d9d065156 rw rootflags=subvol=@ quiet
    splash udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion 5 15ARH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Q55722 WIN
    serial: <superuser required> UEFI: LENOVO v: EUCN37WW date: 04/14/2022
Battery:
  ID-1: BAT0 charge: 52.6 Wh (100.0%) condition: 52.6/60.0 Wh (87.7%)
    volts: 17.3 min: 15.4 model: SMP L19M4PC0 type: Li-poly serial: <filter>
    status: full cycles: 286
Memory:
  RAM: total: 7.14 GiB used: 3.7 GiB (51.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1528 high: 2727 min/max: 1400/2900 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1533 2: 1591
    3: 1436 4: 1459 5: 2727 6: 1400 7: 1462 8: 1662 9: 1397 10: 1400 11: 1397
    12: 1400 13: 1397 14: 1396 15: 1400 16: 1400 bogomips: 92671
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
    tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
  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 enabled with STIBP
    protection
  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:
    always-on, 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 Ti Mobile] vendor: Lenovo
    driver: nvidia v: 470.182.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-03) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f95
    class-ID: 0300
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
    code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: eDP-1 empty: none bus-ID: 06:00.0
    chip-ID: 1002:1636 class-ID: 0300 temp: 51.0 C
  Device-3: Bison Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2
    chip-ID: 5986:212b class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: amdgpu,nvidia unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
    dri: radeonsi gpu: amdgpu 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: HDMI-1-0 size-res: N/A modes: N/A
  Monitor-2: eDP pos: primary res: 1920x1080 hz: 120 dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  API: OpenGL v: 4.6 Mesa 23.0.1 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.21-1-MANJARO) direct-render: Yes
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, 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: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.1.21-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.67 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:5
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.95 GiB used: 19.08 GiB (4.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: SK Hynix
    model: HFS256GD9TNI-L2A0B size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 11010C10 temp: 38.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Silicon Power
    model: SPCC M.2 PCIe SSD size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: SVN2789 temp: 22.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 62.81 GiB size: 62.81 GiB (100.00%) used: 19.08 GiB (30.4%)
    fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:10 label: N/A
    uuid: 7689f317-333d-4fcc-ac00-6c4d9d065156
  ID-2: /boot/efi raw-size: 382 MiB size: 381.2 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p8 maj-min: 259:11 label: N/A
    uuid: D8F7-B0A6
  ID-3: /home raw-size: 62.81 GiB size: 62.81 GiB (100.00%)
    used: 19.08 GiB (30.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:10
    label: N/A uuid: 7689f317-333d-4fcc-ac00-6c4d9d065156
  ID-4: /var/cache raw-size: 62.81 GiB size: 62.81 GiB (100.00%)
    used: 19.08 GiB (30.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:10
    label: N/A uuid: 7689f317-333d-4fcc-ac00-6c4d9d065156
  ID-5: /var/log raw-size: 62.81 GiB size: 62.81 GiB (100.00%)
    used: 19.08 GiB (30.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:10
    label: N/A uuid: 7689f317-333d-4fcc-ac00-6c4d9d065156
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:4 size: 260 MiB fs: vfat label: SYSTEM_DRV
    uuid: 1A4F-3FAA
  ID-2: /dev/nvme0n1p2 maj-min: 259:5 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:6 size: 172.84 GiB fs: ntfs
    label: Windows-SSD uuid: 1E964FD2964FA95B
  ID-4: /dev/nvme0n1p4 maj-min: 259:7 size: 674 MiB fs: ntfs label: N/A
    uuid: B6E2B1B1E2B175E9
  ID-5: /dev/nvme0n1p5 maj-min: 259:8 size: 554 MiB fs: ntfs label: N/A
    uuid: 32643E8B643E51B9
  ID-6: /dev/nvme0n1p6 maj-min: 259:9 size: 1000 MiB fs: ntfs
    label: WINRE_DRV uuid: CCF4504AF4503942
  ID-7: /dev/nvme1n1p1 maj-min: 259:1 size: 237.04 GiB fs: ext4 label: N/A
    uuid: 948dce2d-4b99-4fe3-a815-03852abfaadd
  ID-8: /dev/nvme1n1p2 maj-min: 259:2 size: 1.43 GiB fs: vfat label: N/A
    uuid: 4DD2-D946
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:3 info: Xiaomi Mi/Redmi series (MTP) type: Still Imaging
    driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 2717:ff40 class-ID: 0601 serial: <filter>
  Device-2: 1-3:2 info: Bison Integrated Camera type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:212b
    class-ID: 0e02
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 3-1:2 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-2:3 info: Logitech Unifying Receiver type: Keyboard,Mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c534 class-ID: 0301
  Device-2: 3-3:5 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-3: 3-4:6 info: Integrated Express ITE Device(8910) type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 048d:c100 class-ID: 0301
  Hub-5: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 4-1:2 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2 speed: 5 Gb/s
    chip-ID: 05e3:0620 class-ID: 0900
Sensors:
  System Temperatures: cpu: 69.4 C mobo: N/A gpu: amdgpu temp: 50.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 348 Uptime: 1h 5m wakeups: 1 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: pm: pacman pkgs: 1178 libs: 333 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.26

Hi @DbzGlitch, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

added my system info

I’m working on the presumption that the non-working monitor in on your right hand side.

First, let’s enable output to that monitor. What happens when you turn it on:

$ xrandr --output HDMI-1-0 --mode 1920x1080

I got those values as valid from your xrandr output.


Reference:

https://wiki.archlinux.org/title/Xrandr


There was also a split with the Nvidia driver/Utilities/settings packages with the latest update. So make sure you have the nvidia-settings package installed:

pamac install nvidia-settings

For Xrander command it throws this error

xrandr --output HDMI-1-0 --mode 1920x1080                                                 127 ✘ 
xrandr: Configure crtc 4 failed

And Nvidia settings also not working

Checking inter-conflicts...
Warning: removing 'libxnvctrl' from target list because it conflicts with 'libxnvctrl-470xx'
Warning: removing 'nvidia-settings' from target list because it conflicts with 'nvidia-470xx-settings'
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'nvidia-utils=470.182.03' required by nvidia-470xx-settings
- removing nvidia-470xx-utils breaks dependency 'nvidia-470xx-utils=470.182.03' required by lib32-nvidia-470xx-utils

Ah, sorry. It seems it is already installed, just not the same version I use.

(I think mine is newer. But :man_shrugging:)

What happens when you run:

nvidia-settings

… from the terminal?

i Changed the drivers and now that settings got installed but now its not even detecting my external monitor in settings…wait let me restart

Do you have optimus-manager installed?

pamac search optimus-manager

Yes its installed but when i try to switch the graphics it throws an error

Bro its working now it switched to hybrid and external display is working now.
Thanks a lot man

Its saying that power settings is not set so u will have poor battery backup…should i worry about this ??

OK, I get the feeling from this page that you need to remove it:

pamac remove optimus-manaager

And please provide the output of:

xrandr
xrandr --listproviders
xrandr --listmonitors

…again afterwards.

I don’t think so, but look at TLP in the community repository:

$ pamac search tlp
[...]
tlp                                                                                                                                                                                                            [Installed] 1.5.0-6                community
Linux Advanced Power Management

So it’s installable using:

pamac install tlp

Ohk thanks man

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