Ryzen 7 3700X on archlinux

This post will document problem(s) I may or may have encountered running the 3700X on archlinux and the fix that I might have applied

Geekbench score

The score is OK for 3700X AFAIK, but I haven’t test with sustain load yet: https://browser.geekbench.com/v4/cpu/13909162

The sound card

The very first problem after booting was static and crackling noise from the sound card:

0b:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

A quick googling lead me to a very old questions on askubuntu.com: https://askubuntu.com/questions/405071/static-and-crackling-in-my-hdmi-audio. Seem like it has been a common problem on ATI card but I haven’t got a chance to experience it, archwiki also got some line about the fix: https://wiki.archlinux.org/index.php/ATI#HDMI_audio

In short, edit

/etc/pulse/default.pa

append the prameter tsched=0 will resolve the problem.

load-module module-udev-detect tsched=0

Thermal sensors

The second problem I encounter was no thermal sensors working, lm_sensors report 0 RPM Fan speed and no temperature of any kind:

$ sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

Luckily, archwiki have a note for my exact case: https://wiki.archlinux.org/index.php/Lm_sensors#Asus_B450_motherboards_with_Ryzen_CPU . After installing the AUR package and append the kernel parameter and reboot, the sensors was fine.

$ sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

it8665-isa-0290
Adapter: ISA adapter
in0:          +1.43 V  (min =  +0.99 V, max =  +0.50 V)  ALARM
in1:          +2.50 V  (min =  +2.25 V, max =  +2.67 V)
in2:          +2.00 V  (min =  +0.64 V, max =  +1.46 V)  ALARM
in3:          +1.98 V  (min =  +2.68 V, max =  +2.76 V)  ALARM
in4:          +0.03 V  (min =  +0.85 V, max =  +1.80 V)  ALARM
in5:          +0.03 V  (min =  +0.58 V, max =  +0.61 V)  ALARM
in6:          +0.03 V  (min =  +1.31 V, max =  +2.74 V)  ALARM
3VSB:         +3.36 V  (min =  +5.21 V, max =  +5.56 V)  ALARM
Vbat:         +3.25 V  
+3.3V:        +3.36 V  
fan1:        2636 RPM  (min =   33 RPM)
fan2:           0 RPM  (min =   15 RPM)
fan3:           0 RPM  (min =   15 RPM)
fan4:           0 RPM  (min =   -1 RPM)
fan6:        1149 RPM  (min =   -1 RPM)
temp1:        +56.0°C  (low  = -107.0°C, high = +127.0°C)
temp2:        +35.0°C  (low  = +112.0°C, high = +75.0°C)  sensor = thermistor
temp3:        +41.0°C  (low  = -25.0°C, high = -39.0°C)  ALARM  sensor = thermistor
temp4:        +41.0°C  (low  = -21.0°C, high = +123.0°C)  sensor = thermistor
temp5:        +41.0°C  (low  = +103.0°C, high = -71.0°C)  ALARM  sensor = thermistor
temp6:        +41.0°C  (low  = +46.0°C, high = +85.0°C)  sensor = thermistor
intrusion0:  ALARM