xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

imx6 cubox-i no audio output #795

Closed Implexus closed 8 years ago

Implexus commented 8 years ago

There is no audio output for HDMI, analog, also SPDIF since kernel update linux-image-armmp 4.3.0+-1449787808

w00ty commented 8 years ago

Same issue here. I have reverted to an older build. Also tried clean install of the newer build, also no sound. I have not tried any builds after december. Does anyone knows if the issue is solved in the latest build?

mkreisl commented 8 years ago

I does not have such issues. Used self compiled 4.3.3 and version from APT.

Sometimes I have no sound when starting a video, so I have to stop and start again. And sometimes I have for some seconds no GUI sound after stopping video. But this happens with all used kernels (4.1.x, 4.3.x, 4.4.x)

Your sound settings are correct?

Implexus commented 8 years ago

Yes, all my sound settings are correct since it's working without any issues with the older kernel.

I've just tried the latest kernel linux-image-armmp 4.3.3+-1450885118 and the issue still persists. Going to revert back to the latest functional kernel version 4.1.13+-1449274499.

mkreisl commented 8 years ago

I can confirm the issue. It happens on my Hummingboard Pro after a longer power off (> 10s). All was fine if no power loss occours, all kernels worked before.

@mk01 It seems that some hardware parts are not enabled in dtb file for kernel 4.3.x and 4.4.x. Can you please test it? Thanks Edit: after more testing it seems that there is a critical/bad timing between the board and the TV. If I power off TV and Humminboard (unplug the power cable) for some seconds and turn it on again, sound is always there, even with 4.3.x and 4.4.x kernels.

For the moment I have removed all 4.3.x kernel packets from repositories and a new image will be build tonight

mk01 commented 8 years ago

@Implexus @mkreisl @w00ty

SPDIF got broken some DT updates from vanilla upstream. It is fixed in tree 4.3 and 4.4 as well now. Regarding the other reports - just put for me down some detailed steps - so I can reproduce.

Also few lines from dmesg

dmesg | tail -200 | pastebinit

perhaps few last lines from kodi log too

xll | tail -400 | pastebinit
w00ty commented 8 years ago

@mk01 @mkreisl Thanks! Will try it out later this week. Have to find some free time first! :)

mkreisl commented 8 years ago

@mk01 At the moment sound is ok,. Don't ask me what is different. Sound has survived several power offs, reboots, and even multiple changes of sd-card [1] did not bring back the issue.

[1] It seems that kernel 4.4.0-rc8 corrupts the btrfs fs. It happens twice during after an apt-get update command. apt-get stopped updating and a btrfs scrub / reported errors, stopped and no access to / was possible. This happend twice so I returned to 4.3.3 the problem disappeared.

mk01 commented 8 years ago

@mkreisl

that's why perhaps why there are Betas and RCs. RC 4.4 kernels had broken SD/MMC. I was reporting that a week/two ago somewhere.

but since early Sunday 4.4.0 stable is out. I rewrote lot of imx6 things for 4.4, most of them back-ported to 4.3. branch and re-released this as well (last release of 4.3 from my side). 4.4 is now new LTS.

mkreisl commented 8 years ago

So, can/should I give 4.4 a new try :question:

that's why perhaps why there are Betas and RCs. RC 4.4 kernels had broken SD/MMC. I was reporting

I'm wondering why those extremely important things are always changed from version to version :disappointed:

4.4 is now new LTS.

I know :smile:

mk01 commented 8 years ago

@mkreisl heh funny question if you 'can' :) sure you can, after you buy unlimited CPU software license. as per CPU we sell only up to 3xcpu, per seat we don't at all with 4.4.y.

mkreisl commented 8 years ago

Where can I buy such license :blush: Or can I remove one core from the CPU :smiley:

mk01 commented 8 years ago

@mkreisl give me few more minutes, just registering company on cayman islands.

CurlyMoo commented 8 years ago

I'm wondering why those extremely important things are always changed from version to version :disappointed:

Because nobody takes the time to write a XBian manual just as i created the pilight manual... https://manual.pilight.org/

mk01 commented 8 years ago

@CurlyMoo yes, one day we will document even upstream vanilla kernel development in XBian manual. or maybe share those parts with kernel documentation in pilight manual ;)

we can agree on details when maintainers will be rewriting kernel for 4,5 release.

((beside from that I fully agree with the rest))

Implexus commented 8 years ago

@mk01 thank you, sound output is working again!

mk01 commented 8 years ago

@Implexus

just to have it covered informationally - what was your resolution ? 4.4.y usage, or 4.3 fixed or another?

Implexus commented 8 years ago

@mk01 I have updated to 4.4.x kernel, but I can try also 4.3 if you want.

mk01 commented 8 years ago

@Implexus

no, all fine. thanks.