This forum has been archived. All content is frozen. Please use KDE Discuss instead.

convert KDE Neon to Kubuntu LTS?

Tags: None
(comma "," separated)
User avatar
dchmelik
Registered Member
Posts
54
Karma
0
OS

convert KDE Neon to Kubuntu LTS?

Mon Jul 25, 2022 3:38 am
How would one convert KDE Neon to Kubuntu LTS? AMDGPU drivers don't work anymore on KDE Neon but are also officially for Kubuntu (so if Neon really was same underneath KDE in theory the drivers should work).


programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
They are the same underneath, but whichever file that provides the OS info has been customized to report neon instead of Ubuntu. /etc/lsb-release, if memory serves, or the install script might be editable .

But no, you can't convert, or 'downgrade' plasma from Neon to Kubuntu

And I always ask this when AMDGPU-PRO is involved: Since it is a complete pain to install correctly (in many cases), and doesn't provide anything useful or better for *most* people anyway, are you sure you need this? OpenCL is usually the one thing that makes the PRO driver useful on desktop systems.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
dchmelik
Registered Member
Posts
54
Karma
0
OS
claydoh wrote:But no, you can't convert, or 'downgrade' plasma from Neon to Kubuntu


Of course you can! Some people have, though instructions are outdated.

And I always ask this when AMDGPU-PRO is involved: Since it is a complete pain to install correctly (in many cases), and doesn't provide anything useful or better for *most* people anyway, are you sure you need this? OpenCL is usually the one thing that makes the PRO driver useful on desktop systems.


AMDGPU-PRO (proprietary) was replaced with ROCm-based (Free/Libre/Opensource Software, FLS, OSS, FOSS, FLOSS) newer AMDGPU which I need for OpenCL on a PC with a new and an old display/video/graphics card that old doesn't let you use '--no-dkms' and dkms ends up making it boot to crash of a theme so doesn't login (and displays a software keyboard--of all nonsensical things--even on non-touchscreen desktop).


programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
dchmelik wrote:
claydoh wrote:But no, you can't convert, or 'downgrade' plasma from Neon to Kubuntu


Of course you can! Some people have, though instructions are outdated.[/url]

And some have also broken their systems.

And I always ask this when AMDGPU-PRO is involved: Since it is a complete pain to install correctly (in many cases), and doesn't provide anything useful or better for *most* people anyway, are you sure you need this? OpenCL is usually the one thing that makes the PRO driver useful on desktop systems.


AMDGPU-PRO (proprietary) was replaced with ROCm-based (Free/Libre/Opensource Software, FLS, OSS, FOSS, FLOSS) newer AMDGPU which I need for OpenCL on a PC with a new and an old display/video/graphics card that old doesn't let you use '--no-dkms' and dkms ends up making it boot to crash of a theme so doesn't login (and displays a software keyboard--of all nonsensical things--even on non-touchscreen desktop).


You need to edit /etc/os-release and change 'neon' to 'ubuntu'. it is what I did to install opencl on my system, after digging. This won't fix your install issues, I will guess.
if you are trying to install the whole driver stack, you might consider just installing the opencl bits

Edit /etc/os-release
Code: Select all
sudo amdgpu-install --usecase=opencl --no-dkms

then
Code: Select all
sudo apt install opencl-headers ocl-icd-libopencl1 clinfo

then un-edit /etc/os-release

Source: https://www.reddit.com/r/pop_os/comment ... 10_opencl/
I dug and found the link I used some time ago, experimenting with Davinci Resolve.

Code: Select all
$ clinfo | grep -i opencl  Platform Version                                OpenCL 2.1 AMD-APP (3452.0)


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
dchmelik
Registered Member
Posts
54
Karma
0
OS
claydoh wrote:
Code: Select all
sudo amdgpu-install --usecase=opencl --no-dkms

As said, amdgpu doesn't let you use '--no-dkms' with older cards.


programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
dchmelik wrote:
claydoh wrote:
Code: Select all
sudo amdgpu-install --usecase=opencl --no-dkms

As said, amdgpu doesn't let you use '--no-dkms' with older cards.



Then it is not a distro specific issue. I did show you how to set the system to allow the drivers to be installed. Whether they work is another matter, unfortunately.
I thought perhaps NOT installing the whole driver stack might work better. if you read the official install instructions, there may be working options to try. you can also specify either rocr or legacy opencl, or both.

In any case, I think a Vega or newer card is needed, in general, but I am not clear on this tbh.

In any case, you would have the same exact problems with Kubuntu 20.04 (same exact OS as Neon), and probably 22.04, since it seem to be the hardware.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
claydoh wrote:
dchmelik wrote:
claydoh wrote:
Code: Select all
sudo amdgpu-install --usecase=opencl --no-dkms

As said, amdgpu doesn't let you use '--no-dkms' with older cards.



Then it is not a distro specific issue. I did show you how to set the system to allow the drivers to be installed. Whether they work is another matter, unfortunately.
I thought perhaps NOT installing the whole driver stack might work better. if you read the official install instructions, there may be working options to try. you can also specify either rocr or legacy opencl, or both.

In any case, I think a Vega or newer card is needed, in general, but I am not clear on this tbh.

In any case, you would have the same exact problems with Kubuntu 20.04 (same exact OS as Neon), and probably 22.04, since it seem to be the hardware.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
dchmelik
Registered Member
Posts
54
Karma
0
OS
claydoh wrote:In any case, I think a Vega or newer card is needed, in general, but I am not clear on this tbh.


That PC has Radeon RXs 580 and (newer than Vega) 5700 XT and only plugged into the latter so seems like it shouldn't matter for that the 580 is still there but apparently does.


programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
dchmelik wrote:
claydoh wrote:But no, you can't convert, or 'downgrade' plasma from Neon to Kubuntu

Of course you can! Some people have, though instructions are outdated.

You can, but not downgrade. Same procedure as removing PPA-Packages, only a "little bit more". Make sure to not run any graphical stuff (sddm, plasma, etc.). Remove every package from the neon repositories including the global AND user configuration files, set up the original sources and reinstall the packages from there. I suggest doing this from a live stick and chroot into the system to not get stuck on a used ressource (don't really know what neon brings along). As you "downgrade" Qt too, you may run into other problems with third party software. But it would be much easier, a lot faster and more stable if you do a fresh install.

And: Kubuntu 20.04 has only a few month left and the Qt5.12 shipped is dead since ever (commercial end of life was in december last year), so you should use 22.04 anyway.
User avatar
dchmelik
Registered Member
Posts
54
Karma
0
OS
I remembered wrong: recent amdgpu rocm drivers break theme breaks login for even relatively new cards: AMD Radeon RX 5700 XT (same chips in newest 6900 XT just bigger card)... I'm skeptical Kubuntu got it wrong: is an official Ubuntu... amdgpu is made for all Ubuntu. That's why I want to switch to a true LTS... maybe by time we use OpenCL more (later Summer or in Autumn) KDE Neon like Kubuntu 22.04 will have working drivers.
        An Ubuntu wiki says 20.04 used Linux kernels 5.4 to 5.8 but we have to 5.15 and tried everything in between... always same theme crashing login which is pretty idiotic design to make login depend on something as irrelevant/unimportant as a mere arbitrary theme without fallbacks nor plain/non-theme (safe/recovery) X mode.


programmer since 1993, UNIX user since 1997, X/KDE user since '0s, forum member since 2008-11
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
it did not break anything for me on my testing yesterday, on my RX 6600 (non-XT). I did both an opencl-only install, and then I installed the drivers and opencl (both legacy and rocr). No issues at all. Which was the first time in a few years' worth of occasional random testing that I could actually use the PRO video driver successfully.

Of course, Davinci Resolve still didn't like this setup.
Oddly, it did like the mesa opencl setup after I restored my system (mesa-opencl-icd), though I decided that I did not care enough about that video editor to bother learning how to use it.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]