INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Unable to use Realtek ASIO with WDM driver [Solved]  (Read 2377 times)

ToasterPC

  • Recent member
  • *
  • Posts: 26
Unable to use Realtek ASIO with WDM driver [Solved]
« on: March 10, 2023, 01:05:32 pm »

Hey there!

Long time no see, but I come back with a question into how does JRiver handle the IPC playback of the WDM driver.

I like to use JRiver as a DSP for my whole computer (Alienware m15 R6), but for some reason I could never get my Realtek ASIO device to play anything at all within the device output zones.

However, today on a whim I attempted to play a FLAC file through the ASIO device of my laptop, and not only did it sound better, but it also played all the way through!

I already attempted to uninstall and reinstall my sound card drivers, but so far I'm still not able to get WDM to output through the Realtek ASIO device, is there anything I might be missing?

I'll attach a link to my computer's drivers (https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=54x0v&oscode=w2021&productcode=alienware-m15-r6-laptop) just to be sure.

Thanks in advance!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #1 on: March 10, 2023, 06:15:28 pm »

Using the WDM driver, you should just need to select JRiver in Windows sound options, then set up an audio device in MC's options, then reboot.
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #2 on: March 11, 2023, 08:10:36 pm »

Using the WDM driver, you should just need to select JRiver in Windows sound options, then set up an audio device in MC's options, then reboot.

Oh, I already have done that.

In Windows my output device is set to JRiver's at 100% Volume and as long as the Zone is set to output to the corresponding audio device in either of its DirectSound or WASAPI variants the sound will play correctly through the DSP and everything, but for some reason when I select "Realtek (ASIO)" as the output device in the WDM zone, JRiver keeps trying to play the IPC file and getting stuck in a loop of closing and opening the stream, to the point that the only way to get it back to a working order is to keep pressing around until it crashes and then opening it again, in which point I have to be fast to choose another output device before JRiver tries to open the IPC stream again, and when I succeed everything returns to normal.

The weird part is that even if the WDM zone is actively playing the IPC stream to the same WASAPI device that corresponds to the ASIO driver, I am able to open a FLAC file in a different zone with the output device set to "Realtek (ASIO)" and playback succeeds without issue.

I already have captured some logs, though I'm not too sure which part would be the relevant one, so I'll just upload it to a Zip file and link it here.

https://1drv.ms/u/s!AlYW1BPO6zRtgYW_ZTdnjrLCP_MPuwA?e=yS3A2J

Thanks for the help!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #3 on: March 12, 2023, 07:54:57 am »

I'm also seeing some weird problems with the WDM driver in the latest build. 

What is the full version of MC that you're using?

What version of Windows?
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #4 on: March 12, 2023, 02:41:48 pm »

I'm also seeing some weird problems with the WDM driver in the latest build. 

What is the full version of MC that you're using?

What version of Windows?

Okay, that sounds like a problem.

My JRiver version is 30.0.59 (64-bit)

And my Windows version is "Windows 11 Pro for Workstations Version 22H2 OS Build 22621.1344 (64-bit)"

Thanks for the help!
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #5 on: March 22, 2023, 07:30:52 pm »

I'm also seeing some weird problems with the WDM driver in the latest build. 

Hey there! I'm still seeing the issue in the latest build. Should I try logging and sending the logs over again?

Thanks in advance!
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #6 on: April 16, 2023, 03:48:41 am »

Hello there!


I'm still seeing the issue in the current build. Is there anything else I could do to look into this?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #7 on: April 16, 2023, 05:06:20 am »

So this works?

Directsound
WASAPI

But this doesn't?

ASIO

That seems like a driver problem.  Does it work from MC, not using WDM?  You should get the same behavior.  WDM shouldn't matter.

32 bit MC would be worth trying.

Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #8 on: April 19, 2023, 12:32:11 am »

So this works?

Directsound
WASAPI

But this doesn't?

ASIO

That seems like a driver problem.  Does it work from MC, not using WDM?  You should get the same behavior.  WDM shouldn't matter.

32 bit MC would be worth trying.


Okay, just to be sure I made a clean install of Windows (same version) and installed both JRiver x86 and x64. Both seem to fail in the same way, but oddly enough, now the ASIO driver seems to only be able to play through the onboard speakers when opening a FLAC file.


If I try to play either the WDM stream or the FLAC file through both DirectSound and WASAPI everything goes smoothly on both architectures, so given that not even the onboard speakers seem to be able to play through WDM, I'm kind of stumped on what else I could try to diagnose the issue.


So far, the only thing that seems consistent is that when trying to open the ASIO stream with the IPC stream, JRiver stutters heavily until I manage to change it back to any other output device, but aside from that nothing can continue working within JRiver itself while the connection is attempted.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #9 on: April 19, 2023, 10:58:41 am »

ASIO is the responsibility of the audio device manufacturer.  If it doesn't work, you can use WASAPI or Directsound.
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #10 on: April 22, 2023, 09:07:00 pm »

ASIO is the responsibility of the audio device manufacturer.  If it doesn't work, you can use WASAPI or Directsound.


I see... In any case, thanks for the help until now.


In your opinion, given this is Dell/Realtek we are talking about, would it be worth it trying to get them to fix my device's drivers? And if so, what in particular should I ask them for/show as evidence of malfunction, aside from JRiver having problems with it?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #11 on: April 23, 2023, 12:17:29 am »

You could try.  We'll provide a license.

But why struggle with it when you already have a solution:

Quote
If I try to play either the WDM stream or the FLAC file through both DirectSound and WASAPI everything goes smoothly on both architectures ...
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #12 on: April 23, 2023, 12:34:52 am »

You could try.  We'll provide a license.

But why struggle with it when you already have a solution:


Being completely honest, the only benefit I would potentially see from it would be a reduction in latency (particularly helpful when dealing with other applications like Synthesia and MIDI keyboards).


Aside from that, I'd like to see if fixing things for my model would maybe help down the line other people with the same problem (also from Dell I have another family member's laptop exhibiting the same behavior).
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #13 on: April 23, 2023, 12:42:13 am »

Try comparing WASAPI and ASIO to see if you can detect any difference.
Logged

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1092
Re: Unable to use Realtek ASIO with WDM driver
« Reply #14 on: April 23, 2023, 03:38:16 am »

Try looking on the Realtek website to see if there are any newer drivers/firmware/other software for your device.
Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #15 on: April 23, 2023, 03:50:48 pm »

Try comparing WASAPI and ASIO to see if you can detect any difference.


It's not much, but trying to play with ASIO seems to make a ~800ms difference, probably more if I disabled the DSP effects.
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #16 on: April 23, 2023, 03:51:39 pm »

Try looking on the Realtek website to see if there are any newer drivers/firmware/other software for your device.


Sadly it seems they no longer offer generic audio drivers, the only download page I was able to find only included NIC drivers.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Unable to use Realtek ASIO with WDM driver
« Reply #17 on: April 24, 2023, 12:28:39 am »


It's not much, but trying to play with ASIO seems to make a ~800ms difference, probably more if I disabled the DSP effects.
You shouldn't see that much difference.  Buffer settings?
Logged

ToasterPC

  • Recent member
  • *
  • Posts: 26
Re: Unable to use Realtek ASIO with WDM driver
« Reply #18 on: June 05, 2023, 01:29:39 am »

You shouldn't see that much difference.  Buffer settings?


Hey there, long time no see.


What you mentioned did strike me as odd for a while, and I've been back and forth with Dell and Microsoft to check where could the problem lie, long story short turns out it was easier to just redo my Windows installation again and magically the problem solved itself (Even with effects, my latency roams around the 450ms mark now), so all I can say is thanks for the help and I guess I'll begin saving up for a decent DAC, this was far too much of a goose chase.


So, thanks for everything!
Logged
Pages: [1]   Go Up