openworm / openworm/OpenWorm

Can we update AMD OpenCL drivers in the docker image?

Open
#385 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
244
PR merge metrics
No merged PRs in 30d

Description

RUN wget https://master.dl.sourceforge.net/project/nicehashsgminerv5viptools/APP%20SDK%20A%20Complete%20Development%20Platform/AMD%20APP%20SDK%203.0%20for%2064-bit%20Linux/AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2 && \
    tar -xf AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2 && \
    printf 'Y\n\n' | sudo ./AMD-APP-SDK-v3.0.130.136-GA-linux64.sh && \
    rm AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2

Currently we are using OpenCL driver released in 2019, this by itself is not a huge problem but installing from sourceforge is[1], especially with no hash validation of download files. I managed to get sibernetic working with drivers from ubuntu repo (with some minor changes to handle the OpenCL version upgrade). I'm happy to send the PR, creating this issue to see if there is any interest in that.

I actually updated the driver to check if i will notice any perf improvements, unfortunately I'm not seeing any perf improvement.

[1] https://seclists.org/nmap-dev/2015/q2/194

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Dockerfile containing the AMD APP SDK download and installation commands, then review how the image currently provides OpenCL. Test the Ubuntu-repository driver approach described in the issue, including any changes needed for the newer OpenCL version, and verify that the image builds without the SourceForge download or unvalidated archive.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.