OpenCL installation broken if you switch driver versions - fix for it!

Discussion in 'Videocards - AMD Radeon Drivers Section' started by tb77, Mar 11, 2012.

  1. tb77

    tb77 Member

    Messages:
    42
    Likes Received:
    0
    GPU:
    5870
    If you have installed a newer Catalyst version ever and go back to an older Catalyst, OpenCL uninstall will not remove all OpenCL files and this could cause your OpenCL to be in a broken state.


    - uninstall opencl(64).msi

    delete those files under system32 & WOW64 if you are on x64:

    SlotMaximizerBe.dll
    SlotMaximizerAg.dll
    amdocl.dll
    OpenCL.dll
    OpenVideo.dll
    OVDecode.dll

    and this folder:

    C:\ProgramData\AMD\KDB

    - restart and install opencl(64).msi again
    - restart again, now "AML Device Install" will re-create the proper OpenCL database
     
  2. Espionage724

    Espionage724 Guest

    Or just run Driver Sweeper or ATIman and remove the probably hundreds of other files/registry entries left over on a typical driver uninstall :)
     
  3. Irocing

    Irocing Member Guru

    Messages:
    168
    Likes Received:
    0
    GPU:
    Sapphire 7970 OC Edition
    Not for the Registry newbs,:no:

    Just go into the registry and delete, Under software in all catagories the entries.
    Thats where the Root entries are.
    Folders,Sub folders and keys.

    If running a AMD setup be very careful what you target as should need no explanation.
    Always worked for me.

    Later:)
     
  4. Dch48

    Dch48 Ancient Guru

    Messages:
    1,822
    Likes Received:
    1
    GPU:
    Sapphire Nitro+ RX 470 4g
    How do you know if it's working right or not?
     

  5. tb77

    tb77 Member

    Messages:
    42
    Likes Received:
    0
    GPU:
    5870
    open a command prompt and run:

    C:\Program Files (x86)\AMD APP\bin\x86_64\clinfo.exe (x64) or

    C:\Program Files (x86)\AMD APP\bin\x86\clinfo.exe

    and check, if you have openCL devices, one is CPU the other is the GPU.
     
  6. Dch48

    Dch48 Ancient Guru

    Messages:
    1,822
    Likes Received:
    1
    GPU:
    Sapphire Nitro+ RX 470 4g
    So if you get the long list that shows the CPU and GPU, that means it's ok?
     
  7. tb77

    tb77 Member

    Messages:
    42
    Likes Received:
    0
    GPU:
    5870
    Right!
    If you want 100% sure, run the DirectComputeBenchmark_v0_45b in OpenCL mode for the GPU and see, if it works.

    *****.com/graphic-cards/16920-directcompute-and-opencl-benchmark.html
     
    Last edited: Mar 13, 2012
  8. Espionage724

    Espionage724 Guest

    Forgot about this thread... I just ran into this issue a little while ago. Great guide, worked just fine too :)

    I take back my mention of using sweeper or atiman.
     
  9. popeye

    popeye Master Guru

    Messages:
    457
    Likes Received:
    0
    GPU:
    Nvidia GT 730M
    OK, tried to update OpenCL and now I get this error when using the 64.msi "The system administrator has set policies to prevent this installation".

    The x86.msi installs with no error. I'm logged in as administrator so don't know what the problem is. Right clicking on the msi doesn't show "Run as Administrator" option either.
     
  10. Espionage724

    Espionage724 Guest

    Here's a batch file you can use to make the process a bit quicker:

    Code:
    cd C:\Windows\System32
    del SlotMaximizerAg.dll
    del SlotMaximizerBe.dll
    del amdocl64.dll
    del OpenCL.dll
    del OpenVideo64.dll
    del OVDecode64.dll
    
    cd C:\Windows\SysWOW64
    del SlotMaximizerAg.dll
    del SlotMaximizerBe.dll
    del amdocl.dll
    del OpenCL.dll
    del OpenVideo.dll
    del OVDecode.dll
    
    rmdir C:\ProgramData\AMD\KDB /S /Q
     

  11. popeye

    popeye Master Guru

    Messages:
    457
    Likes Received:
    0
    GPU:
    Nvidia GT 730M
    Same error as above when I try to install the 64 bit version. The x86 version installs fine.
     
  12. popeye

    popeye Master Guru

    Messages:
    457
    Likes Received:
    0
    GPU:
    Nvidia GT 730M
    Never mind. Takes a regedit to fix it.
     
  13. k1net1cs

    k1net1cs Ancient Guru

    Messages:
    3,783
    Likes Received:
    0
    GPU:
    Radeon HD 5650m (550/800)
    For .msi files, the 'practical' way to run them as admin is to run them from the Command Prompt with elevated rights.
    Win key -> type 'cmd'; 'cmd.exe' should show up -> Ctrl + Shift + Enter.
     
  14. liquidfox12

    liquidfox12 Member

    Messages:
    38
    Likes Received:
    0
    GPU:
    ati x1400
    sorry for the necro bump but could you tell me how you fixed it ? i have the same issue , uninstalled catalyst 13.6 , ran driver sweeper and trying to install 10.2 legacy , the setup fails saying "administrator has set policies to prevent this installation"
    i can install the drivers directly via add new hardware but not able to install the catalyst
     

Share This Page