Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot run CUDA (version insufficient) [hardened] [fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wichtounet
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2012
Posts: 122

PostPosted: Wed May 04, 2016 6:17 am    Post subject: Cannot run CUDA (version insufficient) [hardened] [fixed] Reply with quote

Hi,

I've a strange problem on my server. I've installed a GPU (Geforce 950) and want to run some CUDA tests.

My server is running the hardened/linux/amd64/no-multilib profile and has the linux-4.1.7-hardened-r1 kernel. The monitor is connected direcly to the onboard graphics card.

I've installed the following packages:

Quote:
dev-util/nvidia-cuda-sdk-7.5.18
dev-util/nvidia-cuda-toolkit-7.5.18-r2
x11-drivers/nvidia-drivers-361.28


(been compiled without X support (USE="-X"))

The module is loaded:

Code:
Module                  Size  Used by
nvidia_uvm            587555  0
nvidia               9958777  1 nvidia_uvm
x86_pkg_temp_thermal     4088  0


and when I try to run deviceQuery:

Quote:
./deviceQuery
./deviceQuery Starting...

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL


Is there anything more I have to do to make CUDA works ? I've the exact same versions on my PC and I haven't had any issues whatsoever.

Thanks


Last edited by wichtounet on Thu May 12, 2016 8:58 am; edited 1 time in total
Back to top
View user's profile Send private message
wichtounet
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2012
Posts: 122

PostPosted: Tue May 10, 2016 10:49 am    Post subject: Reply with quote

Am I the only one with this issue ?
Back to top
View user's profile Send private message
wichtounet
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2012
Posts: 122

PostPosted: Tue May 10, 2016 12:28 pm    Post subject: Reply with quote

I tried with the standard kernel:

Code:
uname -a
Linux hel.asgard 4.1.15-gentoo-r1 #1 SMP Tue May 3 21:32:34 CEST 2016 x86_64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz GenuineIntel GNU/Linux


With the same result :(

Could this be an hardware issue ?

Thanks
Back to top
View user's profile Send private message
wichtounet
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2012
Posts: 122

PostPosted: Thu May 12, 2016 8:57 am    Post subject: Reply with quote

I've been able to solve my problem by getting rid of the hardened profile:


  1. Uninstalled all nvidia packages
  2. switched to a default profile (instead of hardened)
  3. reemerged everything (empty tree)
  4. installed the nvidia packages
  5. rebooted
  6. everything works fine
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Tue May 17, 2016 12:04 am    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum