Amd ryzen 5500u linux

Amd ryzen 5500u linux

I suspect that the kernel is not being built from the config file being posted.
_________________
Regards,

This driver adds a CPUFreq driver which utilizes a fine grain
processor performance frequency control range instead of legacy
performance levels. _CPC needs to be present in the ACPI tables
of the system.

Код:
-rw-r—r— 1 root root 9700 Jan 22 11:50 /lib/firmware/amd-ucode/microcode_amd_fam17h.bin

Enter

Код:
make menuconfig

Press / for seach
Enter EXTRA_FIRMWARE as the search term.
Choose EXTRA_FIRMWARE, not EXTRA_FIRMWARE_DIR and go to it. Press the number to left of the option
Edit the entry.

Save the change and rebuild the kernel.
_________________
Regards,

Run

Код:
uname -a
Код:
$ uname -a
Linux neddy_static 6.1.1-gentoo #1 SMP PREEMPT_DYNAMIC Sat Dec 31 19:00:03 GMT 2022 x86_64 AMD Ryzen 9 5950X 16-Core Processor AuthenticAMD GNU/Linux

The time and date shown, here, Sat Dec 31 19:00:03 GMT 2022 is the build time and date of the running kernel.
If you have built the kernel today, it should be todays date. Is it ?
_________________
Regards,

That’s today’s kernel. Its changed from a build fail to building.
For the P-State driver, you probably need the testing kernel. That was 6.1.7 yesterday.
_________________
Regards,

Copy the config file to the new kernel.

In the new kernel, run

Код:
make oldconfig

This will do three things.
1. Remove elements that are not in the new kernel.
2. Keep the settings that are valid for the new kernel
3. Ask you about all the new settings.

The prompt for new settings will show y/m/n/?
Yes makes the option built in, M makes it a module, No leaves it out and ? shows the help.
Not all four options are shown every time.
One of y/n/m will be a capital letter. This is the default, it may or may not be what you need.
_________________
Regards,

Код:
make install
make modules_install

after compiling the kernel?

And possibly

Код:
grub-mkconfig -o /boot/grub/grub.cfg

depending on if you just compiled a kernel version other than that already in use.
And before that create/update your initramfs if you use one.

The help says .

Код:
┌───────────────────────────── AMD Processor P-State driver ─────────────────────────────┐
│ CONFIG_X86_AMD_PSTATE: │
│ │
│ This driver adds a CPUFreq driver which utilizes a fine grain │
│ processor performance frequency control range instead of legacy │
│ performance levels. _CPC needs to be present in the ACPI tables │
│ of the system. │
│ │
│ For details, take a look at: │
│ . │
│ │
│ If in doubt, say N. │
│ │
│ Symbol: X86_AMD_PSTATE [=y] │
│ Type : bool │
│ Defined at drivers/cpufreq/Kconfig.x86:37 │
│ Prompt: AMD Processor P-State driver │
│ Depends on: CPU_FREQ [=y] && X86 [=y] && ACPI [=y] │
│ Location: │
│ -> Power management and ACPI options │
│ -> CPU Frequency scaling │
│ -> CPU Frequency scaling (CPU_FREQ [=y]) │
│ -> AMD Processor P-State driver (X86_AMD_PSTATE [=y]) │
│ Selects: ACPI_PROCESSOR [=y] && ACPI_CPPC_LIB [=y] && \ │
│ CPU_FREQ_GOV_SCHEDUTIL [=y] │
Читайте также:  Linux что проще windows

Notice the

Код:
│ Depends on: CPU_FREQ [=y] && X86 [=y] && ACPI [=y]

Unless all these kernel options are on, X86_AMD_PSTATE will be hidden.

For temperature information you probably need lm-sensors and ryzen_monitor will tell you all about your CPU.
_________________
Regards,

lm_sensors and XFCE sensors read information from one and the same place if not even XFCE sensors rreading from lm_sensors. And they won’t read it until there’s a driver to provide it. This drives is either k10temp in kernel or zenpower3 out of kernel module which can be found in guru overlay.

For me, ryzen_monitor says SMU not present or fault, although I think everything with my R75800H is setup correctly including AMD-pstate:

Код:
cpupower frequency-info
analyzing CPU 0:
driver: amd-pstate

AMD P-state needs to be compiled in, not a module. Also, if you don’t see it, go to Power Management -> CPU Frequency Scaling and press z. It’ll show all hidden options. Go to AMD p-state and select help from the buttons below. It’ll show you what it depends on including which options should not be selected (will be marked =n).

p.s. I did some testing and concluded I don’t need the microcode embedded in the kernel for it to load it. You just need to have linux-firmware emerged and the firmware directory correctly set. However I’m starting to doubt this is the correct way to embed microcode in the kernel. It’s a firmware loader, not microcode loader. If somebody knows there’s no difference between those two, please clarify.

p.s.2. have you set CONFIG_MICROCODE and CONFIG_MICROCODE_AMD?
what does

Код:
dmesg | grep microcode

say?

lm-sensors depends on having the ‘right’ sensor dliver(s) available to the kernel.
ln-sensors will load the driver(s) if they are loadable modules.

What ‘right’ means varies from motherboard to motherboard and even motherboard batch by batch.
What motherboard do you have?

Knowing that, we can use the internet to determine a lost of possible kernel modules.

Post the output of

Код:
lspci -nnk

and use wgetpaste to put your entire kernel .config file onto a pastebin site please.

For the cpu, you need the $

Код:
lsmod | grep smu
ryzen_smu 20480 0

kernel module.

Its provided by the ryzen_smu package, which should be depended on by app-admin/ryzen_monitor.
You may need to

Код:
modprobe ryzen_smu

to load the module.
_________________
Regards,

Thank you. This is current situation.
After installing of k10 drivers xsensors and lm_sensors is working fine, but not xfce-sensors-plugin.
I have been running 6.1.8 kernel, but when I install ryzen_smu it’s pointing at old 6.1.4 kernel.
How to delete old kernel ?

Calculating dependencies . done!
>>> No packages selected for removal by depclean

Код:
ryzen_smu-0.1.2_p20211205.tar.xz BLAKE2B SHA512 size 😉 . [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.1.4-gentoo

Copyright 2001-2023 Gentoo Foundation, Inc. Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group
Privacy Policy

Читайте также:  Linux мониторинг температуры компьютера

Источник

AMD Ryzen 5 5500U — Windows 10 vs. Ubuntu 21.04 Linux Benchmarks

While yesterday was the Threadripper 3990X Windows 10 vs. Linux benchmarks, with recently picking up the $450 Lenovo IdeaPad 3 15 with Ryzen 5 5500U, prior to wiping the Windows 10 preload I ran some benchmarks to see how that default Microsoft Windows 10 Home installation compared to a fresh install of Ubuntu 21.04 for maximizing the performance potential of this budget six core / twelve thread laptop.

As some extra «Windows 10 vs. Linux» performance figures, this article has the benchmarks of the Windows 10 install as shipped by Lenovo compared to performing a clean install of Ubuntu 21.04. The Lenovo IdeaPad 3 (LNVNB161216) was equipped with the AMD Ryzen 5 5500U six core / twelve thread processor with Radeon Vega 7 graphics, 256GB Samsung NVMe SSD, 1080p display, and 2 x 4GB DDR4-3200 memory.

A wide variety of desktop/laptop oriented workloads were then run on this affordable AMD laptop.

Compared to the higher-end systems like yesterday’s Ryzen Threadripper 3990X benchmarks where Linux tends to dominate, there are more mixed results on the lower-end CPU front. Windows 10 was picking up wins in some of the graphics/GPU tests and the web browser benchmarks. Those areas are of little surprise with Mozilla Firefox long performing better on Windows than Linux. The OpenGL/Vulkan performance is mixed depending upon the particular workload for how well it competes on the open-source Linux driver stack against AMD’s Radeon Software Windows driver package. Ubuntu 21.04 tended to lead in the other CPU focused performance tests.

Источник

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Best Kernel For AMD Ryzen 5 5500U

Post by Agentl074 » Sun Jan 09, 2022 6:18 pm

Asus Vivobook S712
AMD Ryzen 5 5500U with Integrated Radeon GPU

So, I am going to try another attempt at installing Linux on my other laptop. previous attempts with Mint 20.2 Cinnamon did not support GPU — not recognized.

I am going to try again with a newer kernel since I read that the newer kernels have support for this particular GPU. Which would be the best kernel to use? I was thinking the latest long term support release from Update Manager?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Pjotr Level 23
Posts: 19040 Joined: Mon Mar 07, 2011 10:18 am Location: The Netherlands (Holland) 🇳🇱 Contact:

Re: Best Kernel For AMD Ryzen 5 5500U

Post by Pjotr » Sun Jan 09, 2022 6:33 pm

What you need is the Edge iso with the latest kernel on board. Wait a couple of days until it becomes available for 20.3.

Tip: 10 things to do after installing Linux Mint 21.2 Victoria
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Re: Best Kernel For AMD Ryzen 5 5500U

Post by jazz.h » Sun Jan 23, 2022 3:38 pm

Читайте также:  Linux edit user password

Pjotr wrote: ⤴ Sun Jan 09, 2022 6:33 pm What you need is the Edge iso with the latest kernel on board. Wait a couple of days until it becomes available for 20.3.

Is it out now?
I bought Lenovo IdeaPad 3 17ALC6 with AMD Lucienne Ryzen 5 5500U, so I’m thinking Mint 20.3 Mate or Cinnamon.

Re: Best Kernel For AMD Ryzen 5 5500U

Post by blockhead47 » Sun Jan 23, 2022 3:41 pm

Источник

Benchmarking AMD Ryzen 5 5500U Linux Performance With A $450 Lenovo Laptop

The AMD Ryzen 5 5500U with six cores / twelve threads within a Lenovo laptop at $449 USD is quite a steal. This is also my first time benchmarking the AMD Ryzen 5 5500U after waiting months on Ryzen 5000 series laptop availability. Here are some initial benchmarks of the Ryzen 5 5500U under Ubuntu 21.04 Linux against various other Intel/AMD laptops.

The Ryzen 5 5500U is a Zen 2 based laptop processor rather than Zen 3 with the higher-end 5000 series models. However, over the previous-generation Ryzen 5 4500U, there is now SMT to offer 12 threads rather than 6/6 with the prior generation. The 5500U though carries a 2.1GHz base frequency rather than the 2.3GHz base with the 4500U while both have a turbo up to 4.0GHz. The 5500U also has the benefit of a 64K L1 cache per core rather than 32K.

I’m still working on getting my hands on a Zen 3 based AMD Ryzen 5000 series laptop for Linux testing — given the general lack of laptop vendor interest in Linux, it generally comes down to what I find available to purchase via retail channels. During these supply chain struggles, it’s been checking Internet retailers daily for any interesting (and affordable) models. When seeing the Lenovo Ideapad 3 15 with Ryzen 5 5500U listed for just $449 USD at Walmart and available, I decided to order one for testing. (I purchased it last week for $449.00 USD though at the moment is now increased to $479 USD.) A Ryzen 5 6c/12t Lenovo laptop is almost as much of a steal as the prior $199 laptop with Ryzen 3 processor.

This budget Ryzen 5500U laptop features a 15.6-inch 1080p display, 8GB of RAM (2 x 4GB Samsung DDR4-3200), 256GB NVMe Samsung SSD, and makes use of the Radeon 7 Graphics found with the 5500U. By default the laptop ships with Microsoft Windows 10 Home.

In using the laptop so far over the past week, this Lenovo IdeaPad 3 15 (82KU003NUS) has worked out rather well for the price. The two main sore points are just 8GB of RAM and not using a USB-C power connector. The 8GB of RAM is a disappointment but not unexpected given the price.

At least from the Linux experience on the IdeaPad 3 15 using Ubuntu 21.04 with the Linux 5.11 kernel, it’s been working out fine. The Vega graphics are working fine out-of-the-box on Ubuntu 21.04, the WiFi via the Qualcomm QCA6174 was working out-of-the-box, no display issues, and no storage or SecureBoot problems, among other areas where challenged by the occasional quirks. I am still more thoroughly testing the laptop on Linux now that getting the initial out-of-the-box Linux benchmarks completed but so far is working out fine.

Источник

Оцените статью
Adblock
detector