Jolt
April 4, 2023, 3:14pm
1
Hello Manjaro community!
This is my first time writing here. After updating, I encountered a problem when using an external monitor connected via DisplayPort. There is a very long delay between pressing a key on the keyboard (or mouse) and the result being displayed on the screen. This is observed in all applications (Chrome, Dolphin, VSCode, GTK applications, etc.), but if I move the window to the primary screen, everything works fine.
I have a laptop with hybrid Nvidia graphics and a Ryzen processor.
Операционная система: Manjaro Linux
Версия KDE Plasma: 5.27.3
Версия KDE Frameworks: 5.104.0
Версия Qt: 5.15.8
Версия ядра: 6.1.21-1-MANJARO (64-бита)
Графическая платформа: X11
Процессоры: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Память: 30,7 ГиБ ОЗУ
Графический процессор: AMD Radeon Graphics
Производитель: LENOVO
Название продукта: 82K8
Версия системы: Legion S7 15ACH6
Hello and welcome @Jolt !
Please read this: [HowTo] Provide System Information , this topic will show you how to extract more information.
Jolt
April 6, 2023, 8:36am
4
Well, an update came today, hoping it would fix the situation, but no.
Using the second monitor is still impossible.
inxi info with connected externel monitor
System:
Kernel: 6.1.22-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=82492ffd-c463-42e1-b228-dca12efb1db6 rw quiet splash
cryptdevice=UUID=22387709-5ec7-432d-b218-d4f67159420e:luks-22387709-5ec7-432d-b218-d4f67159420e
root=/dev/mapper/luks-22387709-5ec7-432d-b218-d4f67159420e
resume=/dev/mapper/luks-15e08d7e-8134-4456-8cc6-ef5e68cfac57
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 info: docker wm: Fluxbox
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82K8 v: Legion S7 15ACH6
serial: <filter> Chassis: type: 10 v: Legion S7 15ACH6 serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76461WIN serial: <filter>
UEFI: LENOVO v: HACN39WW date: 09/21/2022
Battery:
ID-1: BAT0 charge: 72.5 Wh (99.2%) condition: 73.1/71.0 Wh (102.9%)
volts: 15.4 min: N/A model: LGC L20L4PD3 type: Li-poly serial: <filter>
status: full cycles: 95
Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
Memory:
RAM: total: 30.72 GiB used: 13.13 GiB (42.7%)
Array-1: capacity: 64 GiB slots: 2 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
width (bits): data: 64 total: 64 manufacturer: Hynix
part-no: HMAB2GS6AMR6N-XN serial: N/A
Device-2: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
width (bits): data: 64 total: 64 manufacturer: Micron Technology
part-no: 8ATF2G64HZ-3G2E2 serial: <filter>
CPU:
Info: model: AMD Ryzen 9 5900HX with Radeon Graphics socket: FP6 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: 1462 high: 3300 min/max: 1200/4679 boost: enabled
base/boost: 3300/4650 scaling: driver: acpi-cpufreq governor: schedutil
volts: 1.2 V ext-clock: 100 MHz cores: 1: 3300 2: 3300 3: 1200 4: 1200
5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200 12: 1200 13: 1200
14: 1200 15: 1200 16: 1200 bogomips: 105447
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: Lenovo
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 ports: active: none off: DP-3
empty: DP-4,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2560 class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Lenovo 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: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 46.0 C
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-3:2 chip-ID: 13d3:56bb class-ID: 0e02
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia dri: radeonsi
gpu: amdgpu,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x4320 s-dpi: 193 s-size: 506x570mm (19.92x22.44")
s-diag: 762mm (30.01")
Monitor-1: DP-3 mapped: DP-1-0 note: disabled pos: top
model: LG (GoldStar) ULTRAFINE serial: <filter> built: 2022 res: 3840x2160
hz: 60 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39")
diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480
Monitor-2: eDP-1 mapped: eDP pos: primary,bottom model: BOE Display 0x09ea
built: 2020 res: 3840x2160 hz: 60 dpi: 284 gamma: 1.2
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes:
max: 3840x2160 min: 640x480
API: OpenGL v: 4.6 Mesa 23.0.1 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.1.22-1-MANJARO) direct-render: Yes
Audio:
Device-1: NVIDIA GA106 High Definition Audio vendor: Lenovo
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: 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: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s 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: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.1.22-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: n/a (root, process)
with: pipewire-media-session status: active tools: pw-cli
Server-3: PulseAudio v: 16.1 status: active (root, process)
tools: pacat,pactl
Network:
Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
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: noprefixroute scope: link
Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
bus-ID: 1-1.1:10 chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
IF: enp6s0f3u1u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: br-c1b1fa84660a state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
all]
IF-ID-2: docker0 state: down mac: <filter>
Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
all]
IF-ID-3: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
all]
IF-ID-4: veth0fe1c0f state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-5: veth4c27c02 state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-6: veth550db2f state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-7: vethe9c0d86 state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-8: vethee3dcc6 state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-9: vethf71e672 state: up speed: 10000 Mbps duplex: full mac: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-3:2
chip-ID: 8087:0029 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 4 state: up address: see --recommends
Logical:
Message: No logical block device data found.
Device-1: luks-22387709-5ec7-432d-b218-d4f67159420e maj-min: 254:0
type: LUKS dm: dm-0 size: 919.77 GiB
Components:
p-1: nvme1n1p2 maj-min: 259:7 size: 919.77 GiB
Device-2: luks-15e08d7e-8134-4456-8cc6-ef5e68cfac57 maj-min: 254:1
type: LUKS dm: dm-1 size: 33.79 GiB
Components:
p-1: nvme1n1p3 maj-min: 259:8 size: 33.79 GiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.86 TiB used: 278.78 GiB (14.6%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB1T0HBLR-000L2
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 3L1QEXF7 temp: 32.9 C scheme: GPT
SMART: yes health: PASSED on: 4d 14h cycles: 466
read-units: 1,706,722 [873 GB] written-units: 2,552,225 [1.30 TB]
ID-2: /dev/nvme1n1 maj-min: 259:5 vendor: Samsung model: MZVLB1T0HBLR-000L2
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 3L1QEXF7 temp: 33.9 C scheme: GPT
SMART: yes health: PASSED on: 12d 23h cycles: 467
read-units: 5,389,464 [2.75 TB] written-units: 9,332,674 [4.77 TB]
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 919.77 GiB size: 904.26 GiB (98.31%)
used: 278.78 GiB (30.8%) fs: ext4 block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-22387709-5ec7-432d-b218-d4f67159420e label: N/A
uuid: 82492ffd-c463-42e1-b228-dca12efb1db6
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 476 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
maj-min: 259:6 label: NO_LABEL uuid: D187-6F52
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 33.79 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-1 maj-min: 254:1
mapped: luks-15e08d7e-8134-4456-8cc6-ef5e68cfac57 label: swap
uuid: de2474ec-30fb-405d-92e7-99f9dbea8021
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 260 MiB fs: vfat label: SYSTEM_DRV
uuid: BAE1-0874
ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: N/A label: N/A
uuid: N/A
ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 951.65 GiB fs: ntfs
label: Windows-SSD uuid: 703EE1D13EE19100
ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1.95 GiB fs: ntfs
label: WINRE_DRV uuid: 2406E25E06E2308A
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
Hub-2: 1-1:9 info: Realtek RTS5411 Hub ports: 5 rev: 2.1 speed: 480 Mb/s
chip-ID: 0bda:5411 class-ID: 0900
Device-1: 1-1.1:10 info: ASIX AX88179 Gigabit Ethernet type: Network
driver: ax88179_178a interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 248mA
chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
Device-2: 1-1.3:11 info: LG USA Monitor Controls
type: HID,Abstract (modem),CDC-Data driver: cdc_acm,hid-generic,usbhid
interfaces: 3 rev: 2.0 speed: 12 Mb/s chip-ID: 043e:9a39 class-ID: 0a00
serial: <filter>
Device-3: 1-3: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
Device-4: 1-4:3 info: Shenzhen Goodix FingerPrint Device
type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 27c6:5503 class-ID: ef00
Hub-3: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-4: 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-3:2 info: IMC Networks Integrated Camera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 13d3:56bb class-ID: 0e02
Device-2: 3-4:3 info: Integrated Express ITE Device(8296) type: Keyboard
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 048d:c967 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
Sensors:
System Temperatures: cpu: 53.4 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 540 Uptime: 1h 19m wakeups: 19 Init: systemd v: 252
default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
Packages: 1750 pm: pacman pkgs: 1732 libs: 469 tools: pamac pm: flatpak
pkgs: 18 Shell: Zsh (sudo) v: 5.9 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.26
Jolt
April 6, 2023, 8:49am
5
I just found out that this problem occurs only when using Hybrid Mode in Optimus Manager. When switching to the Nvidia card, the problem goes away.
Optimus Manager config
[amd]
DRI=3
driver=amdgpu
tearfree=yes
[intel]
DRI=3
accel=
driver=modesetting
modeset=no
tearfree=
[nvidia]
DPI=
PAT=yes
allow_external_gpus=no
dynamic_power_management=no
ignore_abi=yes
modeset=yes
options=
[optimus]
auto_logout=yes
pci_power_control=no
pci_remove=yes
pci_reset=function_level
startup_auto_battery_mode=integrated
startup_auto_extpower_mode=nvidia
startup_mode=hybrid
switching=acpi_call
Olli
April 6, 2023, 8:51am
6
may you post the output of
echo $XDG_SESSION_TYPE
glxinfo | grep server
note: if glxinfo isn’t avaiable you’ll need to install the “mesa-utils” package to run it
Olli
April 6, 2023, 8:53am
7
Yep, that seems to be the problem. the external monitors are “hardwired” to nvidia. in spite to use them the nvidia card has to be the primary-active.
Jolt
April 6, 2023, 12:05pm
8
Olli:
echo $XDG_SESSION_TYPE
x11
Olli:
glxinfo | grep server
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
yeah, but it worked in Hybrid mode perfectly before latest update
Jolt
April 6, 2023, 12:09pm
9
It’s funny that the delay appears when you input characters from the keyboard; if you move the mouse around the screen at the same time, there are no delays. Apparently, it has something to do with the screen update.
Olli
April 6, 2023, 3:28pm
10
using also a “dual gpu /hybrid” with nvidia is a pain in the arse, had it been and will be. nvidia and linux doesn’t match. that’s a simple fact. don’t buy nvidia if you wanna use linux. as linus said: nvidia SUCKS
Jolt
April 7, 2023, 9:14am
11
Hello, I rolled back the video-hybrid-amd-nvidia driver to 470xx and the problem went away, apparently Nvidia broke something in their new driver.
1 Like
system
Closed
April 9, 2023, 11:15pm
12
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.