While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Nexus Mods retire their in-development cross-platform app to focus back on Vortex
- Windows compatibility layer Wine 11 arrives bringing masses of improvements to Linux
- GOG plan to look a bit closer at Linux through 2026
- European Commission gathering feedback on the importance of open source
- Hytale has arrived in Early Access with Linux support
- > See more over 30 days here
- Venting about open source security.
- rcrit - Weekend Players' Club 2026-01-16
- grigi - Welcome back to the GamingOnLinux Forum
- simplyseven - A New Game Screenshots Thread
- JohnLambrechts - Will you buy the new Steam Machine?
- mr-victory - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
View PC info
The question is, how can it be done, when DP is connected to a monitor? I.e. I don't want to use monitor's built in DAC which is likely very low quality, but want to find a high quality external one. How can such setup be organized? Can one DP output go to the monitor, and another to DAC for example?
And a question about DACs. I'm not an expert, and searching around I found the ODAC project which is described as one of the best DAC designs:
https://nwavguy.blogspot.com/2012/04/odac-released.html
There are hardware implementations, like JDS Labs DACs: https://jdslabs.com/shop/?category=featured
But they are using USB for input. How DP can be used in such case, or I'd need to find a DAC that takes DP in somehow? Or it's done on the audio driver level, and the signal from the video card's built in audio can be routed to the USB?
Last edited by Shmerl on 4 Dec 2019 at 1:13 am UTC
View PC info
Last edited by Shmerl on 4 Dec 2019 at 2:32 am UTC
View PC info
I myself for example use Focusrite Scarlett 2i2 for the last 5 years or more. Works amazingly
View PC info
View PC info
currently pulseaudio will allow you to route audio to any audio channel you prefer; DP, HDMI, USB, onboard audio, etc.
I currently have 2x 40in TVs attached to my rig, one via HDMI and the other via DP. in the audio setti gs i can choose which device i wish audio to be processed by. in my case, HDMI, DP, onboard audio. If i pair my bluetooth headset, i can route audio to that as well. You can also route audio from apps to certain devices, ergo, i can route game audio to HDMI and voice comms to the headset.
it is possible to purchase a HDMI/DP audio extractor and attach that to an output such as a home theatre system if you'd like.
I'm not sure how the sound quality would compare to SPDIF as I've never used SPDIF so i have no point of reference.
View PC info
I'll probably go with USB or SPDIF for now.
Last edited by Shmerl on 4 Dec 2019 at 10:05 pm UTC
View PC info
From all the sources, it looks quite solid.
AFAIK you could put pretty much anything through USB as long as you have the appropriate hardware and drivers. Multichannel is supported in the standard, but I don't know how useful/used it is in practice. As usual there is plenty of proprietary BS going on with these devices.
Since you seem to be looking at headphone amps, you probably won't need to transfer multichannel audio anyway. That JDS DAC doesn't support 192kHz sample rate so remember not to feed it that. Qualitywise 96kHz will sound exactly the same. Supposing you can even find material on that quality level.
View PC info
So USB can also drive surround, using regular open standards? That's good.
Yes, regarding surround that was just in theory, right now I plan to make a setup for headphones, that's why I was looking at that DAC and amplifier. As you said, SPDIF / TOSLINK should be good enough for that. I'll take a look at frequency that's fed to the output. Is that something that's configured on the ALSA level?
Last edited by Shmerl on 6 Dec 2019 at 1:00 am UTC
View PC info
You need to tinker away with pulseaudio / ALSA to enable the better bitdepths and sample rates. By default you probably only get 44.1/48 kHz @ 16-bits. Meaning that everything else is sampled to one of those. Coincidentally I'm personally fine with the defaults. All my music goes out in its native 44.1/16b resolution when it's the only source playing. I'm not so picky about other audio. For mixing multiple audio sources a better bit depth could theoretically help, but I don't really see the point.
I think [this write-up](https://people.xiph.org/~xiphmont/demo/neil-young.html) explains the realities of digital audio playback much better than I can.
View PC info
I noticed that SPDIF outputs are shown without volume bars in ALSA mixer. Does it mean that software volume control (like in KDE) will have no effect on such setup, and using the hardware volume dial on the amplifier is the expected method? I.e. SPDIF is supposed to be just a pure signal, and the rest handled by external hardware? Or PulseAudio volume control will still have an effect on it?
Last edited by Shmerl on 9 Dec 2019 at 3:57 am UTC
Setting player/SPDIF less than 100% means you start losing detail depending on the material. There is a limited number of bits after all (unless you pad with larger bit depth). I don't know if pulse forces some additional signal processing, but this should be the "purest" setup.
View PC info
Last edited by Shmerl on 12 Dec 2019 at 11:37 pm UTC
View PC info
View PC info
View PC info
Last edited by Shmerl on 19 Dec 2019 at 6:38 pm UTC
View PC info
some links also:
https://github.com/karlstav/cava
https://github.com/dpayne/cli-visualizer
http://spek.cc
https://github.com/jarcode-foss/glava
edit: ohh wait, you mean just the peaks of left and right channel?
that i dunno if there are any.
Last edited by Xpander on 19 Dec 2019 at 8:04 pm UTC
View PC info
That's what Audacity displays for audio by default:
Realtime audio visualizer can display it by storing some amount of history of what was played before I suppose.
Last edited by Shmerl on 19 Dec 2019 at 8:30 pm UTC