ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.17k stars 1.98k forks source link

No sound #1034

Closed Supded closed 1 year ago

Supded commented 1 year ago

No sound on x96 max plus 2101w, изображение изображение [ 88.679220] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0 [ 88.681838] fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22 [ 527.627956] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0 [ 527.630713] fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22 [ 534.366648] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0 [ 534.369356] fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22

Supded commented 1 year ago

alsactl restore alsa-lib parser.c:2783:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'. alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

7Ji commented 1 year ago

Maybe the same issue as https://github.com/ophub/amlogic-s9xxx-armbian/issues/1000 under the hood?

Supded commented 1 year ago

Maybe the same issue as #1000 under the hood?

I need to extract g12_sound.sh from package and run? Already tried this https://github.com/chewitt/LibreELEC.tv/blob/amlogic/packages/audio/alsa-utils/scripts/soundconfig

7Ji commented 1 year ago

Maybe the same issue as #1000 under the hood?

I need to extract g12_sound.sh from package and run? Already tried this https://github.com/chewitt/LibreELEC.tv/blob/amlogic/packages/audio/alsa-utils/scripts/soundconfig

That one in chwitt's LE repp is different from the one in ManjaroARM repo. The LE one is only gonna work on LE itself.

Supded commented 1 year ago

https://gitlab.manjaro.org/manjaro-arm/packages/community/khadas-utils/-/blob/master/g12_sound.sh It works! Comment # Amlogic G12 HDMI to PCM0 - NEW CONF and uncomment # Amlogic G12 HDMI to PCM0 - OLD CONF изображение изображение

Supded commented 1 year ago

Another question, how to get hw decoding in kodi?

7Ji commented 1 year ago

That's something only chewitt from LibreELEC could answer correctly. LE is the only choice if you want out-of-box hw-decoding Kodi running on mainline kernel.

Also, this is getting out-of-topic. If you want to discuss this, at least close the current issue and re-open one.