Can I force BOINC to use CAL with my HD4850 instead of OpenCL?

Message boards : GPUs : Can I force BOINC to use CAL with my HD4850 instead of OpenCL?
Message board moderation

To post messages, you must log in.

AuthorMessage
ThinkFast

Send message
Joined: 21 Jun 13
Posts: 13
United States
Message 49799 - Posted: 7 Jul 2013, 2:55:11 UTC

04-Jul-2013 18:52:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770)
(driver version CAL 1.4.1664,
device version OpenCL 1.0 AMD-APP (851.4), 512MB, 495MB available, 2048 GFLOPS peak)

As you can see, the card is only OpenCL 1.0

Thanks
ID: 49799 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14243
Netherlands
Message 49804 - Posted: 7 Jul 2013, 13:14:52 UTC - in response to Message 49799.  

The last time around it wasn't:
6/25/2013 9:32:37 PM | | CAL: ATI GPU 0 (ignored by config): ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.1664, 512MB, 498MB available, 2048 GFLOPS peak)
6/25/2013 9:32:37 PM | | CAL: ATI GPU 1: ATI Radeon HD 5500/5600 series (Redwood) (CAL version 1.4.1664, 1024MB, 1012MB available, 1040 GFLOPS peak)
6/25/2013 9:32:37 PM | | OpenCL: AMD/ATI GPU 0 (ignored by config): ATI Radeon HD 4700/4800 (RV740/RV770) (driver version CAL 1.4.1664, device version OpenCL 1.0 AMD-APP (851.4), 512MB, 498MB available, 2048 GFLOPS peak)
6/25/2013 9:32:37 PM | | OpenCL: AMD/ATI GPU 1: ATI Radeon HD 5500/5600 series (Redwood) (driver version CAL 1.4.1664, device version OpenCL 1.1 AMD-APP (851.4), 1024MB, 1012MB available, 1040 GFLOPS peak)


Now, posting just one line out of the start-up messages is too little information, so can you please post the first 20-30 again?
Also tell what you changed between the previous log excerpt and your new one, aside from changing cc_config.xml so that GPU0 isn't ignored by config.
Please do not private message me for tech support, these will be ignored!
ID: 49804 · Report as offensive
ThinkFast

Send message
Joined: 21 Jun 13
Posts: 13
United States
Message 49812 - Posted: 7 Jul 2013, 23:34:20 UTC - in response to Message 49804.  

Sorry.
-------------------------------------------------------------------------
BOINC version 6.12.34
-------------------------------------------------------------------------
04-Jul-2013 18:52:22 [---] Starting BOINC client version 7.0.64 for windows_intelx86
04-Jul-2013 18:52:22 [---] log flags: file_xfer, sched_ops, task, coproc_debug, unparsed_xml
04-Jul-2013 18:52:22 [---] Libraries: libcurl/7.25.0 OpenSSL/1.0.1 zlib/1.2.6
04-Jul-2013 18:52:22 [---] Data directory: D:\My Software\BOINC
04-Jul-2013 18:52:22 [---] Running under account xxxxxx
04-Jul-2013 18:52:22 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz [Family 6 Model 23 Stepping 10]
04-Jul-2013 18:52:22 [---] 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 htt tm pni ssse3 cx16 sse4_1 nx lm vmx smx tm2 pbe
04-Jul-2013 18:52:22 [---] OS: Microsoft Windows XP: Professional x86 Edition, Service Pack 3, (05.01.2600.00)
04-Jul-2013 18:52:22 [---] Memory: 3.00 GB physical, 7.71 GB virtual
04-Jul-2013 18:52:22 [---] Disk: 79.23 GB total, 54.89 GB free
04-Jul-2013 18:52:22 [---] Local time is UTC -4 hours
04-Jul-2013 18:52:22 [---] VirtualBox version: 4.2.10
04-Jul-2013 18:52:22 [---] CAL: ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.1664, 512MB, 495MB available, 2048 GFLOPS peak)
04-Jul-2013 18:52:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (driver version CAL 1.4.1664, device version OpenCL 1.0 AMD-APP (851.4), 512MB, 495MB available, 2048 GFLOPS peak)
04-Jul-2013 18:52:22 [---] No NVIDIA library found
04-Jul-2013 18:52:22 [Milkyway@Home] Found app_config.xml
04-Jul-2013 18:52:22 [---] Config: report completed tasks immediately
04-Jul-2013 18:52:22 [---] Config: use all coprocessors
04-Jul-2013 18:52:22 [Einstein@Home] Config: excluded GPU. Type: all. App: all. Device: 0
04-Jul-2013 18:52:22 [LHC@home 1.0] Config: excluded GPU. Type: all. App: all. Device: 0
04-Jul-2013 18:52:22 [malariacontrol.net] Config: excluded GPU. Type: all. App: all. Device: 0
04-Jul-2013 18:52:22 [World Community Grid] Config: excluded GPU. Type: all. App: all. Device: 0
04-Jul-2013 18:52:22 [DistrRTgen] Config: excluded GPU. Type: all. App: all. Device: 0
04-Jul-2013 18:52:22 [DistrRTgen] URL http://boinc.freerainbowtables.com/distrrtgen/; Computer ID xxx; resource share 33
04-Jul-2013 18:52:22 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID xxx; resource share 33
04-Jul-2013 18:52:22 [LHC@home 1.0] URL http://lhcathomeclassic.cern.ch/sixtrack/; Computer ID xxx; resource share 100
04-Jul-2013 18:52:22 [Milkyway@Home] URL http://milkyway.cs.rpi.edu/milkyway/; Computer ID xxx; resource share 33
04-Jul-2013 18:52:22 [malariacontrol.net] URL http://www.malariacontrol.net/; Computer ID xxx; resource share 100
04-Jul-2013 18:52:22 [World Community Grid] URL http://www.worldcommunitygrid.org/; Computer ID xxx; resource share 100
04-Jul-2013 18:52:22 [---] Reading preferences override file
04-Jul-2013 18:52:22 [---] Preferences:
04-Jul-2013 18:52:22 [---] max memory usage when active: 1535.12MB
04-Jul-2013 18:52:22 [---] max memory usage when idle: 2302.67MB
04-Jul-2013 18:52:22 [---] max disk usage: 10.00GB
04-Jul-2013 18:52:22 [---] don't use GPU while active
04-Jul-2013 18:52:22 [---] suspend work if non-BOINC CPU load exceeds 20 %
04-Jul-2013 18:52:22 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
04-Jul-2013 18:52:22 [---] Not using a proxy
-------------------------------------------------------------------------
Old cc_config
-------------------------------------------------------------------------
<cc_config>
<log_flags>
<coproc_debug>1</coproc_debug>
<gui_rpc_debug>0</gui_rpc_debug>
<unparsed_xml>1</unparsed_xml>
</log_flags>
<options>
<allow_multiple_clients>0</allow_multiple_clients>
<ignore_ati_dev>0</ignore_ati_dev>
</options>
</cc_config>
-------------------------------------------------------------------------
New cc_config
-------------------------------------------------------------------------
<cc_config>
<log_flags>
<coproc_debug>1</coproc_debug>
<gui_rpc_debug>0</gui_rpc_debug>
<unparsed_xml>1</unparsed_xml>
<!-- 7-6-13: Added and Set suspend_debug=0 -->
<suspend_debug>0</suspend_debug>
</log_flags>
<options>
<use_all_gpus>1</use_all_gpus>
<exclude_gpu>
<url>http://einstein.phys.uwm.edu/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://lhcathomeclassic.cern.ch/sixtrack/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://www.malariacontrol.net/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://www.worldcommunitygrid.org/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://boinc.freerainbowtables.com/distrrtgen/</url>
<device_num>0</device_num>
</exclude_gpu>
<exclude_gpu>
<url>http://milkyway.cs.rpi.edu/milkyway/</url>
<device_num>1</device_num>
</exclude_gpu>
<!-- 7-6-13: Set report_results_immediately=0 -->
<report_results_immediately>0</report_results_immediately>
</options>
</cc_config>
-------------------------------------------------------------------------
Basically, for the projects where GPU0 did not meet the requirements [OpenCL 1.1], I disabled it. Then I enabled it for the Milkyway project.
Every thing was running fine for a few days and then I stated seeing computation errors. So I suspended the project.
I don't know what is causing that problem, but after doing some reading I thought, GPU0 only meets the requirements of one project. Then I looked at the CAL version and thought, what if I could get the projects to use their CAL exe instead by using the Anonymous Platform mechanism.
ID: 49812 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14243
Netherlands
Message 49815 - Posted: 8 Jul 2013, 8:48:04 UTC - in response to Message 49812.  

-------------------------------------------------------------------------
BOINC version 6.12.34
-------------------------------------------------------------------------
04-Jul-2013 18:52:22 [---] Starting BOINC client version 7.0.64 for windows_intelx86

Yah, saying one thing and showing the log of something else...

04-Jul-2013 18:52:22 [---] CAL: ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.1664, 512MB, 495MB available, 2048 GFLOPS peak)
04-Jul-2013 18:52:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (driver version CAL 1.4.1664, device version OpenCL 1.0 AMD-APP (851.4), 512MB, 495MB available, 2048 GFLOPS peak)

As you can see, the GPU is CAL capable as well, the drivers are installed correctly, as is BOINC which detects both capabilities.

Then I enabled it for the Milkyway project.
Every thing was running fine for a few days and then I stated seeing computation errors. So I suspended the project.

And then you posted a question for help in the Milkyway forums, right? So that knowledgeable people there would tell you what Incorrect function. (0x1) - exit code 1 (0x1) means when it's gotten at the MW project? It's their science application making the computation errors, so they should know --or be able to hint at it-- what causes it.

I don't know what is causing that problem, but after doing some reading I thought, GPU0 only meets the requirements of one project. Then I looked at the CAL version and thought, what if I could get the projects to use their CAL exe instead by using the Anonymous Platform mechanism.

CAL is the old way of doing calculations on ATI/AMD GPUs. It's long-winded, difficult to add, almost impossible to make apps with it, as there's neigh-on no documentation from AMD about how to do so. AMD no longer maintains CAL, they've closed it down in favor of OpenCL.

Not all projects that support AMD GPUs have a CAL executable. Most all have got OpenCL only, because they started producing apps when only OpenCL was available. The projects that still have a CAL application are catering it for the low-end GPUs that don't do OpenCL, or lack the necessary OCL 1.1 capability. There's one project that I know of that even retracted their CAL application, as it produced only errors (Einstein).

You can also cheaply upgrade to a newer AMD GPU and arrive in the future. Like a HD7750 for just $107.-, it does the necessary double precision at MW as well.
Please do not private message me for tech support, these will be ignored!
ID: 49815 · Report as offensive
ThinkFast

Send message
Joined: 21 Jun 13
Posts: 13
United States
Message 49822 - Posted: 9 Jul 2013, 2:10:09 UTC - in response to Message 49799.  

04-Jul-2013 18:52:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770)
(driver version CAL 1.4.1664,
device version OpenCL 1.0 AMD-APP (851.4), 512MB, 495MB available, 2048 GFLOPS peak)

As you can see, the card is only OpenCL 1.0

Thanks

Ageless, I realize your help is voluntary and it is appreciated!
The point of this post was to show that the HD4850 is not OpenCL 1.1 compliant. That is why I was asking if BOINC could use the CAL app on my card instead. Otherwise, this card can only contribute to the Milkyway project. Since I was experiencing problems there, which are currently unresolved, I was looking for another way to utilize this card.
In this thread I'm not trying to resolve the problems with the Milkyway project, because as you may be implying, that would be duplicating your effort.
Given the information you have just provided, you are saying CAL is a dead end.

Originally, I was trying to make use of my HD4850. At that time, I wasn't interested in running Milkyway. Realizing the HD4850 was unsupported, I purchased the HD5570 for $45 new. Then, I ran into problems finding AMD drivers to satisfy both cards. Once resolved, I started looking for projects that could use the HD5570. It was during that time that both cards started taking on work. To simplify things, I set the client to ignore the HD4850. I got the HD5570 working and then ran into problems with the card becoming inactive (GPU is missing) because it is my secondary display adapter and I was not interested in using it to drive a display. In order to clear the status of "...missing", I reset the project. After that, the DistrRT project stopped sending me work.
So I got frustrated and when back to the HD4850 and hence turned to the Milkyway project.

Now I'm back to the current situation. Trying to find work for my HD4850, which is sitting idle.
In my opinion, it's a shame AMD didn't setup separate driver paths for each card. But I guess they didn't want to support people trying to run a non-crossfire setup.
So I hope I have expressed myself clearly and you/others can see what/why I'm trying to do.
ID: 49822 · Report as offensive

Message boards : GPUs : Can I force BOINC to use CAL with my HD4850 instead of OpenCL?

Copyright © 2020 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.