Registered Member
|
Recent months Ubuntu amdgpu rocm drivers (for OpenCL) crash login so I'm trying to upgrade but doesn't work. The below happens every time.
Unclear to me whether it's http://repo.radeon.com/rocm/apt/5.2.1/pool/main/r/rocm-llvm/rocm-llvm_14.0.0.22204.50201-79_amd64.deb.
programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
|
Registered Member
|
From that error, and the others, it looks like there are problems in AMD's packaging. You could force it to overwrite (probably safe, for this specific error), but the much safer route would probably be to uninstall the AMDPGPU-PRO packages (using amdgpu-install --uninstall ) and then try installing them fresh, so there won't be any existing AMD package versions on your system to conflict with the ones being installed If you want to try forcing:
Then
running apt update and apt full-upgrade after won't hurt. Not 100% sure if this will fix all the packaging dependency errors in the end though. Uninstalling the existing packages, and then reinstalling the new ones seems easier in the long run.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
I don't know why you're saying sudo when I'm a decades root UNIX/GNU/Linux user. Your commands didn't work. AMD doesn't make clear where new packages are; installer gets ROCm 4.5.1 but 5.2.1 is out.
Actually 'apt -f install' after that may have done something but then...
programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
|
Registered Member
|
-
because this is what 99.5% of us use, even after 2+ decades on Linux. it is what the OS is set up and designed for, like most of them. One can leave it off, of course, knowing quite well that it is not necessary for you. And I did have a typo, many apologies.
This will attempt to finish installing/configuring any packages that might have failed to do so. Surprised that you didn't catch it, being an experienced Linux user and all. You have bunged up package dependencies all based on the AMD-provides ones, which is why I suggested the sane, safer route of uninstalling the old AMD packages, and reinstalling , which would not have the conflicts, as there wouldn't be any pre-existing, old AMD-sourced packages on the system to create this dependency hell to begin with. I don't know why it isn't working for you, particularly the amdgpu-install command. For me, it runs an apt update, then nothing as I had already removed it. But it still does something, and the other day it did uninstall all the AMD-souirced packages. I know the amdgpu-pro install process is a bit different from what it used to be until fairly recently. All the how-tos and such I looked at were outdated. I wonder if this is a potential cause for some of the trouble, if your driver installation was done some time ago? I dunno. Also, in your output, it does mention running 'apt --fix-broken install', which is the same as running 'apt -f install', have you tried that? In any case, I am out of ideas. I am able to install, remove, and reinstall all the drivers, or just the OpenCL stuff at will on my system.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Thanks: fixed! However like more their versions in recent months, OpenCL doesn't work but this time even with relatively new cards... but we'll see if it at least boots to login.
I did.
Because outdated: installs ROCm 4 but I set to install latest stable ROCm 5 so some steps are manual (documented).
programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]