I’m aware that there have been lots of discussions about this matter, yet I’ve been trying to find a solution for several days now and went through a lot of posts with no luck :C. Recently I started using Manjaro KDE, and while previously (on XFCE) optimus manager managed to make my external display work correctly using nvidia, now I’m unable to make it work.
System:
Kernel: 6.1.23-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=bda6121a-bff8-4393-9741-ac46ba3b5b11 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: GIGABYTE product: A5 K1 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: GIGABYTE model: A5 K1 serial: <superuser required> UEFI: INSYDE
v: 1.07.FB09 date: 09/27/2021
Battery:
ID-1: BAT0 charge: 27.6 Wh (67.3%) condition: 41.0/48.0 Wh (85.4%)
volts: 15.1 min: 14.4 model: Notebook BAT type: Li-ion serial: <filter>
status: discharging
Memory:
RAM: total: 30.71 GiB used: 2.92 GiB (9.5%)
RAM Report: 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: 1908 high: 3513 min/max: 1200/4462 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1699 2: 1526
3: 1536 4: 1511 5: 1536 6: 3282 7: 1461 8: 1200 9: 3513 10: 1324 11: 1643
12: 1200 13: 2294 14: 1903 15: 1700 16: 3200 bogomips: 102241
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 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 v_spec_ctrl
v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
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 status: Not affected
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: CLEVO/KAPOK
driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-03) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 2 speed: 5 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: Gigabyte 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: DP-1,DP-2
bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 52.0 C
Device-3: Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 1-4:3
chip-ID: 04f2:b729 class-ID: fe01 serial: <filter>
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: 3839x1080 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: 240 dpi: 142
size: 344x193mm (13.54x7.6") diag: 394mm (15.53") modes: N/A
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.1.23-1-MANJARO) direct-render: Yes
Audio:
Device-1: NVIDIA GA106 High Definition Audio vendor: CLEVO/KAPOK
driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 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 Renoir Radeon High Definition Audio vendor: CLEVO/KAPOK
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.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: CLEVO/KAPOK
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: 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-4: AMD Family 17h/19h HD Audio vendor: CLEVO/KAPOK
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.1.23-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.68 status: off with: wireplumber status: active
tools: pw-cli,wpctl
Server-3: PulseAudio v: 16.1 status: active tools: pacat,pactl
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp2s0 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: noprefixroute scope: link
Device-2: Realtek RTL8125 2.5GbE vendor: CLEVO/KAPOK driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 2000 bus-ID: 04:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp4s0 state: down mac: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
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: 953.87 GiB used: 22.91 GiB (2.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Phison model: ESR01TBMFCT-E8GBT4
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 type: SSD serial: <filter> rev: EIOM31.4 temp: 28.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 22.86 GiB (23.4%)
fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
uuid: bda6121a-bff8-4393-9741-ac46ba3b5b11
ID-2: /boot/efi raw-size: 450 MiB size: 446 MiB (99.11%)
used: 48.9 MiB (11.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: SYSTEM uuid: 1E16-47EA
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 852.65 GiB fs: ntfs
label: Windows uuid: 01D94F6741076610
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 667 MiB fs: ntfs label: N/A
uuid: 600AB94D0AB92148
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-4:3 info: Chicony USB2.0 Camera type: Video driver: uvcvideo
interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b729
class-ID: fe01 serial: <filter>
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
Device-1: 3-4:2 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
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 62.4 C mobo: N/A gpu: amdgpu temp: 51.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 346 Uptime: 8m wakeups: 2056 Init: systemd v: 252
default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
Packages: pm: pacman pkgs: 1198 libs: 330 tools: pamac,yay pm: flatpak
pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.26
The HDMI is visible to xrandr as you can see below
xrandr ✔ 4s
Screen 0: minimum 320 x 200, current 3839 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 240.00*+ 60.04
1680x1050 240.00
1280x1024 240.00
1440x900 240.00
1280x800 240.00
1280x720 240.00
1024x768 240.00
800x600 240.00
640x480 240.00
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
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 60.00 + 143.99 119.98 109.95 99.93 59.94 50.00
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
here are my drivers:
mhwd --listinstalled ✔
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-hybrid-amd-nvidia-prime 2023.03.23 false PCI
Warning: No installed USB configs!
Could anyone please help me with this matter? I’m a total noob with it.