nVidia detected in Linux Mint 17 but no GPU tasks

Questions and Answers : GPU applications : nVidia detected in Linux Mint 17 but no GPU tasks
Message board moderation

To post messages, you must log in.

AuthorMessage
Todd R. Hill

Send message
Joined: 9 Jun 99
Posts: 8
Credit: 61,546,760
RAC: 98
United States
Message 1565985 - Posted: 2 Sep 2014, 1:44:55 UTC

A newly-built system is dual-boot with Windows 8.1 64-bit and Linux Mint 17 (Ubuntu 14.04) 64-bit.

It is an i7 (4790K) with 32GB of RAM on an Asus ROG Maximus VI Formula mobo and an Asus ROG Striker Platinum nVidia GTX-760 (1152 cores, 4GB).

Windows BOINC 7.2.42 x64 with nVidia driver 340.52 detects and uses the GPU properly - and is getting new tasks.

However in Linux no GPU tasks are ever received.

Does anyone see where the error lies here? Suggestions?

In Linux Mint 17:
- BOINC 7.2.42 x64 installed as service via package manager
- nVidia driver 343.13 from xedgers for 14.04.1 with UVM
- nVidia Cuda Toolkit 6.0.37 from nVidia
- OpenCL 1.1 symbolically linked to the Cuda Toolkit version, not the driver version

When booting to Linux Mint it is necessary to open a terminal and restart the boinc-client service as root.

inxi -Fx says:

System:    Host: clavius Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) Desktop: N/A Distro: Linux Mint 17 Qiana
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: MAXIMUS VI FORMULA version: Rev 1.xx serial: 140424303800285
           Bios: American Megatrends version: 1505 date: 06/05/2014
CPU:       Quad core Intel Core i7-4790K CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 31928.4 
           Clock Speeds: 1: 3991.055 MHz 2: 3991.055 MHz 3: 3991.055 MHz 4: 3991.055 MHz 5: 3991.055 MHz 6: 3991.055 MHz 7: 3991.055 MHz 8: 3991.055 MHz
Graphics:  Card: NVIDIA GK104 [GeForce GTX 760] bus-ID: 01:00.0 
           X.org: 1.15.1 drivers: nvidia (unloaded: fbdev,vesa,nouveau) tty size: 204x55 Advanced Data: N/A for root 
Audio:     Card-1: Intel 8 Series/C220 Series Chipset High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2: NVIDIA GK104 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network:   Card: Intel Ethernet Connection I217-V driver: e1000e ver: 2.3.2-k port: f020 bus-ID: 00:19.0
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: e0:3f:49:b6:21:a2
Drives:    HDD Total Size: 12002.4GB (23.8% used) 1: id: /dev/sda model: Addonics size: 0.1GB temp: 0C 
           2: id: /dev/sdb model: ST4000DM000 size: 4000.8GB temp: 28C 3: id: /dev/sdc model: ST4000DM000 size: 4000.8GB temp: 34C 
           4: id: /dev/sdd model: Backup+_Desk size: 4000.8GB temp: 0C 
Partition: ID: / size: 1.8T used: 566G (34%) fs: ext4 ID: swap-1 size: 65.54GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:33C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 240 Uptime: 33 min Memory: 713.3/32115.4MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4 



lspci -vnn|fgrep VGA -A 17 says:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:84a8]
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=128M]
	Memory at d8000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at df000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100] Virtual Channel
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel driver in use: [b]nvidia[/b]



BOINC log says (timestamp removed):

Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
log flags: file_xfer, sched_ops, task
Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Data directory: /var/lib/boinc-client
CUDA: NVIDIA GPU 0: [b]GeForce GTX 760[/b] (driver version unknown, CUDA version 6.5, compute capability 3.0, 4096MB, 3987MB available, 2650 GFLOPS peak)
OpenCL: NVIDIA GPU 0: GeForce GTX 760 (driver version 343.13, device version OpenCL 1.1 CUDA, 4096MB, 3987MB available, 2650 GFLOPS peak)
Host name: clavius
Processor: 8 GenuineIntel Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz [Family 6 Model 60 Stepping 3]
Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm
OS: Linux: 3.13.0-24-generic
Memory: 31.36 GB physical, 61.04 GB virtual
Disk: 1.73 TB total, 1.09 TB free
Local time is UTC -6 hours
Config: GUI RPC allowed from any host
Config: GUI RPCs allowed from:
SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 7353509; resource share 100
SETI@home | General prefs: from SETI@home (last modified 13-Aug-2014 11:18:16)
SETI@home | Computer location: home
SETI@home | General prefs: no separate prefs for home; using your defaults
Reading preferences override file
Preferences:
max memory usage when active: 16057.72MB
max memory usage when idle: 28903.90MB
max disk usage: 100.00GB
don't compute while active
don't use GPU while active
suspend work if non-BOINC CPU load exceeds 25%
(to change preferences, visit a project web site or select Preferences in the Manager)
gui_rpc_auth.cfg is empty - no GUI RPC password protection
Not using a proxy
Suspending computation - computer is in use
SETI@home | Sending scheduler request: To report completed tasks.
SETI@home | Reporting 1 completed tasks
SETI@home | [b]Requesting new tasks for CPU and NVIDIA[/b]



/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery says:

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

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 760"
  CUDA Driver Version / Runtime Version          6.5 / 6.0
  CUDA Capability Major/Minor version number:    3.0
  Total amount of global memory:                 4096 MBytes (4294639616 bytes)
  ( 6) Multiprocessors, (192) CUDA Cores/MP:     1152 CUDA Cores
  GPU Clock rate:                                1150 MHz (1.15 GHz)
  Memory Clock rate:                             3004 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 524288 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.0, NumDevs = 1, Device0 = GeForce GTX 760


ID: 1565985 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 1566000 - Posted: 2 Sep 2014, 2:44:30 UTC - in response to Message 1565985.  

A newly-built system is dual-boot with Windows 8.1 64-bit and Linux Mint 17 (Ubuntu 14.04) 64-bit.

It is an i7 (4790K) with 32GB of RAM on an Asus ROG Maximus VI Formula mobo and an Asus ROG Striker Platinum nVidia GTX-760 (1152 cores, 4GB).

Windows BOINC 7.2.42 x64 with nVidia driver 340.52 detects and uses the GPU properly - and is getting new tasks.

However in Linux no GPU tasks are ever received.

Does anyone see where the error lies here? Suggestions?

In Linux Mint 17:
- BOINC 7.2.42 x64 installed as service via package manager
- nVidia driver 343.13 from xedgers for 14.04.1 with UVM
- nVidia Cuda Toolkit 6.0.37 from nVidia
- OpenCL 1.1 symbolically linked to the Cuda Toolkit version, not the driver version

When booting to Linux Mint it is necessary to open a terminal and restart the boinc-client service as root.

inxi -Fx says:

System:    Host: clavius Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) Desktop: N/A Distro: Linux Mint 17 Qiana
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: MAXIMUS VI FORMULA version: Rev 1.xx serial: 140424303800285
           Bios: American Megatrends version: 1505 date: 06/05/2014
CPU:       Quad core Intel Core i7-4790K CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 31928.4 
           Clock Speeds: 1: 3991.055 MHz 2: 3991.055 MHz 3: 3991.055 MHz 4: 3991.055 MHz 5: 3991.055 MHz 6: 3991.055 MHz 7: 3991.055 MHz 8: 3991.055 MHz
Graphics:  Card: NVIDIA GK104 [GeForce GTX 760] bus-ID: 01:00.0 
           X.org: 1.15.1 drivers: nvidia (unloaded: fbdev,vesa,nouveau) tty size: 204x55 Advanced Data: N/A for root 
Audio:     Card-1: Intel 8 Series/C220 Series Chipset High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2: NVIDIA GK104 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network:   Card: Intel Ethernet Connection I217-V driver: e1000e ver: 2.3.2-k port: f020 bus-ID: 00:19.0
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: e0:3f:49:b6:21:a2
Drives:    HDD Total Size: 12002.4GB (23.8% used) 1: id: /dev/sda model: Addonics size: 0.1GB temp: 0C 
           2: id: /dev/sdb model: ST4000DM000 size: 4000.8GB temp: 28C 3: id: /dev/sdc model: ST4000DM000 size: 4000.8GB temp: 34C 
           4: id: /dev/sdd model: Backup+_Desk size: 4000.8GB temp: 0C 
Partition: ID: / size: 1.8T used: 566G (34%) fs: ext4 ID: swap-1 size: 65.54GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:33C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 240 Uptime: 33 min Memory: 713.3/32115.4MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4 



lspci -vnn|fgrep VGA -A 17 says:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:84a8]
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=128M]
	Memory at d8000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at df000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100] Virtual Channel
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel driver in use: [b]nvidia[/b]



BOINC log says (timestamp removed):

Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
log flags: file_xfer, sched_ops, task
Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Data directory: /var/lib/boinc-client
CUDA: NVIDIA GPU 0: [b]GeForce GTX 760[/b] (driver version unknown, CUDA version 6.5, compute capability 3.0, 4096MB, 3987MB available, 2650 GFLOPS peak)
OpenCL: NVIDIA GPU 0: GeForce GTX 760 (driver version 343.13, device version OpenCL 1.1 CUDA, 4096MB, 3987MB available, 2650 GFLOPS peak)
Host name: clavius
Processor: 8 GenuineIntel Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz [Family 6 Model 60 Stepping 3]
Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm
OS: Linux: 3.13.0-24-generic
Memory: 31.36 GB physical, 61.04 GB virtual
Disk: 1.73 TB total, 1.09 TB free
Local time is UTC -6 hours
Config: GUI RPC allowed from any host
Config: GUI RPCs allowed from:
SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 7353509; resource share 100
SETI@home | General prefs: from SETI@home (last modified 13-Aug-2014 11:18:16)
SETI@home | Computer location: home
SETI@home | General prefs: no separate prefs for home; using your defaults
Reading preferences override file
Preferences:
max memory usage when active: 16057.72MB
max memory usage when idle: 28903.90MB
max disk usage: 100.00GB
don't compute while active
don't use GPU while active
suspend work if non-BOINC CPU load exceeds 25%
(to change preferences, visit a project web site or select Preferences in the Manager)
gui_rpc_auth.cfg is empty - no GUI RPC password protection
Not using a proxy
Suspending computation - computer is in use
SETI@home | Sending scheduler request: To report completed tasks.
SETI@home | Reporting 1 completed tasks
SETI@home | [b]Requesting new tasks for CPU and NVIDIA[/b]



/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery says:

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

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 760"
  CUDA Driver Version / Runtime Version          6.5 / 6.0
  CUDA Capability Major/Minor version number:    3.0
  Total amount of global memory:                 4096 MBytes (4294639616 bytes)
  ( 6) Multiprocessors, (192) CUDA Cores/MP:     1152 CUDA Cores
  GPU Clock rate:                                1150 MHz (1.15 GHz)
  Memory Clock rate:                             3004 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 524288 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.0, NumDevs = 1, Device0 = GeForce GTX 760



The problem you are running into is that SETI does not have a stock Multibeam app for Linux CUDA yet.

You should be able to get AP work when it is available though as there is a stock Linux AP OpenCL app for Nvidia.

ID: 1566000 · Report as offensive
Todd R. Hill

Send message
Joined: 9 Jun 99
Posts: 8
Credit: 61,546,760
RAC: 98
United States
Message 1566715 - Posted: 3 Sep 2014, 23:30:25 UTC - in response to Message 1566000.  

The problem you are running into is that SETI does not have a stock Multibeam app for Linux CUDA yet.

You should be able to get AP work when it is available though as there is a stock Linux AP OpenCL app for Nvidia.


Bummer, but thanks. Linux is my preferred desktop. M$ just keeps getting worse.
ID: 1566715 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 1566721 - Posted: 4 Sep 2014, 0:01:04 UTC

There are several people who have compiled a CUDA app from Jason's X41 code, but nothing has been officially released as of yet.

http://setiathome.berkeley.edu/forum_thread.php?id=72467&sort_style=6&start=0

ID: 1566721 · Report as offensive

Questions and Answers : GPU applications : nVidia detected in Linux Mint 17 but no GPU tasks


 
©2024 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.