Skip to content
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

Audio over HDMI #44

Open
LucaVs opened this issue Apr 29, 2017 · 18 comments
Open

Audio over HDMI #44

LucaVs opened this issue Apr 29, 2017 · 18 comments

Comments

@LucaVs
Copy link

LucaVs commented Apr 29, 2017

I'm using the last image for my BBB:
bone-debian-8.7-iot-armhf-2017-03-19-4gb.img.xz

I need to play audio to an HDMI connected TV but is doesn't works.
I'm trying with aplay command but it doesn't find audio device:

root@beaglebone:~# aplay -l
aplay: device_list:268: no soundcards found...

I'm also using kernel 4.4.57-bone17 to enable SGX.

Is there a way to enable Audio over HDMI?

Thanks

@RobertCNelson
Copy link
Owner

@LucaVs this went mainline around v4.9.x/v4.10.x

@LucaVs
Copy link
Author

LucaVs commented May 1, 2017

So you mean I must wait for next release ?

@RobertCNelson
Copy link
Owner

@LucaVs no use whatever kernel you want.

HDMI-AUDIO works in:

v4.4.x-ti

v4.9.x-ti

v4.9.x-bone (i think)
v4.10.x-bone (for sure)
v4.11.x-bone (for sure)

Regards,

@LucaVs
Copy link
Author

LucaVs commented May 1, 2017

@RobertCNelson This way I can't use SGX.
Am I right?

@RobertCNelson
Copy link
Owner

Are you "really" using SGX, or just mesa's software implementation?

Regards,

@LucaVs
Copy link
Author

LucaVs commented May 1, 2017

I'm using SGX driver as described here: http://elinux.org/BeagleBoardDebian#SGX_Drivers .
I needed it to build Qt 5.6 for my BBB with OPENGL support (eglfs platform).
But following the instruction I installed 4.4.57-bone17 on my BBB.

@RobertCNelson
Copy link
Owner

@LucaVs please test the am33x-v4.11 branch of bb-kernel

kernel:
c744e8f

just two sdk patches:
RobertCNelson/ti-sdk-pvr@454c1fe
RobertCNelson/ti-sdk-pvr@73df9f7

Regards,

@LucaVs
Copy link
Author

LucaVs commented May 2, 2017

Last time I update kernel using:

./update_kernel.sh --bone-kernel --lts-4_4

How should I update to am33x-v4.11 ?

@RobertCNelson
Copy link
Owner

From teh bb-kernel repl, am33x-v4.11 branch:

./build_deb.sh

Copy *.deb to target:
sudo dpkg -i *.deb

Regards

@LucaVs
Copy link
Author

LucaVs commented May 2, 2017

Ok, do I need to enable/disable some module in kernel configuration before building or I can get the default?

@LucaVs
Copy link
Author

LucaVs commented May 2, 2017

I built and installed 4.11. BBB boot (no blue led when running) but now I can't load omaplfb module.

@RobertCNelson
Copy link
Owner

You need to build them:

bb-kernel$ ./sgx_build_modules.sh

@LucaVs
Copy link
Author

LucaVs commented May 3, 2017

Just installed 4.11 and rebooted.
It seems to works. "aplay -l" can find an audio device.
SGX works but I must start sgx-startup.sh by hand after boot.
It can't load at boot time even if I'm using the solution we talked about here: #40

Another issue I found is that when rebooting by terminal sometimes it doesn't start and I need to unplug power.

@RobertCNelson
Copy link
Owner

@LucaVs thanks for testing!

Just pushed out an official build, so the kernel and sgx modules will be in the apt repo this afternoon.

I've noticed the reboot lockup too, still testing..

Regards,

@LucaVs
Copy link
Author

LucaVs commented May 3, 2017

Will it be possible to upgrade kernel and install SGX modules using apt-get without following http://elinux.org/BeagleBoardDebian#SGX_Drivers ?

@RobertCNelson
Copy link
Owner

Once you create and install the userspace lib's... both the kernel and sgx modules are in apt to precise do that. ;)

@RobertCNelson
Copy link
Owner

and i added it back to the update_kernel.sh script:

RobertCNelson/boot-scripts@8557455

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh --bone-kernel --testing

(well tomorrow anyways, as --testing=[4.10.13-bone1], need to wait till the builders finish)

http://gfnd.rcn-ee.org:81/farm/deb/

Regards,

@LucaVs
Copy link
Author

LucaVs commented May 3, 2017

Thanks,
I'll probably try next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants