INTERACT FORUM

Please login or register.

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

Author Topic: Weird WDM issue [SOLVED]  (Read 3790 times)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Weird WDM issue [SOLVED]
« on: October 16, 2014, 02:16:58 pm »

If I pause a video while viewing in MC, the video actually stops after a second of pause. Then my music visualisation comes on, and MC is suddenly playing IPC, but silently. No other programs are playing audio in the background.

I have to stop playback and relaunch the video I was watching to get it back.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42027
  • Shoes gone again!
Re: Weird WDM issue
« Reply #1 on: October 16, 2014, 03:16:26 pm »

I only kind of understand, but IPC will release if a string of silence is played.  It'll reattach once real sound is played.

This is because there are cases where a continuous stream of silence is played to the driver.  We don't want it to attach in those cases.
Logged
Matt Ashland, JRiver Media Center

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Weird WDM issue
« Reply #2 on: October 16, 2014, 08:59:53 pm »

But in my case, IPC is taking over from a video playing in MC that is merely paused. The video would stay paused for 1-2 seconds and then is stopped somehow. I've quit and relaunched MC a number of times and the behaviour continues. I'll try restarting my computer now in case there's something funky going on there.

I just restarted. Here is what is happening again.

* I'm playing a video in MC.
* I try to pause it. The very first time I press pause, the video comes out of pause by itself after a fraction of a second.
* I try to pause it again. This time, the video pauses for 1-2 seconds and then stops. Aeon (SoundSpectrum music visualiser) comes on in Display View. There is no sound.
* Suddenly Playing Now is showing IPC.

In order to go back to my video, I have to press Stop and relaunch the video file.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42027
  • Shoes gone again!
Re: Weird WDM issue
« Reply #3 on: October 17, 2014, 07:45:40 am »

Is it possible the audio output for the zone is set to Media Center?  That won't work (and won't be possible next build).
Logged
Matt Ashland, JRiver Media Center

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Weird WDM issue
« Reply #4 on: October 17, 2014, 08:49:30 am »

Is it possible the audio output for the zone is set to Media Center?  That won't work (and won't be possible next build).

I will check this and report back. Will be a couple of hours.
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Weird WDM issue
« Reply #5 on: October 17, 2014, 01:01:15 pm »

The audio device was my AVR as expected, so no luck there.

I made a little video to show what's going on:

https://www.youtube.com/watch?v=lswFZtrmtzw
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42027
  • Shoes gone again!
Re: Weird WDM issue
« Reply #6 on: October 17, 2014, 01:03:00 pm »

Well it only shows IPC as playing if the driver is engaged.  So I think something must be engaging the WDM driver.
Logged
Matt Ashland, JRiver Media Center

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5181
  • "Linux Merit Badge" Recipient
Re: Weird WDM issue
« Reply #7 on: October 17, 2014, 01:47:05 pm »

I watched the video, but I couldn't see any of the screen in the top/left of the frame so it's hard to tell, but do you have WDM input redirected to a different zone?  If not, try that and see if it helps (redirecting the input to a different zone should prevent it from hijacking the current zone)

Additionally, have you tried testing with your visualization plugin disabled so it's more obvious what's happening in MC (i.e. is it switching out of display mode, what's going on)?

Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Weird WDM issue
« Reply #8 on: October 17, 2014, 01:50:27 pm »

Well it only shows IPC as playing if the driver is engaged.  So I think something must be engaging the WDM driver.

Thank you for reiterating that. It led me to figure out the issue. A small app (now) called AVR Guard:
http://forums.guru3d.com/showthread.php?t=339273

The version I had was called AVR Audio Switch Fix, before it was finalised as AVR Guard.
.
A lot of people have the Silent Stream Bug with their HDMI outputs from nVidia cards to their AVRs. When audio is played, starting from silence the AVR would switch modes and since that took up to 2 seconds or so, the beginning of the audio was missed; short sounds were lost altogether.

AVR Guard was a solution for this, by playing 'silence' through the HDMI all the time. However, it never worked for me, or many others. Over time I forgot I had it installed, or resolved to play with the settings, upgrade to new versions etc. I never did.

My 'WDM problem' was due to this app working in the background. When I pause or deactivate the app, all is well in the MC world.

I will eliminate AVR Audio Switch Fix / AVR Guard from my system.


The GREAT news is that the WDM properly fixes the Silent Stream Bug for me. I will confirm that it does so independently of AVR Audio Switch Fix / AVR Guard once I have removed the latter totally.
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Weird WDM issue
« Reply #9 on: October 17, 2014, 01:54:16 pm »

I watched the video, but I couldn't see any of the screen in the top/left of the frame so it's hard to tell, but do you have WDM input redirected to a different zone?  If not, try that and see if it helps (redirecting the input to a different zone should prevent it from hijacking the current zone)

Additionally, have you tried testing with your visualization plugin disabled so it's more obvious what's happening in MC (i.e. is it switching out of display mode, what's going on)?



Thanks for the tip and suggestion. I think all is well now, but will redirect t another zone at a later time. I did eliminate the visualisation from the enquiries. It didn't really matter what the settings were - IPC was taking over the zone because of AVR Audio Switch Fix / AVR Guard. Funnily enough, this is the first time in years that little app has shown signs that it did anything at all.
Logged

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: Weird WDM issue [SOLVED]
« Reply #10 on: October 18, 2014, 08:14:25 am »

Another entry for Jim's "weird problems" thread.  ;D
Logged
Pages: [1]   Go Up