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.
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.
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
The sticker on the K5 DAC+AMP claims it support high resolution up to 32bit output up to 768 kHz(!?).
- 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
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
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:
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
grep -H 'bits' /proc/asound/card?/codec#0
You can use
Step 2: Restart PulseAudio
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
...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.
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
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
$ pacmd list-sinks | grep sample sample spec: s16le 2ch 48000Hz sample spec: s32le 2ch 192000Hz
Other websites have mentioned that setting
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.
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 |
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.