The sad state of audio GetPosition

Reece Dunn msclrhd at googlemail.com
Thu Aug 18 13:05:59 CDT 2011


On 18 August 2011 13:04,  <Joerg-Cyril.Hoehle at t-systems.com> wrote:
> I'm interested in results from:
>
> - Linux, esp. with something newer than Ubuntu Lucid, or different sound cards.

NOTE: This is with the alsa and oss drivers selected in the audio tab
of winecfg.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu oneiric (development branch)
Release:	11.10
Codename:	oneiric

$ pulseaudio --version
pulseaudio 0.9.23

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.

$ uname -r
3.0.0-6-generic

$ ./wine --version
wine-1.3.26

$ ./wine /home/reece/Downloads/mmdevapi_test.exe render 2>&1 | tee render.log
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 8
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 8
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 8
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 8
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:182: Returned periods: 20.0000 ms 10.0000 ms

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:194: pwfx: 00130E20

render.c:195: Tag: fffe

render.c:196: bits: 32

render.c:197: chan: 2

render.c:198: rate: 48000

render.c:199: align: 8

render.c:200: extra: 22

render.c:205: Res: 32

render.c:206: Mask: 3

render.c:207: Alg: FLOAT

render.c:276: Returned latency: 50.0000 ms

render.c:350: Test failed: IsFormatSupported(8000x 8x1) call returns 00000000

render.c:351: IsFormatSupported(8000x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(8000x 8x2) call returns 00000000

render.c:351: IsFormatSupported(8000x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(8000x16x1) call returns 00000000

render.c:351: IsFormatSupported(8000x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(8000x16x2) call returns 00000000

render.c:351: IsFormatSupported(8000x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(11025x 8x1) call returns 00000000

render.c:351: IsFormatSupported(11025x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(11025x 8x2) call returns 00000000

render.c:351: IsFormatSupported(11025x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(11025x16x1) call returns 00000000

render.c:351: IsFormatSupported(11025x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(11025x16x2) call returns 00000000

render.c:351: IsFormatSupported(11025x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(12000x 8x1) call returns 00000000

render.c:351: IsFormatSupported(12000x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(12000x 8x2) call returns 00000000

render.c:351: IsFormatSupported(12000x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(12000x16x1) call returns 00000000

render.c:351: IsFormatSupported(12000x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(12000x16x2) call returns 00000000

render.c:351: IsFormatSupported(12000x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(16000x 8x1) call returns 00000000

render.c:351: IsFormatSupported(16000x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(16000x 8x2) call returns 00000000

render.c:351: IsFormatSupported(16000x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(16000x16x1) call returns 00000000

render.c:351: IsFormatSupported(16000x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(16000x16x2) call returns 00000000

render.c:351: IsFormatSupported(16000x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(22050x 8x1) call returns 00000000

render.c:351: IsFormatSupported(22050x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(22050x 8x2) call returns 00000000

render.c:351: IsFormatSupported(22050x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(22050x16x1) call returns 00000000

render.c:351: IsFormatSupported(22050x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(22050x16x2) call returns 00000000

render.c:351: IsFormatSupported(22050x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(44100x 8x1) call returns 00000000

render.c:351: IsFormatSupported(44100x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(44100x 8x2) call returns 00000000

render.c:351: IsFormatSupported(44100x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(44100x16x1) call returns 00000000

render.c:351: IsFormatSupported(44100x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(44100x16x2) call returns 00000000

render.c:351: IsFormatSupported(44100x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(48000x 8x1) call returns 00000000

render.c:351: IsFormatSupported(48000x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(48000x 8x2) call returns 00000000

render.c:351: IsFormatSupported(48000x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(48000x16x1) call returns 00000000

render.c:351: IsFormatSupported(48000x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(48000x16x2) call returns 00000000

render.c:351: IsFormatSupported(48000x16x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(96000x 8x1) call returns 00000000

render.c:351: IsFormatSupported(96000x 8x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(96000x 8x2) call returns 00000000

render.c:351: IsFormatSupported(96000x 8x2) returns 00000000

render.c:350: Test failed: IsFormatSupported(96000x16x1) call returns 00000000

render.c:351: IsFormatSupported(96000x16x1) returns 00000000

render.c:350: Test failed: IsFormatSupported(96000x16x2) call returns 00000000

render.c:351: IsFormatSupported(96000x16x2) returns 00000000

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:564: Test failed: Wait(event) after Stop gave 102

render.c:567: Test failed: Wait(event) after Stop #2 gave 102

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:629: Test failed: GetBuffer 0 gave 00134A30

render.c:633: Test failed: Reset failed: 00000000

render.c:665: Test failed: NULL expected FFFFFFFFDEADF00D

render.c:682: Test failed: GetBuffer 0 gave FFFFFFFFDEADF00D

render.c:687: Test failed: GetBuffer 0 size #2 failed: 88890007

render.c:688: Test failed: GetBuffer 0 #2 gave FFFFFFFFDEADF00D

render.c:695: Test failed: GetBuffer failed: 88890007

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:767: Testing shared mode

render.c:789: Latency: 50.0000 ms

render.c:797: BufferSize 24000 frames

render.c:807: Clock Frequency 48000

render.c:811: Test failed: Clock Frequency 48000

render.c:836: data at 00134A30

render.c:872: Test failed: Position 24000 too far after 100ms

render.c:882: padding 0 past sleep #2

render.c:889: padding 0 past stop #1

render.c:894: Test failed: Position should have been further along...

render.c:896: position 24000

render.c:897: Test failed: Position 24000 too far after 200ms

render.c:922: data at 00134A30

render.c:947: position 5577

render.c:948: Test failed: Position 5577 too far after 100ms

render.c:958: padding 0 past stop #2

render.c:964: position 24000

render.c:966: Test failed: Position 24000 too far after 100ms

render.c:986: data at 00134A30 for prefill 22500

render.c:996: Test failed: Reset failed: 00000000

render.c:1015: hpctime 374 after 370ms

render.c:1033: padding 0 position 22500 slept 470ms iteration 0

render.c:1035: Test failed: Position delta 6126 not regular

render.c:1040: hpctime 475 pcpos 475

render.c:1060: data at 00134A30

err:alsa:wine_snd_pcm_recover underrun occurred
render.c:1033: padding 16888 position 28112 slept 570ms iteration 1

render.c:1035: Test failed: Position delta 5612 not regular

render.c:1040: hpctime 578 pcpos 578

render.c:1065: data at 00134A30 (small 7112)

render.c:1033: padding 19159 position 32953 slept 670ms iteration 2

render.c:1040: hpctime 679 pcpos 679

render.c:1065: data at 00134A30 (small 4841)

render.c:1033: padding 18218 position 38735 slept 770ms iteration 3

render.c:1035: Test failed: Position delta 5782 not regular

render.c:1040: hpctime 779 pcpos 779

render.c:1065: data at 00134A30 (small 5782)

render.c:1033: padding 21100 position 41635 slept 870ms iteration 4

render.c:1035: Test failed: Position delta 2900 not regular

render.c:1040: hpctime 880 pcpos 880

render.c:1065: data at 00134A30 (small 2900)

render.c:1033: padding 18210 position 47425 slept 970ms iteration 5

render.c:1035: Test failed: Position delta 5790 not regular

render.c:1040: hpctime 980 pcpos 980

render.c:1065: data at 00134A30 (small 5790)

render.c:1033: padding 18218 position 53207 slept 1070ms iteration 6

render.c:1035: Test failed: Position delta 5782 not regular

render.c:1040: hpctime 1081 pcpos 1081

render.c:1065: data at 00134A30 (small 5782)

render.c:1033: padding 21144 position 56063 slept 1170ms iteration 7

render.c:1035: Test failed: Position delta 2856 not regular

render.c:1040: hpctime 1181 pcpos 1181

render.c:1065: data at 00134A30 (small 2856)

render.c:1033: padding 18201 position 61862 slept 1270ms iteration 8

render.c:1035: Test failed: Position delta 5799 not regular

render.c:1040: hpctime 1282 pcpos 1282

render.c:1065: data at 00134A30 (small 5799)

render.c:1080: position 61862

render.c:1090: position 85862 past underrun

render.c:1100: hpctime 2283 after underrun

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render.c:778: Testing exclusive mode at 48000

render.c:789: Latency: 50.0000 ms

render.c:793: Test failed: Latency not twice period, delta 35000us

render.c:797: BufferSize 24000 frames

render.c:807: Clock Frequency 48000

render.c:836: data at 00134A30

render.c:872: Test failed: Position 24000 too far after 100ms

render.c:882: padding 0 past sleep #2

render.c:889: padding 0 past stop #1

render.c:894: Test failed: Position should have been further along...

render.c:896: position 24000

render.c:897: Test failed: Position 24000 too far after 200ms

render.c:922: data at 00134A30

render.c:947: position 5603

render.c:948: Test failed: Position 5603 too far after 100ms

render.c:958: padding 0 past stop #2

render.c:964: position 24000

render.c:966: Test failed: Position 24000 too far after 100ms

render.c:986: data at 00134A30 for prefill 22500

render.c:996: Test failed: Reset failed: 00000000

render.c:1015: hpctime 375 after 370ms

render.c:1033: padding 0 position 22500 slept 470ms iteration 0

render.c:1040: hpctime 476 pcpos 476

render.c:1060: data at 00134A30

err:alsa:wine_snd_pcm_recover underrun occurred
render.c:1033: padding 16897 position 28103 slept 570ms iteration 1

render.c:1035: Test failed: Position delta 5603 not regular

render.c:1040: hpctime 579 pcpos 579

render.c:1065: data at 00134A30 (small 7103)

render.c:1033: padding 18201 position 33902 slept 670ms iteration 2

render.c:1035: Test failed: Position delta 5799 not regular

render.c:1040: hpctime 679 pcpos 680

render.c:1065: data at 00134A30 (small 5799)

render.c:1033: padding 21100 position 36802 slept 770ms iteration 3

render.c:1035: Test failed: Position delta 2900 not regular

render.c:1040: hpctime 780 pcpos 780

render.c:1065: data at 00134A30 (small 2900)

render.c:1033: padding 18210 position 42592 slept 870ms iteration 4

render.c:1035: Test failed: Position delta 5790 not regular

render.c:1040: hpctime 880 pcpos 880

render.c:1065: data at 00134A30 (small 5790)

render.c:1033: padding 19176 position 47416 slept 970ms iteration 5

render.c:1040: hpctime 981 pcpos 981

render.c:1065: data at 00134A30 (small 4824)

render.c:1033: padding 18209 position 53207 slept 1070ms iteration 6

render.c:1035: Test failed: Position delta 5791 not regular

render.c:1040: hpctime 1081 pcpos 1081

render.c:1065: data at 00134A30 (small 5791)

render.c:1033: padding 21109 position 56098 slept 1170ms iteration 7

render.c:1035: Test failed: Position delta 2891 not regular

render.c:1040: hpctime 1182 pcpos 1182

render.c:1065: data at 00134A30 (small 2891)

render.c:1033: padding 18210 position 61888 slept 1270ms iteration 8

render.c:1035: Test failed: Position delta 5790 not regular

render.c:1040: hpctime 1282 pcpos 1282

render.c:1065: data at 00134A30 (small 5790)

render.c:1080: position 61888

render.c:1090: position 85888 past underrun

render.c:1100: hpctime 2283 after underrun

fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetService stub {bfb7ff88-7239-4fc9-8fa2-07c950be9c6d}
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32
channels, pretending there's only 2 channels
render: 842 tests executed (0 marked as todo, 70 failures), 0 skipped.


- Reece



More information about the wine-devel mailing list