openCL issue

Message boards : Number crunching : openCL issue
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Eric B

Send message
Joined: 9 Mar 00
Posts: 88
Credit: 168,875,085
RAC: 762
United States
Message 2053010 - Posted: 1 Jul 2020, 14:15:32 UTC

I have two GPU's (NVIDIA RTX 2060 and a NVIDIA GTX 1660 ti under openSuse Tumbleweed Linux ) that i used to run seti and it worked very well, now i am running Milkyway at home and that will still use the GPU's
I had been trying to run 1 monitor per gpu but could never gt it working, so I reconnected my monitors to a single GPU and got both my screens working, But there is another issue.
On boot ,as a regular user, clinfo shows no platforms, but if i then run clinfo as root it shows both GPU's ok, and after that if I again run clinfo as a regular user it shows shows both GPU's.
This is repeatable and happens at every boot.
So, running clinfo as root changes something, i dont know what tho.
If i dont follow the above procedure boinc doesnt see either GPU.
If anyone can explain this I'd be deeply appreciative.
TIA
ID: 2053010 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 12628
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2053022 - Posted: 1 Jul 2020, 20:02:23 UTC - in response to Message 2053010.  
Last modified: 1 Jul 2020, 20:03:32 UTC

Strange one. I have never had any issue with clinfo showing me all my cards no matter which user is logged in. But I run the BOINC client as user. Could the problem be that you are using the distro version of BOINC which installs BOINC as a daemon. That means you as user don't have access to BOINC which is in the BOINC and video user groups.

When you access as root, then you have access to those restricted groups also. You could try adding yourself to the BOINC and video user groups and test clinfo again.

You could run groups from the command line to see what groups your user belongs to. Then add your user to both boinc and video for the boinc daemon service.

useradd  -a -G boinc video {username}
where {username} is your logged in user name. Then try accessing clinfo again and restarting BOINC and see if the gpus are detected at startup.

You do have <use_all_gpus>1</use_all_gpus> in your cc_config.xml file . . . . right?
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2053022 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6320
Credit: 106,370,077
RAC: 121
Russia
Message 2053111 - Posted: 3 Jul 2020, 18:59:09 UTC - in response to Message 2053010.  
Last modified: 3 Jul 2020, 18:59:48 UTC

I have two GPU's (NVIDIA RTX 2060 and a NVIDIA GTX 1660 ti under openSuse Tumbleweed Linux ) that i used to run seti and it worked very well, now i am running Milkyway at home and that will still use the GPU's
I had been trying to run 1 monitor per gpu but could never gt it working, so I reconnected my monitors to a single GPU and got both my screens working, But there is another issue.
On boot ,as a regular user, clinfo shows no platforms, but if i then run clinfo as root it shows both GPU's ok, and after that if I again run clinfo as a regular user it shows shows both GPU's.
This is repeatable and happens at every boot.
So, running clinfo as root changes something, i dont know what tho.
If i dont follow the above procedure boinc doesnt see either GPU.
If anyone can explain this I'd be deeply appreciative.
TIA



Perhaps running clinfo under root triggers some additional service (daemon on Linux perhaps) launch.
And simple user not allowed to start it so clinfo just fails to find anything.
Try to check what new processes are running after clinfo invocation under root and manage to run them in startup script.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2053111 · Report as offensive     Reply Quote

Message boards : Number crunching : openCL issue


 
©2021 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.