The Fiio K5 Pro Audio DAC+AMP On Linux
The Japanese have examined the K5 Pro Audio DAC+AMP technology in combination with B&W P7 headphones and Sony SRS-D5 speakers and found it to be a great audio solution for GNU/Linux machines. They tweaked the PulseAudio settings to send the K5 Pro "high resolution" audio quality, but they did not find any audible difference between the defaults and the "tweaked" settings.
Original story by ひよこインフラてっく! (In Japanese). Translated by Chaekyung.
Published 2021-04-01, Originally published 2020-03-31.
The on-board audio on my main PC with Fedora 33, an Intel Hades NUC (NUC8i7HVK), does not work very well with Fedora. The audio device is recognized and it works most of the time, but it occasionally refuses to produce any sound at all.
I have tried various ways to solve the Hades NUC audio issues, but I have found no permanent fix. I therefore decided to buy the Fiio K5 external USB DAC/AMP adapter.
The Fiio K5 DAC/AMP is USB Audio Class 2.0 compliant, so it works on GNU/Linux machines as soon as you connect it without the need for proprietary drivers. When I connected it and turned the volume knob it turned blue and sound output was produced.
Lights blue when K5 Pro is connected to a PC.
I use Sony SRS-D5 speakers and B&W P7 headphones. When I plugged the headphones into the K5 Pro the sound quality was immediately noticably better than it was when I plugged them directly into my PC. My impression is that the resolution is higher and sound separation is clearer. The "thin film" audio distortion on my on-board audio that I hadn't even noticed was there until I tried something better was gone, and I now became more immersed in my music.
If anything, it makes my B&W P7 headphones sound warmer and more like what they should sound like. The P7 has an impedance of just 22Ω, they are not hard-to-drive headphones like the 300Ω Sennheiser HD800, so there was no problems turning the volume up. Turning the volume knob more than half-way up if pointless with the "Gain" switch set at the lowest setting. More than that would either make your eardrums to explode or destroy your headphones.
I tried playing Apex Legends with this DAC+AMP/headphone combination, and it was surprisingly easier to locate enemy footsteps. I did not think it was that difficult with the headphones plugged directly into my PC, but it was definitively easier easier with the headphones plugged into the DAC/AMP.
I have always been a bit of a fan of headphones with solid localization. I tried a few "gaming" headsets with 7.1 channel sound when I was seriously playing FPS games. I used the SHURE headphones for a long time. I have also used the Sannheiser GAME ZERO and I really liked their excellent localization and sound separation.
The B&H P7 are American headphones. I bought mine in a mosquito shipping center where I was able to purchase them 5000 yen (about $45) below the typical sales-price. I think they provide great value for the price when they are combined with the K5 Pro DAC/AMP.
Enabling High Resolution Audio[edit]
The sticker on the K5 DAC+AMP claims it support high resolution up to 32bit output up to 768 kHz(!?).
"Main features
- Asahi Kasei Electronics made DAC "AK4493EQ" loading. Both low noise, low distortion and high output
- XMOS "XUF208" USB controller. Supports 768kHz / 32bit PCM and DSD512 (22MHz DSD )
- 4-block analog amplifier section, carefully designed by advanced audio architecture
- ADC volume Con allows fine volume adjustment
- External power supply system with DC filter for safety, reliability and robustness
- Gain adjustment function, coaxial digital / optical digital input terminal, RCA line output terminal installed"
Personally, I do not feel the need for "high resolution" audio at all since I am satisfied with out Spotify sound with its highest sound quality setting. I decided to configure it anyway since "if I can set it to high resolution output then I should".
Step 1: Edit /etc/pulse/daemon.conf
[edit]
You need to change the PulseAudio settings if you want it to output higher audio quality. Doing so is a good idea even if you are just using on-board audio since most on-board chips have, at minimum, supported 24-bit 48 kHz for more than a decade.
Look for the following lines in /etc/pulse/daemon.conf
:
;; default-sample-format = s16le
;; default-sample-rate = 44100
If you look at the above, you will see that the default (used unless otherwise configured even though they are commented) audio output is 16-bit 44 kHz audio. The color on the K5 Pro's LED changes depending on the sample rate of the sound source it is connected to. It was blue the first time I connected it to my PC.
I changed the commended lines in /etc/pulse/daemon.conf
and uncommented them so they read:
default-sample-format = s32le
default-sample-rate = 192000
I decided to go with 192 kHz / 32-bit for the time being. I do not think any high-resolution audio files are recorded with higher sampling-rates, so it seems pointless to specify anything higher.
TIP: You can see what your sound devices support with
grep -H 'rates' /proc/asound/card?/codec#0
and grep -H 'bits' /proc/asound/card?/codec#0
You can use |
Step 2: Restart PulseAudio[edit]
PulseAudio needs to be restarted for the new settings to take effect:
pulseaudio -k; pactl list short sinks
The output shown after restarting PulseAudio with that particular command will list the relevant audio quality settings so you can verify that your new settings are in effect.
$ pulseaudio -k; pactl list short sinks
0 alsa_output.usb-Razer_Inc_Razer_Seiren_X_UC1846L01202109-00.iec958-stereo module-alsa-card.c s16le 2ch 48000Hz IDLE
1 alsa_output.usb-GuangZhou_FiiO_Electronics_Co._ Ltd_FiiO_K5_Pro-00.analog-stereo module-alsa-card.c s32le 2ch 192000Hz IDLE
Additionally, you will see the LED light on the K5 Pro change to yellow when high resolution audio is enabled.
Listening to a high resolution sound source[edit]
I bought the high resolution version of Yorushika's new album "Creation" from mora to test my new high resolution sound source. I listened to a few of the songs...
...and I couldn't tell any difference between the "high resolution" PulseAudio configuration and the default PulseAudio configuration. This may have to do with the supported playback frequency on the B&W P7 headphones, they list "10Hz to 20 kHz" as the supported range so it kind of makes sense that the sound on them isn't improved when "high resolution" audio is enabled.
I had the same experience with music on Spotify, there does not seem to be any difference between the standard 320 Kbps Spotify sound files and the lossless FLAC versions. I had the same experience when I tried to compare a few other sound sources. Perhaps "high resolution" audio isn't really necessary for great-sounding audio?
I will perhaps be able to verify if there is any difference between "regular" audio and "high resolution" audio if I buy new headphones with "high resolution" support.
Postscript[edit]
If you did deep into the PulseAudio settings, you will find that there are some (possibly) useful parameters that can help improve audio quality. For example, it is possible to use float32le
as default-sample-format
according to some website called LinuxReviews.
However, the K5 Pro does not seem to work with float32le
, it seems to only support s32le
,
$ pacmd list-sinks | grep sample
sample spec: s16le 2ch 48000Hz
sample spec: s32le 2ch 192000Hz
Other websites have mentioned that setting avoid-resampling
and resample-method
is a good idea. However, those options are said to be "historically buggy and problematic" so there could be negative effects from changing them, so I left them with the default setting.
Setting resample-method
to soxr-vhq
is said to produce higher audio quality at the cost of higher CPU usage. I could not tell the difference between that setting and the default.
Colonel Chick ( id: hiyokotaisa )
TIP: The Japanese have seemingly failed to realize that resample-method only matters if there is a sample rate mismatch in the audio chain.
Consider this chain: ▸ ▸ There is no reason to convert the sample-rate anywhere in that chain, so the ▸ ▸ ▸ It does, in theory, matter if you set |
You can find the original article in Japanese at https://hiyoko-infratech.hateblo.jp/entry/2021/03/31/094213.
Enable comment auto-refresher
Anonymous (7068558e)
Permalink |
Anonymous (9936764bc1)
Permalink |
Anonymous (6eb63a9fcb)
Permalink |
Anonymous (6eb63a9fcb)
Permalink |