8 Replies Latest reply on Feb 18, 2010 12:39 PM by zlice0

    5570 card issues


      i use gentoo 64bit(x86_64). i just got my HD 5570 in the mail...looking at


      i am under the assumtion that the SDK will support my card.

      but when i run say "PATH='' ./BinarySearch" i get a "Error: clGetPlatformIDs failed. Error code : unknown error code" at the end of my output...


      not to mention i was unaware that there are no display drivers for the 5570...



      i rehook my other video card and hook the 5570 into another slot, oO(okay i bought it to program anyway...yadayada)


      but with 'aticonfig' and the compiled files giving me 'getplatformID' error i am feeling weary that my card will not work properly or have less functionality down the road.


      question: how can i tell if there are any 'limitations', or am i screwed? did i just waste $100? will there be 5570 drivers or is it too far behind with the sexy 5970 out? i bought this thinking i could use it as a prototype/development card because i don't have the money to spend on better hardware

        • 5570 card issues

          one more thing i forgot to mention -_-


          the pdf that comes in the docs with the sdk download...doesn't say 5570 is supported...

          • 5570 card issues

            reading the little tiny line at the bottom of the pdf it says the list is the sdk site list...good ease there.


            so i guess my question only boils down to how long until the card's supported?


            anyone know where the right direction is for 5570 linux dev?

              • 5570 card issues

                did you properly install ATI SDK. set link in /usr/lib/OpenCL/vendors

                export ATISTREAMSDKROOT variable

                run FindNumDevic in cal samples folder from SDK

                officialy is supported only Ubuntu OpenSUSE and Red Hat so try ubuntu for example.

                  • 5570 card issues

                    (samples/cal/bin/x86_64/)#LD_LIBRARY_PATH="...../lib/x86_64/" ./FindNumDevices

                    Supported CAL Runtime Version: 1.3.185
                    Found CAL Runtime Version: 1.4.519
                    Use -? for help
                    CAL initialized.
                    Finding out number of devices :-
                    Device Count = 0
                    CAL shutdown successful.

                    Press enter to exit...


                    (samples/opencl/bin/x86_64/)#LD_LIBRARY_PATH="...../lib/x86_64/" ./CLInfoNumber of platforms:                             1
                      Plaform Profile:                               FULL_PROFILE
                      Plaform Version:                               OpenCL 1.0 ATI-Stream-v2.0.1
                      Plaform Name:                                  ATI Stream
                      Plaform Vendor:                                Advanced Micro Devices, Inc.
                      Plaform Extensions:                    cl_khr_icd

                      Plaform Name:                                  ATI Stream
                    Number of devices:                               1
                      Device Type:                                   CL_DEVICE_TYPE_CPU
                      Device ID:                                     4098
                      Max compute units:                             4
                      Max work items dimensions:                     3
                        Max work items[0]:                           1024
                        Max work items[1]:                           1024
                        Max work items[2]:                           1024
                      Max work group size:                           1024
                      Preferred vector width char:                   16
                      Preferred vector width short:                  8
                      Preferred vector width int:                    4
                      Preferred vector width long:                   2
                      Preferred vector width float:                  4
                      Preferred vector width double:                 0
                      Max clock frequency:                           2400Mhz
                      Address bits:                                  64
                      Max memeory allocation:                        1073741824
                      Image support:                                 No
                      Max size of kernel argument:                   4096
                      Alignment (bits) of base address:              32768
                      Minimum alignment (bytes) for any datatype:    128




                    the libs are linked in /usr/lib/OpenCL/vendors


                    i thought the ATISTREAMSDKROOT was for compiling?


                    well the CLInfo seems to 'see' my card...or so i think. (the 128bit bus/memory alignment?)


                    (this is seeming more like a different topic, but ill take w/e help i can get...)



                    • 5570 card issues

                      this is issue with driver instalation. FindNumDevices can not find any GPU and CLInfo show only CPU device not GPU.

                        • 5570 card issues

                          i just got 'something'...

                          i didn't set the ATISTREAMSDKROOT so when i did and remade my 'edited' BinarySearch (messing around with the clGetPlatformIDs do to the error)



                          Sorted Input
                          0 1 1 1 1 1 1 2 3 4 5 6 6 6 7 7 7 8 8 9 9 9 9 10 11 11 12 12 13 13 14 14 14 14 14 14 15 16 17 17 18 18 19 19 20 20 21 22 22 23 24 25 25 25 25 26 26 26 27 28 28 28 28 28

                          Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND


                            • 5570 card issues

                              look at that, 5570 drivers came out, TODAY. everything seems to be working fine now. now all i have to deal with is the msi card having a VGA port right at the top that makes it hard to re/move from the slot, annnndd the drivers aren't source and take up more memory than i'd like (50more MB x_x, i have 6GB fyi...picky)