[Bug 994769] New: no usable gpus found issue of BOINC
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 Bug ID: 994769 Summary: no usable gpus found issue of BOINC Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mustafaxfe@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi, I have started to use OpenSUSE Leap 42.1 approximately one mount. I have been supporting BOINC at least 1 years. I have installed BOINC unstable (7.6.32) from OpenSUSE software page ( 1 Click Install page). I gave these commands before running BOINC(I found these commands from: https://forums.opensuse.org/showthread.php/518018-Running-BOINC) : 1. systemctl start boinc-client.service 2. /usr/sbin/usermod -G boinc -a username 3. chmod g+rw /var/lib/boinc 4. chmod g+rw /var/lib/boinc/*.* 5. ln -s /var/lib/boinc/gui_rpc_auth.cfg /home/username/gui_rpc_auth.cfg Finally log out and log in and it takes effect But When I check Event Log from boinc-manager ( Tools -> Event Log or simply shift-ctrl-e ) It says " no usable gpus found ". I have installed Amd firepro drivers and also AMD APP Opencl sdk. But Boinc gives this issue. I searched internet and found a solution. "xhost +si:localuser:boinc" after giving this command you need to restart boinc: "systemctl restart boinc-client.service" And BOINC founds my gpu and runs opencl apps. But I am giving every time this command (xhost +si:localuser:boinc) after log in. Where should I add this command to boot with. Also I want to enable boinc-client.service not starting by hand. So (xhost +si:localuser:boinc) should call before starting boinc service (systemctl start boinc-client.service) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c2 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Version|Leap 42.1 |Current Product|openSUSE Distribution |openSUSE Tumbleweed Target Milestone|--- |Current --- Comment #2 from Andreas Stieger <astieger@suse.com> --- (In reply to Mustafa Sarialp from comment #0)
I have installed BOINC unstable (7.6.32) from OpenSUSE software page ( 1 Click Install page).
As this is the devel package--> moving to Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c3 Sascha Manns <saigkill@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|saigkill@opensuse.org |chris@computersalat.de --- Comment #3 from Sascha Manns <saigkill@opensuse.org> --- Changed Bugowner to chris. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c4 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |mustafaxfe@gmail.com Flags| |needinfo?(mustafaxfe@gmail. | |com) --- Comment #4 from Christian Wittmer <chris@computersalat.de> --- Hi Mustafa, can you try the mentioned solution of Jan in https://bugzilla.opensuse.org/show_bug.cgi?id=994769#c1 and give feedback. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c5 Dawid Królak <taavit@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |taavit@gmail.com --- Comment #5 from Dawid Królak <taavit@gmail.com> --- I've added user boinc to video group, and gpus became visible by boinc (even after restart), but I feel like it is a workaround. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c6 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mustafaxfe@gmail. | |com) | --- Comment #6 from Jan Engelhardt <jengelh@inai.de> --- I do not think this will ever change. At most, the normal user running the X session will be allowed access to the card and/or the render target (as it currently happens with /dev/dri/* for example). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c7 --- Comment #7 from Dawid Królak <taavit@gmail.com> --- (In reply to Jan Engelhardt from comment #6)
I do not think this will ever change. At most, the normal user running the X session will be allowed access to the card and/or the render target (as it currently happens with /dev/dri/* for example).
Normal user have access to X session, but boinc-client is started as service as user 'boinc', not regular user, and don't have access to /dev/dri/* by default. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c8 --- Comment #8 from Jan Engelhardt <jengelh@inai.de> --- What I am saying is that allowing other user identities in the system access to your device node (whether that is /dev/dri or /dev/nvidia) would seem like it opens the door for programs run by that other identity to make secret picture snapshots of your desktop. As such, it is a sensible *default* that the "boinc" identity is not in the "video" group, or that it otherwise gets access to these device nodes without your explicit manual activation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c9 --- Comment #9 from Dawid Królak <taavit@gmail.com> --- (In reply to Jan Engelhardt from comment #8)
What I am saying is that allowing other user identities in the system access to your device node (whether that is /dev/dri or /dev/nvidia) would seem like it opens the door for programs run by that other identity to make secret picture snapshots of your desktop. As such, it is a sensible *default* that the "boinc" identity is not in the "video" group, or that it otherwise gets access to these device nodes without your explicit manual activation.
Ok, I think I get it. Thanks for explanation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=994769 http://bugzilla.opensuse.org/show_bug.cgi?id=994769#c10 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #10 from Christian Wittmer <chris@computersalat.de> --- (In reply to Dawid Królak from comment #5)
I've added user boinc to video group, and gpus became visible by boinc (even after restart), but I feel like it is a workaround.
seems to be solved, 'manual' interaction cause of security -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com