Can I convert regular OM Install in to a znver1? Kernel compilation or install correct kernel from repo

Hello,

  • _OpenMandriva Lx version:_5 Irrelevant
  • Desktop environment (KDE,): Also irrelevant
  • Relevant informations (hardware involved, software version, logs or output…):

Me being OM noobie donkey ass have installed normal OM iso on zen3 cpu.

Question.
How to compile Kernel on om to make the install more compatible with ryzen 5600G
I know classic compilation method and a Debian way of kernel compilation from tarbal https://kernel.org/

Is there any specific way of compiling kernel on OM.
Or there is a way for me to just install znver1 kernel from repo

dnf search kernel
dnf search kernel-image left me in a woods

dnf dnf search linux gives tone kernel package data but it is hard to make any sense from that.
dnf search linux | grep znver gives nothing,

likewise

~$ dnf search linux | grep znver
~$ dnf search linux | grep zen
~$ dnf search linux | grep ryzen
~$ dnf search linux | grep amd

Depending on how some packages are built, I wouldn’t recommend it.

You would not recommend to
a. Compile the kernel
b. trying to find a correct kernel in repo.
Or just whole damn iso is compiled with zen arch in mind package by package .

Can you kindly bit elaborate

Im new on OM. As far as I know (on most distros) usually it is sufficient to replace a kernel for that compiled with zen in mind.
Im not familiar with OM ways.
Thats why Im asking.

The very first part of the subject:
Can I convert regular OM Install in to a znver1?

We build packages for each platform. I would recommend installing x86_64, or znver1.

I was hoping it is possible to avoid reinstalling but if you

Not just kernels i will reinstall tomorrow.

Thank you for replay
Its great appreciated

Ps. English is sometimes hard so if i miss spell something sorry

It’s no trouble. :slightly_smiling_face:

If there are separate package builds for x86_64 vs znver1 that those two would use separate sets of repos?

Yes. Example:

Index of /rolling/repository/

  • aarch64
  • x86_64
  • znver1

That’s what I thought after @zeroability responses to my questions.
a. That is awesome that * x86_64 * znver1 are compiled separately even if x86_64 will work on zen with no issue, yet this kind of optimization by default is great. It is definitely not common in package
based distros. If we speak about source based it is another story.

b. Holly molly now I must reinstall whole system

Thank you for reply

1 Like

Could OMLx not get similar optimizations by using different kernel paramaters? Building entirely separate repos sounds like more work.

There are/have been always good reasons why OM developers do things.
Most of them may even not be understood by us common users.

1 Like

There’s no guarantee that everyone would know or care about them. The vast majority are going to use x86_64. Enthusiasts are going to use znver1 if they own the hardware.

1 Like

If there are kernel parameters that could achieve roughly the same results for hardware optimizations, is that not something that the installer could detect and implement for ryzen cpu’s?

You see that more often in source based distros. Even the more common distros use a generic kernel with the architecture because support can be a moving target.