-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
~10 sec. sound delay #388
Comments
It's hard to imagine a 10 second audio delay coming from alsa driver, but it should be possible to confirm this. Can you try reverting your firmware to an older version. If you look here: you see a list of commits. You can revert to an older commit with: e.g. you could revert to 24th May (which should match the older raspbian image) with: |
2013-05-25-wheezy-raspbian.img is already the first image that shows up that issue... how i installed Raspbian / Stella til now:
thank you, i will try to "downgrade" rpi-firmware to (Feb 07, 2013 ) |
Sure, if you can find any older version that works better, then we can try to identify the commit that caused the problem. The alsa driver hasn't changed since: |
i didn't know that "downgrade" possibility. |
ok, i figured out the last working and the first non-working commit: Mar 18, 2013: Hexxeh/rpi-firmware@aea9d8e - good i tested with different images as base and applied the upgrade/downgrade: on commit "Mar 24, 2013: Hexxeh/rpi-firmware@61f7aa5" there is a comment about "Firmware: new alsa scheme should fix hangs with libretro" - maybe that is the cause of this issue. PS.: using "sudo rpi-update ..." in raspbian on a NOOBS 1.3 sd card with OpenELEC and Raspbian may brick your installation! PPS.: :oops: is it possible, that i just lost my warranty for my new RPi? because my config.txt contained legal "medium" overclocking options before i downgraded, but i think older rpi-firmware will detect these newer legal overclocking parameters as illegal ones and setted the "voided warranty" flag. :/ |
Thanks for digging. Unfortunately that was quite a big change - I'll need to do some debugging. |
PS.: do not run stella from startx - just start it from the standard login console - but not SSH session ;) hopefully you will find an easy solution - thanks in advance... |
Okay, I can run stella and get the delay. Step 1... |
Some notes: I think the problem is that internally we convert the 8 bit data to 16 bit. I've committed a fix and rebuild firmware. Can you rpi-update and test? |
hey, you fixed it! and so quick :D PS.: i say thank you, in the name of many others form other forums... "Please send kudos to the appropriate folks"... done |
No problems - thanks for providing the information required to fix it. |
Hello, as a user, how does one get rid of the problem? I just ran: and the problem is still there. |
What does "vcgencmd version" report? |
Jan 10 2014 16:58:06 I am trying to get espeak to work on my Raspberry Pi |
@yusufk |
Ok, thanks for the reply
|
[ Upstream commit d005fbb ] __nf_conntrack_update() might refresh the conntrack object that is attached to the skbuff. Otherwise, this triggers UAF. [ 633.200434] ================================================================== [ 633.200472] BUG: KASAN: use-after-free in nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200478] Read of size 1 at addr ffff888370804c00 by task nfqnl_test/6769 [ 633.200487] CPU: 1 PID: 6769 Comm: nfqnl_test Not tainted 5.8.0-rc2+ #388 [ 633.200490] Hardware name: LENOVO 23259H1/23259H1, BIOS G2ET32WW (1.12 ) 05/30/2012 [ 633.200491] Call Trace: [ 633.200499] dump_stack+0x7c/0xb0 [ 633.200526] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200532] print_address_description.constprop.6+0x1a/0x200 [ 633.200539] ? _raw_write_lock_irqsave+0xc0/0xc0 [ 633.200568] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200594] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200598] kasan_report.cold.9+0x1f/0x42 [ 633.200604] ? call_rcu+0x2c0/0x390 [ 633.200633] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200659] nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200687] ? nf_conntrack_find_get+0x30/0x30 [nf_conntrack] Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1436 Fixes: ee04805 ("netfilter: conntrack: make conntrack userspace helpers work again") Signed-off-by: Pablo Neira Ayuso <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
[ Upstream commit d005fbb ] __nf_conntrack_update() might refresh the conntrack object that is attached to the skbuff. Otherwise, this triggers UAF. [ 633.200434] ================================================================== [ 633.200472] BUG: KASAN: use-after-free in nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200478] Read of size 1 at addr ffff888370804c00 by task nfqnl_test/6769 [ 633.200487] CPU: 1 PID: 6769 Comm: nfqnl_test Not tainted 5.8.0-rc2+ raspberrypi#388 [ 633.200490] Hardware name: LENOVO 23259H1/23259H1, BIOS G2ET32WW (1.12 ) 05/30/2012 [ 633.200491] Call Trace: [ 633.200499] dump_stack+0x7c/0xb0 [ 633.200526] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200532] print_address_description.constprop.6+0x1a/0x200 [ 633.200539] ? _raw_write_lock_irqsave+0xc0/0xc0 [ 633.200568] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200594] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200598] kasan_report.cold.9+0x1f/0x42 [ 633.200604] ? call_rcu+0x2c0/0x390 [ 633.200633] ? nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200659] nf_conntrack_update+0x34e/0x770 [nf_conntrack] [ 633.200687] ? nf_conntrack_find_get+0x30/0x30 [nf_conntrack] Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1436 Fixes: ee04805 ("netfilter: conntrack: make conntrack userspace helpers work again") Signed-off-by: Pablo Neira Ayuso <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
i hope this is the correct place to report issues, related to Raspbian SD card images.
"2013-02-09-wheezy-raspbian.img" was the last working rapbian image, where stella (3.7.2-1) sound is/was working well.
(Stella is an Atari 2600 emulator).
from "2013-05-25-wheezy-raspbian.img" up to the most recent "2013-09-25-wheezy-raspbian.img", when using stella, the sound is delayed round about ~10 seconds.
you can find the full thread of this issue here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=52387&hilit=Stella
The text was updated successfully, but these errors were encountered: