Hello,

I am having this weird issue where my mouse and keyboard will stop working when playing games. They are both plugged in the monitor’s KVM

My setup is as follows : Kubuntu (Ubuntu 23.10) NVIDIA RTX 3060 TI Aorus FO48U monitor (with the KVM causing the issue)

I am not sure what other info is pertinent to my issue, so let me know what info is needed.

So to give more details, I will play a game (the last one being Jagged Alliance 3 on steam) and it will work fine for 40-45 minutes and then my mouse and keyboard stops working. They litterally get de-powered (no lights) by the KVM. I can power cycle the monitor and the mouse and keyboard will work for a few seconds then stop working again.

As a sanity check, I plugged my mouse and keyboard directly in the computer, so I know that the issue is with the monitor’s KVM.

I recently installed Kubuntu , coming from windows 10, and in win10, there wasn’t any issue. So there is definitely something going on with the monitor, Linux, and maybe the GPU.

When I look into dmesg, I have the following information

[ 6793.146167] usb 3-4: new high-speed USB device number 35 using xhci_hcd
[ 6793.323053] usb 3-4: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.39
[ 6793.323060] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6793.323063] usb 3-4: Product: USB2.1 Hub
[ 6793.323065] usb 3-4: Manufacturer: Generic
[ 6793.369148] hub 3-4:1.0: USB hub found
[ 6793.371054] hub 3-4:1.0: 5 ports detected
[ 6793.446756] usb 4-4: new SuperSpeed USB device number 10 using xhci_hcd
[ 6793.483645] usb 4-4: New USB device found, idVendor=0bda, idProduct=0411, bcdDevice= 1.39
[ 6793.483651] usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6793.483654] usb 4-4: Product: USB3.2 Hub
[ 6793.483656] usb 4-4: Manufacturer: Generic
[ 6793.513482] hub 4-4:1.0: USB hub found
[ 6793.516090] hub 4-4:1.0: 2 ports detected
[ 6793.738161] usb 3-4.1: new full-speed USB device number 36 using xhci_hcd
[ 6793.865442] usb 3-4.1: New USB device found, idVendor=1532, idProduct=0084, bcdDevice= 2.00
[ 6793.865449] usb 3-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6793.865451] usb 3-4.1: Product: Razer DeathAdder V2
[ 6793.865453] usb 3-4.1: Manufacturer: Razer
[ 6794.014584] input: Razer Razer DeathAdder V2 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.1/3-4.1:1.0/0003:1532:0084.0037/input/input73
[ 6794.014712] hid-generic 0003:1532:0084.0037: input,hidraw0: USB HID v1.00 Mouse [Razer Razer DeathAdder V2] on usb-0000:0c:00.3-4.1/input0
[ 6794.019649] input: Razer Razer DeathAdder V2 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.1/3-4.1:1.1/0003:1532:0084.0038/input/input74
[ 6794.082601] input: Razer Razer DeathAdder V2 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.1/3-4.1:1.1/0003:1532:0084.0038/input/input75
[ 6794.082672] hid-generic 0003:1532:0084.0038: input,hidraw1: USB HID v1.00 Keyboard [Razer Razer DeathAdder V2] on usb-0000:0c:00.3-4.1/input1
[ 6794.084806] input: Razer Razer DeathAdder V2 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.1/3-4.1:1.2/0003:1532:0084.0039/input/input76
[ 6794.142302] hid-generic 0003:1532:0084.0039: input,hidraw2: USB HID v1.00 Keyboard [Razer Razer DeathAdder V2] on usb-0000:0c:00.3-4.1/input2
[ 6794.145804] hid-generic 0003:1532:0084.003A: hiddev0,hidraw3: USB HID v1.11 Device [Razer Razer DeathAdder V2] on usb-0000:0c:00.3-4.1/input3
[ 6794.226143] usb 3-4.2: new full-speed USB device number 37 using xhci_hcd
[ 6794.353441] usb 3-4.2: New USB device found, idVendor=3434, idProduct=0161, bcdDevice= 1.04
[ 6794.353447] usb 3-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6794.353450] usb 3-4.2: Product: Keychron Q6
[ 6794.353452] usb 3-4.2: Manufacturer: Keychron
[ 6794.494650] input: Keychron Keychron Q6 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.2/3-4.2:1.0/0003:3434:0161.003B/input/input77
[ 6794.554504] hid-generic 0003:3434:0161.003B: input,hidraw4: USB HID v1.11 Keyboard [Keychron Keychron Q6] on usb-0000:0c:00.3-4.2/input0
[ 6794.556859] hid-generic 0003:3434:0161.003C: hiddev1,hidraw5: USB HID v1.11 Device [Keychron Keychron Q6] on usb-0000:0c:00.3-4.2/input1
[ 6794.560912] input: Keychron Keychron Q6 Mouse as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.2/3-4.2:1.2/0003:3434:0161.003D/input/input78
[ 6794.561057] input: Keychron Keychron Q6 System Control as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.2/3-4.2:1.2/0003:3434:0161.003D/input/input79
[ 6794.622267] input: Keychron Keychron Q6 Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.2/3-4.2:1.2/0003:3434:0161.003D/input/input80
[ 6794.622345] input: Keychron Keychron Q6 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.2/3-4.2:1.2/0003:3434:0161.003D/input/input81
[ 6794.622595] hid-generic 0003:3434:0161.003D: input,hidraw6: USB HID v1.11 Mouse [Keychron Keychron Q6] on usb-0000:0c:00.3-4.2/input2
[ 6794.706136] usb 3-4.3: new full-speed USB device number 38 using xhci_hcd
[ 6794.846444] usb 3-4.3: New USB device found, idVendor=0416, idProduct=1234, bcdDevice= 0.00
[ 6794.846449] usb 3-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6794.846451] usb 3-4.3: Product: LED Dongle
[ 6794.846453] usb 3-4.3: Manufacturer: NUVOTON
[ 6794.846454] usb 3-4.3: SerialNumber: A020210220
[ 6794.950632] input: NUVOTON LED Dongle as /devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-4/3-4.3/3-4.3:1.0/0003:0416:1234.003E/input/input82
[ 6794.950770] hid-generic 0003:0416:1234.003E: input,hiddev2,hidraw7: USB HID v1.10 Device [NUVOTON LED Dongle] on usb-0000:0c:00.3-4.3/input0
[ 6795.186125] usb 3-4.4: new high-speed USB device number 39 using xhci_hcd
[ 6795.320596] usb 3-4.4: New USB device found, idVendor=0bda, idProduct=5418, bcdDevice= 1.01
[ 6795.320604] usb 3-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6795.320607] usb 3-4.4: Product: BillBoard Device
[ 6795.320609] usb 3-4.4: Manufacturer: Realtek
[ 6795.402128] usb 3-4.5: new high-speed USB device number 40 using xhci_hcd
[ 6795.528687] usb 3-4.5: New USB device found, idVendor=0bda, idProduct=1100, bcdDevice= 1.01
[ 6795.528694] usb 3-4.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6795.528696] usb 3-4.5: Product: HID Device
[ 6795.528699] usb 3-4.5: Manufacturer: Realtek
[ 6795.580295] hid-generic 0003:0BDA:1100.003F: hiddev3,hidraw8: USB HID v1.11 Device [Realtek HID Device] on usb-0000:0c:00.3-4.5/input0
[ 6804.924964] usb 3-4: USB disconnect, device number 35
[ 6804.924970] usb 3-4.1: USB disconnect, device number 36
[ 6805.169942] usb 4-4: USB disconnect, device number 10
[ 6805.561515] usb 3-4.2: USB disconnect, device number 37
[ 6806.424675] usb 3-4.3: USB disconnect, device number 38
[ 6806.552633] usb 3-4.4: USB disconnect, device number 39
[ 6806.552847] usb 3-4.5: USB disconnect, device number 40

And the cycles begins again when I power cycle my monitor.

I can see that the mouse, keyboard and monitors are re-added. And new device numbers are assigned everytime.

Looking at the X.org Log, I am not sure what to look at, but I found series of event that seem to be the disconnect

	Information	[  6796.214] (II) config/udev: Adding input device NUVOTON LED Dongle (/dev/input/event11)
	Information	[  6796.214] (II) No input driver specified, ignoring this device.
	Information	[  6796.214] (II) This device may have been added with another device file.
	Information	[  6805.036] (II) event2  - Razer Razer DeathAdder V2: device removed
	Information	[  6805.060] (II) config/udev: removing device Razer Razer DeathAdder V2
	Information	[  6805.065] (II) UnloadModule: "libinput"
	Information	[  6805.192] (II) event3  - Razer Razer DeathAdder V2 Keyboard: device removed
	Information	[  6805.224] (II) config/udev: removing device Razer Razer DeathAdder V2 Keyboard
	Information	[  6805.226] (II) UnloadModule: "libinput"
	Information	[  6805.226] (II) config/udev: removing device Razer Razer DeathAdder V2 Keyboard
	Information	[  6805.227] (II) UnloadModule: "libinput"
	Information	[  6805.380] (II) event5  - Razer Razer DeathAdder V2: device removed
	Information	[  6805.420] (II) config/udev: removing device Razer Razer DeathAdder V2
	Information	[  6805.421] (II) UnloadModule: "libinput"
	Information	[  6805.740] (II) event6  - Keychron Keychron Q6: device removed
	Information	[  6805.764] (II) config/udev: removing device Keychron Keychron Q6
	Information	[  6805.765] (II) UnloadModule: "libinput"
	Information	[  6806.088] (II) event7  - Keychron Keychron Q6 Mouse: device removed
	Information	[  6806.116] (II) config/udev: removing device Keychron Keychron Q6 Mouse
	Information	[  6806.120] (II) UnloadModule: "libinput"
	Information	[  6806.140] (II) event8  - Keychron Keychron Q6 System Control: device removed
	Information	[  6806.184] (II) config/udev: removing device Keychron Keychron Q6 System Control
	Information	[  6806.185] (II) UnloadModule: "libinput"
	Information	[  6806.192] (II) event9  - Keychron Keychron Q6 Consumer Control: device removed
	Information	[  6806.212] (II) config/udev: removing device Keychron Keychron Q6 Consumer Control
	Information	[  6806.214] (II) UnloadModule: "libinput"
	Information	[  6806.214] (II) config/udev: removing device Keychron Keychron Q6 Consumer Control
	Information	[  6806.215] (II) UnloadModule: "libinput"
	Information	[  6806.276] (II) event10 - Keychron Keychron Q6 Keyboard: device removed
	Information	[  6806.316] (II) config/udev: removing device Keychron Keychron Q6 Keyboard
	Information	[  6806.317] (II) UnloadModule: "libinput"
	Information	[  6815.174] (--) NVIDIA(GPU-0): DFP-0: disconnected
	Information	[  6815.174] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
	Information	[  6815.174] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
	Information	[  6815.174] (--) NVIDIA(GPU-0): 
	Information	[  6816.100] (--) NVIDIA(GPU-0): GBT AORUS FO48U (DFP-0): connected
	Information	[  6816.100] (--) NVIDIA(GPU-0): GBT AORUS FO48U (DFP-0): Internal TMDS
	Information	[  6816.100] (--) NVIDIA(GPU-0): GBT AORUS FO48U (DFP-0): 600.0 MHz maximum pixel clock
	Information	[  6816.100] (--) NVIDIA(GPU-0): 
	Information	[  6816.132] (II) NVIDIA(0): Setting mode "NULL"
	Information	[  6816.338] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @3840x2160 +0+0 {ViewPortIn=3840x2160, ViewPortOut=3840x2160+0+0}"
	Information	[  6817.554] (II) config/udev: Adding input device Razer Razer DeathAdder V2 (/dev/input/mouse0)

I am trying to find relevant information in journald, but I am not sure what I can find in that

2024-04-23 8:59 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15342, resource id: 130023425, major code: 15 (QueryTree), minor code: 0
2024-04-23 8:59 P.M.	kwin_x11	OpenGL vendor string:                   NVIDIA Corporation
2024-04-23 8:59 P.M.	kwin_x11	OpenGL renderer string:                 NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
2024-04-23 8:59 P.M.	kwin_x11	OpenGL version string:                  3.1.0 NVIDIA 535.171.04
2024-04-23 8:59 P.M.	kwin_x11	OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
2024-04-23 8:59 P.M.	kwin_x11	Driver:                                 NVIDIA
2024-04-23 8:59 P.M.	kwin_x11	Driver version:                         535.171.4
2024-04-23 8:59 P.M.	kwin_x11	GPU class:                              Unknown
2024-04-23 8:59 P.M.	kwin_x11	OpenGL version:                         3.1
2024-04-23 8:59 P.M.	kwin_x11	GLSL version:                           1.40
2024-04-23 8:59 P.M.	kwin_x11	X server version:                       1.21.1
2024-04-23 8:59 P.M.	kwin_x11	Linux kernel version:                   6.5
2024-04-23 8:59 P.M.	kwin_x11	Requires strict binding:                no
2024-04-23 8:59 P.M.	kwin_x11	GLSL shaders:                           yes
2024-04-23 8:59 P.M.	kwin_x11	Texture NPOT support:                   yes
2024-04-23 8:59 P.M.	kwin_x11	Virtual Machine:                        no
2024-04-23 8:59 P.M.	kwin_x11	BlurConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	ZoomConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	WindowViewConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	SlidingPopupsConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	SlideConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	OverviewConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	KscreenConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	kwin_x11	DesktopGridConfig::instance called after the first use - ignoring
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48538, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48539, resource id: 29360939, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48540, resource id: 29360939, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48541, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48542, resource id: 29360941, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48543, resource id: 29360941, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48544, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48545, resource id: 29360943, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48546, resource id: 29360943, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48547, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48548, resource id: 29360945, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48549, resource id: 29360945, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48550, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48551, resource id: 29360947, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48552, resource id: 29360947, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48553, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48554, resource id: 29360949, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48555, resource id: 29360949, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48556, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48557, resource id: 29360951, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48558, resource id: 29360951, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48559, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48560, resource id: 29360953, major code: 55 (CreateGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48561, resource id: 29360953, major code: 72 (PutImage), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48566, resource id: 29360931, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48567, resource id: 29360932, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48568, resource id: 29360933, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48569, resource id: 29360934, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48570, resource id: 29360935, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48571, resource id: 29360936, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48572, resource id: 29360921, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48573, resource id: 29360922, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48574, resource id: 29360923, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48575, resource id: 29360924, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48582, resource id: 29360925, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48583, resource id: 29360926, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48584, resource id: 29360927, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48585, resource id: 29360928, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 48586, resource id: 29360929, major code: 54 (FreePixmap), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 48587, resource id: 29360930, major code: 60 (FreeGC), minor code: 0
2024-04-23 8:59 P.M.	plasmashell	pid 13216 != 13215, skipping destruction (fork without exec?)
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMAPPS_INTERFACE_VERSION008 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / HTMLSurface
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMINVENTORY_INTERFACE_V003 / Inventory
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / RemoteStorage
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMUGC_INTERFACE_VERSION016 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMUGC_INTERFACE_VERSION016 / UGC
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMUSERSTATS_INTERFACE_VERSION012 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / UserStats
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface STEAMVIDEO_INTERFACE_V002 / Video
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamController008 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamController008 / Controller
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamFriends017 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamFriends017 / Friends
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamInput006 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamMatchMaking009 / Matchmaking
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamMatchMakingServers002 / MatchmakingServers
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamNetworking006 / Networking
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamUser021 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamUser021 / User
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamUtils010 /
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 created interface SteamUtils010 / Utils
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUGC::GetSubscribedItems : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUGC::GetNumSubscribedItems : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientAudio::GetAvailableVoice : 3754318
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUserStats::GetAchievement : 51
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUserStats::RequestCurrentStats : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientAppManager::GetCurrentLanguage : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientAppManager::GetActiveBeta : 11
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUtils::RecordSteamInterfaceCreation : 32
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUtils::InitFilterText : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUtils::GetAPICallResult : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUtils::GetAppID : 37
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientFriends::GetFriendPersonaName_Public : 27
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientFriends::SetRichPresence : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientFriends::GetFriendByIndex : 27
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientFriends::GetFriendCount : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientFriends::GetPersonaName : 4
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUser::GetEncryptedAppTicket : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUser::RequestEncryptedAppTicket : 1
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUser::GetSteamID : 197
2024-04-23 8:59 P.M.	plasmashell	Game 1084160 method call count for IClientUser::BLoggedOn : 5
2024-04-23 8:59 P.M.	plasmashell	Uploaded AppInterfaceStats to Steam
2024-04-23 8:59 P.M.	user@1000.service	g_object_unref: assertion 'G_IS_OBJECT (object)' failed
2024-04-23 8:59 P.M.	caffeine	xdg-screensaver: Window 0x7c00001 does not exist
2024-04-23 8:59 P.M.	caffeine	INFO:root:caffeine is no longer inhibiting desktop idleness
2024-04-23 8:59 P.M.	plasmashell	reaping pid: 13367 -- gameoverlayui
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:00 P.M.	rtkit-daemon	Successfully made thread 17938 of process 17556 owned by '1000' RT at priority 10.
2024-04-23 9:00 P.M.	rtkit-daemon	Supervising 13 threads of 8 processes of 1 users.
2024-04-23 9:00 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 37490, resource id: 123732038, major code: 15 (QueryTree), minor code: 0
2024-04-23 9:00 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 39164, resource id: 106954776, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:00 P.M.	systemd	app-konsole-939cdccf4554460e86bd4803505c13d4.scope: Consumed 6.013s CPU time.
2024-04-23 9:00 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 39742, resource id: 104857651, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:00 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 41750, resource id: 109051993, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:00 P.M.	systemd	app-org.kde.dolphin-422115ebb27b476f94b8b6ed26804196.scope: Consumed 5.174s CPU time.
2024-04-23 9:01 P.M.	smartd	Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 67 to 64
2024-04-23 9:01 P.M.	smartd	Device: /dev/sdb [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 62 to 59
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: Failed to focus 0x4e000a7 (error 3)
2024-04-23 9:02 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51556, resource id: 81789095, major code: 3 (GetWindowAttributes), minor code: 0
2024-04-23 9:02 P.M.	plasmashell	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51557, resource id: 81789095, major code: 2 (ChangeWindowAttributes), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51141, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51142, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51143, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51144, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51180, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51181, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51182, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: XCB error: 3 (BadWindow), sequence: 51185, resource id: 81789095, major code: 129 (SHAPE), minor code: 3 (Combine)
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: XCB error: 3 (BadWindow), sequence: 51186, resource id: 81789095, major code: 129 (SHAPE), minor code: 3 (Combine)
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51188, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51189, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51191, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51196, resource id: 81789095, major code: 12 (ConfigureWindow), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51197, resource id: 81789095, major code: 25 (SendEvent), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: XCB error: 3 (BadWindow), sequence: 51200, resource id: 81789095, major code: 129 (SHAPE), minor code: 3 (Combine)
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: XCB error: 3 (BadWindow), sequence: 51201, resource id: 81789095, major code: 129 (SHAPE), minor code: 3 (Combine)
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51203, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51204, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51267, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51268, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51269, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51270, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51272, resource id: 81789095, major code: 20 (GetProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51273, resource id: 81789095, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51274, resource id: 81789095, major code: 15 (QueryTree), minor code: 0
2024-04-23 9:02 P.M.	kwin_x11	kwin_core: XCB error: 152 (BadDamage), sequence: 51336, resource id: 16841807, major code: 143 (DAMAGE), minor code: 3 (Subtract)
2024-04-23 9:03 P.M.	rtkit-daemon	Supervising 11 threads of 6 processes of 1 users.
2024-04-23 9:03 P.M.	rtkit-daemon	Supervising 11 threads of 6 processes of 1 users.
2024-04-23 9:03 P.M.	rtkit-daemon	Supervising 11 threads of 6 processes of 1 users.
2024-04-23 9:03 P.M.	rtkit-daemon	Supervising 11 threads of 6 processes of 1 users.
2024-04-23 9:03 P.M.	rtkit-daemon	Successfully made thread 18368 of process 17599 owned by '1000' RT at priority 10.
2024-04-23 9:03 P.M.	rtkit-daemon	Supervising 12 threads of 7 processes of 1 users.
2024-04-23 9:05 P.M.	kdeconnectd	kdeconnect.core: error when opening the input to upload
2024-04-23 9:05 P.M.	NetworkManager	<info>  [1713920742.4437] dhcp4 (enp9s0): state changed new lease, address=192.168.100.82
2024-04-23 9:05 P.M.	dbus-daemon	[system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=893 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
2024-04-23 9:05 P.M.	systemd	Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
2024-04-23 9:05 P.M.	dbus-daemon	[system] Successfully activated service 'org.freedesktop.nm_dispatcher'
2024-04-23 9:05 P.M.	systemd	Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
2024-04-23 9:05 P.M.	systemd	NetworkManager-dispatcher.service: Deactivated successfully.
2024-04-23 9:06 P.M.	kglobalaccel5	Omitting both --window and --windowclass arguments is not recommended
2024-04-23 9:06 P.M.	kwin_x11	qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36337, resource id: 104857612, major code: 18 (ChangeProperty), minor code: 0
2024-04-23 9:06 P.M.	systemd	Started app-konsole-c362fa5fd40849d3801efcddd4481528.scope - konsole.

I’ve checked for any information of the monitor or gpu I could find around when the issue started.

I am not sure where else to start looking for more information. The information I gathered doesn’t give me any clues because I am a new user and not familiar with all that information.

In the logs, we can clearly see that the mouse and keyboard from the KVM gets disconnected, but I don’t see why this is happening.

I use the KVM switch because I only have one screen and can switch between my work computer and my personal computer. I understand the flakiness of KVMs in general, but I’ve used the monitor on windows for more than a year and a half and never had any issues.

Any help to tell me where to look next would be appreciated.

Thanks.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    Sounds like your monitor is hitting a power drain and resetting the USB while under load. Try turning your refresh rate down, and disabling any extended USB power settings (like always on port, or rapid charging voltage) for the monitor and see if it stops.

    • Croquette@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      That’s something I will try. My only gripe with that explanation is that I didn’t have the issue when my windows machine (which is exactly the same as it is now, except with Kubuntu) was using the same mouse, keyboard and setup.

      I could try to put a mouse directly on my PC and keep my keyboard as is to see if I can trigger the issue. I might be on the brink of overcurrent and when the GPU is running hotter, it might trip the power drain.

      My intuition is that since the nvidia driver on linux isn’t great, there might be an issue between the GPU and the HDMI connection to the monitor. And since the functionality of the KVM depends on the HDMI connection to the PC, if there is an issue, that might cause the issue. In the Xorg log, we can see that there is a hiccup with the GPU and it seems to be restarting the hdmi.

      Still, I will try to lower the power consumption by reducing the GPU load, and any settings I can change on my monitor and see if that causes issues.

      That’s a lot of great advices. Thanks

      • just_another_person@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        Yeah, I get what you mean. You may also want to disable any USB power saving features on the host machine that is causing the disconnect. If Windows was working previously, maybe there’s an issue with the power saving settings for your Linux install. It’s clear from the logs there is a disconnect at USB, and then everything tries to reset though.

  • f4f4f4f4f4f4f4f4@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Try some non-Razer input devices. I’ve seen multiple systems act strangely because of them, although the usual problem is that the system won’t POST with the offending device plugged in… Unplug, boot system, plug in, and it works fine (until it’s time to reboot or power-cycle).

    • Croquette@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Thanks for the input, but I am just not using the kvm anymore. It’s flaky even in normal use. I will get a wireless mouse with connection profile and have 2 cables for my keyboard.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    It’s really hard to say for sure, because there’s almost never accessible logs from the monitor or USB controller. First course of action is usually firmware updates. Monitor firmware, PC BIOS/UEFI. Then try swapping hardware. Make sure your USB-C cable is appropriately rated to carry video of the resolution you’re using, plus the USB traffic. I assume it’s not also carrying power. Then try different USB-C ports on the PC (front/back/addon cards).

    If possible, you might try changing from USB-C to USB-B connections to see if that’s any more reliable. Or at least use separate cables for video and USB. A quick check of the manual suggests that’s supported.

    • Croquette@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Right now, my configuration is 2 hdmi cables for video output (one in my pc and the other in my work pc), a usb connection from each of these computer to the monitor (usb c for the work pc and usb b for the pc) and my mouse an keyboard are plugged each into their own usb port on the integrated kvm.

      My monitor is updated to the latest firmware, and bios is updated to the last firmware it can be (it’s an old motherboard, so not really supported anymore).

      I doubt that the bios is the issue here because I had the same bios back on windows 10, and I didn’t have the issue back then.

      But that a good avenue to explore still. Thanks for your input.