Upgrade problems -addendum
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
(moved to alsa-devel)
At Wed, 22 Jan 2003 16:47:00 +0100,
Quoted 15 lines · Tais M. Hansen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 6 lines · Takashi Iwai
Quoted 2 lines
I'm getting a bunch of errors in syslog though. I imagine it's just debug output and nothing serious.
could you enable
POINTER_DEBUGat the beginning ofvia82xx.c? this will print more debug lines.
which application cause these messages? every application? do you notice any drop outs during playback?I've enabled
POINTER_DEBUGand logged ALSA & fail output from syslog. The output is attached in two files. (gzipped)
Quoted 7 lines
ogg123:
I heard a short pop in the sound with each log entry pair; fail & ALSA.artsd:
Log entries only occured when starting/resuming or suspending/killing artsd. Tried playing for a while with noatun and I didn't notice any pops or other anomalies.
could you test the following two patches?
with the first one, the driver will calculate the current pointer like VIA686 does. if this is ok, no messages will appear.
the second one is to force to increase the index. you'll see debug messages, anyway, if POINTER_DEBUG is defined.
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 3 lines · Takashi Iwai
could you test the following two patches?
with the first one, the driver will calculate the current pointer like VIA686 does. if this is ok, no messages will appear.
The first patch makes artsd freeze the computer for about 10-20 seconds and then aborts with a "cpu overload" message. ogg123 sometimes plays noise when starting while speeding through the ogg-file, sometimes it plays normally. Only ogg123 generated output in syslog which I've attached in alsa-ogg123-syslog-p1.txt.gz.
Quoted 2 lines
the second one is to force to increase the index. you'll see debug messages, anyway, if
POINTER_DEBUGis defined.
First, removing first patch and applying the second patch. Ogg123 freezes when started with no sound and a lot of errors. Ctrl-C is caught after about 10 secs. Syslog output is attached in alsa-ogg123-syslog-p2.txt.gz. Artsd starts but keep looping a short random piece of noise. No sound can be played/heard when played. Killing artsd produces the output attached in alsa-artsd-syslog-p2.txt.gz.
Applying both patches. Ogg123 and artsd behaves like when only the first patch was applied. I let ogg123 run a little longer and noticed that sometimes about half a second noise where played. Syslog errors from using ogg123 this time is attached in alsa-ogg123-syslog-p1+p2.txt.gz.
Note: POINTER_DEBUG was defined and the initial patch you sent was applied throughout the test.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPi8464IvLOJqwYc4AQK1Rg//d/KK5N09con1WpRHybusmLzQgCyAJes7 ZacJuyVjC3ZufbvaXWFrDtfP/H5FJp4CnZ0f2wOLj16vrgL5huszWLLUYdUrIGIg J+HmUlEUydACBO55csHIX9L6LbIPJtlrUHI5JDGTkQ2Tkq3fLnmsgrhjt4FuikDa mP+sX82Fqduiz5yaOmK9I5f5T8R+hkX/F0TkT/nBUDnZODKPGDwfe2NXvECXLS8i p0cWyx4GZWZ3CrOghDz1+sqFNg3x3Emf+iX9VcF4a56RLUcDRoTkoLLyOyG2oXHs HeyPjJValZRZ5K/O9R9XVRFqAqS7haI0lPykIb3QVekTa31D7cU/sWgyrG6/g2RB Z7EViUL1hVa8hIgOQsSzfMHneu3CDQxaayXsYr6waNiu/jx2+ieRemQDq6nCJuSd v+30YvOO5hJ4f3f5ix/PtG3Wq6B5mpPhtNWVzW/10V4jkB/3rjBiY4WSuDi4QX/8 WZz4J5tm9sxlwTu/es353FVxstvP9r5I8aB+82ontsEiSljrLrgWeiTiiY6Ucf30 lo3mUDmIz8Puif0d/3zOw9M2fu/szzSsyJimaJ61s/+slS2olUH+jE7FnKOoRmBt tI4MvSxdW0W+j0U5VrlRP7YbsGN+ebRn3DzQ4Q7pyd6Fkk0+sagHEFsrRuMyifKg pxf42L/p8YA=
=s6sT
-----END PGP SIGNATURE-----
At Thu, 23 Jan 2003 01:35:53 +0100,
Quoted 11 lines · Tais M. Hansen
Quoted 3 lines · Takashi Iwai
could you test the following two patches?
with the first one, the driver will calculate the current pointer like VIA686 does. if this is ok, no messages will appear.The first patch makes artsd freeze the computer for about 10-20 seconds and then aborts with a "cpu overload" message. ogg123 sometimes plays noise when starting while speeding through the ogg-file, sometimes it plays normally. Only ogg123 generated output in syslog which I've attached in alsa-ogg123-syslog-p1.txt.gz.
ok, that's not good...
Quoted 10 lines
Quoted 3 lines
the second one is to force to increase the index. you'll see debug messages, anyway, if
POINTER_DEBUGis defined.First, removing first patch and applying the second patch. Ogg123 freezes when started with no sound and a lot of errors. Ctrl-C is caught after about 10 secs. Syslog output is attached in alsa-ogg123-syslog-p2.txt.gz. Artsd starts but keep looping a short random piece of noise. No sound can be played/heard when played. Killing artsd produces the output attached in alsa-artsd-syslog-p2.txt.gz.
hmm...
Quoted 4 lines
Applying both patches. Ogg123 and artsd behaves like when only the first patch was applied. I let ogg123 run a little longer and noticed that sometimes about half a second noise where played. Syslog errors from using ogg123 this time is attached in alsa-ogg123-syslog-p1+p2.txt.gz.
ah, applying both has no effect..
Quoted 2 lines
Note:
POINTER_DEBUGwas defined and the initial patch you sent was applied throughout the test.
ok, the attached is the third trial.
please appply it solely without the preivous patches.
hope this works better...
ciao,
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 2 lines · Takashi Iwai
ok, the attached is the third trial.
please appply it solely without the preivous patches.
I'm assuming the very first via8233a-fix.dif is still supposed to be applied. (won't work without it anyway)
Quoted 1 line
hope this works better...
Well... Ogg123 freezes the same way as with test1. Artsd no longer fails with "cpu overload", but it's constantly busy and can't play sound. There's nothing to see in syslog but there's suddenly a bunch of output in the debug log.
This is ogg123:
Jan 23 12:05:25 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:123: Unexpected hw_pointer value (stream = 0, delta: -1024, max jitter = 4096): wrong interrupt acknowledge? Jan 23 12:05:35 proficio last message repeated 429 times Jan 23 12:05:35 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:2117:
playback write error (DMA or IRQ trouble?)
And this is artsd:
Jan 23 12:06:31 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:123: Unexpected hw_pointer value (stream = 0, delta: -1024, max jitter = 8192): wrong interrupt acknowledge? Jan 23 12:06:41 proficio last message repeated 206 times
Aplay is able to play a wav-file though but it also generates errors in the debug log:
Jan 23 12:08:16 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:123:
Unexpected hw_pointer value (stream = 0, delta: -3386, max jitter = 11025):
wrong interrupt acknowledge?
Aplay also threw the usual in syslog once:
Jan 23 12:08:18 proficio kernel: ALSA ../alsa-kernel/pci/via82xx.c:601:
invalid via82xx_cur_ptr, using last valid pointer
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPi/O0IIvLOJqwYc4AQIpHQ//SToDIhB49e/UlJYOqTkTrya/25Vuvqju dYIhobeCn1bm8Lbun3Eb75rBt6pWqf/6g3YhfxdYwVYi5HD9YrX9SaqkOFdEFxiZ KUR0Vop7Nyu7Y379w7BKNZILE6ApvgKoSSsYXiR4EMI3mu5Rst+fAbhvyKuL1+u0 eggkgbZgffmMjZFtm0yyPywBmQxUz1INknIhs+/AXpTpbfHFxIEtaZGwSuEpK2DO is33gNvMIrAGmaXWoC3xNLLcDAOffcWVY3Cjx7KJAi8+UOAiJ15LCORaO41uv3r9 MvycX3KpDvMb5u+/RH00fLutTY8fQKiSwjRCRJWz3QBLOPJw18mIUz55T4i7VSoO x00fy+73xx2IePd9tT8mGZRr+leH19tnXP44+5QeVEj3GuOd85fw4nFkf+01z+9X m0DSS44/+UUG/XDQjl3SBeD0ad3alqOm748Ef0mHnmy058VF+Vh65s6B7bUzq/bf p59x0Ea1Tk9fph8+vyhJfvTLBMzywGhhNrOUuijUwjAkvojsMyB879ay838xkL0c lRW7WmvmB8HSoFCvJmjXHuHCoxP9GrRw0L3V4zj/OmuD8qM+SYUBhkdmLjEjzgsh e9RfEftSNDZSR+bdXE3nChiGWqeDCJXvYdZVcM/kpUfnZbRTZOdKdN2mqZLBvm6D dXEZcr9VgfA=
=hpJK
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See!
http://www.vasoftware.com
At Thu, 23 Jan 2003 12:15:26 +0100,
Quoted 7 lines · Tais M. Hansen
Quoted 2 lines · Takashi Iwai
ok, the attached is the third trial.
please appply it solely without the preivous patches.I'm assuming the very first via8233a-fix.dif is still supposed to be applied. (won't work without it anyway)
yes. the patch had been already applied to cvs.
Quoted 14 lines
Quoted 1 line
hope this works better...
Well... Ogg123 freezes the same way as with test1. Artsd no longer fails with "cpu overload", but it's constantly busy and can't play sound. There's nothing to see in syslog but there's suddenly a bunch of output in the debug log.
This is ogg123:
Jan 23 12:05:25 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:123: Unexpected hw_pointer value (stream = 0, delta: -1024, max jitter = 4096): wrong interrupt acknowledge? Jan 23 12:05:35 proficio last message repeated 429 times Jan 23 12:05:35 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:2117:
Quoted 8 lines
playback write error (DMA or IRQ trouble?)
And this is artsd:
Jan 23 12:06:31 proficio kernel: ALSA ../alsa-kernel/core/pcm_lib.c:123: Unexpected hw_pointer value (stream = 0, delta: -1024, max jitter = 8192): wrong interrupt acknowledge? Jan 23 12:06:41 proficio last message repeated 206 times
hmm, it'd better to start from the beginning.
please try the attached patch (solely).
this will generate bunch of debug messages at each interrupt but won't improve any behavior.
so, it would be enough to run only once or twice if you got bad playback.
from the obtained log, we'll be able to know whether the interrupt is properly generated, or at which condition, the read of register value fails.
ciao,
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 3 lines · Takashi Iwai
Quoted 2 lines
I'm assuming the very first via8233a-fix.dif is still supposed to be applied. (won't work without it anyway)
yes. the patch had been already applied to cvs.
Ok, I'll just do a cvs update then.
Quoted 12 lines
Quoted 3 lines
Well... Ogg123 freezes the same way as with test1. Artsd no longer fails with "cpu overload", but it's constantly busy and can't play sound.
...hmm, it'd better to start from the beginning.
please try the attached patch (solely).
this will generate bunch of debug messages at each interrupt but won't improve any behavior.
so, it would be enough to run only once or twice if you got bad playback.
from the obtained log, we'll be able to know whether the interrupt is properly generated, or at which condition, the read of register value fails.
Okay, fresh cvs checkout. Enabled POINTER_DEBUG and applied the via-pointer-debug.dif.
Ogg123 freezes/stalls without ever making a sound, like with the previous test and test3 patches. Log output is attached.
Aplay plays a wav-file fine. No problems noticed. Log output is attached.
When artsd is started a short piece of noise is looped, as described earlier. Can't play any sound through arts. Log output attached.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPi/h6IIvLOJqwYc4AQI/CBAAoZjVwgiDiERJiN2klyM/eriOO9fezFs6 ZOE1q3fugqhplVXr+CSiOA4P/KG49FUkGFoZYuuaK0xwJcEtneY6zvHcK+29E2zf iiLPaUU19zrnN/Bd11pVqeKKa6zixYuNgG3WLVcXs+dhtCYIGIi930Pdk/5AjXq8 ChB5oTzBXfLZs3pm7wte3mELJSZ1sZQ9q3BUzkjEBUot7AkRW4LEx540MCTvQ6+r d2fYjXswuEeOo/BySuJofCd3Uiv/1tx2jwkDPckjbFZNh0YVZtdp0as1phb/PVOt 05oUj+9nDVFRStqdMaBODSBOiKceewkXR7RwtHa9+OaprjRchGvpyo3x3gJjtfZU HcJqhPQQnt1/xa9JHht2FanHMuY/GJgBJXiNo6bWMkhVWe3d30wcFJpxTL7vzu8h hbbEsH5cAEAP5+KG+lPz07ZF2CZezJovevsE33aAk29Xm7bugDd56yWgLloarulE Ihjk3RLRM3gx6/fdx4JQHt4HTg2cDjKQV2fWkl8XKGhEqDLTIF1D8yGSfVhUbdmh J+F9Ntyhw2GXbaD9JXqDpSFx1QWURvj1BVtwbLZ8aTn7XGzNZiSGK+8UY02jXQ3+ cb5TzUganC9vYrLUfd3lSDiWZobXXs76epyWAAoyh6F00MeGBP3lbAXEdx3eph5D M7RC9gOpl8c=
=HyhA
-----END PGP SIGNATURE-----
At Thu, 23 Jan 2003 13:36:53 +0100,
Quoted 17 lines · Tais M. Hansen
Quoted 4 lines
Quoted 4 lines
Well... Ogg123 freezes the same way as with test1. Artsd no longer fails with "cpu overload", but it's constantly busy and can't play sound.
...Quoted 9 lines
hmm, it'd better to start from the beginning.
please try the attached patch (solely).
this will generate bunch of debug messages at each interrupt but won't improve any behavior.
so, it would be enough to run only once or twice if you got bad playback.
from the obtained log, we'll be able to know whether the interrupt is properly generated, or at which condition, the read of register value fails.Okay, fresh cvs checkout. Enabled
POINTER_DEBUGand applied the via-pointer-debug.dif.
Quoted 7 lines
Ogg123 freezes/stalls without ever making a sound, like with the previous test and test3 patches. Log output is attached.
Aplay plays a wav-file fine. No problems noticed. Log output is attached.
When artsd is started a short piece of noise is looped, as described earlier. Can't play any sound through arts. Log output attached.
thanks.
it seems really the index value was not updated correctly by the chip.
ok, take 4: please try the new one...
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Takashi Iwai
Quoted 5 lines
Okay, fresh cvs checkout. Enabled
POINTER_DEBUGand applied the via-pointer-debug.dif.
Ogg123 freezes/stalls without ever making a sound, like with the previous test and test3 patches. Log output is attached.
Aplay plays a wav-file fine. No problems noticed. Log output is attached.thanks.
it seems really the index value was not updated correctly by the chip.
ok, take 4: please try the new one...
Same as before, log output attached. :)
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjArcYIvLOJqwYc4AQJQyBAAjSgAESxt/dy8dhIaK1XFUAW4fwdnwgFB 8Ydg+Fac5vlsGLpZ2+VnF/wjo4391ZkgdSQIyViCt996csGv1IuVilkd4Nx77dJU /+dbnrHfbP/bATFY3zBMiGahgfDyQQnXb6zrrmQPLRLqN9jYkAoOJRKVJRxme6QT Yc1+S09pxYp9s+wwrf1MQ9k/j5P4KST2jNOfNQsu1nrvpbeHJLxPLps8UJlbz/2O /ZMhyPRUCJJ+8vqTbReaw5fPt4z+vZUzWmiSQkRaH/zmu0mFjEGn0shLwduokKP7 dykv2VOQJT/rzx9bhmj1fXNLf6Fm7JK36VrckOGlmJ/zgXAvI4hmgE210fiIE+Hl 5eX+XQczas7AmdNpwIsfQBnoEidw+14L3mMweMNS4En3mVzaRixzucddlKZP71rN EyV30nlmUhUqDRk5QJnwVZwSXKvILLrYMKSmJ1hmfC6MsD0NNZE97mTVn6L4gPDd SyjElY8q3Ry2OdzaWzIem+fgNK031fzJxVFBNH+zxgNnKocO84wH47vOlweArEkd 4IISZlSMUM78xeCu1DbzFS0BDZkU5vDET0+wQ4sz82Yc1T6nieLOWMMuHrWoztE9 aCj/Hn6KreGdR9jRy+Nt7D+YIQ+NUzFIIohq8nuqvaEOZ3sn5IUV5nSpyUSZsh9F 0nccZ6azGDE=
=qJIw
-----END PGP SIGNATURE-----
At Thu, 23 Jan 2003 18:50:38 +0100,
Quoted 7 lines · Tais M. Hansen
Quoted 5 lines · Takashi Iwai
Quoted 5 lines
Okay, fresh cvs checkout. Enabled
POINTER_DEBUGand applied the via-pointer-debug.dif.
Ogg123 freezes/stalls without ever making a sound, like with the previous test and test3 patches. Log output is attached.
Aplay plays a wav-file fine. No problems noticed. Log output is attached.
Quoted 6 lines
Quoted 4 lines
thanks.
it seems really the index value was not updated correctly by the chip.
ok, take 4: please try the new one...Same as before, log output attached. :)
the next one is to put all logs to /var/log/debug. and will show more verbose.
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Takashi Iwai
Quoted 5 lines
Quoted 4 lines
thanks.
it seems really the index value was not updated correctly by the chip.
ok, take 4: please try the new one...Same as before, log output attached. :)
the next one is to put all logs to
/var/log/debug. and will show more verbose.
Ok, log output attached, 3 files with loads of gibberish ;). Same behavior btw.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjA36oIvLOJqwYc4AQKg9w/9E46Tbs7SEdaRFx8OjYLJwDk1QoSQcu7r jE/4B6+1PmqMPIfvmr5C0MjGM5Q+rDiGa1ZRHGfKAvshOcR7RJhCvtTqrJ2G9f36 O1B0+a1lkp/SCWSVkW29eQq37tn1wumn+FrIGNGm99QKlHfkcxXCMRmZMC8LyXmj Rf9ZNKjhz365yZcmnJoX3x3j/O+3q1AmlCCoz0BPhx5GVUPBoic38gj6nS36rWaE wnp+B/BjQ2WQ4lfpSW7KXvYzPpDxxz9XyTHan78O6+6kiaNPiNyTN2haYCL/RJAN 1EVZMqsRwdz3UCWx73A5LyA/SsDQ1bhtJwfcBr194rGM4uDc4BGuSWMg/BYt3KPg O2QkQu0EA0n+i/fTLG67wLCJldslOqTd5nnz6NEa1aaaJT3dSekq4pc7iKBKXKu/ ZJ1K/Mj7w90hGZyyFsXPI53nTrVAkIcwOyaUE88WZ1WEnGEpCoomRJY5+C1gJcnp IQPaaAJVSeqPKJ/ypHUgu4KS5L/QyNlD01hwFbom1C6lz58iyMJdS12Lo1J+64ja exv+OPncxT3vGj/SCotClLS28YAUIStiLhMRcQjQR6AiV0XgTk4XfyqgUa6Qy6IE fAWk7TVekdm+AgKUa+xBWBa+Rs5yykHBGB8foaGJUsZVqOxN2PfQ6lE/8csXOjNB IMrfuUeyraU=
=R+NV
-----END PGP SIGNATURE-----
At Thu, 23 Jan 2003 19:43:52 +0100,
Quoted 10 lines · Tais M. Hansen
[1 <text/plain; iso-8859-1 (quoted-printable)>]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 4 lines · Takashi Iwai
Quoted 4 lines
Quoted 4 lines
thanks.
it seems really the index value was not updated correctly by the chip.
ok, take 4: please try the new one...
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Same as before, log output attached. :)
the next one is to put all logs to
/var/log/debug. and will show more verbose.Ok, log output attached, 3 files with loads of gibberish ;). Same behavior btw.
thanks. sigh, this chip is really weird.
perhaps in the last patch, the recoverd pointer overtook the actual pointer and got the driver confused.
take 6: the calculation of recovered pointer is changed.
and the register value of CURRPTR is shown as reference. if it's more acculate, we can refer to it instead...
as usual, debug messages appear by enabling DEBUG_POITNER.
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Takashi Iwai
Quoted 2 lines
Ok, log output attached, 3 files with loads of gibberish ;). Same behavior btw.
thanks. sigh, this chip is really weird.
perhaps in the last patch, the recoverd pointer overtook the actual pointer and got the driver confused.
take 6: the calculation of recovered pointer is changed.
and the register value of CURRPTR is shown as reference. if it's more acculate, we can refer to it instead...
as usual, debug messages appear by enablingDEBUG_POITNER.
Same deal as before, another 3 files filled with debug output. Good luck. :)
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjE0ZIIvLOJqwYc4AQLLFg/+NmqJA1HIeSmt6ukM/aw9v8n3fwLpK61k eGdakXrtZpao+T5EJG9aDsRoCJ6I5qRzw7s8KPFxx0AHLbDNMohLegTTxTB/KltT IFxRTW6JiAxwcRoR/nX/rFTZGEogXx8lTLIFALx8KD7jv/nudC0jWwFYeYKG9ky1 Q7zkbmdfcsivp2j7PUJVFGVQvYRYbrXvbaGD3BIfa7zPHWAaBK2tHWUZZ2TJFXT3 ZKoKtPnlzgxFXF9YP//OqE/Y5Qjjvs1SCk9hR4jL1yKmr9VeSCOySh+c8gAFOFaj hLICqz4fbtFkLurRk4B/puu8q/R4ftvC+z2cSUtvdLrVONzgYBwhsPibqKiI1hv5 wd6auUmMTxwar95iuiRNKdHPTId9FOZY0jEEJi4njOjZmUKSaZqa5g53OQ8rf63W GeupoL9DoGtewOpf4uvR6hvq5QjO2MGO0VyY5752LFyk7hIX1ryEvsuOsChMhOvl Akh+JVYXNSU+lgcnQCnrB45a9bH2MIIc0WnT8dlBi2o1oiyZTbp99n2GIt6y0ey4 L/ECWRoK0Wrd4yesPwNnl6S3AmmWKmZc8WurdDQcc5clOwTyZwXR67BSjXFTxTb8 oP6Q6zLMfFxcFReR1HCXWLbQGaw4oJbLuUh6zkGLnTxmizCc7uGZGnDpA/O6gWSq fsT3lXLYi60=
=eiiU
-----END PGP SIGNATURE-----
At Fri, 24 Jan 2003 13:41:06 +0100,
Quoted 16 lines · Tais M. Hansen
[1 <text/plain; iso-8859-1 (quoted-printable)>]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 9 lines · Takashi Iwai
Quoted 2 lines
Ok, log output attached, 3 files with loads of gibberish ;). Same behavior btw.
thanks. sigh, this chip is really weird.
perhaps in the last patch, the recoverd pointer overtook the actual pointer and got the driver confused.
take 6: the calculation of recovered pointer is changed.
and the register value of CURRPTR is shown as reference. if it's more acculate, we can refer to it instead...
as usual, debug messages appear by enablingDEBUG_POITNER.
Quoted 1 line
Same deal as before, another 3 files filled with debug output. Good luck. :)
it seems that we need to use CURRPTR always on your chip. i guess this depends on the board, how reliable IDX register is.
if the attached new patch works, i'll add a module option to enable this behavior.
good luck for you, too :)
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Takashi Iwai
Quoted 2 lines
Same deal as before, another 3 files filled with debug output. Good luck. :)
it seems that we need to use CURRPTR always on your chip. i guess this depends on the board, how reliable IDX register is.
Need any specific info about the board? Chip? I saw some talks about the ALC650 chip in another thread on this list and alsamixer claims I've got such a chip.
Quoted 3 lines
if the attached new patch works, i'll add a module option to enable this behavior.
good luck for you, too :)
Thanks. Maybe we should exchange good luck more often. Seems like you worked some magic here. :)
Ogg123 now plays but there's a lot of pops, clicks and stuttering. Log output were produced in both syslog and debug. Attached as allways.
Aplay played as always. I think I heard pops here and there but it wasn't much. Log output from debug attached.
Artsd started as supposed to with a single pop. Noatun seemed to play without any noticeable weirdness. No pops etc. Log output from debug attached.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjFJwIIvLOJqwYc4AQJUkRAAjIJ66U1Fb2HDWHQcqRh0BnAIJKZaIki3 ky+IkXkJ32YqznaiO88Cv6GlRJjJAfES8IyRrUZB8WT0LA79mKGSQyoS5xoMK6MW KsqPPHf/h1o3QCKa/rY8OH0oPUzD5PvfGqU1Iyk3uUTjtaQYm+4B/V7wpQjfnRbb 5sumdqo8oWchgzoKqeY17bdPE7lAMxYoWeRglIPMI6N1I/iyJNAONnfHNMFVH1FE uZQ3EKipd7qMw8RZHA2+C29xTU3rK4aMqRMqsBHHNBXMzNsNIRuGenSYQAynHeCY U0UzPBirqZKCOWEJuBWjhEWhAk1CCnBb1vsM1MVEJ0e47RfIF9HL3kHK4Eiwk301 fHOIGR+x9iAO/21en8oVzEj6sNdWGMMPXV1U+byJbe/C6I7nRBQCBMZDdbw2/haU uvhzMoBihW7EwLoWlMFCXbseX3vcHf8lmSLyh39M+aK2FcMnYiFGE7gp0L84NS2Q mnh6b9CFDPlffGET9+DULqZqv/clYsqHLOtT7ECjLyb3zcm6rGw+pU3wKNPcRtpW GL0saHyIy1fhU6Z+LDSPYlcBDl0+AtjeGhNTG44UmrfW92SM1jJb0f52rRe0zelq hih9SE6meCIHYjBk9/LcCYYAdBW9sybBPqjr+ywskbNrLH87TrfYftpUWXAq1sar einpLW5cIcw=
=K4LD
-----END PGP SIGNATURE-----
At Fri, 24 Jan 2003 15:12:13 +0100,
Quoted 10 lines · Tais M. Hansen
Quoted 4 lines · Takashi Iwai
Quoted 2 lines
Same deal as before, another 3 files filled with debug output. Good luck. :)
it seems that we need to use CURRPTR always on your chip. i guess this depends on the board, how reliable IDX register is.
Need any specific info about the board? Chip? I saw some talks about the ALC650 chip in another thread on this list and alsamixer claims I've got such a chip.
most likely it has nothing to do with ALC650.
but lspci -v and lspci -n (for the chip) might be helpful for the later development.
Quoted 7 lines
Quoted 4 lines
if the attached new patch works, i'll add a module option to enable this behavior.
good luck for you, too :)Thanks. Maybe we should exchange good luck more often. Seems like you worked some magic here. :)
now comes the patch of the week:
now you'll have possibility to change the behavior of the driver via a module option idx_detect.
idx_detect=0 : the default, won't work for you. idx_detect=1 : like test7. perhaps not perfect. idx_detect=2 : use the interrupt pointer only. the resolution will be
in the size of periods. this should work.
idx_detect=3 : like test7 but don't evaluate the counter.
might be be finer than idx_detect=2 but might be inaccurate in some cases.
if the debug output is only 'elapsed only', it's ok.
have fun :)
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · Takashi Iwai
Quoted 3 lines
Need any specific info about the board? Chip? I saw some talks about the ALC650 chip in another thread on this list and alsamixer claims I've got such a chip.
most likely it has nothing to do with ALC650.
but lspci -v and lspci -n (for the chip) might be helpful for the later development.
$ lspci -s 00:11.5 -v
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio
Controller (rev 40)
Subsystem: Micro-star International Co Ltd: Unknown device 4720
Flags: medium devsel, IRQ 9
I/O ports at e800 [size=256]
Capabilities: [c0] Power Management version 2$ lspci -s 00:11.5 -n 00:11.5 Class 0401: 1106:3059 (rev 40)
Quoted 4 lines
now comes the patch of the week:
now you'll have possibility to change the behavior of the driver via a module optionidx_detect.
idx_detect=0 : the default, won't work for you.
And it didn't.
Quoted 1 line
idx_detect=1 : like test7. perhaps not perfect.
No sound, so you're right.
Quoted 2 lines
idx_detect=2 : use the interrupt pointer only. the resolution will be
in the size of periods. this should work.
Maybe. But it didn't. Seems to go a little too fast playing. No sound at all.
Quoted 3 lines
idx_detect=3 : like test7 but don't evaluate the counter.
might be be finer than idx_detect=2 but might be inaccurate in some cases.
This one killed my system the first time. Nice blinking keyboard leds. :)
Second run it runs speeds through the file. No sound at all.
I've attached log output from all idx'es, though only tested with ogg123.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjFsa4IvLOJqwYc4AQL4Mw//ZCPhB71mnpTZmYxBGa0yym0j2FAfGPSy 4H2gAry+jpe9wDEOddijFaSdx/mYj04ST/4Vl+cNbPaV1kldMdrqWrU3Fx0vfIqE FRC5SapuNiykdI1kMVIDotiEWU5MEhZG2UB5TwhDkSwwI3lPKfJDUsax79KCfIz/ m/8m7j0j9K0gtmDZhmD8v2TEpiiT1mk927BpqcZVI8lI3F0Ya0ggD3rI+rB+TJXQ CMgZqO74TDVA2LoWPRGHVK/VPvvVEJmr2/5+TW9Y7E5zCJx1O1PsKGcXsv1P8Pw4 gRtLwJHxFhtgn59o8L2pJI+giy27ZpX8EJ+kj917r3S/XbXE62Hr/zWQBZN5HqMF 4YfWHukX3/+5yOkzfB257VXXYk6giHDiXyxXspw0nFbTZLwKuBNCRPxQZvrO1UQ/ TmFfLW6qvq8bMreO6q7xC7N+AWIpCXf1LkqEPZsjVozSBMKahWBSTIIpBGQalUGS pBPo3gVDIKXVJT9NCUufBcmYuyImehscO2aICL1ojEsNO7zqWtkmKyGNEt3m/yA1 yhWbHABwsY029UU7SnOQpcaps0xEtF5Nl/XjljTT7dMJwV4Nep26DNW1c+Dmt+si D1q7oWgmke6tqFXpXG3T/7vrWQMP50vag+Nf1whl3Zz31qkyqHFA1qlvcEyxFXuS zU5qKaolsfk=
=lsXG
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See!
http://www.vasoftware.com
At Fri, 24 Jan 2003 17:40:09 +0100,
Quoted 20 lines · Tais M. Hansen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 6 lines · Takashi Iwai
Quoted 3 lines
Need any specific info about the board? Chip? I saw some talks about the ALC650 chip in another thread on this list and alsamixer claims I've got such a chip.
most likely it has nothing to do with ALC650.
but lspci -v and lspci -n (for the chip) might be helpful for the later development.$ lspci -s 00:11.5 -v 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 40) Subsystem: Micro-star International Co Ltd: Unknown device 4720 Flags: medium devsel, IRQ 9 I/O ports at e800 [size=256] Capabilities: [c0] Power Management version 2
Quoted 2 lines
$ lspci -s 00:11.5 -n 00:11.5 Class 0401: 1106:3059 (rev 40)
sorry, i need the output of "lspci -nv".
Quoted 6 lines
Quoted 5 lines
now comes the patch of the week:
now you'll have possibility to change the behavior of the driver via a module optionidx_detect.
idx_detect=0 : the default, won't work for you.
Quoted 6 lines
And it didn't.
Quoted 1 line
idx_detect=1 : like test7. perhaps not perfect.
No sound, so you're right.
hmm, it should produce some sounds.
Quoted 4 lines
Quoted 2 lines
idx_detect=2 : use the interrupt pointer only. the resolution will be
in the size of periods. this should work.Maybe. But it didn't. Seems to go a little too fast playing. No sound at all.
no sound?
on all applications?
then it can be another bug in the different place, which was got in during the last rewrite...
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · Takashi Iwai
sorry, i need the output of "lspci -nv".
$ lspci -s 00:11.5 -nv
00:11.5 Class 0401: 1106:3059 (rev 40)
Subsystem: 1462:4720
Flags: medium devsel, IRQ 9
I/O ports at e800 [size=256]
Capabilities: [c0] Power Management version 2Quoted 4 lines
Quoted 3 lines
Quoted 2 lines
now comes the patch of the week:
idx_detect=1 : like test7. perhaps not perfect.No sound, so you're right.
hmm, it should produce some sounds.
I just gave it another try with aplay. Bad idea; froze the system. Something's really wrong with the test8-patch.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
idx_detect=2 : use the interrupt pointer only. the resolution will be
in the size of periods. this should work.Maybe. But it didn't. Seems to go a little too fast playing. No sound at all.
no sound?
on all applications?
Well, I'd like to try, but now that my system froze on 1 and 3, I wouldn't dare. :)
Quoted 2 lines
then it can be another bug in the different place, which was got in during the last rewrite...
Sounds possible. If only I had more insight on audio hardware programming I'd might be able to be more helpful.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjGvHoIvLOJqwYc4AQLkeBAAmC5cKCyCd7D3HoCfNSvd7DbtmppUtHV2 /6axRVxaJG+BTJ4fRiyZGzDJYywhvmgIpy6AlM81hNMwSWTXtx9AbyB7GKtBepTW qRUl/dB2E7oKmWvWNCL4h+wdyFeQqIqs5NG7QaOXtUaeQAJaacqmLrY22kmyx9ek 37hUBuWoJcX/VpGfvojhbOvoIspnMszgBiFOINHXE3cKi2y7YNyJp2LhDbeDVjhu Oy/oL4OIAAgB7OTFGFvlT2/w3zSiYs2ctuz5Rt9yHeMSZ4tb4nInI3epSlpWxZQr fCkTmcjD3bea30OMkjlK7B6AkNudPIG/qXIhl1gZrhYFBctCISDdJLxtR/P21U3C J7J6JiPhdTfBSgiglQBcngtWHL873ZiWHnmdrD5b+9n0ocylzKO92kEXIhUB1q52 aXtl5KRojnsPx7jnB6x7EYIc5A7DJMKkVdxXQT2cUxGhvSwkV3C1kGnwVm4V0s6S to22WbFpah3b8Ywfk+CInZGOc/zPDc61gLpf/Oo7Hv3zsCry4rd6JFM366I/jDlW 8s52bA4JKM1ch0kOB5IhC7iwVUOXYutwqDDJH5eq5WISWviU1WEuJefcxSmu7Hpt RqUEwEq+WQKHSWSpN9h/68EBpqkIiRXoFTfzSedKh34XYpYkr4IXtosorrIPh5VP RNsVE8j6cDI=
=BSFL
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See!
http://www.vasoftware.com
At Fri, 24 Jan 2003 22:24:43 +0100,
Quoted 8 lines · Tais M. Hansen
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
now comes the patch of the week:
idx_detect=1 : like test7. perhaps not perfect.No sound, so you're right.
hmm, it should produce some sounds.
I just gave it another try with aplay. Bad idea; froze the system. Something's really wrong with the test8-patch.
ok. now, i rewrote the patch completely again.
the module options was removed again.
here we go...
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · Takashi Iwai
Quoted 2 lines
I just gave it another try with aplay. Bad idea; froze the system. Something's really wrong with the test8-patch.
ok. now, i rewrote the patch completely again.
the module options was removed again.
here we go...
Ok. Hope you had a great weekend. :)
- - Fresh cvs update. Recompiled & installed alsa-lib and alsa-util.
- - POINTER_DEBUG enabled.
No sound from aplay but it had a lot of complaints for me. Two files attached.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjVFZoIvLOJqwYc4AQKPzQ/8DJDYSkSdi70eIaQ/4seWEiN3eC6gOhuZ 5gXmWoLFDvOTaYf4EI/TlXrrWUYqIjDYn3m6PtS4Enn0zXe5FBztguQu8vOMYGcS OSLaC1Po6gjOgI/klEgawn/G0W4ffn8YVXSYxNJGuYXYmZa2QOcYfbN/MpqH/bnj NPBc8DFyKDnMTspsz0Fr+bL8mfrJnFQzSagV5mKIGDZVExFzqzQWyU2tWpOdoOft i6OB4CnuGZWhQOmnK8fAyijfWn8m+g7UJ7UfcjhagcQnvf7xoUov5kjzZ5Js4ZaY 5jKEow9UF2vij7GfpLidHIi+LyvTybOr1YzXEFCMpb/2qt93xavCdBh1P76xRSTo By7oN6u5wV3rYBP+V3twxKff3g5Q5EVoJhCj4RKjqFIOzQdGsqlF2JZ5P+ODI37I AxL4BBKzIklKKQh0W+PBQoxlJWv+OYVFUUclDjSDYRo672IwvdrIUO4TBllawWhK 5A4LYWHeoIebzA3PFKUhdlRLa/3kpGZPWeOEbsDuJnB/9FTMiCxo6AUd/9MJ3PUC GUV8z40FkIei589mB866PKdhWx567/dJaRgcezKWtY5JWNjDJpDjP34Y/sGwodku Y1YKgqKRScrls+G/jzhzT4XXNkYE81BVF8/o6ClwQUXNUfuM0T6DcCKeHRjWYAHP yqqN7mvVJj0=
=D2I5
-----END PGP SIGNATURE-----
At Mon, 27 Jan 2003 15:42:43 +0100,
Quoted 12 lines · Tais M. Hansen
[1 <text/plain; iso-8859-1 (quoted-printable)>]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 5 lines · Takashi Iwai
Quoted 2 lines
I just gave it another try with aplay. Bad idea; froze the system. Something's really wrong with the test8-patch.
ok. now, i rewrote the patch completely again.
the module options was removed again.
here we go...
Quoted 6 lines
Ok. Hope you had a great weekend. :)
- - Fresh cvs update. Recompiled & installed alsa-lib and alsa-util.
- -POINTER_DEBUGenabled.No sound from aplay but it had a lot of complaints for me. Two files attached.
ok, the patch was buggy.
but any sounds must come out. please check your mixer configuration.
the fixed patch below: same as test9 but more verbose with POINTER_DEBUG.
Takashi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Takashi Iwai
Quoted 2 lines
No sound from aplay but it had a lot of complaints for me. Two files attached.
ok, the patch was buggy.
but any sounds must come out. please check your mixer configuration.
It seems okay. Just to make sure I reverted the patch and recompiled. Aplay played several minutes without any errors at all. I also let ogg123 play for about 10 minutes. Had a few pops and an equal amount of fails in syslog. Pretty much the same as what I started out with after your initial via-fix. I've attached the ogg123 logoutput anyway.
Quoted 1 line
the fixed patch below: same as test9 but more verbose with
POINTER_DEBUG.
Attached 2 files from testing with aplay.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjVl+YIvLOJqwYc4AQIvqw/+Kvsr+jz1JxEKkynD4R5wDFeh5suycJ3r yCTsEliaaTw35w5+6wpGqHcIGcCHcugqIMOaWrkfseNV3Sghm3rhVAoisMHZDCq/ lhifJ1uj2i1v2gwtkrBABv4QXHZ4mk1iRSRk4rYuqho2tHlp9qYs6g8OAXclk6Ih gYDt3/Q4ceqWPhT9r0s31/nB4yr7rQpkCxO40fY9Ux4aFQFkiHb9Yi4gb2DJ53Zg Ox0GUPUnoMyx61eYJMIDUwdweSMuxopYUnNrU1vCRXwv7Txt7JCAu/afRkK+41gn IrF+Fcof1cBAxfyZrgi4RgrCONKSWSWnhainr2pymVnDbmKFZd7IT9G5I9E5xyPJ tBWsVGkUU8/fbSgA566jd592oM3qP0/uf3tkjnI5+s5rUSWMcAGiQzmBaB08ENMv hfiU2DjQ5Ls8uTpBIy5Qhqv6w3yXeAJZVzav3GNcVQZSikUBcwaS4g4Tf19X0PRr ygKLRB5aoW4O/vZIqbRrBx5rJjITFDYzPGtbp6RMoOf4omqgZHRB+oANHYLGoVfu 2f8sjIGC5isdY4FkXIdehI0g4LPqbxpQczxpreODm4Xfd0IBztUzLs8IpuddsEuy ExkL+1+NHUbqOF1MfxytBWATb+FBucCEACKlm4oVGmqHA90WVNtvCt0Wne0H4oou cn3N3N15LRU=
=tiID
-----END PGP SIGNATURE-----
At Mon, 27 Jan 2003 18:01:42 +0100,
Quoted 18 lines · Tais M. Hansen
[1 <text/plain; iso-8859-1 (quoted-printable)>]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 4 lines · Takashi Iwai
Quoted 2 lines
No sound from aplay but it had a lot of complaints for me. Two files attached.
ok, the patch was buggy.
but any sounds must come out. please check your mixer configuration.It seems okay. Just to make sure I reverted the patch and recompiled. Aplay played several minutes without any errors at all. I also let ogg123 play for about 10 minutes. Had a few pops and an equal amount of fails in syslog. Pretty much the same as what I started out with after your initial via-fix. I've attached the ogg123 logoutput anyway.
Quoted 3 lines
Quoted 1 line
the fixed patch below: same as test9 but more verbose with
POINTER_DEBUG.Attached 2 files from testing with aplay.
how about this one?
Takashi
VIA823x testing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · Takashi Iwai
how about this one?
Still no sound. More logs for you to digest.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjXSOYIvLOJqwYc4AQIsHw/9EsI3OH8H4oQhUWjzBQwOxCqd0grsigMC AkY640gaBzw2nlPRoxSOuiofxzyryxFlCLj1KUMh7h4IjUsp5oSU1k2aMESIB5PI GSbT75aIFbEQjLD1db+lKD6Xpi/pxYvqqd5sYvyNqSQjLf3iUdWb+F1sC7W3dYW8 03SLt6M+xgH9lTFWLCkzpIxUufDR4rvIl069Sw+yvJ7fJcTbSTAfodsJksZBJdyD Ef8zMgaHs06ySeR91hr9TWVZAqhtoRNQ6sYO+d7piZoraM4IjAXsdSTKIb9DRLP7 zgo020Z/cVoIHIg+a+Y40pAAGg56WB5O1GMOF3ifQG9DFVRi4isezMS+ZdXHH2a0 mPAEagVhAPEaGfmua0bOMSlU+VVYLc7rDcRGYRHXE4J4t2CdCW8flcbUYmbWpOmr rnR1GkhFXyc0pulOvAACYFoie4bAh8sD4PXBx/GMA6lIohUoiNYkhYEpSqcP1Wku bfSIppVDKzoeoESATJfnsdYivScNx7kuBwU2GfcpqHZV84tNBcoSExoqUMDQLJ2O uD3q7tw7VTMNOq4iHlNb2/TCeCYL8mCzs0ocg+6v1H2y10t8X6QURc8TwE7recqH p//YgBDJcUtKtIWOegwdjb7Ca8KXhm48lv1IBbeowr3ps+G3T6F9o+3vJaTh6eLm qo9xbSE6esM=
=p5vV
-----END PGP SIGNATURE-----
Re: VIA823x testing
At Tue, 28 Jan 2003 01:43:34 +0100,
Quoted 5 lines · Tais M. Hansen
Quoted 1 line · Takashi Iwai
how about this one?
Still no sound. More logs for you to digest.
please check the mixer configuration.
there must be any sounds, even though pops/clicks and error messages might come.
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Re: VIA823x testing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · Takashi Iwai
Quoted 2 lines
Quoted 1 line
how about this one?
Still no sound. More logs for you to digest.
please check the mixer configuration.
there must be any sounds, even though pops/clicks and error messages might come.
No sound at all. I've tried turning everything up to full volume, unmuting everything, tried all three onboard minijacks. Not a peep.
- From what I can see when playing with ogg123, it's speeding through the ogg-file. It took 4.8s to play 10s ogg-file.
Btw while testing I got 23MB logoutput, want it? ;)
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjaE0IIvLOJqwYc4AQKG8w/8DkyS7f4wKKrQESHS6cOuDhbQ3i7O8m3w 320MpPr2Mk/XAxEPVeHKPHY4bQ5ffO1KferYoyBjO7rnPlJztLuYsRECXEv1bj2s Xm6kW/9R4Zn6eGuJIEaNpouBLQv2atBQa1KyiP3z9VPWqGMesGK2vpSmmwljb6Jz cdgjwHA3b3FeVvD5S/FRrnMJUfT+bgNEgl6Iz33AQiC6oGsCFRdp1LjtW3GuYRLb EqeauASb484mgT/JKVZnzitPMhHWbR3aEUO2wQhBIBflpLZT+ETjYEkGZvGLnFxw MGa+Dax2wW5ximjCBtGmRrbOhqf24Pe2hjXZHCu7MKUHFUP+1Wt/tId43jXx6Dze 3pYC+TcKIzYYCBIa7iEdBcL5IOFYj6VNpEGcSWZ/CKi49Sn1SdMqtID46EhDu6M/ nMr4uUKtFm/DfGGmoDzQkqiBZJBBpIUAtHHFuVZ6OJw3VaB73rNLQQQXh+a2aB8I q0CUY0xBIToN8LNe67m3+IPF/gOUp0tdFQD82puDvwVjMohF1XJfUVzqQ60fdOKb 6vRYoa9lVFPWiEeVsnQOuycAzTxIKd94WEXGqFX/eMHZSqqzEiOpb3Q3QSmkq1ZZ xsDwTxt0T5TFLxdurn781lsJbuyaVNVPkMWyClQwEyJEhbWgoUeL6HRW5h1EwfyD hlmy/E7u5kA=
=0/V7
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See!
http://www.vasoftware.com
Re: VIA823x testing
At Tue, 28 Jan 2003 14:25:31 +0100,
Quoted 10 lines · Tais M. Hansen
Quoted 5 lines · Takashi Iwai
Quoted 2 lines
Quoted 1 line
how about this one?
Still no sound. More logs for you to digest.
please check the mixer configuration.
there must be any sounds, even though pops/clicks and error messages might come.No sound at all. I've tried turning everything up to full volume, unmuting everything, tried all three onboard minijacks. Not a peep.
hmm, then it seems something goes wrong completely. at least, i see the "invalid CURR_PTR" error at each call. it's weird. did you see this in the log of ogg123?
Quoted 2 lines
- From what I can see when playing with ogg123, it's speeding through the ogg-file. It took 4.8s to play 10s ogg-file.
interesting.
the new patch will put the timestamp at each interrupt, so you can measure the period time between interrupts.
this shoud be (period-size-in-frames * 4 / sample-rate) please compare the measured values.
Quoted 1 line
Btw while testing I got 23MB logoutput, want it? ;)
no, it would be filtered as a spam, anyway :)
ciao,
Takashi
Re: VIA823x testing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Takashi Iwai
Quoted 5 lines
Quoted 3 lines
please check the mixer configuration.
there must be any sounds, even though pops/clicks and error messages might come.No sound at all. I've tried turning everything up to full volume, unmuting everything, tried all three onboard minijacks. Not a peep.
hmm, then it seems something goes wrong completely. at least, i see the "invalid
CURR_PTR" error at each call. it's weird. did you see this in the log of ogg123?
Yes. Lots of those. I also noticed something else. Seems like there's some kind of overflow in the logging or something. I found a few lines that has been truncated like these:
Jan 28 17:30:44 proficio kernel: ALSA ../alsa-kernel/pci/via82xx.c:733:
invURR_COUNT reg
Jan 28 17:30:46 proficio kernel: ALSA ../alsa-kernel/pcURR_COUNT reg
Jan 28 17:30:46 proficio kernel: ALSA ../alsa-kernel/p3: invalid CURR_COUNT
reg
I'm guessing that too much output comes too fast, filling some buffer and truncating the rest. It's probably syslogd which truncates, but I thought I'd mention it anyway.
Quoted 6 lines
Quoted 2 lines
- From what I can see when playing with ogg123, it's speeding through the ogg-file. It took 4.8s to play 10s ogg-file.
interesting.
the new patch will put the timestamp at each interrupt, so you can measure the period time between interrupts.
this shoud be (period-size-in-frames * 4 / sample-rate)
I edited the patch. You inited a timeval tval, but referred to tv->sec and tv->usec. I'm guessing it should have been tval.tv_sec and tval.tv_usec.
Quoted 1 line
please compare the measured values.
I'm not sure what you mean with 'period-size-in-frames', so I just wrote up the numbers here.
8 'period elapsed' from ogg123 test (44100 Hz, 2 ch):
1043795039.736837 idx 0 ptr 0x0
+0.008531 idx+1 ptr+0x1000
1043795039.745368 idx 1 ptr 0x1000
+0.001152 idx+1 ptr+0x1000
1043795039.746520 idx 2 ptr 0x2000
+0.012034 idx+1 ptr+0x1000
1043795039.758554 idx 3 ptr 0x3000
+0.012041 idx+1 ptr+0x1000
1043795039.770595 idx 4 ptr 0x4000
+0.004189 idx+1 ptr+0x1000
1043795039.774784 idx 5 ptr 0x5000
+0.000696 idx+1 ptr+0x1000
1043795039.775480 idx 6 ptr 0x6000
+0.012130 idx+1 ptr+0x1000
1043795039.787610 idx 7 ptr 0x7000
5 'period elapsed' from aplay test (44100 Hz, 2 ch, Signed 16 bit Little Endian) period_size 4410:
1043794327.002204 idx 0 ptr 0x0
+0.012029 idx+5 ptr+0x44e8
1043794327.014233 idx 5 ptr 0x44e8
+0.012031 idx+5 ptr+0x44e8
1043794327.026264 idx 10 ptr 0x89d0
+0.012029 idx+5 ptr+0x44e8
1043794327.038293 idx 15 ptr 0xceb8
+0.012032 idx+6 ptr+0x44e8
1043794327.050325 idx 21 ptr 0x113a0
I'm not sure what to make of this. Sorry.
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjcQGIIvLOJqwYc4AQIWzhAAgk2e6Bpelgc539+zXr3tQhOH6DSPlcQ7 c2J1ta1PkKuqY9OH1uvYqxcIbR2wqQ5wdB6y6zaLsD0pdODQr0adtuY4FX+FiiyB iMpI23E0T8JY21gw09dmn0hrvfFH/0xsW+rFBtIur+1uHYg/eKLdKs6rHo6vng5h 0NgAbiN2Xd9Mx9yZBVTj81VwZm/d7GRFu52xgafhgtRACcLM4bDve4ErouvhleY4 YClGXcZyBhprYMXxKr0Rv/3lSM+iP2bDis/B1lVotVABQRrino5NbM4CCBr7Hrrt Zl/Ay1tphQ9sBuqrSumvMJ7IA9FMnt/BjAxuN+7VIQjDSGguYde1oWuinYPXTo// 4BoKRu46/5WOuJzi13aJXAI3pa2V+DVEVPOvmHoodTc8UV2mOWlAsVaUjw7I+ipy e0R2JvDfL4O2F8XDVUsxjwxwkKlm+70CyM4PtNw1kBrkgDONQ6G9HQkIOe/ie4oh dQR2btvxv273gsrRdz0JSfYDvd8r3uWjPffNsSzxlQk9q9yORgd2KytBkUZvj5bS WHPC8R9KAjiAnju9cv+yX9n507VsyEAX594ISLK179bADdzrpZActJRIkvNvYSBh 8CXU4ZkQRPFOrGk5AF0MhGuiWHazOOshX7clxTTl9Tlf1iOEODz3nosJbpEre9aJ pKqcrOVNBSs=
=6lBB
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See!
http://www.vasoftware.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · Takashi Iwai
have fun :)
And here're the attached files...! ;)
- --
Regards,
Tais M. Hansen
OSD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iQIVAwUBPjFs9oIvLOJqwYc4AQJaSg/+P9KCNRSqPMYVpi5DI7BafqTiYXi6zGtY QMER59LquEljx1zLg+5WyURVEZfkJK37AM8HPpfcn3WsotfITKId8zdtbCFHPBPf G3bTvG9tD5WdIDaUmp/i6/tIABVZwhETBdpvrHhKv2L/mUv70QhpY55oDkRdDLVQ pxDhE3ILbTgMTPgYLpRSLXaTuHzO6xersRu0IYrxZY2psauFf/SIVBl7KuIpMFKm c97KGl0SLMtKv20QaFcu0lmiZzmB4RRd7acIGYUI3dgduixJdAlpD+evPkwIJcAT YEJDI7+Mj0Q6EmJHsvj43U8IBXIml9qWoZB6vR+TtugAndL/6fWwz325TxqKOg8Z KTaU3ac+vDIr9B/paHaBOlCPSm8ZIpQlPb5geDvQW8GTDogzfLwvbXCrZHe2i+mv +E/KD3XK0rPT8y68iOzpL2mirsfFCKvc+oTwKQgqdeR1juyahMQsk9tMjzVKitox 5OBjZW3RoCGGvp1Df1pmKk4Y3Igahv4L9gv6IqtlLpwSCikyR8uss+hijaXDPCzn nOYQFWa/Ml6uJiYBI0cGzR5CEANXci0CWYOHc69iYYG2K7YbmZXasmQ+aTRubcJq TzubdkRE+Wo+Lt2Ie8b/0q1hW4b8VB8TMF1jZvIYghjC4udGXnEsuej1yajvb0LD fuhp9XS5BPs=
=Xekl
-----END PGP SIGNATURE-----