[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtos:software:boinc_gpu_ati_slackware [2014/01/31 16:37 (UTC)] – created wisedracohowtos:software:boinc_gpu_ati_slackware [2014/02/24 22:55 (UTC)] (current) – [This howto is used based on Slackware64 14.0 and boinc 7.2.33 x64, and ATI HD 4350 (RV710) videocard.] sycamorex
Line 6: Line 6:
  
  
-Firstly - install a fresh slackware64 14.0 +Firstly - install a fresh slackware64 14.0. Then we download the latest BOINC client from [[http://boinc.berkeley.edu/dl/boinc_7.2.33_x86_64-pc-linux-gnu.sh|here]]
-then we download latest BOINC client from +
  
-http://boinc.berkeley.edu/dl/boinc_7.2.33_x86_64-pc-linux-gnu.sh+Put the file ''boinc_7.2.33_x86_64-pc-linux-gnu.sh'' in your user home directory, from who we plan start the boinc client/ 
 +<note important>note: from the same user we must start x window system, because otherwise BOINC will not see GPU </note>
  
-Put the file ( boinc_7.2.33_x86_64-pc-linux-gnu.sh ) on home catalog under user, from who we plan start the boinc client/ +Then do:
-<note important>notefrom the same client we must start x window system inb order to get work on GPU, ATI vidocard processor )</note>+
  
-then do +<code>sh boinc_7.2.33_x86_64-pc-linux-gnu.sh</code>
  
-''sh boinc_7.2.33_x86_64-pc-linux-gnu.sh''+After that in our home directory there will be the "BOINC" subdirectory, which contains all the binaries we wantNow is the time to prepare a video card.
  
-After that we get "BOINC" catalog on our home folder, where is in all binaries, we want. +Download catalyst 13.1 drivers from AMD/ATI site (the latest version is 13.1 - it supports legacy old 4350 video cards)
-now is time to prepare videocard .+
  
-download catalyst 13.drivers from amd ati site ( 13.1 is latest, what support legacy old 4350 videocards)+<code>http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip</code>
  
 +Then we must also download SDK 2.9 from [[http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/|here]] to get OpenCL support for video card:
  
-''http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip''+Now under root unzip catalyst 13.1 and type:
  
 +<code>sh  amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run</code>
  
-then we must also downlo9ad SDK 2.9 for get OpenCL support for Videocard:+and install it
  
 +After that untar AMD-APP-SDK-v2.8-lnx32.tgz, and install it.
  
-''http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/''+Now you need to run a window manager from selected user (''startx'' from a command line interface), then in KDE (or whichever window manager you choose), open a terminal, cd into ~/BOINCand type  
 +<code>./boinc</code>
  
- +You should see something like:
-now under root unzip catalyst 13.1, do  +
- +
-''sh  amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run'' +
- +
-and let it to install. +
-after that untar AMD-APP-SDK-v2.8-lnx32.tgz  , and install them. +
- +
-after all that, run window manager from selected user ( ''startx'' from command line), then in KDE ( or what window manager you choose ), open a terminal, go ~/BOINC/ +
-and do ./boinc +
- +
-You must see something like:+
  
  
Line 144: Line 135:
 </code> </code>
  
 +==== How to attach BOINC to project manager ====
  
  
Line 149: Line 141:
  
 After that you have a working BOINC installation.  After that you have a working BOINC installation. 
-To start participating in projects, go to setiathome.berlkeley.edu, or bam.boincstats.com ( if you plan participate with more than one project), and register. +To start participating in projects, go to setiathome.berlkeley.edu, or bam.boincstats.com (if you plan to participate with more than one project), and register. 
-in second case ( via bam.boinc.com) you can attach your project via that way: +In the second case (via bam.boinc.com) you can attach your project as follows:
-in one window ( console) run ./boinc . +
-then open another console ( window) with the same user, and in BOINC directory do +
  
-./boinccmd --join_acct_mgr http://bam.boincstats.com boincstats_username boincstats_password+  * In one terminal window run ./boinc . 
 +  * Open another terminal window with the same user, and in the BOINC directory type:
  
-then in first console ( where you run ./boinc) you see  messages like "account manager attached, project xxx attached, start to download,etc"....+<code>./boinccmd --join_acct_mgr http://bam.boincstats.com boincstats_username boincstats_password</code>
  
-If you want to edit boinc preferences, you can make file global_prefs_override.xml in your boinc catalog with contents like that:+  * in first console (where you ran ''./boinc'') you see messages like "account manager attached, project xxx attached, start to download,etc".... 
 + 
 +If you want to edit boinc preferences, you can create the file global_prefs_override.xml in your boinc directory containing the following:
  
 <code> <code>
Line 195: Line 188:
 </code> </code>
  
 +===== ATI GPU without X window manager =====
  
 +If you do not want to use X Window manager (say, on a server), but want to use ATI GPU in boinc, you can go that way:
 +
 +In the home directory of the account you want to run ''boinc'' from, make a script called ''dummy_wm.boinc'':
 +
 +<code>
 +#!/bin/sh
 +/home/boinc/BOINC/boinc --dir /home/boinc/BOINC >/home/boinc/BOINC/boinc.log 2>/home/boinc/BOINC/berror.log
 +</code>
 +
 +make that script executable:
 +<code>
 +chmod +x dummy_wm.boinc
 +</code>
 +
 +Then in the same directory create a script called ''xserv_boinc.scr'':
 +
 +<code>
 +xinit /home/boinc/dummy_wm.boinc
 +</code>
 +
 +Make it executable too:
 +
 +<code>
 +chmod +x xserv_boinc.scr
 +</code>
 +
 +Now you must run that script (''dummy_wm.boinc'') as shown below to keep it running.
 +If you log in in your server via ssh, for example, and run that script, boinc will be running, but when you log out, it will stop.
 +To keep the task running after you log out, start it as follows:
 +<code>
 +at -v -f /home/boinc/xserv_boinc.scr now+1min
 +</code>
 +
 +It will start the task after 1 minute from now.
 +
 +You can check the running status by checking log files: 
 +
 +<code>/home/boinc/BOINC/boinc.log</code>
 +
 +and
 +
 +<code>/home/boinc/BOINC/berror.log</code>
 +
 +You can always get some info about tasks with the following command:
 +
 +<code>
 + /home/boinc/BOINC/boinccmd --get_simple_gui_info
 +
 + /home/boinc/BOINC/boinccmd --get_tasks
 +</code>
 +==== ATI VideoCard stats info ====
 +
 +
 +You can also get some info about your video card state via commands (must be executed under the root account):
 +
 +<code>
 + DISPLAY=:0 aticonfig --odgc
 +</code>
 +
 +and
 +
 +<code>
 + DISPLAY=:0 aticonfig --odgt
 +</code>
  
  
Line 210: Line 268:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos, boinc, ati,amd, catalyst, opencl,4350,slackware authow_wisedraco}}+{{tag>howtos, boinc, ati,amd, catalyst, opencl,4350,slackware author_wisedraco}}
 howtos:software:boinc_gpu_ati_slackware ()