Hi matstegner!
Thank you for the zip archive. I run the cyda 6.5 installer and then run
./clinfo
Number of platforms 1
Platform Name NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.1 CUDA 6.5.51
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts
Platform Extensions function suffix NV
Platform Name NVIDIA CUDA
Number of devices 1
Device Name GeForce 8800 GTS
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.0 CUDA
Driver Version 340.106
Device OpenCL C Version OpenCL C 1.0
Device Type GPU
Device Available Yes
Device Profile FULL_PROFILE
Device Topology (NV) PCI-E, 01:00.0
Max compute units 12
Max clock frequency 1188MHz
Compute Capability (NV) 1.0
Max work item dimensions 3
Max work item sizes 512x512x64
Max work group size 512
Compiler Available Yes
Preferred work group size multiple <getWGsizes:512: create context : error -6>
Warp size (NV) 32
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 0 / 0 (n/a)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
Address bits 32, Little-Endian
Global memory size 335216640 (319.7MiB)
Error Correction support No
Max memory allocation 134217728 (128MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 16
Max 2D image size 4096x16383 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 16384 (16KiB)
Registers per block (NV) 8192
Max constant buffer size 65536 (64KiB)
Max number of constant args 9
Max size of kernel argument 4352 (4.25KiB)
Queue properties
Out-of-order execution Yes
Profiling Yes
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) Yes
Concurrent copy and kernel execution (NV) No
Number of async copy engines 0
Device Extensions cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) NVIDIA CUDA
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [NV]
clCreateContext(NULL, ...) [default] <checkNullCtx:2394: create context with device from default platform : error -6>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.8
ICD loader Profile OpenCL 1.2
NOTE: your OpenCL library declares to support OpenCL 1.2,
but it seems to support up to OpenCL 2.1 too.
Please let me know, if hat is a problem if i get this errors at lines:
Preferred work group size multiple <getWGsizes:512: create context : error -6>
Yes, now I do have it.
One more thing - when I installed the cuda 6.5 I got this message:
Missing recommended library: libGLU.so
Missing recommended library: libXi.so
Missing recommended library: libXmu.so
Installing the CUDA Samples in /home/artem ...
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-6.5
Samples: Installed in /home/artem, but missing recommended libraries
Please make sure that
- PATH includes /usr/local/cuda-6.5/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-6.5/lib64, or, add /usr/local/cuda-6.5/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-6.5/bin
To uninstall the NVIDIA Driver, run nvidia-uninstall
Please see CUDA_Getting_Started_Guide_For_Linux.pdf in /usr/local/cuda-6.5/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 340.00 is required for CUDA 6.5 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
sudo <CudaInstaller>.run -silent -driver
Does it meen that the CUDA is not installed properly? I can make and run the deviceQuery and it runs anyway:
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce 8800 GTS"
CUDA Driver Version / Runtime Version 6.5 / 6.5
CUDA Capability Major/Minor version number: 1.0
Total amount of global memory: 320 MBytes (335216640 bytes)
(12) Multiprocessors, ( 8) CUDA Cores/MP: 96 CUDA Cores
GPU Clock rate: 1188 MHz (1.19 GHz)
Memory Clock rate: 792 Mhz
Memory Bus Width: 320-bit
Maximum Texture Dimension Size (x,y,z) 1D=(8192), 2D=(65536, 32768), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(8192), 512 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(8192, 8192), 512 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 16384 bytes
Total number of registers available per block: 8192
Warp size: 32
Maximum number of threads per multiprocessor: 768
Maximum number of threads per block: 512
Max dimension size of a thread block (x,y,z): (512, 512, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 1)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 256 bytes
Concurrent copy and kernel execution: No with 0 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: No
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): No
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.5, NumDevs = 1, Device0 = GeForce 8800 GTS
Result = PASS
Thank you if you have any comments,
P.S. And please help me with the last qustion. I have a very lagging system now, after I installed the NVidia drivers. When I enlarge any window to maximum size everything freezez and i get this in dmesg:
[ 1203.575211] NVRM: GPU at PCI:0000:01:00: GPU-31bdc9ca-2c3f-51cf-3c50-73c722c1cb90
[ 1203.575229] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ChID 0001, Class 0000502d, Offset 00000860, Data ff300a24
[ 1203.639213] NVRM: Xid (PCI:0000:01:00): 3, C 00000001 SC 00000000 M 00000188 Data 0100cb41
[ 1205.638977] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 1207.639421] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 1207.639458] NVRM: Xid (PCI:0000:01:00): 1, Channel 00000001 Method 00000000 Data beef50b0
[ 1212.891308] NVRM: Xid (PCI:0000:01:00): 3, C 00000001 SC 00000000 M 00000188 Data 0100cb41
[ 1214.891103] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 1216.891245] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
When i switch to the nouveau driver, I do not have any problems while the computer is working for hours, I can play a video-game on it even, no freezes.
Thank you very much for your support!
With a very kind Regards
Artem