Friday, April 30, 2010

Finally ATI Radeon HD5750, CAL, OpenCL worked in Fedora 12

After lots of trials from Dec'09 till now finally, I am able to setup/install ATI Radeon HD5750 card in Fedroa 12 for X-Server and OpenCL.

Installed  latest catalyst  version from AMD/ATI:   ati-driver-installer-10-4-x86.x86_64.run
Installed following Fedora12 packages(for aiding catalyst kernel module compilation):

root@yyyy x86_64]#rpm -qa|grep kernel |grep 2.6.32.11-99
kernel-2.6.32.11-99.fc12.x86_64
kernel-devel-2.6.32.11-99.fc12.x86_64
kernel-firmware-2.6.32.11-99.fc12.noarch

After installing above, ran catalyst setup and made kernel modules
After kernel modules compilation(setting up blacklisted kernel modules as specified in docs), ran aticonfig.


Here is my setup info



uname


Linux phenom1.localdomain 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux


ATI Stream SDK version
 /opt/ati-stream-sdk-v2.01-rhel64

X Server Info

X.Org X Server 1.7.4
xorg-x11-server 1.7.4-6.fc12


ATI Kernel Module

[root@yyyy x86_64]#lsmod |grep fg
fglrx 2349663 32
$ cat /etc/X11/xorg.conf

 Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection




CLInfo output

[root@yyyy x86_64]#./CLInfo 
Number 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:                               2         
  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:                           3400Mhz           
  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               
  Single precision floating point capability                       
    Denorms:                                     Yes               
    Quiet NaNs:                                  Yes               
    Round to nearest even:                       Yes               
    Round to zero:                               No                
    Round to +ve and infinity:                   No                
    IEEE754-2008 fused multiply-add:             No                
  Cache type:                                    Read/Write        
  Cache line size:                               64                
  Cache size:                                    65536             
  Global memory size:                            3221225472        
  Constant buffer size:                          65536             
  Max number of constant args:                   8                 
  Local memory type:                             Global            
  Local memory size:                             32768             
  Profiling timer resolution:                    1                 
  Device endianess:                              Little            
  Available:                                     Yes               
  Compiler available:                            Yes               
  Execution capabilities:                                          
    Execute OpenCL kernels:                      Yes               
    Execute native function:                     No                
  Queue properties:                                                
    Out-of-Order:                                No                
    Profiling :                                  Yes               
  Platform ID:                                   0x7f91992dd4a8    
  Name:                                          AMD Phenom(tm) II X4 965 Processor
  Vendor:                                        AuthenticAMD                      
  Driver version:                                1.0                               
  Profile:                                       FULL_PROFILE                      
  Version:                                       OpenCL 1.0 ATI-Stream-v2.0.1      
  Extensions:                                    cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store                                                                                                               
  Device Type:                                   CL_DEVICE_TYPE_GPU                                                                                                                                  
  Device ID:                                     4098                                                                                                                                                
  Max compute units:                             9                                                                                                                                                   
  Max work items dimensions:                     3                                                                                                                                                   
    Max work items[0]:                           256                                                                                                                                                 
    Max work items[1]:                           256                                                                                                                                                 
    Max work items[2]:                           256                                                                                                                                                 
  Max work group size:                           256                                                                                                                                                 
  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:                           700Mhz
  Address bits:                                  32
  Max memeory allocation:                        268435456
  Image support:                                 No
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              4096
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               No
    Round to +ve and infinity:                   No
    IEEE754-2008 fused multiply-add:             No
  Cache type:                                    None
  Cache line size:                               0
  Cache size:                                    0
  Global memory size:                            268435456
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             32768
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue properties:
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   0x7f91992dd4a8
  Name:                                          Juniper
  Vendor:                                        Advanced Micro Devices, Inc.
  Driver version:                                CAL 1.4.635
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.0 ATI-Stream-v2.0.1
  Extensions:                                    cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics


[root@yyyy x86_64]

No comments:

Post a Comment

Post a Comment