INTERACT FORUM

Please login or register.

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

Author Topic: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI  (Read 8694 times)

gomi

  • Recent member
  • *
  • Posts: 10
Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« on: March 28, 2014, 05:26:25 pm »

Hi,

I have a Yamaha RXV 4600 receiver, that works great since many years using 5.1 LPCM WASAPI from Reclock /MPC-HC
My video card is Intel HD4000



I've started investigating alternatives to Reclock because I started noticing some saturation/glitches on 25 Hz Timestretch from 24p sources (my VP is 720p50)

So I'm evaluating JRiver, which looks very cool, especially with is volume management (night mode, loudness) options, but I can't make it talk with the amp. I tried a lots of settings and they all fail.

Any clue ?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #1 on: March 28, 2014, 05:55:03 pm »

Hi, and welcome!

I've have (and had) many Yami AVR's with no problem pushing MPCM over HDMI just fine so I'm sure we will get it working :)

I'd suggest checking a couple of things in order to work out where it is failing
- Firstly, what is Windows Sound Mixer reporting as the "Supported Formats" for the connection?
- In MC --> Tools --> Options--> Audio Device change it to Direct Sound (for now) and see if it works on 5.1
- Then, what are you list of WASAPI devices under "Audio Device" and do any of them work at 2.0 or 5.1?

Another thought - You don't mention what source you are playing in your test (eg if it is a 7.1 source then it may fail if the AVR is only 5.1).  To Fix this you would in the DSP Studio setting "Channels" to "5.1" and the Mixing as JRSS.

Thanks
Nathan
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Logged
JRiver CEO Elect

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #3 on: March 28, 2014, 06:20:35 pm »

1. Set bit-depth to automatic and see if it works.
2. Try disabling event style.
Logged

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #4 on: March 28, 2014, 06:41:41 pm »

Thanks for your quick answers !


- Firstly, what is Windows Sound Mixer reporting as the "Supported Formats" for the connection?


- In MC --> Tools --> Options--> Audio Device change it to Direct Sound (for now) and see if it works on 5.1
Yes, 5.1 OK

- Then, what are you list of WASAPI devices under "Audio Device" and do any of them work at 2.0 or 5.1?
Yes, Realtek basic loudspeaker works OK 5.1

Another thought - You don't mention what source you are playing in your test (eg if it is a 7.1 source then it may fail if the AVR is only 5.1).  To Fix this you would in the DSP Studio setting "Channels" to "5.1" and the Mixing as JRSS.
Source is 5.1

1. Set bit-depth to automatic and see if it works.
Unfortunately tried already, no luck

2. Try disabling event style.
Unfortunately tried already, no luck

I tried using Reclock as WASAPI renderer in JRiver and it works.

I did some other tests with the matrix in ffdshow, using Reclock as WASAPI driver.
It appears the driver seems very picky : if works for 2/0/0, 3/0/2 with LFE , but fails for 3/2/1 which is 6 channels as well...



Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #5 on: March 28, 2014, 07:09:27 pm »

Quote
- Then, what are you list of WASAPI devices under "Audio Device" and do any of them work at 2.0 or 5.1?
Yes, Realtek basic loudspeaker works OK 5.1

So... if is this over HDMI then you should be good to go (or am I missing someting)?

Also your devices seemed to be named different things in Windows and MC (see my pic).
Logged
JRiver CEO Elect

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #6 on: March 28, 2014, 07:11:58 pm »

I ran WASAPI_test and here's an extract at 48 kHz

EXCLUSIVE: on     EVENT DRIVEN: on
----------------------------------------------------------------
 48000 16  2   192000  4 65534 22 16    3 - Format works ok
 48000 32  2   384000  8 65534 22 24    3 - Format works ok
 48000 16  4   384000  8 65534 22 16   51 - Format works ok
 48000 32  4   768000 16 65534 22 24   51 - Format works ok
 48000 16  6   576000 12 65534 22 16   63 - Format works ok
48000 32 6  1152000 24 65534 22 24   63 - Format works ok

We see the 6 channel, 24 bit over 32, setting, with channel mask 63.

Trying to find the WASAPI spec to see what the 63 mask represents for speaker configuration..

 
Logged

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #7 on: March 28, 2014, 07:30:03 pm »

So... if is this over HDMI then you should be good to go (or am I missing someting)?

Also your devices seemed to be named different things in Windows and MC (see my pic).

No, sorry, Realtek is the onboard audio chip, it also has WASAPI.
The HDMI is on the HD4000 ('Intel sound for displays')
Logged

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #8 on: March 28, 2014, 07:39:36 pm »

Back to WASAPI analysis using WASAPI_test
https://drive.google.com/folderview?id=0B3vvH5WBfg8PU3BUczRFaHlzZ2M&usp=sharing&tid=0B3vvH5WBfg8PdlZmeDhNZ1Utbm8#list

So the amp has 5.1 support using channel mask 63 (0x3f)
48000 32 6  1152000 24 65534 22 24   63 - Format works ok

But this seems to be the "old" 5.1 WASAPI mask
http://forum.doom9.org/showthread.php?t=165890&page=63

New 5.1 WASAPI mask is 0x60f (1551), but it is not available on my amp (WASAPI_test --verbose)
48000 32  6  1152000 24 65534 22 24 1551 - not supported

So what I think is JRiver sends 0x60f, but old hardware will require 0x3f
At least that's the answer I've come to for now...

From madshi (madvr author) http://forum.doom9.org/showpost.php?p=1633602&postcount=1257
"So basically, 0x60f is the correct mask to use, and 0x3f should be supported, but treated as 0x60f."

Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #9 on: March 28, 2014, 07:40:38 pm »

Give this ago, try to play your Video and accept the Change MC suggests (to 2ch) and make sure that works.  Then go back into the DSP and set the channels to 5.1 - does that then work?
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #10 on: March 28, 2014, 07:43:31 pm »

If it is channel mask issues then I'm sure Hendrik (Nevcairiel) will comment.
Logged
JRiver CEO Elect

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #11 on: March 28, 2014, 07:49:43 pm »

Give this ago, try to play your Video and accept the Change MC suggests (to 2ch) and make sure that works.  Then go back into the DSP and set the channels to 5.1 - does that then work?

I open the file, then apply the 2 CH setting, it works, then I go to DSP and set 5.1, nothing changes, so I stop the movie and click play again => nogo (message to use 2ch again).
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #12 on: March 28, 2014, 08:00:39 pm »

Well I'm out of ideas -  :-\

Hendrik is the man however ...
Logged
JRiver CEO Elect

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #13 on: March 28, 2014, 08:03:45 pm »

Hm, I guess we can just make it try the old one if opening the device with the new one fails. That shouldn't be too terrible, I hope?
Logged
~ nevcairiel
~ Author of LAV Filters

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #14 on: March 28, 2014, 08:12:41 pm »

makes sence... other option would be to add a check box like we have for "Disable event style (required by older hardware)"? eg "Use Alternative 5.1 WASAPI mask (required by older hardware)".

Kinda strange this has not come up before however (unless it is a small range of AVR's).
Logged
JRiver CEO Elect

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #15 on: March 29, 2014, 04:03:22 am »

Maybe because most JRiver geeky customers have more recent AVRs... RXV 4600 is 2005  ;D
Logged

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #16 on: March 29, 2014, 05:42:37 am »

I made a few tests with MPC-BE which has WASAPI output.

It outputs 0x3f so it works on the Receiver


But if fails with the Realteck chipset (which must be expecting 0x60f).
This double implementation codes of basic 5.1 audio is .... painful...
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #17 on: April 01, 2014, 07:45:22 am »

In the next build:
Fixed: WASAPI exclusive mode was not working with 5.1 audio on some audio devices which expect the old 5.1 channel arrangement.

We'll simply try the new 0x60f first, and if it fails, try 0x3f afterwards. We already do this automatic probing to find the best bit depth for your device, so I hope it resolves this incompatibility for good.
Logged
~ nevcairiel
~ Author of LAV Filters

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #18 on: April 01, 2014, 07:51:53 am »

Thanks, will do duly report  ;)
Logged

gomi

  • Recent member
  • *
  • Posts: 10
Re: Unable to get WASAPI 5.1 on Yamaha receiver via HDMI
« Reply #19 on: April 03, 2014, 04:55:59 pm »

OK, works !
Licence incoming ;-)
Logged
Pages: [1]   Go Up