Hi Jörg,
on my W7 machine I get some failures.
I'm using a semi-pro usb soundcard, Creative E-MU 0202 USB. It's set to use 24-bit, 48 kHz as standard in shared mode. In addition, I turned off the E-MU and connected my cheap C-Media USB headset and left it set to default settings (44100 hz, 16-bit).
I get some failures both in exclusive and non-exclusive mode.
(And how does the test handle multiple soundcards?)
E-MU, Exclusive allowed:
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 00751AA8 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 48000 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:308: Returned latency: 10.6666 ms render.c:381: IsSupported(1, 44100x16x2) render.c:381: IsSupported(1, 48000x16x2) render.c:381: IsSupported(0, 48000x 8x2) render.c:381: IsSupported(0, 48000x16x2) render.c:887: Test failed: Initialize failed: 8889000f render.c:890: Test failed: GetService failed: 88890001 render.c:921: this is the last test seen before the exception render: unhandled exception c0000005 at 00409E1C
E-MU, Exclusive disabled:
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 00701AA8 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 48000 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:308: Returned latency: 10.6666 ms render.c:413: Test failed: Initialize(1, 44100x16x2) returns 8889000e render.c:413: Test failed: Initialize(1, 48000x16x2) returns 8889000e render.c:381: IsSupported(0, 48000x 8x2) render.c:381: IsSupported(0, 48000x16x2) render.c:887: Test failed: Initialize failed: 8889000f render.c:890: Test failed: GetService failed: 88890001 render.c:921: this is the last test seen before the exception render: unhandled exception c0000005 at 00409E1C
C-Media USB headphone, Exclusive enabled:
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 00A81AA8 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 44100 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:308: Returned latency: 11.6100 ms render.c:381: IsSupported(1, 44100x16x2) render.c:381: IsSupported(1, 48000x16x2) render.c:381: IsSupported(0, 44100x 8x2) render.c:381: IsSupported(0, 44100x16x2) render.c:1457: Test failed: Got wrong volume: 0.000000 render.c:1480: Test failed: Got wrong volume: 0.000000 render: 705 tests executed (0 marked as todo, 2 failures), 0 skipped.
C-Media USB headphone, Exclusive disabled:
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 009E1AA8 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 44100 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:308: Returned latency: 11.6100 ms render.c:413: Test failed: Initialize(1, 44100x16x2) returns 8889000e render.c:413: Test failed: Initialize(1, 48000x16x2) returns 8889000e render.c:381: IsSupported(0, 44100x 8x2) render.c:381: IsSupported(0, 44100x16x2) render.c:1457: Test failed: Got wrong volume: 0.000000 render.c:1480: Test failed: Got wrong volume: 0.000000 render: 705 tests executed (0 marked as todo, 4 failures), 0 skipped.
-- -erik http://useofwords.blogspot.com/
Hi
thank you for your results.
Please test again using https://testbot.winehq.org/JobDetails.pl?Key=14738
+ The crash in session tests should be gone, while render.c:887: Test failed: Initialize failed: 8889000f is left in until we gather more knowledge about sessions.
+ the exclusive mode should be handled correctly now, except
- 5:1 IsSupported vs Initialize unchanged until we know more about 5:1 cards.
- volume failure unchanged, I don't know those tests.
(Saulius, a quick test is enough if there's no more issue)
And how does the test handle multiple soundcards?
Not at all. The tests uses solely the default multimedia rendering device. I'm not aware of another test (devenum would be the candidate) that enumerates devices for us to check whether Wine did a good job, like the winmm:wave and midi test do.
BSD and other Wine users may also be interested in the tests, e.g. Francois' BSD81 system crashed http://test.winehq.org/data/e5ba60174ef931d299894bc1e8961c822f4809c4/bsd_fg-... and there's now better protection against failures (not in all places though).
Regards, Jörg Höhle
On Thu, 6 Oct 2011, Joerg-Cyril.Hoehle@t-systems.com wrote:
Hi
thank you for your results.
Please test again using https://testbot.winehq.org/JobDetails.pl?Key=14738
Hi Jörg,
I think your tests are actually correct, though could use a tiny bit more crash-proofing. On closer look, my capture setup seems to be broken on the E-MU 0202 USB - due to driver trouble. I get a later crash in your test this time though.
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 00961AA0 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 48000 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:251: Initialize(duration=0) GetBufferSize is 1440 render.c:315: Returned latency: 10.6666 ms render.c:388: IsSupported(exclus., 44100x16x2) render.c:388: IsSupported(exclus., 48000x16x2) render.c:388: IsSupported(shared , 48000x 8x2) render.c:388: IsSupported(shared , 48000x16x2) render.c:897: Test failed: Initialize failed for capture in rendering session: 8889000f render.c:906: Tests skipped: No capture session: 8889000f; skipping capture device in render session tests render.c:1482: Test failed: Initialize failed: 8889000f render.c:1486: Test failed: GetService failed: 88890001 render.c:1486: this is the last test seen before the exception render: unhandled exception c0000005 at 76EC8DA9
When I disable my known-broken microphone device on the 0202, I get no failures.
render.c:167: Returned periods: 10.0000 ms 3.0000 ms render.c:179: pwfx: 00921AA0 render.c:180: Tag: fffe render.c:181: bits: 32 render.c:182: chan: 2 render.c:183: rate: 48000 render.c:184: align: 8 render.c:185: extra: 22 render.c:190: Res: 32 render.c:191: Mask: 3 render.c:192: Alg: FLOAT render.c:251: Initialize(duration=0) GetBufferSize is 1440 render.c:315: Returned latency: 10.6666 ms render.c:388: IsSupported(exclus., 44100x16x2) render.c:388: IsSupported(exclus., 48000x16x2) render.c:388: IsSupported(shared , 48000x 8x2) render.c:388: IsSupported(shared , 48000x16x2) render.c:906: Tests skipped: No capture session: 80070490; skipping capture device in render session tests render: 668 tests executed (0 marked as todo, 0 failures), 1 skipped.
And on the cheapo USB headset, I still only get the GetVolume failures.
-- -erik http://useofwords.blogspot.com/