Thread 'BOINC and KDE Wayland'

Message boards : Questions and problems : BOINC and KDE Wayland
Message board moderation

To post messages, you must log in.

AuthorMessage
flim

Send message
Joined: 21 Oct 24
Posts: 4
Message 114706 - Posted: 21 Oct 2024, 13:52:12 UTC

Hi all. First post, so please be gentle with me!

I've noticed this in the past, but just switched back to X11. Now that Kubuntu defaults to Wayland, I'd like to get it fixed. Essentially, BOINC does not detect mouse/keyboard input under Wayland, so "Run based on preferences" results in it running all the time, except when something else interferes, such as high non-BOINC CPU or running on batteries.

Standard questions/responses below:

Which BOINC version you run:
v8.0.4 (x64)

What your problem is exactly, write it out in as much detail as you can:
Per above, mouse/keyboard inputs aren't detected under KDE Wayland.

What you have done so far to try to remedy the problem:
In the past, I have just reverted to X11, but since upgrading to Kubuntu 24.10, Wayland is now the default. I have tried forcing BOINC to re-read local prefs/config, restarted a few times, toggled between "Run always," "Run based on preferences" and "Suspend" activity modes.

If applicable, the project(s) that you have the problems with and if they have multiple applications, which ones give you problems:
I'm currently only running World Community Grid, which only gives me workloads for Mapping Cancer Markers.

Post the first 40 - 100 lines from your BOINC Event Log (CTRL+SHIFT+E), including it showing what your BOINC is doing, which project tasks it is running:
Mon 21 Oct 2024 14:11:33 BST | | Starting BOINC client version 8.0.4 for x86_64-pc-linux-gnu
Mon 21 Oct 2024 14:11:33 BST | | log flags: file_xfer, sched_ops, task
Mon 21 Oct 2024 14:11:33 BST | | Libraries: libcurl/8.9.1 OpenSSL/3.3.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.62.1 librtmp/2.3 OpenLDAP/2.6.8
Mon 21 Oct 2024 14:11:33 BST | | Data directory: /var/lib/boinc-client
Mon 21 Oct 2024 14:11:34 BST | | No usable GPUs found
Mon 21 Oct 2024 14:11:34 BST | | app version refers to missing GPU type NVIDIA
Mon 21 Oct 2024 14:11:34 BST | World Community Grid | App version uses missing GPU 'NVIDIA'
Mon 21 Oct 2024 14:11:34 BST | | libc: version 2.40
Mon 21 Oct 2024 14:11:34 BST | | Computer name: flim
Mon 21 Oct 2024 14:11:34 BST | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz [Family 6 Model 94 Stepping 3]
Mon 21 Oct 2024 14:11:34 BST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
Mon 21 Oct 2024 14:11:34 BST | | OS: Linux Ubuntu: Ubuntu 24.10 [6.11.0-9-generic|libc 2.40]
Mon 21 Oct 2024 14:11:34 BST | | Memory: 62.63 GB physical, 2.00 GB virtual
Mon 21 Oct 2024 14:11:34 BST | | Disk: 233.18 GB total, 140.03 GB free
Mon 21 Oct 2024 14:11:34 BST | | Local time is UTC +1 hours
Mon 21 Oct 2024 14:11:34 BST | | Config: GUI RPCs allowed from:
Mon 21 Oct 2024 14:11:34 BST | World Community Grid | Computing prefs: from World Community Grid (last modified 22-Sep-2017 20:24:06)
Mon 21 Oct 2024 14:11:34 BST | World Community Grid | Computing prefs: computer location unspecified; using default
Mon 21 Oct 2024 14:11:34 BST | | Reading preferences override file
Mon 21 Oct 2024 14:11:34 BST | | Computing preferences:
Mon 21 Oct 2024 14:11:34 BST | | - When computer is in use
Mon 21 Oct 2024 14:11:34 BST | | - 'In use' means mouse/keyboard input in last 3.00 minutes
Mon 21 Oct 2024 14:11:34 BST | | - don't compute
Mon 21 Oct 2024 14:11:34 BST | | - don't use GPU
Mon 21 Oct 2024 14:11:34 BST | | - max CPUs used: 8
Mon 21 Oct 2024 14:11:34 BST | | - Use at most 100% of the CPU time
Mon 21 Oct 2024 14:11:34 BST | | - suspend if non-BOINC CPU load exceeds 50%
Mon 21 Oct 2024 14:11:34 BST | | - max memory usage: 31.31 GB
Mon 21 Oct 2024 14:11:34 BST | | - When computer is not in use
Mon 21 Oct 2024 14:11:34 BST | | - max CPUs used: 8
Mon 21 Oct 2024 14:11:34 BST | | - Use at most 100% of the CPU time
Mon 21 Oct 2024 14:11:34 BST | | - suspend if non-BOINC CPU load exceeds 50%
Mon 21 Oct 2024 14:11:34 BST | | - max memory usage: 46.97 GB
Mon 21 Oct 2024 14:11:34 BST | | - Suspend if running on batteries
Mon 21 Oct 2024 14:11:34 BST | | - Leave apps in memory if not running
Mon 21 Oct 2024 14:11:34 BST | | - Store at least 0.20 days of work
Mon 21 Oct 2024 14:11:34 BST | | - Store up to an additional 0.30 days of work
Mon 21 Oct 2024 14:11:34 BST | | - max disk usage: 10.00 GB
Mon 21 Oct 2024 14:11:34 BST | | - (to change preferences, visit a project web site or select 'Options / Computing preferences...' in the Manager)
Mon 21 Oct 2024 14:11:34 BST | | Setting up project and slot directories
Mon 21 Oct 2024 14:11:34 BST | | Checking active tasks
Mon 21 Oct 2024 14:11:34 BST | World Community Grid | URL http://www.worldcommunitygrid.org/; Computer ID 7920137; resource share 100
Mon 21 Oct 2024 14:11:34 BST | | Setting up GUI RPC socket
Mon 21 Oct 2024 14:11:34 BST | | Warning: GUI RPC password is empty. BOINC can be controlled by any user on this computer. See https://boinc.berkeley.edu/gui_rpc_passwd.php for more information.
Mon 21 Oct 2024 14:11:34 BST | | Checking presence of 210 project files
Mon 21 Oct 2024 14:11:34 BST | | Suspending computation - user request
Mon 21 Oct 2024 14:23:37 BST | World Community Grid | Computation for task MCM1_0226666_6293_0 finished
Mon 21 Oct 2024 14:23:37 BST | World Community Grid | Starting task MCM1_0226709_1544_1
Mon 21 Oct 2024 14:23:39 BST | World Community Grid | Started upload of MCM1_0226666_6293_0_r1120389358_0
Mon 21 Oct 2024 14:23:40 BST | | Suspending computation - CPU is busy
Mon 21 Oct 2024 14:23:41 BST | World Community Grid | Finished upload of MCM1_0226666_6293_0_r1120389358_0 (997 bytes)
Mon 21 Oct 2024 14:24:01 BST | | Resuming computation
Mon 21 Oct 2024 14:24:39 BST | World Community Grid | Computation for task MCM1_0226668_6399_0 finished
Mon 21 Oct 2024 14:24:39 BST | World Community Grid | Starting task MCM1_0226701_0274_1
Mon 21 Oct 2024 14:24:41 BST | | Suspending computation - CPU is busy
Mon 21 Oct 2024 14:24:41 BST | World Community Grid | Started upload of MCM1_0226668_6399_0_r651906269_0
Mon 21 Oct 2024 14:24:42 BST | World Community Grid | Finished upload of MCM1_0226668_6399_0_r651906269_0 (626 bytes)
Mon 21 Oct 2024 14:25:01 BST | | Resuming computation
Mon 21 Oct 2024 14:33:28 BST | | Re-reading cc_config.xml
Mon 21 Oct 2024 14:33:28 BST | | Config: GUI RPCs allowed from:
Mon 21 Oct 2024 14:33:28 BST | | log flags: file_xfer, sched_ops, task
Mon 21 Oct 2024 14:33:32 BST | World Community Grid | Computing prefs: from World Community Grid (last modified 22-Sep-2017 20:24:06)
Mon 21 Oct 2024 14:33:32 BST | World Community Grid | Computing prefs: computer location unspecified; using default
Mon 21 Oct 2024 14:33:32 BST | | Reading preferences override file
Mon 21 Oct 2024 14:33:32 BST | | Computing preferences:
Mon 21 Oct 2024 14:33:32 BST | | - When computer is in use
Mon 21 Oct 2024 14:33:32 BST | | - 'In use' means mouse/keyboard input in last 3.00 minutes
Mon 21 Oct 2024 14:33:32 BST | | - don't compute
Mon 21 Oct 2024 14:33:32 BST | | - don't use GPU
Mon 21 Oct 2024 14:33:32 BST | | - max CPUs used: 8
Mon 21 Oct 2024 14:33:32 BST | | - Use at most 100% of the CPU time
Mon 21 Oct 2024 14:33:32 BST | | - suspend if non-BOINC CPU load exceeds 50%
Mon 21 Oct 2024 14:33:32 BST | | - max memory usage: 31.31 GB
Mon 21 Oct 2024 14:33:32 BST | | - When computer is not in use
Mon 21 Oct 2024 14:33:32 BST | | - max CPUs used: 8
Mon 21 Oct 2024 14:33:32 BST | | - Use at most 100% of the CPU time
Mon 21 Oct 2024 14:33:32 BST | | - suspend if non-BOINC CPU load exceeds 50%
Mon 21 Oct 2024 14:33:32 BST | | - max memory usage: 46.97 GB
Mon 21 Oct 2024 14:33:32 BST | | - Suspend if running on batteries
Mon 21 Oct 2024 14:33:32 BST | | - Leave apps in memory if not running
Mon 21 Oct 2024 14:33:32 BST | | - Store at least 0.20 days of work
Mon 21 Oct 2024 14:33:32 BST | | - Store up to an additional 0.30 days of work
Mon 21 Oct 2024 14:33:32 BST | | - max disk usage: 10.00 GB
Mon 21 Oct 2024 14:33:32 BST | | - (to change preferences, visit a project web site or select 'Options / Computing preferences...' in the Manager)
Mon 21 Oct 2024 14:33:38 BST | | Suspending computation - user request
Mon 21 Oct 2024 14:33:49 BST | | Resuming computation
Mon 21 Oct 2024 14:35:50 BST | World Community Grid | Computation for task MCM1_0226666_6393_0 finished
Mon 21 Oct 2024 14:35:50 BST | World Community Grid | Starting task MCM1_0226700_3071_0
Mon 21 Oct 2024 14:35:52 BST | World Community Grid | Computation for task MCM1_0226661_6007_1 finished
Mon 21 Oct 2024 14:35:52 BST | World Community Grid | Starting task MCM1_0226701_0273_0
Mon 21 Oct 2024 14:35:53 BST | World Community Grid | Started upload of MCM1_0226666_6393_0_r1110411983_0
Mon 21 Oct 2024 14:35:54 BST | | Suspending computation - CPU is busy
Mon 21 Oct 2024 14:35:54 BST | World Community Grid | Started upload of MCM1_0226661_6007_1_r1584792739_0
Mon 21 Oct 2024 14:35:55 BST | World Community Grid | Finished upload of MCM1_0226666_6393_0_r1110411983_0 (984 bytes)
Mon 21 Oct 2024 14:35:55 BST | World Community Grid | Finished upload of MCM1_0226661_6007_1_r1584792739_0 (630 bytes)
Mon 21 Oct 2024 14:36:14 BST | | Resuming computation
ID: 114706 · Report as offensive     Reply Quote
flim

Send message
Joined: 21 Oct 24
Posts: 4
Message 114707 - Posted: 21 Oct 2024, 14:09:34 UTC - in response to Message 114706.  
Last modified: 21 Oct 2024, 14:13:39 UTC

Facepalm.

Whilst separately trying to resolve the "no usable GPUs found" and associated NVIDIA messages, I've switched from the Nouveu open source driver to the NVIDIA proprietary driver. This has resolved the GPU issue, but also seems to have resolved the keyboard/mouse inputs problem above.

Leaving this up for now to gather thoughts & comments, but I now consider this one resolved by switching GPU drivers.

Edit: Spoke too soon, it's back to ignoring inputs. As you were!
ID: 114707 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2709
United Kingdom
Message 114709 - Posted: 21 Oct 2024, 14:56:51 UTC

It is a long time since I have used KDE. Is this any use. As you talked about battery, I am assuming it is the built in trackpad and keyboard that aren't working?
ID: 114709 · Report as offensive     Reply Quote
flim

Send message
Joined: 21 Oct 24
Posts: 4
Message 114711 - Posted: 21 Oct 2024, 15:21:08 UTC - in response to Message 114709.  

Hi Dave,

Thanks for the reply. I should clarify that my mouse and keyboard are working fine, but those inputs are not being detected by BOINC in order to know whether the machine is "in use". As such, using the inbuilt mouse (trackpad) and keyboard does not cause BOINC to suspend processing tasks. I am otherwise able to use the computer normally and have been using it to post these comments.

At least BOINC now detects my GPUs again and I have added Einstein@Home to make use of them.
ID: 114711 · Report as offensive     Reply Quote
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2709
United Kingdom
Message 114712 - Posted: 21 Oct 2024, 16:19:16 UTC - in response to Message 114711.  

Thanks for clarifying. I don't know how the mechanism for detecting mouse and keyboard activity works. I wonder if it is worth rasing it with the developers on git-hub? this issue there is quite old but it might have some hints about what to do in it.
ID: 114712 · Report as offensive     Reply Quote
flim

Send message
Joined: 21 Oct 24
Posts: 4
Message 114713 - Posted: 21 Oct 2024, 17:36:10 UTC - in response to Message 114712.  

Thanks Dave.

That's an old thread, but as of the last post just over a year ago, there was no idle detection method for Wayland.

I also did a search of the other issues posted and it looks like there's an outstanding task to update idle detection across the board for Linux. Again there's a comment from earlier this year that there's nothing for Wayland. The reasoning is that not many people are using it, but I would wager that will change now it's the default for Ubuntu, which I believe is still the most commonly used distro.

I'll try handling it manually for now, but I did just experience a forced shutdown which seems to have been due to overheating, so I'll need to keep an eye on it.
ID: 114713 · Report as offensive     Reply Quote

Message boards : Questions and problems : BOINC and KDE Wayland

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.