• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

DTS DCH Driver for Realtek HDA [DTS:X APO4 + DTS Interactive]

Joined
Jun 6, 2021
Messages
112 (0.11/day)
System Name FireBreather
Processor AMD Ryzen 9 7950x
Motherboard CrossHair Extreme x670E
Cooling Asus RoG Strix LC2 360 AIO
Memory G.Skill Trident Z5 RGB Series 64GB (2 x 32GB) 288-Pin SDRAM DDR5 6000 CL30-40-40-96 1.40
Video Card(s) 7900 XTX Taichi
Storage 3x- PCI-E 4.0 Nvme 2TB 7GB/s - 2TB N7 USB-3.1 Nvme 1GB/s
Display(s) ASUS - VG259QM 2k 280hz HDR - LG-C1 4K 120hz OLED with Dobly vison
Case ROG Helios
Audio Device(s) SupremeFX ALC4082 codec, and an integrated ESS® ES9218 quad DAC
Power Supply HX1500i - 1500Watt
Mouse Corsair Dark Core
Keyboard Corsair K95 Platinum
Software Windows 11 pro
Benchmark Scores Time spy - 29000 Port Royal - 17500 Cinabench R23 - ST = 2150 MT = 40000
hmm question have you been able to send a 5.1 lpcm signal like decode on pc then just send the lpcm and have full 5.1 another thing is after some research dobly digtal plus max bit rate is like 1.5mbit and thats dd+ you find on blu ray discs thats up to 15 channels in a 1.5mbit encode so there is no reason whats so ever we DD+ should not be able to be sent via spdif i could upgrade my reciver but i would have to make some kind of custom firmware my recivcer tho has everything it needs other then hdmi to decode all lossless format's
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
Yes and it does not need to be LPCM specifically, but my receiver does not handle more than 2 channels PCM (old standard).
E-AC-3 supports up to 15 full-bandwidth audio channels at a maximum bitrate of 6.144 Mbit/s.

E-AC-3 = Dolby Digital Plus | 2 channels PCM @ 192khz 24 bit = 9.216mbps

Still correct.

@ajf64, edit: I re-uploaded an image of a modern cable my friend has, see below. The one I own is much older, but rated at 125mpbs, had it since Z5500.
I remember asking the specialist AV store for their best Toslink cable, and the one I have is what I ended up with.

Lead.png

Also note, for smartphones, the mini adapter can be used.

----

I see some corrections being made:

"IEC 61937-3: defines how to transmit Dolby Digital (AC-3) and Dolby Digital Plus (E-AC-3) bitstreams via an IEC 60958/61937 (S/PDIF) interface. However, the S/PDIF interface has insufficient bandwidth to transport Dolby Digital Plus (E-AC-3) bitstreams at the 3.0Mbit/s datarate specified by HD DVD; lower datarates are possible."

Most information related to S/PDIF and Toslink is related to the original standard.

====

OEM:

I guess shared mode, in terms of audio production, would be add track mode, where the system (as part of the stream builder specification), would simply add tracks to the stream.
This would also work with legacy apps, for example, a media player outputting 8 channels of PCM, 32bit, 192khz, could simply be added to the current stream.

In exclusive mode, for example, a game using a mapped container, or legacy mode PCM, can exclusively use the full stream.

Enhancer's can be more complex, although they can work on an independent track rather than all.

----

Edit:

It would also be possible to use 2 or more channels to create larger single channels, for example, 4 as 2 @ 96khz, 48bit.

should have been:

It would also be possible to use 2 or more channels to create larger single channels, for example, 4 as 2 @ 96khz 24 bit, or, 48khz 48bit.

2 channel 96khz, 48bit = 9.216mbps

----

I looked at USB cables (not the interface) as transmission, however only USB 2.0 can be used @ 176mbps @ 5 meters, normally.
USB 3.0/3.1 Gen1 can certainly do the speeds, but only for 1-2 meters, then optical is suggested.

The newer Toslink duplex does 250mbps @ 50-60 meters, so no USB versions.

OM3 Multi-mode optical fiber can do 100Gbps @ 100 meters.

====

Using the example system and reserved bitrate header (also note, audio and data pipes can be any varying size), 86 channels would allow us to playback 10x 8 channels, and 1x 6 channels.
In the audio track example, with an AVR, I could then stream an 8 channel audio file to a music player upstairs, whilst also streaming DTS-HD from a blueray to TV.

There could also be a reserved set of 8 channels, that is used to merge audio in shared PCM mode when bitrate is low or not enough.
 
Last edited:
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
OEM:

In terms of supporting legacy modules, and-or devices (SPDIF does not have a set bitrate limit, as I read, but might do with some devices), on PC (or via chip), the final map size could be tested, and utilized.
The test would require the user to hear noise-nothing, at this point they can tick a box, or select the nearest option, this can then be used to determine maximum channels @ 48khz 24 bit.

This data can not only be used to produce a final mapped stream size, but also used to decide what audio the stream should send, and in what mode.
For example, an older system supporting only 3.1mbps, send DTS core in legacy mode, or 15mbps, send HRA and core instead of MA.

----

Directly bitstreamed PCM, should be equal, direct, from source, unmodified, untouched, lossless.
PCM audio (not streamed) is processed by the audio device (varying quality).

Current enhancers should still be able to operate on the reserved channels, which are shared.
Else, a game could be enhanced in one way (via track), and music in another.

====

Toslink.png

That was written in 2008, here. Toslink 2.0 High-Speed.
 
Last edited:
Joined
May 13, 2020
Messages
26 (0.02/day)
Hello Ferather,
I see that you're digging into SPDIF hidden capabilities, and what about HDMI for the same purpose? I actually have both connections from the PC to an AVR (Pioneer VSX-2016AV) and wonder which one is better sound-wise, while HDMI is way more convenient as it passes over the picture along with audio so less hassle for me.
I managed to set up an upmix from stereo and it works perfectly, thanks a lot for the updated manual!
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
I cant tell, since the audio devices change (Realtek ALC889, on 2013? mobo, and AMD GPU R7), the extractor is always pulling from HDMI, so I cant compare.
The only thing I can say is the audio from my AMD GPU is much better than Realtek, but that's for PCM (digital streams are untouched).

Optical still defeats HDMI for distance and bitrate, both HDMI and DP are currently ~37mbps (32x 48khz 24bit).
The HDMI connector is actually downgrading my 125mbps Toslink experience, to be fair.

I am also certain that HDMI audio is just and extension or in fact fully, SPDIF, it still requires stereo to bitstream, and so on.

Both ALC889 and the extractor are outputting via Toslink to Z906 (Z906 has 2x Toslink inputs).

---

Also note, there's a very high chance that you have a 'Toslink 2.0 High-Speed' module, if you can do 2x 192khz 24bit (9.216mbps).
The difference between my HDMI Extractor with high-speed, to my GA-990FXA-UD3 (ALC 889) is nearly nothing.

They operate in a slightly different manor, notably due to HDMI instead of SPDIF input.

1626113127412.png
 
Joined
May 13, 2020
Messages
26 (0.02/day)
That's interesting, I thought that Windows would emulate the basic SPDIF functionality via HDMI and that's it )
there's a very high chance that you have a 'Toslink 2.0 High-Speed' module, if you can do 2x 192khz 24bit (9.216mbps).
How do I get to know the model/build of a SPDIF module on my mobo? The model is Asrock Z170 Gaming K4, and ID from Device Manager is VEN_10EC DEV_0900 (if that tells you anything meaningful)
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
You cannot, you can only go by '2 channel 192khz 24bit' support, which means 9.216mbps, if you see this option (the image above), you have either a ceramic 10mb module (not likely), or 125mbps high-speed.
The only way to know, is to be able to send something with increasing bitrates until either noise, or nothing is heard. You also need a compatible receiver or receiving method.

Its possible to do Toslink to HDMI, in reverse, to see what actually happens with HDMI receivers, technically a test device could exist.

====

Forgot to mention, you can, apparently, send lossless TrueHD (with Atmos) and DTS-HD MA (with DTS:X) down Toslink high-speed already on ALC, using advanced WASAPI exclusive passthrough and Potplayer.

90% of media apps (and Windows) don't even read the supported formats you see, and also tick boxes for in the settings for Toslink. For example Kodi (store app).
Kodi is a prime example, where you tick DTS and Dolby support in the settings, regardless of the Windows settings or any handshakes.

Windows seems to be stuck on direct sound, even with HDMI, instead of properly detecting the interface and using WASAPI.
Direct sound, is used as legacy mode, where DTS core or AC3 is utilized, and not the full data.
 
Last edited:
Joined
May 13, 2020
Messages
26 (0.02/day)
OK I tried 192Mhz@24bits Stereo in AIMP via SPDIF Exclusive and it works like a charm. I don't yet have PotPlayer installed to give it a try but I'll do and let you know.
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
I tick the boxes for more codecs, and hardware detection? (sorry cant remember the full option names). Once installed, run it, if not already open, then left click the Potplayer dropdown (left) > preferences.
Reset the app then close it, then double click this preset (once unzipped), which in general, will setup Potplayer for you, it's defaults are set to direct sound, you can change this.

Potplayer can use pretty much any codec, you can also scan for codecs or add them manually, then set up Potplayer to use them as you want.
FFmpeg is highly flexible, and as far as I know the only DTS-HD HRA transcoder you can get, but its not always the best.

1626121246601.png
 
Joined
May 13, 2020
Messages
26 (0.02/day)
Thanks Ferather, I gave it a try but it seems it sounds worse in my setup compared to MPC-HC despite all the settings - the sound is there but is stuttering heavily. I'll keep researching and come back to you tomorrow as it's too late tonight for the loud audio tests :)
Edit: what I would like to get is the best possible quality audio upmixed to 7.1 from any source played on a PC. Right now it's giving me a proper sounding 5.1 but the side speakers are silent. Still they're producing a sound when the source media is already 7.1.
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
I semi-expected that result, and indeed playing with codecs and settings can be time consuming. Good luck.

Edit, response to edit, Toslink can do it, if programmed (such as my smart chip suggestion), but legacy based encoders (DTS Interactive, DTS Core, Dolby Digital) are set to 6 channels (5.1).

Edit2: 8x 48khz 24 bit = 9.216mbps, a conclusive yes even in PCM, with 2x 192khz 24bit bitrate base.

====

A smart chip, and Toslink with 25mbps reservation, can-should do @100mbps: 16x 192khz 32bit (98.304mbps), or, 21x 192khz 24bit (96.768mbps).

----

1626180627389.png1626180811333.png

----

1626184943002.png

If more than one audio track was sent, the same one, the audio correction can take place almost instantly (restore). Another good reason to be using the smart chip and bitstream mode for OS-drivers.
In a container file (to be bitstreamed, or merged with existing stream), lets say .smc, if there was 3 tracks of DTS, MA, HRA, Core, the corrections can also come from there.

For an OS, and-or driver, it will need to compile the mapped stream as a .smc to be bitstreamed, this is more direct to receiver, even with PCM.


Container (mapped audio-data) > Bitstream > Receiver (smart chip) > Processing.

====

In a serial line of bits, the secondary recovery track would need to be delayed to overcome jitter-errors (exists in a different time frame compared to the original).

SY69753AL - Clock and Timing - High Speed Communication (microchip.com)
Optical Carrier transmission rates - Wikipedia

Synchronous optical networking - Wikipedia

====

Here is me recording some tests to determine multichannel on my HDV-MB01, Toslink to Z906 (only supports 2 channel PCM on SPDIF)
The second one is me hitting the HDMI limits in bitrate (~37mbps), and what appears to be a receiver limit.

I can do the same with my ALC 889 via Toslink, and get the same limits. 8x 96khz 32bit/24bit, is clean.


Just to double check if I stream PCM, do I bypass the onboard audio aggregate sample limit?
 
Last edited:

alexisfer

New Member
Joined
Jul 13, 2021
Messages
5 (0.00/day)
Hello Ferather. I have a problem with the new drivers. Everything works fine except games. When lunch a game i get driver error. Any help is appreciated.
 

Attachments

  • Screenshot (12).png
    Screenshot (12).png
    46.3 KB · Views: 68
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
Did you follow the guide to uninstall-update? There is nothing I can do in the driver, its fully OEM.

----

To install-update the drivers, right click uninstall the device in 'device manager', tick 'delete driver', pnputil to remove the extension (see here).
In 'device manager' again, in 'system devices' disable 'High Definition Audio', I have two and its the first one, restart*, install, enable.

* Make sure you run CCleaner registry cleaner a few times, and remove any apps before restarting.

System Devices.png
 

alexisfer

New Member
Joined
Jul 13, 2021
Messages
5 (0.00/day)
Did you follow the guide to uninstall-update? There is nothing I can do in the driver, its fully OEM.

----

To install-update the drivers, right click uninstall the device in 'device manager', tick 'delete driver', pnputil to remove the extension (see here).
In 'device manager' again, in 'system devices' disable 'High Definition Audio', I have two and its the first one, restart*, install, enable.

* Make sure you run CCleaner registry cleaner a few times, and remove any apps before restarting.

View attachment 207911
I did clean install but nothing. Can you tell me what is the alternate driver? Should i try it? Thanks for the help.
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
Alternative: Stereo only, DTS Interactive installs, but everything on SPDIF is setup as stereo.

@alexisfer, try changing the following so both are: 0000003f, restart and let me know.

1.png
2.png
 
Last edited:
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
That's not right, hmmm, I cant comment on the issue, turning off enhancements turns off DTS:X, but does nothing for EFX.
I can only guess there is some compatibility issue with the ALC and DTS, but that shouldn't be the case.

Could also be the Realtek APO (FX), but I doubt it, you could try another preset maybe.


Place the preset into the 'WIN10\APO4' folder, then run the install.
 
Last edited:

alexisfer

New Member
Joined
Jul 13, 2021
Messages
5 (0.00/day)
That's not right, hmmm, I cant comment on the issue, turning off enhancements turns off DTS:X, but does nothing for EFX.
I can only guess there is some compatibility issue with the ALC and DTS, but that shouldn't be the case.

Could also be the Realtek APO (FX), but I doubt it, you could try another preset maybe.


Place the preset into the 'WIN10\APO4' folder, then run the install.
I did exactly what you said bat i can't get audio on games. Everything else is ok and i get multichannel 5.1
 

Attachments

  • Screenshot (14).png
    Screenshot (14).png
    58.1 KB · Views: 128
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
Very odd, well I am not sure what the problem is, I am unable to replicate it, and cant think of much else. Hopefully an update will fix it for you.
Stick with the disable for now, I apologize that I am unable to help further at this time, you are not the first with this issue.

Thank you for the time spent and responses. If an update works, please let me know.

Note, you will still get DTS:X multichannel enhancements and Interactive (X), with disable, EFX should be active.

====

Looking more at 125mbps, @ 98.304mbps, I could send (bitstream, direct) 8x 384khz 32bit, 3,072khz aggregate.
Based on most HDMI 2.0 audio devices, you would need two in parallel @ 1536khz each.

Sound Blaster AE-9 - Ultimate PCI-E Sound Card

====

I think I finally worked it out, Z906 can only handle 6x 192khz (1,152 total aggregate sample rate), 8x 192 = 1,536 is too much.
My ALC 889 can process PCM @ 8x 192khz (1,536 total aggregate), as a device, the same as HDMI 2.0 specs.

HDMI 1.4 (the connection, not the audio device necessarily) can only do 768 total aggregate, 8x 96khz.

It could also be that both ALC 889 SPDIF and HDMI 1.4 are doing 768 total aggregate, but I cant tell with stereo only playback.
When its downmixed at final out (ALC 889), the noise starts at the same specs, 8x 192khz, so its device limits.

Not sure why I am able to get 1,152 total aggregates (6x 192khz), slightly puzzling.

====
Updated, unlock GPU, USB, Bluetooth, so on. Can also we used to turn Interactive on-off.

----

HDMI just got more interesting, because I have Interactive:X setup on it, its set to stereo out (as required) but processing 6 channels (as it should).
With Sound Unbound, licensed decoders, all DTS encoded content is decoded and sent to HDMI as PCM, then out as Interactive:X.

Via the Windows photos app, I played DTS-MA, and got 6 channels over Interactive:X, instead of DTS core sent.

If I set my extractor to 5.1, via Windows, the same, but I cannot play 5.1 over Toslink with Z906, only 2 or downmixed 2.

----
Virtual monitor driver for HDV-MB01 HDMI extractor (monitor: HDC 0B42), self signed.
If you do not have my certificate on your system, disable driver signing.

Switch:

TV - This means get EDID from connected HDMI, real monitor.
Bitstream - Encoded audio + multichannel PCM.
2CH - Encoded audio + downmix PCM.

I can also do other extractors, message me.
 
Last edited:
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
Forgot to say, for the 'DTS Settings' disable the device, then apply the .reg, then enable the device. If you are using E-APO, edit the reg with:
"{d04e05a6-594b-4fb6-a80d-01af5eed7d1d},5"="{EACD2258-FCAC-4FF4-B36D-419E924A6D79}"

1626367026478.png

The multichannel one might unlock 6 channel PCM on SPDIF.

----

Set 1080p as native, fixed the sizing, which fixes a scaling issue you can get.

1626451682183.png

I setup Windows as duplicate display.
 
Last edited:

Bruhimnoob

New Member
Joined
Mar 14, 2021
Messages
18 (0.02/day)
Hello , maybe this is wrong section to write about this topic but i wanted to ask whether it is possible to modfy audio endpoints in fx configurator to get dts over hdmi but the main issue is that i have a conexant audio chip but somehow realtek high definition audio device is working. I am a total beginner to audio equipment and figuring out how to get virtual surround over hdmi (without spdif)
 
Joined
Dec 8, 2020
Messages
2,771 (2.24/day)
@Bruhimnoob, If the driver is working, use the DTS Settings to apply the FX and other registry data (old video here).
If there is not a Realtek on the system, use this pack, and the settings it comes with.

====

DTS DCH 6.0.9200.1 (Signed)

Features: DTS:X Ultra, DTS Headphones:X v2, DTS Interactive:X (APO4).

Main directory: https://www.mediafire.com/folder/9yrokjhyh2slx/DTS_DCH_Drivers
Apps: https://www.mediafire.com/folder/tk7ola8b5j6xt/DTS_UWP_Appx

To install-update the drivers, right click uninstall the device in 'device manager', tick 'delete driver', pnputil to remove the extension (see here).
In 'device manager' again, in 'system devices' disable 'High Definition Audio', I have two and its the first one, restart*, install, enable.

* Make sure you run CCleaner registry cleaner a few times, and remove any apps before restarting.

System Devices.png

----

See '\TOOLS\' for extra steps to unlock more features, settings, via the Realtek policy editor (RTK Device Tool.txt).
Enable 'Stereo Mix', mute the stream, then set it to play to the device, to keep the encoder always on.

----

Known issues: Some digital output devices are not detected properly with Ultra when in stereo output mode.
Workaround: Switch to speakers-headphones then back each startup (or use VB cable, other).

Some VPN's software may block the APO4 service, and need configuring.

----

https://ibb.co/ZG3cC4S | https://ibb.co/L0gD9Q7 | https://ibb.co/477T74G | https://ibb.co/MVgzT5s

----

DTS settings can be used to setup another device, or set SPDIF to stereo mode.

https://ibb.co/bW0y3cG | https://ibb.co/CmLK7KR | https://ibb.co/0QZFqbc

====

If you are using Equalizer-APO to upmix with my config, set the LFE in the upmixer to: 0 to -4.

====

 
Last edited:
Joined
Apr 28, 2018
Messages
26 (0.01/day)
Am noob dont understand steps or this mod work only with motherboard who support DTS !!
do all steps and no thing work same with clean install
 
Top