[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

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:software:boinc_gpu_ati_slackware [2014/02/23 12:10 (UTC)] – [This howto is used based on Slackware64 14.0 and boinc 7.2.33 x64, and ATI HD 4350 (RV710) videocard.] 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 user we must start x window system, because otherwise BOINC not see GPU </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 150: 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 198: Line 190:
 ===== ATI GPU without X window manager ===== ===== ATI GPU without X window manager =====
  
-If you not want to use X Window manager ( say, on server), but want to use ATI GPU in boinc, you can go that way:+If you do not want to use X Window manager (say, on 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'':
  
-in account, from who you want run boinc homedir, make a script called "dummy_wm.boinc": 
 <code> <code>
 #!/bin/sh #!/bin/sh
 /home/boinc/BOINC/boinc --dir /home/boinc/BOINC >/home/boinc/BOINC/boinc.log 2>/home/boinc/BOINC/berror.log /home/boinc/BOINC/boinc --dir /home/boinc/BOINC >/home/boinc/BOINC/boinc.log 2>/home/boinc/BOINC/berror.log
- 
 </code> </code>
  
Line 212: Line 204:
 </code> </code>
  
-then, in the same directory make a script called xserv_boinc.scr:+Then in the same directory create a script called ''xserv_boinc.scr'':
  
 <code> <code>
Line 218: Line 210:
 </code> </code>
  
-make it executable too:+Make it executable too:
  
 <code> <code>
Line 224: Line 216:
 </code> </code>
  
-now you must run that script ( dummy_wm.boinc ) in that way, for it be stay running. +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 running, but when you log out, it stopped+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
-i use that way, for task stay running after logout:+To keep the task running after you log out, start it as follows:
 <code> <code>
 at -v -f /home/boinc/xserv_boinc.scr now+1min at -v -f /home/boinc/xserv_boinc.scr now+1min
 </code> </code>
  
-it start task after 1 minute from now.+It will start the task after 1 minute from now.
  
-you can check running status via looking files +You can check the running status by checking log files
  
-/home/boinc/BOINC/boinc.log+<code>/home/boinc/BOINC/boinc.log</code>
  
 and and
  
-/home/boinc/BOINC/berror.log +<code>/home/boinc/BOINC/berror.log</code>
- +
-you always also can get come info about tasks via commands+
  
 +You can always get some info about tasks with the following command:
  
 <code> <code>
Line 248: Line 239:
  
  /home/boinc/BOINC/boinccmd --get_tasks  /home/boinc/BOINC/boinccmd --get_tasks
- 
 </code> </code>
- 
- 
 ==== ATI VideoCard stats info ==== ==== ATI VideoCard stats info ====
  
  
-you can also get some info about your videocard state via commands ( must be executed under root account):+You can also get some info about your video card state via commands (must be executed under the root account):
  
 <code> <code>
Line 265: Line 253:
 <code> <code>
  DISPLAY=:0 aticonfig --odgt  DISPLAY=:0 aticonfig --odgt
- 
 </code> </code>
- 
- 
  
  
 howtos:software:boinc_gpu_ati_slackware ()