https://bugs.kde.org/show_bug.cgi?id=454387

--- Comment #2 from Chema <rondo...@gmail.com> ---
Hi,

I have tried to execute the line that you have indicated after adding the line
in the etc/environment and after reproducing the error again:

journalctl --boot 0 --user-unit plasma-kwin_wayland | grep kwin_wayland_drm

But it does not return any result from the terminal.

However, I have found something that may be interesting.

I did the following test:

- I switched on the KVM switch to another computer at 07:48.

- I returned to the Manjaro Linux KDE Wayland computer at 07:50.

After executing this line:

journalctl --since today

And looking at the lines that start at 07:50, which is when I changed the
switch to the Linux machine, I see the following (I attach the log):

----------------------------------------------

may 27 07:50:24 ComputerM kernel: usb 1-3: new high-speed USB device number 13
using xhci_hcd
may 27 07:50:24 ComputerM kernel: usb 1-3: New USB device found, idVendor=1a40,
idProduct=0101, bcdDevice= 1.11
may 27 07:50:24 ComputerM kernel: usb 1-3: New USB device strings: Mfr=0,
Product=1, SerialNumber=0
may 27 07:50:24 ComputerM kernel: usb 1-3: Product: USB 2.0 Hub
may 27 07:50:25 ComputerM kernel: hub 1-3:1.0: USB hub found
may 27 07:50:25 ComputerM kernel: hub 1-3:1.0: 4 ports detected
may 27 07:50:25 ComputerM kernel: usb 1-3.1: new full-speed USB device number
14 using xhci_hcd
may 27 07:50:25 ComputerM kernel: usb 1-3.1: New USB device found,
idVendor=145f, idProduct=02be, bcdDevice= 1.00
may 27 07:50:25 ComputerM kernel: usb 1-3.1: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
may 27 07:50:25 ComputerM kernel: usb 1-3.1: Product: Trust OpticalMouse
may 27 07:50:25 ComputerM kernel: usb 1-3.1: Manufacturer: PixArt
may 27 07:50:25 ComputerM kernel: input: PixArt Trust OpticalMouse as
/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.1/1-3.1:1.0/0003:145F:02BE.0011/input/input32
may 27 07:50:25 ComputerM kernel: hid-generic 0003:145F:02BE.0011:
input,hidraw0: USB HID v1.11 Mouse [PixArt Trust OpticalMouse] on
usb-0000:04:00.3-3.1/input0
may 27 07:50:25 ComputerM kernel: input: PixArt Trust OpticalMouse Keyboard as
/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.1/1-3.1:1.1/0003:145F:02BE.0012/input/input34
may 27 07:50:25 ComputerM kernel: hid-generic 0003:145F:02BE.0012:
input,hiddev96,hidraw1: USB HID v1.11 Keyboard [PixArt Trust OpticalMouse] on
usb-0000:04:00.3-3.1/input1
may 27 07:50:25 ComputerM kernel: usb 1-3.4: new low-speed USB device number 15
using xhci_hcd
may 27 07:50:26 ComputerM kernel: usb 1-3.4: New USB device found,
idVendor=145f, idProduct=02c9, bcdDevice= 1.01
may 27 07:50:26 ComputerM kernel: usb 1-3.4: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
may 27 07:50:26 ComputerM kernel: usb 1-3.4: Product: Trust Keyboard
may 27 07:50:26 ComputerM kernel: usb 1-3.4: Manufacturer: SIGMACHIP
may 27 07:50:26 ComputerM kernel: input: SIGMACHIP Trust Keyboard as
/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.4/1-3.4:1.0/0003:145F:02C9.0013/input/input35
may 27 07:50:26 ComputerM kernel: hid-generic 0003:145F:02C9.0013:
input,hidraw2: USB HID v1.10 Keyboard [SIGMACHIP Trust Keyboard] on
usb-0000:04:00.3-3.4/input0
may 27 07:50:26 ComputerM kernel: input: SIGMACHIP Trust Keyboard Consumer
Control as
/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.4/1-3.4:1.1/0003:145F:02C9.0014/input/input36
may 27 07:50:26 ComputerM kernel: input: SIGMACHIP Trust Keyboard System
Control as
/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.4/1-3.4:1.1/0003:145F:02C9.0014/input/input37
may 27 07:50:26 ComputerM kernel: hid-generic 0003:145F:02C9.0014:
input,hidraw4: USB HID v1.10 Device [SIGMACHIP Trust Keyboard] on
usb-0000:04:00.3-3.4/input1
may 27 07:50:26 ComputerM mtp-probe[2695]: checking bus 1, device 14:
"/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.1"
may 27 07:50:26 ComputerM mtp-probe[2696]: checking bus 1, device 15:
"/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.4"
may 27 07:50:26 ComputerM mtp-probe[2695]: bus: 1, device: 14 was not an MTP
device
may 27 07:50:26 ComputerM mtp-probe[2696]: bus: 1, device: 15 was not an MTP
device
may 27 07:50:26 ComputerM systemd-logind[579]: Watching system buttons on
/dev/input/event13 (SIGMACHIP Trust Keyboard System Control)
may 27 07:50:26 ComputerM systemd-logind[579]: Watching system buttons on
/dev/input/event9 (PixArt Trust OpticalMouse Keyboard)
may 27 07:50:26 ComputerM systemd-logind[579]: Watching system buttons on
/dev/input/event11 (SIGMACHIP Trust Keyboard Consumer Control)
may 27 07:50:26 ComputerM systemd-logind[579]: Watching system buttons on
/dev/input/event10 (SIGMACHIP Trust Keyboard)
may 27 07:50:26 ComputerM mtp-probe[2715]: checking bus 1, device 15:
"/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.4"
may 27 07:50:26 ComputerM mtp-probe[2715]: bus: 1, device: 15 was not an MTP
device
may 27 07:50:26 ComputerM mtp-probe[2717]: checking bus 1, device 14:
"/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3.1"
may 27 07:50:26 ComputerM mtp-probe[2717]: bus: 1, device: 14 was not an MTP
device
may 27 07:50:42 ComputerM dbus-daemon[564]: [system] Activating service
name='org.kde.powerdevil.backlighthelper' requested by ':1.31' (uid=1000
pid=1086 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
may 27 07:50:42 ComputerM dbus-daemon[564]: [system] Successfully activated
service 'org.kde.powerdevil.backlighthelper'
may 27 07:50:58 ComputerM xdg-desktop-portal-kde[1295]:
xdp-kde-wayland-integration: Adding output:
may 27 07:50:58 ComputerM xdg-desktop-portal-kde[1295]:
xdp-kde-wayland-integration:     manufacturer:  "Samsung Electric Company"
may 27 07:50:58 ComputerM xdg-desktop-portal-kde[1295]:
xdp-kde-wayland-integration:     model:  "LS32A70/HNAR600099"
may 27 07:50:58 ComputerM xdg-desktop-portal-kde[1295]:
xdp-kde-wayland-integration:     resolution:  QSize(3840, 2160)
may 27 07:51:05 ComputerM kernel: [UFW BLOCK] IN=enp3s0 OUT=
MAC=01:00:5e:00:00:01:ec:be:dd:50:0f:e8:08:00 SRC=192.168.1.1 DST=224.0.0.1
LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=17813 DF PROTO=2 
may 27 07:51:06 ComputerM dbus-daemon[564]: [system] Activating service
name='org.kde.powerdevil.backlighthelper' requested by ':1.31' (uid=1000
pid=1086 comm="/usr/lib/org_kde_powerdevil") (using servicehelper)
may 27 07:51:06 ComputerM dbus-daemon[564]: [system] Successfully activated
service 'org.kde.powerdevil.backlighthelper'

----------------------------------------

If you look at the log, from when it detects the change to the Linux machine at
07:50:24 until it is fully available again at 07:51:06, 42 seconds have passed.

If we look more closely at the log, we see that there are two moments in which
a large time delay occurs:

May 27 07:50:26 ComputerM mtp-probe[2717]: bus: 1, device: 14 was not an MTP
device
May 27 07:50:42 ComputerM dbus-daemon[564]: [system] Activating service
name='org.kde.powerdevil.backlighthelper' requested by ':1.31' (uid=1000
pid=1086 comm="/usr/ lib/org_kde_powerdevil") (using servicehelper)

Between these two lines 16 seconds pass, and then:

May 27 07:50:42 ComputerM dbus-daemon[564]: [system] Successfully activated
service 'org.kde.powerdevil.backlighthelper'
May 27 07:50:58 ComputerM xdg-desktop-portal-kde[1295]:
xdp-kde-wayland-integration: Adding output:

Between these two lines another 16 seconds pass.

I am not an expert, but I understand that the large time delay between these
lines indicates that something is not working correctly, it should not take
that long between them.

I hope this information can be of some use. If you think it convenient, I can
also try to get the same log from an X11 session, where it is working correctly
and the change between machines is almost instantaneous, to see the differences
in times.

Regards.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to