cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Michal_Kierzynka
Journeyman III

ATI STREAM under Linux runlevel 3

Is it possible?

Does anybody know how to get ATI Stream working under Linux Console (runlevel 3, X disabled). I'm running SuSE Linux with remote access (SSH). I've compiled the examples, and always get the same runtime error:

 

Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.283
Use -? for help
Program:                  ./outputspeed         Kernel  System
 WxH            In-Out   Src     Dst     Iter   GB/sec  GB/sec
There was an error opening the device 0.
Error string is Parameter passed in is invalid

or

stream:/usr/local/atical/bin/lnx64 # ./FindNumDevices
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.283
Use -? for help
CAL initialized.
Finding out number of devices :-
Device Count = 0
CAL shutdown successful.

 

Thanks for any help

 

0 Likes
4 Replies
Michal_Kierzynka
Journeyman III

In case of NV CUDA by default the X server also have to be running. But NVIDIA delivered in their "release notes" a small bash script, which makes it possible to use CUDA without X server. I enclose this script below. Maybe some experts in Stream could say if such a script (or similar one) can help here or suggest any other method to get Stream working under console.

Thanks for any reply.

 


  modprobe nvidia

  if [ "$?" -eq 0 ]; then

  # Count the number of NVIDIA controllers found.
  N3D=`/sbin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l`
  NVGA=`/sbin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l`

  N=`expr $N3D + $NVGA - 1`
  for i in `seq 0 $N`; do
  mknod -m 666 /dev/nvidia$i c 195 $i;
  done

  mknod -m 666 /dev/nvidiactl c 195 255

  else
  exit 1
  fi

 

0 Likes

As http://developer.amd.com/gpu_assets/App_Note-Running_ATI_Stream_Apps_Remotely.pdf said, ``ATI CAL uses existing API hooks into the display driver to access your GPU''.

So it might be difficult to run an ATI Stream application without stating X, though I'm not sure.

0 Likes

My impression is that the old CTM (close-to-the-metal) API supported this. 

Can anyone verify that?  Is CTM still available for download?

I found this:

http://ati.amd.com/companyinfo/researcher/documents/ATI_CTM_Guide.pdf

and a sourceforge site:

http://sourceforge.net/projects/amdctm/

but it seems all of {libraries, headers, source} seem to be missing.

 

 

 

0 Likes

I've tried to follow this document: App_Note-Running_ATI_Stream_Apps_Remotely.pdf but under my OpenSuSE 11.1 I didn't succeed. So I've installed CentOS and followed this tutorial (which is based on that pdf document):

http://idolinux.blogspot.com/2009/01/remote-gpgpu-with-ati-amd-firestream.html

Now I'm able to run ATI Stream application remotely!!! And what is interesting, I don't have to use VNC connection, but simle SSH sesion. What's more I don't have to have any screen connected to my GPUs (as far as I can remember it was required by Windows and SuSE Linux as well) -> and that was my goal.

The system runlevel is set to 5, with gnome interface. I haven't tried runlevel 3 yet.

 

Regards,

Michal

 

 

0 Likes