LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-28-2021, 03:23 PM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Rep: Reputation: 47
Ryzen 5 3600 + Asus TUF x570 awfully slooooow


Ryzen 5 3600 on Asus gaming TUF x570 is very slow in Linux.
I've tried it in Debian testing, Debian stable and Arch.
The phoronix ffmpeg test takes 120sec instead of 5sec.
some benchmarks are attached.
I've updated BIOS to latest: 'TUF-GAMING-X570-PLUS-ASUS-3405' from factory v2607.

Asus doesn't seem to allow downgrading BIOS?
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-02-28 21-49-22.png
Views:	49
Size:	98.9 KB
ID:	35748   Click image for larger version

Name:	Screenshot from 2021-02-28 21-50-02.png
Views:	28
Size:	102.3 KB
ID:	35749   Click image for larger version

Name:	Screenshot from 2021-02-28 21-50-37.png
Views:	22
Size:	97.2 KB
ID:	35750   Click image for larger version

Name:	Screenshot from 2021-02-28 21-51-55.png
Views:	19
Size:	99.1 KB
ID:	35751   Click image for larger version

Name:	Screenshot from 2021-02-28 21-53-12.png
Views:	16
Size:	79.2 KB
ID:	35752  


Last edited by qrange; 02-28-2021 at 03:25 PM.
 
Old 02-28-2021, 03:48 PM   #2
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
edit:
I just fiddled with some BIOS settings, and it works normally now
yay!


edit2:
spoke too soon. ffmpeg now takes 33 seconds instead of 5.

Last edited by qrange; 02-28-2021 at 04:12 PM.
 
Old 03-01-2021, 04:23 AM   #3
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Debian, LFS
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
I also use the 3405 update with the same CPU on a similar ASUS-board (X570-P) and it runs fine. Did you forget to save your Bios-Settings in a "profile" and reload them after the update?

You can downgrade the Bios and sometimes it works. This depends on what things were changed between the versions, when they changed something regarding CPLDs that are involved in updating other firmware on the board you can brick your board during the update. Or in that older bios something was not changed and then the firmware on different chips does not fit, this way you bricked your board after the update.
As they really not support it officially, better don't do it.
 
1 members found this post helpful.
Old 03-01-2021, 10:04 AM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
I've had to clearRTC (cmos?) several times.
It shouldn't be so slow with factory settings?

my PSU didn't have all the cables, so I connected only the 8pin connector (2x4pin). but manual says that is ok.
 
Old 03-01-2021, 02:31 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Enough swap?

Anyway. Those benchmarks are difficult to repeat. Any part of your system can cause it to be worse. Almost never better.

Clear Linux OS might offer a better benchmark.

Isn't there some way to get gpu offload on ffmpeg?
 
Old 03-01-2021, 03:48 PM   #6
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
swap is turned off. I'll try with some, but with 8Gb RAM, this test shouldn't need it?
it is a cpu test: https://openbenchmarking.org/test/pts/ffmpeg
will try Clear Linux
 
Old 03-01-2021, 06:47 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Opps, forget Clear linux for ffmpeg as it is not directly available. There is a third party build if you flat out need it. Otherwise it is a compile from sources.

Also your source and version of ffmpeg may affect tests.

Video card may also.
 
Old 03-02-2021, 04:03 AM   #8
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
it seems newest kernel should fix some amd cpu issues: https://www.phoronix.com/scan.php?pa...11-fixed&num=1
but Debian doesn't have v5.11 yet.
I thought phoronix uses its own binaries for tests
if video card matters so much, that cpu chart is useless.
 
Old 03-04-2021, 03:50 AM   #9
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Debian, LFS
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
Zen2 CPUs run fine with Linux 5.4 and 5.10. The article you posted there is about 5.11 having worse performance on zen2 and they mostly fixed it.
 
1 members found this post helpful.
Old 03-04-2021, 09:50 AM   #10
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
Is then some definite test for my Ryzen 5 3600?
As it is I don't see much ( if any ) speed increase in ffmpeg transcoding over i5 750

Last edited by qrange; 03-04-2021 at 09:51 AM.
 
Old 03-10-2021, 12:35 AM   #11
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
I've tried windows10 too. It seems all Ryzen cores are stuck at 550MHz maximum.
Others have same problem on google, but I couldn't find solution. Perhaps software can't fix this.
Is the problem more likely to be in CPU or motherboard?

edit:
https://community.amd.com/t5/process.../211365/page/3

Last edited by qrange; 03-10-2021 at 02:27 AM.
 
Old 03-10-2021, 02:57 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,011
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
grange,

On page 3 of that link it appears that a change of motherboard did the trick for one owner.

Having said that, there are an awful lot of people with similar problems here:
https://community.amd.com/t5/process...ral/td-p/81121
 
1 members found this post helpful.
Old 03-10-2021, 02:01 PM   #13
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
It seems to work fine if PROCHOT is disabled in 'Ryzen Master', however:

PROCHOT is a safety feature; thermal sensor might be broken?
RyzenMaster works in Windows(10) only.
PROCHOT cant be disabled in BIOS?
so it can't be fixed in Linux?


edit: just found this: https://github.com/moceap/Faster

edit2: errors
rdmsr: CPU 0 cannot read MSR 0x000001fc


edit3:
found this for Linux, dunno if it works on desktop:
https://gitlab.com/ryzen-controller-...er#debian-like

has anyone tried it?

Last edited by qrange; 03-11-2021 at 05:55 AM.
 
Old 03-17-2021, 03:00 AM   #14
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Original Poster
Rep: Reputation: 47
I've solved it at last.
Updated the BIOS, but it was still slow. Then I changed some settings and it finally works full speed in Linux.
The crucial setting is probably enabling 'Advanced/AMD Overclocking/AMD Overclocking\SoC/Uncore OC mode' (Forces CPU SoC... to run at their maximum frequences at all times.)

I have also enabled 'LN2 Mode' and disabled 'Precision Boost Overdrive' in same menu branch

Last edited by qrange; 03-17-2021 at 03:08 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System crashing problem solved -- Ryzen 5 3600 tjf6508 Linux - Hardware 3 07-26-2020 11:02 PM
Ryzen 5 3600 tramtrist Slackware 2 09-02-2019 10:32 PM
Is Asus Prime X570-Pro motherboard (New Egg N82E16813119196) Compatible with Linux Distributions? OLD-Jim Linux - Hardware 2 08-01-2019 06:07 PM
Linux support Intel i7 8700 or AMD Ryzen 3600 sujitSali Linux - Hardware 12 07-15-2019 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration