[kwin] [Bug 480758] kwin-6.0-overview-activities-shortcuts.py causes login slowdowns
https://bugs.kde.org/show_bug.cgi?id=480758 Henrik Harmsen changed: What|Removed |Added CC||hen...@harmsen.se --- Comment #10 from Henrik Harmsen --- *** Bug 481543 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 481543] Parse error in kwin.upd (run by kconf_update) causing delayed mouse cursor on login
https://bugs.kde.org/show_bug.cgi?id=481543 Henrik Harmsen changed: What|Removed |Added Resolution|--- |DUPLICATE Status|REPORTED|RESOLVED --- Comment #2 from Henrik Harmsen --- *** This bug has been marked as a duplicate of bug 480758 *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 481543] Parse error in kwin.upd (run by kconf_update) causing delayed mouse cursor on login
https://bugs.kde.org/show_bug.cgi?id=481543 --- Comment #1 from Henrik Harmsen --- Searching a bit more I can see that this is a duplicate of resolved bug 480758. I will try to close this. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 481543] New: Parse error in kwin.upd (run by kconf_update) causing delayed mouse cursor on login
https://bugs.kde.org/show_bug.cgi?id=481543 Bug ID: 481543 Summary: Parse error in kwin.upd (run by kconf_update) causing delayed mouse cursor on login Classification: Plasma Product: kwin Version: git master Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: hen...@harmsen.se Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Install arch and enable kde unstable repo to get plasma 6 rc 2. When logging in, it takes 30s for the mouse to appear 3. OBSERVED RESULT When logging in, it takes 30s for the mouse to appear EXPECTED RESULT No delay SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.93.0 KDE Frameworks Version: 5.249.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION After login, I ran the commands below to try to get more information and it is complaining first about a parse error in kwin.upd and then that an update script does not terminate (for kwin.upd). It hangs 30s, not 60s as shown in the output below. I think this is causing the slow login because I can see that when kconf_update terminates, the mouse cursor comes back. hch@sc:~/.config$ rm kconf_updaterc # to trigger full rebuild hch@sc:~$ /usr/lib/kf6/kconf_update --debug Automatically enabled the debug logging category kf.config.kconf_update kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/ark.upd" for new updates kf.config.kconf_update: /usr/share/kconf_update/ark.upd defined Version=5 but Version=6 was expected kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/dolphin_detailsmodesettings.upd" for new updates kf.config.kconf_update: /usr/share/kconf_update/dolphin_detailsmodesettings.upd defined Version=5 but Version=6 was expected kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/filepicker.upd" for new updates kf.config.kconf_update: /usr/share/kconf_update/filepicker.upd defined Version=5 but Version=6 was expected kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/gtkconfig.upd" for new updates kf.config.kconf_update: /usr/share/kconf_update/gtkconfig.upd defined Version=5 but Version=6 was expected kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/konsole.upd" for new updates kf.config.kconf_update: /usr/share/kconf_update/konsole.upd defined Version=5 but Version=6 was expected kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/kwin.upd" for new updates kf.config.kconf_update: "kwin.upd" : Found new update "change-activities-overview-shortcuts" kf.config.kconf_update: "kwin.upd" : 12 :' "File=kglobalshortcutsrc" ': Parse error kf.config.kconf_update: "kwin.upd" : 13 :' "Group=plasmashell,kwin" ': Parse error kf.config.kconf_update: "kwin.upd" : Running script "kwin-6.0-overview-activities-shortcuts.py" kf.config.kconf_update: About to run "/usr/bin/python3" kf.config.kconf_update: Script contents is: "#!/usr/bin/env python3\n# SPDX-FileCopyrightText: 2023 Niccol\xC3\xB2 Venerandi \n# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL\n\nimport fileinput\n\nfor line in fileinput.input():\nif line.startswith('next activity'):\n print(line.replace('Meta+Tab', 'Meta+A'))\nelif line.startswith('previous activity'):\nprint(line.replace('Meta+Shift+Tab', 'Meta+Shift+A'))\n elif line.startswith('ShowDesktopGrid'):\npass\nelif line.startswith('Overview'):\nprint('Overview=Meta+W,Meta+W,Toggle Overview')\nprint('Cycle Overview=Meta+Tab,Meta+Tab,Cycle through Overview and Grid View')\nprint('Cycle Overview Opposite=Meta+Shift+Tab,Meta+Shift+Tab,Cycle through Grid View and Overview')\n print('Grid View=Meta+G,Meta+G,Toggle Grid View')\nelse:\n print(line)\n" [ HERE IT HANGS FOR 30 SECONDS ] kf.config.kconf_update: "kwin.upd" : 14 :' "Script=kwin-6.0-overview-activities-shortcuts.py,python3" ': update script did not terminate within 60 seconds: "/usr/bin/python3" QProcess: Destroyed while process ("/usr/bin/python3") is still running. kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/migrate-calendar-to-plugin-id.upd" for new updates kf.config.kconf_update: "migrate-calendar-to-plugin-id.upd" : Found new update "migrate-calendar-plugins" kf.config.kconf_update: "migrate-calendar-to-plugin-id.upd" : Running script "migrate-calendar-to-plugin-id.py" kf.config.kconf_update: About to run "/usr/share/kconf_update/migrate-calendar-to-plugin-id.py" kf.config.kconf_update: Script contents is:
[krfb] [Bug 451086] Cannot connect to KRFB desktop running on Fedora 36 KDE.
https://bugs.kde.org/show_bug.cgi?id=451086 --- Comment #6 from Henrik Harmsen --- Some more troubleshooting information. My previous comment should be ignored because that was due to another problem which got fixed in krfb: "pw" plugin does not work at all in X11 so that is why it did not work. krfb now no longer enables "pw" under X11 anymore. However, I set up a KDE wayland desktop (in a VM) and I am now using that for troubleshooting. Using the "pw" plugin here, I get two different outcomes: 1. If "Portal" pops up a window asking what to share (as described in https://bugs.kde.org/show_bug.cgi?id=458191) then I can semi-successfully connect to krfb from VNC. However the client window has changed everything that is blue into yellow. Seems RGB got mixed up somewhere. This is the first time krfb has ever worked in any fashion on Wayland for me. So semi-success there. 2. If I restart krfb rather quickly, then "Portal" does not pop up a window asking what to share (maybe the answer is cached) and then I get the failure mode described here with the invalid window sizes. I don't even know what Portal is yet though. I'm attaching here a printout from krfb in the two modes described above. By the way I am using Kubuntu 22.10 for my testing, probably it doesn't matter. 1. kdesrc-run Module: krfb Program:krfb Revision: b740b6518eef498e184a3ccfafc3ba854748531e Arguments: krfb.krfb: Loaded plugin with name "pw" Initializing D-Bus connectivity with XDG Desktop Portal DBus session created: "/org/freedesktop/portal/desktop/request/1_63/krfb718875647" krfb.krfb: Using FrameBuffer: "pw" krfb.krfb: Starting server. Listen port: 5902 Listen Address: "0.0.0.0" Password enabled: true 16/02/2023 16:32:02 Listening for VNC connections on TCP port 5902 16/02/2023 16:32:02 Listening for VNC connections on TCP6 port 5902 kpipewire_logging: Failed to query DMA-BUF formats. 16/02/2023 16:32:39 Got connection from client 192.168.122.1 16/02/2023 16:32:39 0 other clients 16/02/2023 16:32:39 Normal socket connection 16/02/2023 16:32:39 Client Protocol Version 3.8 16/02/2023 16:32:39 Protocol version sent 3.8, using 3.8 16/02/2023 16:32:39 rfbProcessClientSecurityType: executing handler for type 2 krfb.krfb: about to start authentication krfb.krfb: Loaded plugin with name "xdp" krfb.krfb: Loaded plugin with name "x11" 16/02/2023 16:32:43 Pixel format for client 192.168.122.1: 16/02/2023 16:32:43 32 bpp, depth 24, little endian 16/02/2023 16:32:43 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFEC6) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664) 16/02/2023 16:32:43 Enabling full-color cursor updates for client 192.168.122.1 16/02/2023 16:32:43 Enabling X-style cursor updates for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5666) 16/02/2023 16:32:43 Enabling NewFBSize protocol extension for client 192.168.122.1 16/02/2023 16:32:43 Enabling ExtDesktopSize protocol extension for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFECD) 16/02/2023 16:32:43 Enabling LastRect protocol extension for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFEC7) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFEC8) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFEFE) 16/02/2023 16:32:43 Using compression level 2 for client 192.168.122.1 16/02/2023 16:32:43 Using image quality level 8 for client 192.168.122.1 16/02/2023 16:32:43 Using JPEG subsampling 0, Q92 for client 192.168.122.1 16/02/2023 16:32:43 Using tight encoding for client 192.168.122.1 16/02/2023 16:32:43 Sending rfbEncodingExtDesktopSize for size (1920x1080) 16/02/2023 16:33:34 Client 192.168.122.1 gone 16/02/2023 16:33:34 Statistics eventsTransmit/ RawEquiv ( saved) 16/02/2023 16:33:34 FramebufferUpdate :355 | 0/0 ( 0,0%) 16/02/2023 16:33:34 LastRect:355 | 4260/ 4260 ( 0,0%) 16/02/2023 16:33:34 tight : 48172 | 173806190/-1354123816 ( 0,0%) 16/02/2023 16:33:34 RichCursor : 1 | 1525/ 1525 ( 0,0%) 16/02/2023 16:33:34 ExtendedDesktopSize : 1 |32/ 3
[krfb] [Bug 451086] Cannot connect to KRFB desktop running on Fedora 36 KDE.
https://bugs.kde.org/show_bug.cgi?id=451086 --- Comment #4 from Henrik Harmsen --- I also can confirm this. When trying this in X11 with the pipewire (pw) plugin I get the below output (with debug turned on). It says a bit down: "krfb.framebuffer.pipewire: Failed to create session: 2" But then it continues (unsuccessfully). I don't know if pw plugin is supposed to work on X11 or just Wayland? (I am trying to get this to work on Wayland but testing is tricky so I ran it on X11 first. ) hch@srv:~/kde/src$ kdesrc-run krfb kdesrc-run Module: krfb Program:krfb Revision: 21b2361c9f669e826b78531b4443d18f19d70e4b Arguments: krfb.krfb: Loaded plugin with name "qt" krfb.krfb: Loaded plugin with name "pw" krfb.krfb: Loaded plugin with name "xcb" krfb.krfb: Using FrameBuffer: "pw" Initializing D-Bus connectivity with XDG Desktop Portal DBus session created: "/org/freedesktop/portal/desktop/request/1_113/krfb575529447" krfb.krfb: Starting server. Listen port: 5903 Listen Address: "0.0.0.0" Password enabled: true 02/02/2023 17:39:31 Listening for VNC connections on TCP port 5903 02/02/2023 17:39:31 Listening for VNC connections on TCP6 port 5903 krfb.framebuffer.pipewire: Failed to create session: 2 02/02/2023 17:49:27 Got connection from client 192.168.0.139 02/02/2023 17:49:27 0 other clients 02/02/2023 17:49:27 Normal socket connection 02/02/2023 17:49:27 Client Protocol Version 3.8 02/02/2023 17:49:27 Protocol version sent 3.8, using 3.8 02/02/2023 17:49:27 rfbProcessClientSecurityType: executing handler for type 2 krfb.krfb: about to start authentication krfb.krfb: Loaded plugin with name "xdp" krfb.krfb: Loaded plugin with name "x11" 02/02/2023 17:49:33 Client 192.168.0.139 gone 02/02/2023 17:49:33 Statistics eventsTransmit/ RawEquiv ( saved) 02/02/2023 17:49:33 TOTALS : 0 | 0/0 ( 0,0%) 02/02/2023 17:49:33 Statistics eventsReceived/ RawEquiv ( saved) 02/02/2023 17:49:33 TOTALS : 0 | 0/0 ( 0,0%) 02/02/2023 17:49:37 Got connection from client 192.168.0.139 02/02/2023 17:49:37 0 other clients 02/02/2023 17:49:37 Normal socket connection 02/02/2023 17:49:37 Client Protocol Version 3.8 02/02/2023 17:49:37 Protocol version sent 3.8, using 3.8 02/02/2023 17:49:37 rfbProcessClientSecurityType: executing handler for type 2 krfb.krfb: about to start authentication 02/02/2023 17:49:48 Client 192.168.0.139 gone 02/02/2023 17:49:48 Statistics eventsTransmit/ RawEquiv ( saved) 02/02/2023 17:49:48 ServerCutText : 1 |25/ 25 ( 0,0%) 02/02/2023 17:49:48 TOTALS : 1 |25/ 25 ( 0,0%) -- You are receiving this mail because: You are watching all bug changes.
[krfb] [Bug 458191] KRFB on Wayland, Have to confirm "Select what to share" and "New connection" even if you select "Enable Unattended Access"
https://bugs.kde.org/show_bug.cgi?id=458191 Henrik Harmsen changed: What|Removed |Added CC||hen...@harmsen.se --- Comment #3 from Henrik Harmsen --- I also had problems with this. Then I set different passwords for attended vs unattended access. If I use the password for unattended access it worked ok. Could you try that? I think krfb for wayland is broken due to https://bugs.kde.org/show_bug.cgi?id=451086 I could only get krfb working on KDE by using the xcb and X11 -- You are receiving this mail because: You are watching all bug changes.
[krfb] [Bug 451086] Cannot connect to KRFB desktop running on Fedora 36 KDE.
https://bugs.kde.org/show_bug.cgi?id=451086 Henrik Harmsen changed: What|Removed |Added CC||hen...@harmsen.se -- You are receiving this mail because: You are watching all bug changes.