narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
ldevulder__ has quit [Remote host closed the connection]
ldevulder__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 258 seconds]
ldevulder__ has quit [Remote host closed the connection]
ldevulder__ has joined #linux-amlogic
ldevulder__ has quit [Remote host closed the connection]
ldevulder__ has joined #linux-amlogic
rokquarry has joined #linux-amlogic
buzzmarshall has quit [Ping timeout: 240 seconds]
sputnik_ has joined #linux-amlogic
ldevulder__ has quit [Remote host closed the connection]
ldevulder__ has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 255 seconds]
rokquarry has quit [Quit: Leaving]
gaspode has quit [Quit: Woof bloody woof.]
gaspode has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
vagrantc has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-amlogic
vagrantc has quit [Ping timeout: 240 seconds]
buzzmarshall has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
Linnaea has quit [Ping timeout: 260 seconds]
Linnaea has joined #linux-amlogic
wildea01 has quit [Ping timeout: 255 seconds]
wildea01 has joined #linux-amlogic
vagrantc has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
<chewitt> @jbrunet should I expect multi-channel output to work with your current gx audio work?
<chewitt> i've been testing on a GXM board
vagrantc has quit [Quit: leaving]
ldevulder__ is now known as ldevulder
wildea01 has quit [Quit: leaving]
wildea01 has joined #linux-amlogic
shava_mng has joined #linux-amlogic
<shava_mng> Hi, out of this many branch which branch has hardware video decoding support? h264 and HEVC.
random_yanek has quit [Ping timeout: 268 seconds]
random_yanek has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik__ has joined #linux-amlogic
Barada has quit [Quit: Barada]
Barada has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 240 seconds]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
JerryXia1 is now known as JerryXiao
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #linux-amlogic
Barada has quit [Quit: Barada]
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
shava_mng has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 265 seconds]
Barada has quit [Quit: Barada]
shava_mng has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 260 seconds]
<warpme_> @jbrunet : I'm joining chewitt Q about support for multichannel and some more exotic (but still seen in bluray/tv) formats (i.e. s24le, etc). Using ML recent patches or https://gitlab.com/jbrunet/linux/-/tree/v5.7/aml/integ on 5.6-rc2 gives me noise (on some formats)
<chewitt> shava_mng: no branch has HEVC decoding at the moment, still wip
<chewitt> patches for H264 and VP9 are on the mailing list or patchwork
<jbrunet> The HW supports S16le and S24le. Other formats will have to be converted, possibly through alsalib plugins. The HW supports 2ch and 8ch (and nothing else). If you sometime hear distorted sound (a lot of noise but recognisable audio in the background), It might indicate that the HW is out of sync.
<jbrunet> It rarely happened to me but I was not able to completly fix that. It seems linked to I2S_SOFT_RST and I2S_SYNC registers
<jbrunet> If you find a way to poke this that works 100% of time for all settings, feel free to send a fix
<jbrunet> If you remove the pokes to these registers, 2ch is reliable but you can't switch to 8ch
wildea01 has quit [Ping timeout: 258 seconds]
wildea01 has joined #linux-amlogic
<jbrunet> Maybe this will get more attention now that is public. I'll send a fix to restrict to 2ch if a proper solution is not found the time v5.7 is released.
<chewitt> I did manage to get multi-channel output in Kodi
<chewitt> but, only after fiddling with settings (lots of bad noises) and then reverting to the same settings which didn't give multi-channel output earlier
<chewitt> I can provoke bad noises easily by enabling pass-through audio
<chewitt> the noise sounds like a sample loop on ultra-fast repeat .. for anyone who uses CDJs for DJ'ing
<chewitt> I also have 2.0 output on GXBB
<chewitt> no HDMI device showing .. using the same format of alsa conf that shows HDMI output on GXL/GXM
<jbrunet> the HW does not support passthrough
<jbrunet> only PCM
<chewitt> does the BSP kernel fake pass-through then?
<warpme_> jbrunet: indeed - on blurays noise is like you describing: a lot of noise but recognizable audio in the background. BTW: I created DT for beelinkGT1 to have working sound on s912 belinkGT1 (https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-5.6/files/0361-arm64-dts-meson-gxm-add-beelink-gt1.patch). It is pure hack but it works with hdmi but no spdif audio-card at all. May You pls hint me: 1\how
<warpme_> to add spdif, 2\remove/clean-up unneeded audio DT entries in this DT?
<chewitt> I got S/PDIF to show up on GXBB (haven't tested anything on GXL/GXM) .. sort of
<jbrunet> I'll reformulate: The HW probably supports passthrough (means compressed audio - such as AC3) on both HDMI and SPDIF. The driver does not.
<chewitt> if I look at "amixer controls" and "amixer contents" .. things look to be present
<chewitt> but the alsa conf is maybe not correct, so nothing shows up with aplay
<jbrunet> The upstream driver plays PCM S16LE or S24LE, that's it
<chewitt> this is the dts I made for wetek play2 (has s/pdif) https://github.com/chewitt/linux/commit/5f1dd5892b097d1c14fc569a2867fe00d2ac5677
<warpme_> chewitt: thx. will play with it!
<chewitt> amixer contents http://ix.io/2c7d
<chewitt> amixer controls http://ix.io/2c7e
<chewitt> @jbrunet: this is what I did to add to GXBB https://github.com/chewitt/linux/commit/3207f14c9268d03080696c1bcf3599c9fa308ed6
<chewitt> but I noticed some conversation with @xdarklight_ on one of his branches for meson8 .. so there might be changes coming?
<chewitt> GXL/GXM (and newer) have an additional 'acodec' component
<chewitt> GXBB doesn't have this so the dts I made doesn't have this element
<chewitt> btw, in the moment when multi-channel output worked, the channels were definitely wrong
<chewitt> FL or FR coming out of RL
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 258 seconds]
shava_mng has quit [Remote host closed the connection]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 258 seconds]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 255 seconds]
yann has joined #linux-amlogic
ldevulder_ has quit [Remote host closed the connection]
<jbrunet> definitely ? It is placed correctly when I try it
nsaenz has joined #linux-amlogic
yann has quit [Ping timeout: 255 seconds]
buzzmarshall has joined #linux-amlogic
buzzmarshall has quit [Client Quit]
buzzmarshall has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder_ is now known as ldevulder
yann has joined #linux-amlogic
vagrantc has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
yann has quit [Ping timeout: 260 seconds]
xdarklight_ is now known as xdarklight
yann has joined #linux-amlogic
buzzmarshall has quit [Quit: Leaving]
wildea01 has quit [Ping timeout: 240 seconds]
wildea01 has joined #linux-amlogic
<xdarklight> chewitt: the changes that I'll be pushing are minimal and will not affect (at least I claim that ;)) the GX SoCs. so don't keep your hopes up high that I'll fix "something"
<xdarklight> (also I only tested with two-channel audio since I only have a stereo DAC working right now and HDMI out for the 32-bit SoCs is far from being "work in progress")
<chewitt> I noticed the cirrus dac commits
<chewitt> would those be applicable to gxbb as well ?
<xdarklight> I think so, my problem is that either these patches are not working or I really have to take the long route to fix the GPIO_BSD_EN pin (which has "something" to do with the DAC on these 32-bit boards, but I didn't have to the time to figure out "what" yet)
buzzmarshall has joined #linux-amlogic
<xdarklight> jbrunet: I just sent the patches for the AIU driver to add 32-bit SoC support :)
yann has quit [Ping timeout: 258 seconds]
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 240 seconds]
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-amlogic
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-amlogic