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
Support Ubuntu 22.04 LTS (Jammy Jellyfish) #1730
Comments
Agreed. I have researchers waiting on this. |
I am such a researcher, stuck with an outdated OS. :/ |
Does AMD even care about OpenCL on consumer GPUs on Linux? You know, the feature that is literally sold on the box? Because I have seen zero evidence that AMD has interest in providing OpenCL working on Linux for consumer GPUs since like ROCm v3.3 for RX 580-era GPUs. As I have said again in the past, this is why I'm buying nVidia. AMD seems literally unwilling to provide a means to run the AMDGPU (NON PRO) driver on Linux with a means to have OpenCL on consumer GPUs (whether it's ROCm or otherwise). Why even bother spending money for features they advertise but don't deliver on? It's been... 2 years now? |
@BloodyIron I will ask internally. |
@keryell I really hope that AMD takes it seriously :/ Thanks for asking internally :) |
@ROCmSupport can you share AMD plans about Ubuntu support ? Today nvidia published their kernel driver as open-source and they adjusted their closed-source CUDA driver to make it work with it. I am sure it will soon be packaged for Ubuntu LTS, Non LTS indifferently. |
For future reference: https://developer.nvidia.com/blog/nvidia-releases-open-source-gpu-kernel-modules/ The situation on the Nvidia side is quite complex, with closed-source firmware and user-space software. However, by releasing the kernel module as open source software, they enabled lots of possible improvements, like the already-activated DMA-BUF. Note that Nvidia did not release their compute component CUDA as open source, which is equivalent to AMD's ROCm, we are concerned about here. So technically, AMD is still ahead in terms of open-source support, which is, of course, the best way of being ahead. Still, in order for them to stay relevant, AMD urgently needs to release their ROCm packages in a version that is compatible with relevant operating systems. Every day that goes by without proper support is an incentive to turn the back on AMD products and in parallel Nvidia is ramping support for theirs. |
First and foremost, things need to work. I am all in favor of open source and the AMD strategy here to be sure. However, presently it is of little utility for me as I do not have functional AMD hardware upon which to develop my software. I could revert to 20.04 as well, but that isn't really my point. It is not unreasonable to expect support upon the launch of each new Ubuntu LTS. Some of the arguments I have read elsewhere are becoming a little long in the tooth. While some are arguing in support of AMD by saying that it is not "fair" because AMD is open source is a bit disingenuous. This is not a small group of hackers reverse engineering a driver for an RGB keyboard here. Open source or not, this is largely the effort of a multi-billion-dollar multinational corporation. If insufficient resources are being committed by AMD, that is an AMD problem. I want to see more competition in this space and better product offerings among multiple vendors. However, for that to happen, AMD is going to have to step up and start supporting their hardware much better. In a few months, Ada will launch, and if this issue is not resolved by then, I and many others will simply opt for less of a headache and migrate to Nvidia hardware. At the end of the day, we need to get things done and this situation is deeply unhelpful. |
Kinda, beating a dead horse kinda question.... But, how do you jump over 22.04 to 22.10 on https://repo.radeon.com/amdgpu-install/ ? Was reading the pdf from the rocm 5.11 tarball release, been trying to fix opencl with rocm (since i updated to 22.04, lol, decades later still same issues with linux and graphic cards). Sidenote: It wants to install on 22.04 with amdgpu-install, just can't find amdgpu-lib, amdgpu-lib32, rocm-opencl-runtime, rocm-hip-runtime... just don't want to reinstall or downgrade. Like i said before, decades of this, make menuconfig and compile it in the kernel would be nice. |
@DrBlackross Your request for ROCm to support Ubuntu 22.10 is off-topic in this issue about supporting Ubuntu 22.04. Please open a separate issue about that. |
@Bengt DrBlackross talks about Radeon™ Software for Linux® 22.10 on Ubuntu 22.04, not Ubuntu 22.10 |
@lionelchauvin, ah, I see. Thanks for the clarification. Is this repository the right place to report issues about AMD/Radeon Software for Linux? |
@Bengt Perhaps I misunderstood too and he was talking about amdgpu 22.10. Anyway I don't understand why Radeon™ Software for Linux® 22.10.2 (that contains rocm) has been released without the support of the most popular linux distribution. (https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-22-10-2) |
@lionelchauvin I guess because it targets only the HPC and datacenter ML niches? |
@BloodyIron following the recent GitHub discussions, a meeting was organized last week with 19 AMD employees attending. So, some people care and I can see more activity on GitHub now. |
Thanks for letting me know! :D |
I doubt it is the unique reason because Amdvlk is supposed to target customers and has the same treatment. |
@lionelchauvin Just looking at the description of https://github.com/RadeonOpenCompute/ROCm it says ROCm - Open Source Platform for HPC and Ultrascale GPU Computing. But I hope it should be updated to work also on machines cheaper than $10M. ;-) |
Yes, and ROCm is the only way to get OpenCL for consumer GPUs while using the AMDGPU driver, which is the preferred driver for gaming, as AMDGPU-Pro has worse performance for gaming. So while that may be what it says now, the ROCm suite has been the way to get OpenCL for years now for consumer GPUs when using AMDGPU. So I don't frankly care that it says it's for "HPC and Ultrascale GPU" without mentioning consumer usage. If AMD is not going to expose OpenCL in a way that works with AMDGPU drivers then they should frankly fully remove the declaration of OpenCL on the box for consumer GPUs considering Linux (and gaming on Linux) is a supported platform and use, supposedly. |
Another researcher (not gamer) that is waiting for 22.04 support. I have 2 Radeon VII's that will not work with upstream radeon driver and Rocm unless the kernel/upstream kmods is fairly recent. This more recent kernel is not available under 20.04. It is available for 22.04. So this support is required for operability of hardware, and downgrading to 20.04 won't solve the issue. |
I feel your pain. Unfortunately, it appears that support for the most recent Ubuntu LTS is not a priority. |
I guess delivering on what is advertised on the box is not a priority... |
Are GPUs sold with Ubuntu LTS support advertised on the box? Can you please share? |
@Bengt Wouldn't that be amazing! AMD claims support (on their website) for certain Ubuntu LTS releases and makes no specific claims regarding future support for new releases (to be clear). Though one would conclude that if you are intent on supporting Linux, it may be a good idea to get ahead of the curve with respect to what is probably the most widely used Linux Distro (if you include flavors). This is not an issue of some sort of false advertising as some seem to be claiming. Just a lack of desire to commit adequate resources. When your competitor dominates the field (for AI) it is probably most profitable to invest more resources in design wins for large deployments that use specialized environments. Unless more funds are allocated, this necessarily results in fewer resources assigned to supporting the newer OS releases used by a less profitable group of researchers and enthusiasts. Oh... and crypto miners, but for obvious reasons, I feel no sympathy for them whatsoever. Regardless of the reasons, if you dont like AMD's support and are unhappy with it, there is an obvious solution and alternative. |
It's a reasonable thing to expect OpenCL to work on the most popular Linux distro for a device that is marketed and designed for gaming + productivity. |
Agreed, but that is not what is happening and AMD has made no public commitment to do so for the latest LTS release. |
I would even take any current Linux distro. I mean, Ubuntu isn't my personal choice, but AMD's anyways. I run it, because there has been support for my GPU and would even switch distros to get it back. However, no current distro exists, leaving me running on fumes for security updates and bug fixes. I am one missing feature for TensorFlow away from not being able to run the code of my colleagues and one security issue away from not being able to process confidential data. Not that any of this applies to me, but this state of things still feels very unprofessional. |
We need to make some adjustments to the packaging to support Ubuntu 22.04. Debian has begun packaging ROCm itself and there are now some package name conflicts between the rocm repo and the jamming repo. That's my fault. I was volunteering with Debian to help get proper OS packages for ROCm and I failed to notice that conflict when it was introduced. |
Thanks for your efforts @cgmb ! Here's hoping this all gets sorted please! |
00:35:51 miner nsfminer 1.3.14 (No stinkin' fees edition) Error: No usable mining devices found |
I suspect this is unrelated to the topic at hand and should probably be moved to another thread. |
k |
Is this issue being solved? |
@SciPyPanda, yes. There was a solution found. It's a work in progress. |
I have AMD Radeon RX580 GPU, how can I install "amdgpu-pro" drivers to encode H.264 using FFMPEG using hardware acceleration from AMD AMF on Ubuntu 22.04? Thanks. |
even if not the amdgpu-install script currently depends on rocm so that kinda sux |
The Ubuntu versions of amdgpu-install 22.20, and 22.20.1 come in a folder jammy, so you may assume these will support Ubuntu 2204. I then actually try to use it to install HIP like so:
This (still) fails with the following error:
Ubuntu 2204 doesn't offer these packages anymore, only later versions. For HIP anyway, they're not even used. I install dummy packages just to satisfy the dependencies, and HIP install and runs fine. This workaround could of course cause other ROCm parts to fail if they need the packages. libgcc-dev, and libstdc++-dev may well be fine with later versions, but I think that Python refers to Python 2, and if that's correct, some parts will most likely fail if they try to use Python 3 instead. |
It seems the driver packages does not actually need python, libstdc++-7-dev or libgcc-7-dev if appropriate newer packages are available. Here is a fairly simple workaround by creating a dummy package:
If you have python-is-python3 then you need to uninstall it since it will create a conflict. |
@ableeker @jlublin THANK YOU! I bought an RX 6800XT in September 2021, expecting I could use it soon with Blender, which would be my main use case. I've been using AMD GPUs since Matrox quit the market, and I am Ubuntu user since 2012. Thus far AMD had been a good to excellent choice. So, I'm a bit miffed, to say the least, about the current situation with HIP on Ubuntu 22.04 LTS. But thanks to you, almost a year later, it now finally works in Blender. A scene I made earlier took 6 minutes on CPU (Ryzen 2700X. Yes, that's AMD as well). It now takes 38 SECONDS on GPU, including some CPU-time for denoising. And still the hardware ray tracing capabilities are unused :( I guess as mere enthusiast / hobbyist I'm not the prime market target for AMD. Still, letting us dangle for so long doesn't sit well with me. |
what was helping in my case was to use this here **amdgpu-install -y --usecase=graphics so it would install, when all other options failed on Ubuntu 22.04 with newer Amdgpu 22.20 repository for legacy graphics card Radeon RX 550X (Polaris) |
I'm not too knowledgeable about the subject matter, but I arrived here because I wanted to play video games after updating to 22.04. I tried the above, but still had performance issues. After also installing the |
I used this method to install the AMD driver |
Building upon the answer by @jlublin, here is my procedure:
To verify this has worked, install and run the
To make my workstation capable to run machine learning using PyTorch, I installed the
To test ROCm's availability to PyTorch:
|
Add focal source to sources.list can fix libstdc++-7-dev issue Add the following line to the file: /etc/apt/sources.list Test pass on AMD Radeon RX 6500 XT, using the following instruction. for ubuntu-22.04// AMD Radeon RX 6500 XT My full sources.list: deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe Logs: Platform Name AMD Accelerated Parallel Processing After fix this issue, you can remove the following line from sources.list file: |
ROCm-5.3 provided official support for Ubuntu-22.04 (jammy). |
IT'S WORKING FLAWLESSLY! 🎉 (but you should run |
@AbelVM So how did you install it? There is no release for v5.3 yet. |
Sure there is, did you follow the link? Finally I can unsub from this thread! |
It's release notes, which are great, but it does not provide a direct link to the downloads or installation guide. If anyone else sees this, go here instead https://docs.amd.com/bundle/ROCm-Downloads-Guide-v5.3/page/Introduction_to_AMD_ROCm_Installation_Downloads_Guide_for_Linux.html |
Thank you for your feedback. The ROCm Release Notes document for the ROCm v5.3 release is now updated with a link to the ROCm Downloads Guide. You can access the latest version at: https://docs.amd.com/bundle/ROCm-Release-Notes-v5.3/page/About_This_Document.html ROCm Documentation Team |
Cool! Keep the momentum and get ready for Ubuntu 22.10 for the end of the month. |
@keryell In my opinion, lts is enough. |
@Bengt Please close the issue, this is SOLVED! https://docs.amd.com/bundle/ROCm-Release-Notes-v5.3/page/About_This_Document.html |
Closing this issue due to recent releases now supporting Ubuntu 22.04. |
Link is down, this should be the correct link: How to install: |
@flowluap Thank you for letting us know. You can access the active link for the ROCm Downloads Guide at: Here are some recommended ways to access the release documentation:
Please let us know if you cannot access the ROCm Downloads Guide, and I can send you a PDF version (download from the docs portal). ROCm Documentation Team |
@Rmalavally the link you sent works fine, thanks! |
Ubuntu 22.04 LTS (Jammy Jellyfish) is the current LTS version of Ubuntu.
https://ubuntu.com/blog/ubuntu-22-04-lts-released
@ROCmSupport repeatedly promised support it once it is out:
#1590 (comment)
#1612 (comment)
Please fulfill that promise by stating official support in documentation, and also by providing an official release of ROCm that works with this version of Ubuntu.
The absence of a working release is already leading to issues:
#1713
The text was updated successfully, but these errors were encountered: