Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ROCm article #1231

Merged
merged 1 commit into from
May 8, 2024
Merged

Add ROCm article #1231

merged 1 commit into from
May 8, 2024

Conversation

jacobgkau
Copy link
Member

This adds an article about installing ROCm (to enable HIP and OpenCL). This is AMD's equivalent of installing CUDA.

In the past, this was a messy process that required running an installation script and (depending on the use case) installing DKMS modules, which didn't always work well with the Pop!_OS kernel. However, at this point, AMD has an Ubuntu repository with a ROCm package that works together with the AMDGPU driver built into the kernel.

There may be some proprietary applications that aren't compatible with this form of ROCm yet, but this is the smoothest experience we can currently offer AMD users for enabling GPU compute, and it works with at least some known applications such as Blender and PyTorch. I think it makes sense to publicly document this as being a supported method of installation, since it doesn't interfere with our supported kernel, etc.

Closes #1220.

It would be good if someone else from @system76/quality-assurance can test this on a desktop with an AMD GPU. I tested it on the pang12 with its APU.

@jacobgkau jacobgkau requested review from a team April 27, 2024 00:51
Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on my custom build with 6900xt, and everything seems good!

Copy link

@pablovesnine pablovesnine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working perfectly with a 7900 GRE, suggested a small change. Good job!

content/rocm.md Show resolved Hide resolved
@jacobgkau
Copy link
Member Author

Another user confirmed the article's working as written in pop-os/pop#3235.

@leviport leviport merged commit d4cccbc into master May 8, 2024
3 checks passed
@leviport leviport deleted the rocm branch May 8, 2024 21:39
@pablovesnine
Copy link

pablovesnine commented May 29, 2024

Would it be possible to change the repository to point to the "latest" release instead of version 6.1?

http://repo.radeon.com/rocm/apt/latest/

I'm not sure if using the "latest" release will break anything. I can try it, but first I would like to know the reasoning behind pointing specifically to the 6.1 release.

@jacobgkau
Copy link
Member Author

first I would like to know the reasoning behind pointing specifically to the 6.1 release.

As stated in the article, the instructions were based on AMD's own instructions for Ubuntu: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/ubuntu.html

Please do let us know what you find if you try using "latest" instead.

@pablovesnine
Copy link

pablovesnine commented May 30, 2024

first I would like to know the reasoning behind pointing specifically to the 6.1 release.

As stated in the article, the instructions were based on AMD's own instructions for Ubuntu: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/ubuntu.html

Please do let us know what you find if you try using "latest" instead.

Fair enough, thank you for your work!

I tried modifying the version to "latest" (which is, in fact, 6.1.1) and had no problems:

https://repo.radeon.com/rocm/apt/latest jammy main

I'm not sure if pointing to the latest release will cause issues down the road, but for the time being, it's working just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

blender and gpu rendering Add documentation on how to use ROCM on System76
3 participants