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

Support Ubuntu 22.04 LTS (Jammy Jellyfish) #1590

Closed
Bengt opened this issue Oct 12, 2021 · 43 comments
Closed

Support Ubuntu 22.04 LTS (Jammy Jellyfish) #1590

Bengt opened this issue Oct 12, 2021 · 43 comments

Comments

@Bengt
Copy link

Bengt commented Oct 12, 2021

The next version of Ubuntu with long-term support, called 22.04 (JJ), will be released on April 21st, 2022. This version will be the first Ubuntu version to be supported by AMD ROCm for 2 years, which is significant for anybody look to modernize their Ubuntu-based ROCm installation. Please make sure this Ubuntu release is supported from day one on and keep us posted about the progress towards that all-important goal.

@Bengt
Copy link
Author

Bengt commented Oct 12, 2021

From a consumer perspective, this Ubuntu version will be critical in determining ROCm's presence and future. Reason being, that Intel will bring competition to the currently supply-driven GPU market in early 2022. Nvidia is already preparing GPUs to counter the Intel ARC products, aiming at the 3070-ish level of performance. AMD also has competitive hardware in this performance bracket, namely the 6700 XT, 6800, and 6800 XT cards.

However, the software support of these products is vastly different. Nvidia dominates the software support for deep learning with their practically ubiquitous and largely flawless support of CUDA, which is but closed-source software. Intel has positioned themselves multiple times as a proponent of open-source software, but whether that translates to their deep learning offering on GPUs remains to be seen. In any case, the Ubuntu 22.04 release marks a possible turning point, if Intel and Nvidia offer day-one deep learning support for their GPUs, while AMD doesn't.

@Bengt Bengt changed the title Support Ubuntu 22.04 LTS () Support Ubuntu 22.04 LTS (JJ) Oct 12, 2021
@aoolmay
Copy link

aoolmay commented Oct 12, 2021

Yup, bought 6800XT, not even OpenCL works reliably so i'm limping with old WXs. I don't game so this NAVI is practically trash to me.
Over the last years promises regarding NAVI inclusion into ROCm stack have devolved from "soon" through "tenatively next releases" to basically avoiding specific answers.
Got 3060 for trials and it just works, i'd blame myself over my not doing it earlier only if i wasn't mislead.

@Bengt
Copy link
Author

Bengt commented Oct 12, 2021

@aoolmay, I get your sentiment. Thanks for weighing in.

ROCm Support promised to deliver ROCm for RDNA2 within 2021. If they deliver on this promise, RDNA2 support could arrive right on time for Ubuntu 22.04 and the Intel competition. However, I am burned enough to not buy on promises, but on delivery. That seems to be the only sensible way to handle ROCm compatibility.

Personally, my Vega 64 (GFX900) is also due for an upgrade. I am considering a 3060 Ti at least, but I am hoping for competition at the 3070 performance level to bring prices down somewhat. I would still prefer buying AMD, but at the moment (and this moment has been a long one), AMD simply has nothing for me to buy in their retail portfolio. Alternatively, I could go for a used Vega VII, but they seem to die like flies, so that would not be economical.

@xuhuisheng
Copy link
Contributor

The ubuntu-22.04 does not even start.
We don't know if they will use kernel-5.13 or higher, cannot do any test now.
But ubuntu-22.04 is LTS, so it will be supported, in some day of future.

BTW, ROCm-4.3.1 may already support RX6800. Someone who had this card could have a try.

@ROCmSupport
Copy link

ROCmSupport commented Oct 13, 2021

Hi @Bengt
Thanks for reaching out.
Thanks for explaining things in a good way and also helping AMD in different ways.
Regarding Ubuntu 22.04 support, yes, we will definitely have plans to support in future once it lands in the market.
Thank you.

@Bengt
Copy link
Author

Bengt commented Oct 13, 2021

@xuhuisheng Thanks for your response.

  • Yes, I am a little early with requesting support or 22.04. However, the 22.04 release cycle starts with the release of 21.10., which is due to be released tomorrow.
  • The kernel freeze will probably happen in February or March next year, which is when more concrete testing could be conducted.
  • Yes, Ubuntu 22.04 is an LTS version and should be supported, which is why I am asking for support in this issue.
  • Maybe some RDNA2 cards already work for some use cases. However, I am asking for OS support, which can only be given once all supported cards work for all supported use cases.

@ ROCmSupport Thanks for your response and appreciation.

  • Planning support once this Ubuntu version is released seems a bit late to me. I am specifically asking for it at this early point time, so that day-one support can be worked towards.
  • Thank you for confirming that the next LTS release of Ubuntu shall be supported. Why though are you closing this issue now? I am requesting official support for this Ubuntu release, which is not yet achieved. So please, let's keep this issue open to track progress towards that goal.

@ROCmSupport
Copy link

Hi @Bengt
Thank you much for understanding.
We can not keep issues related to future supported OSes.
As per ROCm's OS support strategy, we keep supporting LTS versions of Ubuntu always.
So we will definitely support the latest LTS version, when it lands. Until then we can not keep it open as its not fair.
If we do not support/someone is facing issues though its officially supported/if ROCm support is delayed/not enabled with it, I recommend to open tickets that time and we will keep them open until issues are resolved.
Hope this helps.
Thank you.

@Bengt
Copy link
Author

Bengt commented Oct 13, 2021

@ROCmSupport Thanks for explaining your policy to me. I did not know that and find it interesting to learn. I am happy to know, that closing this issue was not a mistake but is in fact in line with said policy. Please consider, that this frankly makes no sense from my perspective: Since this upcoming release will be supported anyway, there is no additional engineering effort required for fulfilling this issue. On the other hand, the community could organize their testing efforts here, helping AMD in fulfilling its goal of a smooth support. Maybe this would prevent quite real problems (like the one about GFX900 in 4.3.0) next time. I see some lost potential for leveraging the oftentimes very engaged user base to increase release quality and avoiding crunch time for AMD's engineers after avoidable mishaps.

@erkinalp
Copy link

erkinalp commented Mar 24, 2022

The kernel freeze will probably happen in February or March next year, which is when more concrete testing could be conducted.

4 April 2022 is Ubuntu 22.04's kernel freeze.

Since this upcoming release will be supported anyway, there is no additional engineering effort required for fulfilling this issue.

Also to mention, people could make community ports of ROCm to short term support releases to allow for further testing.

@Bengt Bengt changed the title Support Ubuntu 22.04 LTS (JJ) Support Ubuntu 22.04 LTS (Jammy Jellyfish) Apr 10, 2022
@erkinalp
Copy link

its not fair.

Why? Due to releasing it earlier than CUDA?

@keryell
Copy link
Contributor

keryell commented Apr 16, 2022

@ROCmSupport can you reopen this?

@Bengt
Copy link
Author

Bengt commented Apr 19, 2022

Ubuntu 22.04 is scheduled for release the day after tomorrow. So, I guess I will take the opportunity to one last time lament about missing support ahead of time. I hope that there is a release of ROCm in the works which adds targets for the 22.04 version of Ubuntu to the PPA. Otherwise, these remaining days might be the last ones for a while on which ROCm supported the current LTS version of Ubuntu.

@xuhuisheng
Copy link
Contributor

Here is dependency errors when intall rocm-lib on ubuntu:22.04 in docker.
The version of ubuntu:22.04 is gcc-11.

work@7cead9071756:/var/spool/apt-mirror/mirror$ sudo apt install -y rocm-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openmp-extras : Depends: libstdc++-5-dev but it is not installable or
                          libstdc++-7-dev but it is not installable
                 Depends: libgcc-5-dev but it is not installable or
                          libgcc-7-dev but it is not installable
                 Recommends: gcc but it is not going to be installed
                 Recommends: g++ but it is not going to be installed
 rocm-gdb : Depends: libpython3.8 but it is not installable
 rocm-llvm : Depends: python but it is not installable
             Depends: libstdc++-5-dev but it is not installable or
                      libstdc++-7-dev but it is not installable
             Depends: libgcc-5-dev but it is not installable or
                      libgcc-7-dev but it is not installable
             Recommends: gcc but it is not going to be installed
             Recommends: g++ but it is not going to be installed
             Recommends: gcc-multilib but it is not going to be installed
             Recommends: g++-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@erkinalp
Copy link

@xuhuisheng That is tracked separately, in #1713.

@Bengt
Copy link
Author

Bengt commented Apr 22, 2022

Ubuntu 22.04 LTS was released yesterday: https://ubuntu.com/blog/ubuntu-22-04-lts-released

@Laitaps
Copy link

Laitaps commented May 23, 2022

Hi @Bengt Thanks for reaching out. Thanks for explaining things in a good way and also helping AMD in different ways. Regarding Ubuntu 22.04 support, yes, we will definitely have plans to support in future once it lands in the market. Thank you.

Not doing very well with this fellas. Now, I must say, I understood what I was doing when I decided on AMD hardware. I knew it would not make my life easier. But damn, you guys are really not helping yourselves.

@phibonacci85
Copy link

I prefer AMD but I'm a linux user. :(

@wxianxin
Copy link

come on guys. Try harder and try again. Now Nvidia is getting into open source.

@JudeDavis1
Copy link

Is this issue still not fixed? I know for a fact that if this was open sourced, you would get far more AMD customers. The development time is far too slow. Please consider open sourcing the software.

@Bengt
Copy link
Author

Bengt commented Jun 22, 2022

@JudeDavis1, technically, ROCm is open-source software. However, developing it requires knowledge and manpower, that only AMD has and not the community. Since AMD's open source strategy is to release new source code only with new releases, there is no continuous engagement with the community. Therefore, porting efforts are currently running internally at AMD and in parallel in the public. I hope that AMD can learn for the community's findings, but the other way around is hindered by confidentiality restrictions. This is why we are largely dependent on AMD releasing a version that is compatible with Ubuntu 22.04 although ROCm is open source.

@Bengt
Copy link
Author

Bengt commented Jun 22, 2022

It has been three months, or a full quarter of a year, since the release of Ubuntu 22.04 and ROCm is still lacking support.

This is really not a good look and makes day-1 support seem a distant goal.

@JudeDavis1
Copy link

JudeDavis1 commented Jun 22, 2022

@Bengt Ah that makes sense now. Still though, I think AMD should put more effort into this. I don't mean to needlessly pressure developers but at least keep in communication with us as to where you guys are at.

@wxianxin
Copy link

The fact that I can run my algorithms using my NVIDIA cards on latest Ubuntu release instead of AMD nowadays make me wonder should I just get NVIDIA products instead in the future.

@Laitaps
Copy link

Laitaps commented Jun 22, 2022

The fact that I can run my algorithms using my NVIDIA cards on latest Ubuntu release instead of AMD nowadays make me wonder should I just get NVIDIA products instead in the future.

Everyone has a different use case, with different requirements. As a result, they need to make their own choices based on those requirements and I would not be in a position to tell anyone what to do.

I do machine learning work where it is already easier to use NVIDIA. Despite this, I went with AMD hardware for my workstation in the hopes that it would be better supported in the future. This appears not to be the case, which is unfortunate as I would like to see more competition. Hopefully, support will improve by the time I build my next workstation.

@dpospisil
Copy link

I bought RX6800 more than year ago. Since than I am always waiting for a next driver to fix a critical issue or introduce missing feature. Reminds me early Linux days some 20 years ago. I have lost all the trust in AMD.

@erkinalp
Copy link

@ROCmSupport Any timeline to full 22.04 support?

@dpospisil
Copy link

@ROCmSupport just wondering, is it fair to have this issue open now?

@saadrahim saadrahim reopened this Jun 27, 2022
@saadrahim
Copy link
Member

saadrahim commented Jun 27, 2022

Ubuntu 22.04 support is planned by AMD. Launch support for Ubuntu 22.04's release is not planned.

@Bengt
Copy link
Author

Bengt commented Jun 29, 2022

Hi, @saadrahim! Thanks for the information. I opened an issue requesting launch day support in a more general manner.

@My1
Copy link

My1 commented Jul 14, 2022

Ubuntu 22.04 support is planned by AMD. Launch support for Ubuntu 22.04's release is not planned.

we are WAY beyond that already.
I wonder tho how hard it would have been to do some efforts back in the prep stage when this issue was made and how much would have been left to do at the time of release.

@directrix1
Copy link

Any updates on this?

@Laitaps
Copy link

Laitaps commented Aug 21, 2022

I never wanted to say this, but buy NVIDIA.

@directrix1
Copy link

If Nvidia would open up their compute platform then that would be an option.

@AbelVM
Copy link

AbelVM commented Sep 10, 2022

Wow, I just set up my brand new Ryzen laptop with preinstalled Ubuntu 22.04 and, surprise! There is no installable GPU stack for this 4-months-old LTS Ubuntu release. No OpenCL for me!

Should I go back to my old i7 backed laptop?

@JudeDavis1
Copy link

Wow, I just set up my brand new Ryzen laptop with preinstalled Ubuntu 22.04 and, surprise! There is no installable GPU stack for this 4-months-old LTS Ubuntu release. No OpenCL for me!

Should I go back to my old i7 backed laptop?

And what's worse is that they aren't communicating any details, so we're left in the dark. That's the part I find really pathetic and irritating.

@Laitaps
Copy link

Laitaps commented Sep 10, 2022

Wow, I just set up my brand new Ryzen laptop with preinstalled Ubuntu 22.04 and, surprise! There is no installable GPU stack for this 4-months-old LTS Ubuntu release. No OpenCL for me!
Should I go back to my old i7 backed laptop?

And what's worse is that they aren't communicating any details, so we're left in the dark. That's the part I find really pathetic and irritating.

Yup. This lack of support is almost forcing me to move off of AMD with this next generation of GPU. My next workstation is most likely going to be powered by NVIDIA. This is something I had hoped to avoid, but I do need to get work done and they provide better support.

@abhimeda
Copy link
Collaborator

abhimeda commented Jan 2, 2024

Is this still reproducible with the latest ROCm? If not, can we please close it? Thanks

@cgmb
Copy link
Collaborator

cgmb commented Feb 1, 2024

Support for Ubuntu 22.04 was added in ROCm 5.3.

@cgmb cgmb closed this as completed Feb 1, 2024
@keryell
Copy link
Contributor

keryell commented Feb 2, 2024

I hope the full team is ready for Ubuntu 24.04. :-)

@My1
Copy link

My1 commented Feb 2, 2024

I opened a discussion about this whole issue for the future, sadly no responses yet

@keryell
Copy link
Contributor

keryell commented Feb 2, 2024

I opened a discussion about this whole issue for the future, sadly no responses yet

Could you put the link to your discussion here too so we can follow?

@My1
Copy link

My1 commented Feb 2, 2024

#2760
dammit forgot to press the paste hotkey lol

@cgmb
Copy link
Collaborator

cgmb commented Feb 2, 2024

I hope the full team is ready for Ubuntu 24.04. :-)

Ubuntu 24.04 will ship with most of the math libraries from ROCm 5.7 in the OS repositories, so regardless of whether AMD supports 24.04 at launch or not, there will at least be hip, rocblas, hipblas, rocsparse, hipsparse, rocsolver, hipsolver, rocrand, hiprand, rocfft, hipfft, rocprim, rocthrust, and rccl on day one.

I was hoping to have miopen and pytorch-rocm in the OS repos in time for Ubuntu 24.04, but pytorch-rocm is not going to be ready in time and even miopen is unlikely. The cutoff for new packages is the end of the month, and the review process usually takes a couple weeks, so for MIOpen to have a good chance of getting into the Ubuntu 24.04 OS repos, somebody would have to package it and submit a request for sponsorship to the Debian AI mailing list within the next week or so.

I'm busy trying to ensure that we have RDNA 3 support in the OS repos for the 24.04 launch, so I don't have time to put together the MIOpen package...

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

No branches or pull requests