We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Recently, the boinc client is resulting in errors when attempting to perform idle detection
Steps To Reproduce
Expected behavior After a few minutes, idle detection will kick in, resuming e.g. GPU computing
System Information
Additional context Checking the logs with the idle_detection_debug flag on, this is found in the output:
[idle_detection] Error (2) opening /tmp/.X11-unix/. [idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
If there are any other relevant logs I can provide, please let me know.
The text was updated successfully, but these errors were encountered:
I use the following Python script on one of my Ubuntu 20 machines that starts when the machine boots. It works very well.
#!/usr/bin/python3 import subprocess import time import os while True: result = subprocess.check_output(["dbus-send", "--print-reply", "--dest=org.gnome.Mutter.IdleMonitor", "/org/gnome/Mutter/IdleMonitor/Core", "org.gnome.Mutter.IdleMonitor.GetIdletime"]) result = str(result) idle_milli = int(result.split()[-1].strip()[:-3]) if idle_milli > 3 * 60 * 1000: # print("activate\n") os.system("boinccmd --set_gpu_mode always 10") os.system("boinccmd --set_network_mode always 10") os.system("boinccmd --set_run_mode always 10") time.sleep(5)
Sorry, something went wrong.
Closed as a duplicate of #1187
No branches or pull requests
Describe the bug
Recently, the boinc client is resulting in errors when attempting to perform idle detection
Steps To Reproduce
Expected behavior
After a few minutes, idle detection will kick in, resuming e.g. GPU computing
System Information
Additional context
Checking the logs with the idle_detection_debug flag on, this is found in the output:
[idle_detection] Error (2) opening /tmp/.X11-unix/.
[idle_detection] Could not connect to any DISPLAYs. XSS idle determination impossible.
If there are any other relevant logs I can provide, please let me know.
The text was updated successfully, but these errors were encountered: