Audio Injector not working with hardware-accelerated OpenGL

Moderator: flatmax

Post Reply
ahihi
Posts: 4
Joined: Thu Oct 20, 2016 5:57 am

Audio Injector not working with hardware-accelerated OpenGL

Post by ahihi » Sat Dec 03, 2016 12:17 am

I'm working on a touchscreen-based synth/fx system and would like to use the Pi's VideoCore for graphics. However, when I enable the vc4-kms-v3d overlay, Audio Injector is no longer recognized (aplay -l gives "no soundcards found").

My /boot/config.txt: https://omino.foldplop.com/~ahihi/rpi/boot-config.txt
Dmesg with VideoCore disabled: https://omino.foldplop.com/~ahihi/rpi/d ... sabled.txt
Dmesg with VideoCore enabled: https://omino.foldplop.com/~ahihi/rpi/d ... nabled.txt

I'm using a Pi 2 with the official Pi touch display + Audio Injector, running Arch Linux ARM.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Audio Injector not working with hardware-accelerated Ope

Post by flatmax » Sun Dec 04, 2016 5:55 pm

Hi there,

Yes, a difficult situation ...
I have glanced at the vc4-kms-v3d overlay. It doesn't look very offensive !

It seems that the vc4-lms-v3d overlay is locking memory which is required for the i2s driver !

[ 9.831233] bcm2835-i2s 3f203000.i2s: can't request region for resource [mem 0x3f101098-0x3f10109f]
[ 9.840558] bcm2835-i2s: probe of 3f203000.i2s failed with error -16

Hmm ... I am not sure if the config.txt file is procedural (executed in order one by one) ... lets see if anything changes ...
Can you please change your /boot/config.txt to be like so :

Code: Select all

gpu_mem=256

lcd_rotate=2

dtoverlay=audioinjector-wm8731-audio
dtoverlay=vc4-kms-v3d
Does that change anything ?

Matt
p.s. I have posted this issue here : https://github.com/raspberrypi/linux/issues/1746
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

ahihi
Posts: 4
Joined: Thu Oct 20, 2016 5:57 am

Re: Audio Injector not working with hardware-accelerated Ope

Post by ahihi » Thu Dec 08, 2016 8:37 am

Reversing the overlay order doesn't seem to change anything. Here's the dmesg just in case: https://omino.foldplop.com/~ahihi/rpi/d ... everse.txt

I will subscribe to the Github issue, thanks for the link :)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests