[wdmaudiodev] Re: WLK tests behave VERY strange

  • From: Tsai Tzung-Dar <tdtsai1973@xxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 28 Oct 2011 02:39:35 -0700 (PDT)

Hi 
Do you implement it by use AVStream miniport or you use StreamClass miniport? 
Because I don't think the WLK test in this item has bug. Because if you use 
PortCls to implement it. It can pass. Typical the test do the same thing on 
PortCls miniport driver and Avstream miniport driver. If you implement your 
driver by use Avstream miniport, maybe you do some thing wrong. 

BR,
Tzung-Dar Tsai 


________________________________
寄件者: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
收件者: wdmaudiodev@xxxxxxxxxxxxx
寄件日期: 2011/10/22 (六) 4:28 PM
主旨: [wdmaudiodev] WLK tests behave VERY strange

Hello!

I'm testing my drivers with Windows Logo Tests and some of them show a
non-understandable results.

For example, I ran wavetest.exe from 1.2.6475 and 1.6.8367 for my
driver that processes IOCTL_KS_xxx requests itself, without PortCls.
With 1.10 (Standard Streaming\Rendering Pin Tests\Streaming buffer from
different threads) the test reports that it submits 17640 bytes but
expects 35280. Of course, the test fails. But if I watch the byte
count from my applications, all seems to be OK. If I turn streaming
IRP processing to PortCls, the test behaves the same way. It fails
even of VMAudio driver from VMware (WHQL certified); in such case,
the test expects a double size of the amount that the driver reports,
as with my driver.

kstoptest.exe fails on test 2.29 but doesn't explain what exactly is
incorrect:

Start Case: ID 16.1007:2.29 : KS Topology Filters\KS Properties\Check Property 
Descriptor Size and Headers:[Sat Oct 22 15:19:18 2011]
Device Name = Test Driver
PnP ID      = EuMusDesign_Test_Driver
    Device: Test Driver (ROOT\MEDIA\0000)
     Filter: Test Device A
      Node[00] (KSNODETYPE_SUM)
      Node[01] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[02] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[03] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[04] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[05] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[06] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[07] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[08] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
     Filter: Test Device B
      Node[00] (KSNODETYPE_SUM)
      Node[01] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[02] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[03] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[04] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[05] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[06] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[07] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[08] (KSNODETYPE_MUTE)
       Property Descriptor[00] (KSPROPERTY_AUDIO_MUTE)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
     Filter: Test Device A
      Node[00] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[01] (KSNODETYPE_SUPERMIX)
      Node[02] (KSNODETYPE_SRC)
      Node[03] (KSNODETYPE_SUM)
      Node[04] (KSNODETYPE_DAC)
       Property Descriptor[00] (KSPROPERTY_AUDIO_CHANNEL_CONFIG)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[05] (KSNODETYPE_ADC)
       Property Descriptor[00] (KSPROPERTY_AUDIO_CHANNEL_CONFIG)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
     Filter: Test Device B
      Node[00] (KSNODETYPE_VOLUME)
       Property Descriptor[00] (KSPROPERTY_AUDIO_VOLUMELEVEL)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[01] (KSNODETYPE_SUPERMIX)
      Node[02] (KSNODETYPE_SRC)
      Node[03] (KSNODETYPE_SUM)
      Node[04] (KSNODETYPE_DAC)
       Property Descriptor[00] (KSPROPERTY_AUDIO_CHANNEL_CONFIG)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
      Node[05] (KSNODETYPE_ADC)
       Property Descriptor[00] (KSPROPERTY_AUDIO_CHANNEL_CONFIG)
        IOCTL called with an output buffer size of 0.
        IOCTL called with an output buffer size of 1.
        IOCTL called with an output buffer size of 2.
        IOCTL called with an output buffer size of 6.
        IOCTL called with an output buffer size of 8.
End Case: ID 16.1007:2.29 : FAIL : KS Topology Filters\KS Properties\Check 
Property Descriptor Size and Headers : [Sat Oct 22 15:19:18 2011]

How to interpret these test results? I'm afraid some tests are buggy.

Regards,
Eugene


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: