Second screen doesn't work with proprietary drivers (Laptop with amd hybrid drivers needed)

Just did a fresh install of Manjaro Plasma on a laptop. There is a secondary monitor plugged through HDMI. It does show up in “Display Configuration” but enabling it does nothing (Though the GUI does glitch out a bit when I apply the settings to enable it).

Strangely enough both screens (Built-in and external) do work when I completely uninstall the proprietary graphics drivers only leaving open-source drivers. Though for obvious reasons this isn’t ideal.

I also tried installing one by one all other proprietary drivers available and restarting in between each install. Only difference is when I install video-nvidia-470xx then my external monitor works, but built in doesn’t.

Any help would be appreciated.

paste from inxi -v8azy

System:
  Kernel: 6.6.25-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=90c08afa-5bf8-45a6-9153-01dcd0cbefa5 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Nitro AN515-45 v: V1.08
    serial: <superuser required>
  Mobo: CZ model: Scala_CAS v: V1.08 serial: <superuser required>
    part-nu: 0000000000000000 uuid: <superuser required> UEFI: Insyde v: 1.08
    date: 07/21/2021
Battery:
  ID-1: BAT1 charge: 55.7 Wh (99.8%) condition: 55.8/57.5 Wh (97.0%)
    volts: 17.5 min: 15.4 model: LGC AP18E8M type: Li-ion serial: <filter>
    status: not charging
Memory:
  System RAM: total: 16 GiB available: 14.98 GiB used: 3.47 GiB (23.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: ACR32D4S2S1ME-8 serial: <filter>
  Device-2: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: ACR32D4S2S1ME-8 serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  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: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 547 high: 1751 min/max: 400/4463 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1416 2: 400 3: 400
    4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 1751 12: 400 13: 400
    14: 400 15: 400 16: 400 bogomips: 102251
  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 debug_swap decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku 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 user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  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, IBRS_FW,
    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 GA106M [GeForce RTX 3060 Mobile / Max-Q]
    vendor: Acer Incorporated ALI driver: nvidia v: 550.67
    alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of
    2024-02; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 43.0 C
  Device-3: Chicony HD User Facing driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:3 chip-ID: 04f2:b72b
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 23.2.5
    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: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
    s-diag: 1052mm (41.43")
  Monitor-1: HDMI-1-0 size-res: N/A modes: N/A
  Monitor-2: eDP pos: primary res: 1920x1080 hz: 144 dpi: 142
    size: 344x193mm (13.54x7.6") diag: 394mm (15.53") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia x11: drv: radeonsi
    inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir
    LLVM 16.0.6 DRM 3.54 6.6.25-1-MANJARO) device-ID: 1002:1638 memory: 500 MiB
    unified: no
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3060 Laptop GPU driver: nvidia v: 550.67 device-ID: 10de:2520
    surfaces: xcb,xlib device: 1 type: integrated-gpu name: AMD Radeon
    Graphics (RADV RENOIR) driver: mesa radv v: 24.0.2-manjaro1.1
    device-ID: 1002:1638 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228e
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Acer Incorporated ALI 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,
    snd_sof_amd_vangogh pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.6.25-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek Killer E2600 GbE vendor: Acer Incorporated ALI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000
    bus-ID: 03:00.0 chip-ID: 10ec:2600 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lite-On driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager,wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Lite-On Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:2 chip-ID: 04ca:3802
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 78.04 GiB (16.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HBLU-00BTW
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: FXM7201Q temp: 34.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%)
    used: 78.04 GiB (16.7%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 90c08afa-5bf8-45a6-9153-01dcd0cbefa5
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 7014-C121
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-4:2 info: Lite-On Wireless_Device type: bluetooth driver: btusb
    interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 100mA chip-ID: 04ca:3802 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 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 (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: INSTANT USB GAMING MOUSE type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 30fa:1040 class-ID: 0300
  Device-2: 3-3:3 info: Chicony HD User Facing type: video driver: uvcvideo
    interfaces: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 04f2:b72b class-ID: fe01 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 53.8 C mobo: 40.0 C gpu: amdgpu temp: 43.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: 1357 pm: pacman pkgs: 1342 libs: 398 tools: pamac pm: flatpak
    pkgs: 15
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    2: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    3: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    4: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    5: https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 329
  1: cpu: 17.4% command: firefox pid: 1220 mem: 530.2 MiB (3.4%)
  2: cpu: 10.7% command: firefox pid: 1684 mem: 261.1 MiB (1.7%)
  3: cpu: 4.3% command: Xorg pid: 642 mem: 212.9 MiB (1.3%)
  4: cpu: 2.9% command: kwin_x11 pid: 788 mem: 161.9 MiB (1.0%)
  5: cpu: 2.0% command: firefox pid: 1423 mem: 365.3 MiB (2.3%)
  Memory top: 5 of 329
  1: mem: 530.2 MiB (3.4%) command: firefox pid: 1220 cpu: 17.4%
  2: mem: 387.3 MiB (2.5%) command: plasmashell pid: 866 cpu: 0.6%
  3: mem: 365.3 MiB (2.3%) command: firefox pid: 1423 cpu: 2.0%
  4: mem: 324.5 MiB (2.1%) command: pamac-manager pid: 2072 cpu: 0.2%
  5: mem: 261.1 MiB (1.7%) command: firefox pid: 1684 cpu: 10.7%
Info:
  Processes: 329 Power: uptime: 20m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.97 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Compilers: clang: 16.0.6 gcc: 13.2.1 alt: 12 Shell: Zsh v: 5.9
    default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.33

Explanation:
You have a hybrid system and you are plugging your external monitor into the nvidia dGPU.
So when you have it set to hybrid mode (AMD on, Nvidia off until called) then it wont work.

Arguably one of the easier methods for dealing with this is simply setting everything on the nvidia.

This can be achieved most preferably but only in rare cases through a BIOS option.

But as that is uncommon another approach is using a utility like envycontrol as shown in the post above.

You can also avoid the use of such utilities through ‘reverse prime’, but this is somewhat involved.

https://wiki.archlinux.org/title/PRIME#Discrete_card_as_primary_GPU

1 Like

The above solution by @Olli seems to have worked. Are there any drawbacks to using such solutions rather than the more involved ‘reverse prime’?

If not I’ll stick to this since it works. Thanks for the info though!

Envycontrol is probably a good solution in your case because you can then (rather simply) switch back to hybrid or even amd-only mode for when you are out and about.

The drawbacks to nvidia-only being mainly compatibility and power draw.

(nvidia being proprietary and having a poor track record of working with opensource projects, and the dGPU of course being more energy hungry)

before there’s another discussion upcoming about prime-run:
most igpu/gpu combinations need the discrete gpu to drive the external displays due to the reason that the internal intel/amd gpu is used for the primary laptop display but the external display-ports are designed through the discrete gpu.

Since you’re using an external monitor, you probably want to follow this like I do: NVIDIA Optimus - ArchWiki

I have three external monitors connected to my hybrid Intel + NVIDIA laptop: DP, HDMI & Thunderbolt 4. The former two are connected to the discrete NVIDIA card and the latter are connected to the integrated Intel GPU.

I created a split package for all use cases based on the aformentioned Arch wiki article. You can try it out if you’d like by following my README, install it and reboot after.

1 Like

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