notro / rpi-firmware

Deprecated: Raspberry Pi kernel and firmware with support for FBTFT
Other
94 stars 32 forks source link

USB sound stutters #2

Closed danbuntu closed 9 years ago

danbuntu commented 11 years ago

I've been using this firmware as per texy's instructions at: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=48967

I've got got his screen working fine but I have an issue with a usb sound card that I'm using - it stutters and sounds get very distorted at times. If I run the official pi firmware at https://github.com/raspberrypi/firmware then all the sound issues go away - although obviously the screen then stops working.

Is there a way that I can combine the sound fixes in the official firmware with your firmware or any other possible fix to this?

notro commented 11 years ago

Do you have sound problems without the FBTFT driver loaded?

If No, try to use DMA with FBTFT (lowers the CPU load). See: https://github.com/notro/fbtft/wiki#install

sudo modprobe fbtft dma

If Yes, try the vanilla firmware that the latest FBTFT release is based on, to see if the problem exists there

sudo rpi-update fadc4cbd10d8144d301c894dd9975704db6206fa

I'm planning to make a new release when 3.10.y becomes the main kernel: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=55711

danbuntu commented 11 years ago

I tried with dma loaded and the same problem exists - Looking at htop output it's not high cpu that's causing the issue - although a lower cpu load will be useful for the next stage of the project so thanks for pointing that out.

The second command just error-ed. So I followed the link to your forum post and did 'sudo BRANCH=next rpi-update' This fixed the sound issues but then broke the screen - a 'modprobe fbtft' fails.

Is there something that I can do abut this or is it just a case of being patient and waiting for the next release?

notro commented 11 years ago

I had to rewrite my build scripts, so I commited a new release while at it.

3.10 is also made available in the 'next' branch:

sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=next rpi-update
notro commented 10 years ago

Do you still have problems?