MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #linux-rockchip
frytaped has joined #linux-rockchip
frytaped has quit [Remote host closed the connection]
frytaped has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
frytaped has quit [Remote host closed the connection]
godvino has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
gnuiyl has quit [Ping timeout: 276 seconds]
gnuiyl has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
erg_ has joined #linux-rockchip
erg_ has quit [Remote host closed the connection]
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
hexdump0815 has quit [Quit: WeeChat 3.8]
hexdump0815 has joined #linux-rockchip
ldevulder has joined #linux-rockchip
ungeskriptet has quit [Ping timeout: 245 seconds]
ungeskriptet_ has joined #linux-rockchip
ungeskriptet_ is now known as ungeskriptet
eballetbo has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
ldevulder has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #linux-rockchip
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Read error: Connection reset by peer]
mripard has joined #linux-rockchip
peter17 has joined #linux-rockchip
<peter17>
we're considering rockchip SoC for a new projects but we're having mixed feelings regarding the linux support, is there any good overview of supported features for the various SoCs?
<qschulz>
peter17: which SoC and which other SoC vendor/SoC from that other SoC vendor are you considering?
<qschulz>
mmind00: may have some idea about that a page listing supported features maybe?
<qschulz>
peter17: I'm not too familiar with the RV family, but I'm not too sure there's a lot of people contributing to it, or many products based on it?
<qschulz>
at least products being upstreamed I mean
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rah>
is HDMI audio passthrough being worked on?
<rah>
I understand that the same driver is used for HDMI on a lot of Rockchip SoCs
<qschulz>
peter17: I worked on NXP, Rockchip, Allwinner, Amlogic and Mediatek SoCs. NXP are VERY much ahead in terms of support and documentation. Rockchip is "okay", Mediatek and Amlogic were far far behind 5 years ago but Mediatek seems to be pushing a bit for upstream now (Rockchip starting to follow I believe(
<qschulz>
so expects a LOT more headaches compared to NXP
<qschulz>
also, only talking about upstream support there
<qschulz>
wrt vendor forks of the kernel... Rockchip's.... is interesting to say the least, but at least there is some documentation (TRMs), compared to Mediatek/Amlogic
<qschulz>
rah: I don't know what HDMI passthrough is? Can you tell me more about it? There's HDMI audio output slated for 6.15 I believe
<qschulz>
on RK3588
<qschulz>
peter17: though to be honest, the upstream Rockchip community is one of the most active I've seen among the Arm Asian SoC vendors.
<peter17>
@qschulz, thank you for your opinion guess we'll either go with the more common RK35XX chips or stick with NXP
<rah>
qschulz: passing encoded DTS/Dolby Digital bitstreams rather than decoded PCM streams
<rah>
I know there's support for PCM output in the works, I'm wondering if anyone is working towards passthrough support
<qschulz>
peter17: rk356x is pretty popular among cheap Rockchip boards, rk3588s is a cost down version of rk3588. They both now are receiving attention upstream. rk3576 is cheaper than rk3588 (maybe rk3588s) I assume? but newer, so upstream support is still at its inception (but building upon rk3588/rk356x upstream support since a lot is assumed shared)
<qschulz>
s/They both/They all/
<qschulz>
rk3588 is expensive :)
<diederik>
(for good reasons IMO)
<qschulz>
don't know, but Intel having low-cost CPUs now also doesn't really help. Good for competition though :)
<CounterPillow>
peter17: I recommend against the RV ones if you're trying to use upstream Linux. RK3566 and RK3568 should be in a fairly good state with upstream Linux. RK3576 may be in a good state by the time 6.16 rolls around but no guarantees on that front. It also really depends on what you need; e.g. Image Signal Processing for camera input isn't happening for any of the RK35xx for a while longer. Feel free to contact any of the consultancies
<CounterPillow>
that work in this area (hint hint: Collabora) with your specific requirements.
<CounterPillow>
(that is, if hiring a consultancy is within your budget, which it might not be if this is supposed to be low-cost)
<diederik>
true, but the rk3588 has f.e. 'better' ARM cores vs rk3576
<qschulz>
diederik: if RV1109 was an option, I'm not sure it matters :)
<rah>
qschulz: I take it you're not aware of any efforts to support passthrough streams?
<qschulz>
rah: no but I am not too involved with upstream Linux kernel efforts anymore sadly
<qschulz>
Kwiboo: may know, especially if there are downstream patches in the pipes too
<diederik>
qschulz: yeah, very valid point ;)
<CounterPillow>
is there any point to doing passthrough on HDMI? It has enough bandwidth for raw PCM surround.
<diederik>
you may want your AVR to handle it
<rah>
Kwiboo: are you aware of any efforts to support HDMI audio passthrough?
<rah>
e.g. 2021-11-07 12:10:05.417 T:957 INFO : m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
<CounterPillow>
But why would you want your AVR to handle it? Like, what's the benefit? I only know of downsides.
<rah>
for a start, the set of audio bitstreams that can be decoded by open source software is a proper subset of the set of audio bitstreams that can be decoded by AVRs
<diederik>
CounterPillow: can you list (some of) those downsides? (as you know way more about this then I do)
<CounterPillow>
diederik: you can't do any audio mixing/resampling/etc. on the host. So something like mpv's video-sync=display-resample will simply not work because it can't retime the audio.
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<diederik>
ok, true. Thanks.
<diederik>
What I'm hoping for is to use one HDMI port for the audio to my AVR while the other HDMI port only deals with the video stream and that goes directly to my TV
<diederik>
(My TV supports HDR, but my AVR does not, so routing everything through the AVR does not work)
<mmind00>
peter17: there even seems to be graphics support for that soc (via rgb and dsi outputs)
<peter17>
mmind00, thank you, will check the rv1126
<mmind00>
peter17: in general most Rockchip SoCs use a similar set of peripherals, so depending on what might be missing, support is likely also easy to add
<mmind00>
peter17: also you get mainline u-boot support for the rv1109/rv1126 as well it seems
<mmind00>
peter17: caution, don't get numbers mixed up (speaking from own experience) ... rv1109 is a variant of the rv1126 ... but rv1108 is a different soc (though also supported)
<mmind00>
sigmaris: wrong nick? ... I think it was rah asking about hdmi?
<sigmaris>
oh, sorry my bad :) didn't read enough
<sigmaris>
AIUI the awkward part is the dw-hdmi controller wants an input format different to the standard IEC958_SUBFRAME_LE over I2S, the LibreELEC patches change the ALSA userspace so it writes the special format but still claims it is IEC958_SUBFRAME_LE, but that's not really correct
<Kwiboo>
rah: not aware of any efforts, I gave up on hbr audio long time ago, it took around 4-5 years until there was enough interest in my fix "ASoC: hdmi-codec: reorder channel allocation list" for multi-channel mapping to land, thanks to chewitt for re-sending it
<Kwiboo>
since it took that long time until people started noticing the same issue for regular lpcm multi-channel hdmi audio, I am not expecting there too be much intereset in proper passthrough hbr audio
<rah>
Kwiboo: I see
<Kwiboo>
all I can remember related to i2s and hbr was that the hbr data needed to be mapped to sampleI2S[20:0] = {B,P,C,U,V, dataHBR[15:0]} somewhere, and I created https://gist.github.com/Kwiboo/ccfc99c8c926105b33fa63c6b3c38fc0 around 8 years ago to document the algo
<rah>
Kwiboo: although this isn't limited to high bit-rate audio, which I presume is what you mean by "hbr"?
<Kwiboo>
do not remember if it was specific for dw-hdmi, amlogic or rockchip :-)
<Kwiboo>
rah: yes, hbr=high-bitrate, it was so long time ago I played with passthrough audio, and I cannot remember the exact state, from what I recall there at least was issues with hbr audio, and there was also always out-of-sync issues with passthrough so I settled at multi-channel lpcm support
<rah>
:-/
ldevulder has joined #linux-rockchip
vagrantc has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
ldevulder has quit [Ping timeout: 244 seconds]
raster has quit [Quit: Gettin' stinky!]
mripard has quit [Quit: WeeChat 4.5.1]
MyNetAz has joined #linux-rockchip
ldevulder has joined #linux-rockchip
eballetbo has quit [Quit: Connection closed for inactivity]