Message boards : Questions and problems : Fedora 29: no GPU although CUDA is installed
Message board moderation
Author | Message |
---|---|
Send message Joined: 26 Dec 18 Posts: 2 ![]() |
I have a fresh new Fedora 29 installation but can't run any GPU-task. Boinc client shows the following messages on start-up: 26-Dec-2018 17:02:07 [---] cc_config.xml not found - using defaults When I add Einstein@home it tries to use the ATI-GPU but fails with "calculation error" immediately. The already existing SETI@home-tasks are all rejected due to missing CUDA (buth which is there, all Nvidia/CUDA packages are installed). So...any idea what could be wrong/what to check? Thanks! |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 904 ![]() |
You don't have any CUDA drivers loaded. You have the Mesa drivers loaded which is only OpenCL. But the real problem is the Mesa OpenCL driver is not a 'real' OpenCL driver. It's version of OpenCL is not compatible with the majority of projects that have OpenCL science applications like Seti. If you say that you have installed the proprietary Nvidia drivers then the Mesa drivers are the only ones loading. If you don't see a statement in the beginning of the Event Log proclaiming the Nvidia CUDA loading like this: 26-Dec-2018 07:22:29 [---] CUDA: NVIDIA GPU 0: GeForce GTX 1080 (driver version 410.78, CUDA version 10.0, compute capability 6.1, 4096MB, 3980MB available, 9523 GFLOPS peak) then you aren't using your Nvidia drivers. Normally when you install the Nvidia drivers, they blacklist the nouveau drivers which is what reports the Mesa drivers. So the blacklist didn't happen. You can always create your own blacklist. But I don't have a clue what your Mesa driver is reporting as a NVE7 device. I don't know of any previous Nvidia card identified as such. |
Send message Joined: 26 Dec 18 Posts: 2 ![]() |
Finally: blacklisting the nouveau-drivers and disabling OpenCL via cc_confog.xml did do the trick - thanks!!! :-) Now crunching again with 8 CPUs and 2 GPUs :-) |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 904 ![]() |
The manufacturer provided OpenCL drivers, i.e. Nvidia or AMD are proper OpenCL drivers. And you should be able to use science apps that require OpenCL. There are quite a few. MilkyWay and Einstein are some as well as the stock Seti gpu app which is also OpenCL based. It is only the pseudo OpenCL support provided by the nouveau and Mesa drivers that cause problems for compute. If you have installed the Nvidia proprietary drivers you should have OpenCL support. One quick way to check is to install clinfo sudo apt install clinfoand run clinfo in Terminal. It will report the CUDA version of the drivers and the OpenCL version of the drivers. If for some reason the Nvidia metapackage of the drivers missed the OpenCL installation you can always load them separately. sudo apt-get install ocl-icd-libopencl1 |
Send message Joined: 1 Jul 16 Posts: 147 ![]() |
Have you restarted the BOINC Client after bootup? On one PC of mine the client loads prior to the AMD drivers so BOINC never saw the GPU even though clinfo showed the drivers. Restarting the client after PC boot allowed the client to use the GPU. If not then I've had to install 390 and 396 a few times in Linux to pick up CUDA correctly. |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
It depends what tool you use for your 'remote session'. If you use Microsoft's Remote Desktop, it loads a cut-down GPU driver which can't be used by BOINC. If you use {any, if not all} of the third-party remote access tools, they use the installed standard driver, and BOINC can continue to use the GPU. |
Send message Joined: 19 Jan 19 Posts: 2 ![]() |
It was Remote Desktop. I kept installing drivers and never noticed that the problem only happened when I used Remote Desktop. |
Copyright © 2025 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.