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 - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
wendalin_ has quit [Ping timeout: 260 seconds]
wendalin_ has joined #linux-amlogic
GNUtoo has quit [Ping timeout: 255 seconds]
Daanct12 has joined #linux-amlogic
Daaanct12 has joined #linux-amlogic
GNUtoo has joined #linux-amlogic
Daanct12 has quit [Quit: Quitting]
Daaanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Client Quit]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Ping timeout: 260 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-amlogic
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #linux-amlogic
wendalin_ has quit [Ping timeout: 268 seconds]
wendalin has joined #linux-amlogic
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #linux-amlogic
tdebrouw has joined #linux-amlogic
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-amlogic
zkrx has quit [Ping timeout: 240 seconds]
zkrx has joined #linux-amlogic
naoki has quit [Quit: naoki]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-amlogic
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic
Daanct12 has quit [Quit: Quitting]
elastic_dog has joined #linux-amlogic
elastic_dog is now known as Guest279
Guest279 has quit [Killed (erbium.libera.chat (Nickname regained by services))]
chewitt has joined #linux-amlogic
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #linux-amlogic
<Cheaterman> Hehehe, patch is in :-) thanks a lot to both narmstrong and chewitt for their great help!
<Cheaterman> Making history one babystep at a time haha
<chewitt> ^ in case anyone wonders what we're on about :)
<Cheaterman> I wonder how much work would otherwise be needed to boot N2+ with mainline kernel though
<Cheaterman> I never had any luck myself but some people say it should work
<chewitt> it works fine
<mdrjr> Cheaterman, should just boot even with our u-boot
<Cheaterman> Is that so o__o then maybe I should give it another try at some point
<mdrjr> Cheaterman, some changes are required to boot.ini, let me know when you try it so I can assist you <3
<Cheaterman> I sadly don't work much on N2+ these days (that's also why the patch took so long to land) but next time I work on them (probably soon-ish anyway) I'll give it a try
<Cheaterman> mdrjr: Is that perhaps changing kernel load address to give it more space so that it doesn't overwrite parts of the initrd?
<chewitt> ^ u-boot 2022.10 with standard extlinux.conf boot
<Cheaterman> or something more involved? because that part I already had to deal with somehow
<mdrjr> Cheaterman, nope, that is still ok, needs to change the serial console name, and disable overlay support
<Cheaterman> Alrighty :-D then I'll definitely let you know, I'm excited to use mainline on N2+, particularly if that allows me to let package manager manage kernel versions for me again (I'm on Gentoo so I'd still build it)
<mdrjr> Cheaterman, there are still a few blocks, but I'm looking forward to move all ODROID-N2 line to 6.1
<Cheaterman> Can you tell me more about these? It's worth noting I'm using N2+'s in production so I am relatively demanding with regard to stability and hardware support :)
<mdrjr> Cheaterman, currently our downstream kernel has no issue with stability. Mostly is video playback, 2d acceleration and the recently launched GO Ultra that requires mipi dsi working
<Cheaterman> Video playback is something we need for our purposes, but if you mean hardware video decoding I'm not sure we're making use of that right now anyway
<Cheaterman> 2D acceleration I don't think we need - we use GLES so it's gonna be 3D acceleration, even though we make mostly GUI (2D) apps
<mdrjr> Cheaterman, yep, hardware video decoding...
<mdrjr> Cheaterman, you should be good then.. 3d support with panfrost is amazing!
<Cheaterman> Yessss it is :-) :-)
<Cheaterman> There's only one issue, with one pixel row that's misplaced
<Cheaterman> it's like the top row is being written as the left column or something weird like that, or possibly something less weird like the top being at the bottom
<Cheaterman> I'll have to look into this too at some point, but it doesn't really matter in our case
<Cheaterman> As for hardware video decoding I'm afraid we have other bottlenecks in our video decoding pipeline which make the performance very suboptimal regardless of current CPU load
<Cheaterman> So that part should be OK for now, but I'll definitely have to look into that too
<Cheaterman> (probably copying buffers around way too much or something silly like that)
<chewitt> I am very keen to find people who want to poke around in the vdec code :)
<chewitt> H264 8-bit works well enough .. 10-bit and other codecs are "in need of work"
<chewitt> (10-bit wedges the board instantly)
<narmstrong> mdrjr: doing my best to allocate time to finish DSI, I was quite busy (with https://lore.kernel.org/all/?q=SM8550)
<narmstrong> now I should be able to find some free time
<mdrjr> chewitt, I don't think I saw any of our customers using 10-bit..
<narmstrong> Yep the 10bit h265 crash was a mystery, pretty it's something stupid
<narmstrong> *sure
<mdrjr> narmstrong, no worries, I started yesterday playing with 6.1 on Go Ultra, I tryed to look onto that but I was stuck on a loophole
<Cheaterman> chewitt: 8 bit H264 sounds like an acceptable limitation to me anyway, although hevc would be nice if hardware can do it at all
<mdrjr> narmstrong, thanks for your efforts tho! Really appreciate it
<narmstrong> It's a pleasure to see my work used !
<mdrjr> narmstrong, to me, the dsi driver gets deferred due to the phy? not being ready
<narmstrong> mdrjr: it must be something missing like the backlight-pwm driver
<Cheaterman> Seems like a lot of work indeed :-) is that _the_ SM8550? will be interesting for me to get my hands on a SBC featuring it one day
<Cheaterman> (or make one if my company becomes successful enough, you never know)
<narmstrong> Not sure it will be ever on a SBC only on high end phones, but new IoT/Compute/Laptop derivative SoC will use the same IPs
<Cheaterman> That's kind of why I added the second statement :-) I'd be curious to try to integrate a SoC
<Cheaterman> Especially if that means I can fine-tune it to our purposes
<Cheaterman> That's assuming this would be sold to integrators, like the 5422 was
<Cheaterman> (loved my XU4s :-) )
<narmstrong> It's fun to work with it, usually high end mobile SoCs are never supported upstream
<mdrjr> Cheaterman, most SoC's are sold to integrators, AFAIK there's only 1 that can't be purchased!
<Cheaterman> Yes :-( that's been a major pain for me, since I need them for "multimedia" applications, as I said involving 3D (-ish) and video decoding and whatnot
<Cheaterman> (we make interactive POS kiosks and stuff like that for advertisement)
<mdrjr> Cheaterman, anything else is related to pricing
<Cheaterman> mdrjr: excellent news then :-D means I'll get to play when I'm ready
<mdrjr> Cheaterman, I would love to do something with Tegra, however the SoC price alone breaks the entire project
<Cheaterman> Absolutely! They've never been on our radar for that exact reason
<narmstrong> yep
<mdrjr> the same apply to most vendors
<Cheaterman> And the recent chip shortage coupled with the Pi's popularity (and CPU/GPU weakness really...) drove us back to Odroid, now N2+ instead of XU4
<Cheaterman> (chip shortage + popular SBC = $$$$$$$)
<Cheaterman> Kind of bought out HK's entire stock on our last order :-) got 30 units
<Cheaterman> (and zero regrets, love the N2+ and the power of its S922X)
buzzmarshall has joined #linux-amlogic
<mdrjr> Cheaterman, fun fact, we considered exynos 8890 for odroid-xu5 however due to a missing feature (hdmi) it was disregarded
<Cheaterman> Very interesting :-) yeah I wouldn't be able to do much without HDMI
jernej has joined #linux-amlogic
<mdrjr> narmstrong, I checked and wasn't the pwm driver, I've forgot the panel driver! *hides in shame*
<narmstrong> mdrjr: it's always one or the other :-p
<mdrjr> narmstrong, I see it now, I believe now its a clock issue
<narmstrong> mdrjr: it's probable a timing or a init sequence issue, I looked at how the Go 2 display was supported and they didn't follow the upstream init sequence, so I need to try that
vagrantc has joined #linux-amlogic
wendalin has quit [Quit: No Ping reply in 180 seconds.]
wendalin has joined #linux-amlogic
mkorpershoek has quit [Ping timeout: 255 seconds]
tdebrouw has quit [Quit: Leaving.]
mkorpershoek has joined #linux-amlogic
jernej has quit [Ping timeout: 268 seconds]
jernej has joined #linux-amlogic
jernej has quit [Ping timeout: 240 seconds]
naoki has joined #linux-amlogic