View previous topic :: View next topic |
Author |
Message |
hugoreyes83 n00b
Joined: 02 Aug 2021 Posts: 1
|
Posted: Tue Aug 03, 2021 2:17 am Post subject: no AMD option when configuring kernel |
|
|
Is it normal to not see a specific option for AMD ryzen when configuring kernel? I have a ryzen 9 5950x and currently have my kernel set to "Generic-x86-64" as shown in the screenshot at https://ibb.co/qrF8cRM
I followed the gentoo handbook for download/configuring/compiling kernel. |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Tue Aug 03, 2021 4:36 am Post subject: |
|
|
If you use sys-kernel/gentoo-sources with the experimental USE flag you will get options for the AMD CPU. |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2014
|
Posted: Tue Aug 03, 2021 8:49 am Post subject: Re: no AMD option when configuring kernel |
|
|
hugoreyes83 wrote: | Is it normal to not see a specific option for AMD ryzen when configuring kernel?... |
Yes.
The kernel developers only support fairly generic kernels - the list you see in the standard configuration menu. I guess it's to reduce the number of variants they have test/have hardware to test on. As jburns says, you can add the experimental flag to apply patches to allow a greater range of cpu types, but AFAIK the developers consider the resulting kernel unsupported.
(As it happens, I specify KCFLAGS="-march=native", which is another way to generate an unsupported kernel.) _________________ Greybeard |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Fri Aug 06, 2021 2:30 am Post subject: |
|
|
Ultimately, it will be more important to set your CPU flags correctly than to have specific processor support within the kernel. You can use the `cpuid2cpuflags` to help determine them for you, or you can just do a `cat /proc/cpuinfo | grep 'flags'` to see the capabilities. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
|