hipboi has quit [Remote host closed the connection]
gru___ has joined #linux-amlogic
<gru___>
i have an arm64 odroid hc4. after installing docker-ce on debian i get oops in my dmesg: https://pastebin.com/jMzj93Nh
<gru___>
someone knows what is wrong?
hipboi has joined #linux-amlogic
nekomancer[m] has joined #linux-amlogic
Las[m] has joined #linux-amlogic
psydroid has joined #linux-amlogic
Guest3 has quit [Quit: Client closed]
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 265 seconds]
camus1 is now known as camus
hipboi has quit [Remote host closed the connection]
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 250 seconds]
plntyk has quit [Read error: Connection reset by peer]
plntyk has joined #linux-amlogic
hipboi has joined #linux-amlogic
camus has quit [Quit: camus]
hipboi has quit [Ping timeout: 244 seconds]
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 272 seconds]
sputnik has quit [Ping timeout: 244 seconds]
hipboi has joined #linux-amlogic
hipboi has quit [Remote host closed the connection]
hipboi has joined #linux-amlogic
hipboi has quit [Remote host closed the connection]
hipboi has joined #linux-amlogic
ballerburg9005 has quit [Ping timeout: 258 seconds]
CerealKiller has quit [Ping timeout: 265 seconds]
gru___ has quit [Remote host closed the connection]
buzzmarshall has joined #linux-amlogic
<ndufresne>
benjamin545: yeah, at 4k the GPU could be limiting factor, but glimagesink is also not very optmized, it's known to do CSC in an FBO, and then FBO to display (two pass), and that consumes twice the bandwidth
<ndufresne>
I really hope to be able to work on that at some point, but it looks like quite some work, I think gstgl needs some sort of reduced scenegraph (with ability to combine shader programs)
<alyssa>
narmstrong: Looks plausible
<alyssa>
"It seems load and/or hardware dependent since we see it on some devices
<alyssa>
quite frequent (every few days), and on others it takes multiple weeks.
<alyssa>
Of course the once we see it frequently are the ones in production :).
<alyssa>
---
<alyssa>
I use my N2 to run the GLES conformance tests, so plenty of CPU/GPU load. And if this is network related, err, it's over Ethernet and I'm pushing giant unstripped debug builds of mesa (50MB+) over scp constantly when it's up..
<narmstrong>
could be DVFS related, maybe reducing max CPU freq or switching to performance governor to reduce dvfs switchings
<alyssa>
Hmm, ok
<alyssa>
FWIW kernel is ffa52910faff64f2070af42c22d782c4572d889e + some panfrost patches
cmeerw has joined #linux-amlogic
Guest3 has joined #linux-amlogic
hipboi has quit [Remote host closed the connection]
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 272 seconds]
<benjamin545>
ndufresne: what i really want is to avoid gl all together, gstreamer with the kmssink seems to be able to push NV12 frames out to the video plane of the device (speaking of 1080, i understand issue with 4k) im just stuck trying to figure out how to get the video plane out to the hdmi display
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 268 seconds]
hipboi has joined #linux-amlogic
Guest3 has quit [Quit: Client closed]
hipboi has quit [Ping timeout: 265 seconds]
<ndufresne>
benjamin545: is the display capable of 4K ?
<ndufresne>
iirc, there is some limitation both VPU and display on these cheap HW
<ndufresne>
benjamin545: oh, and to workaround some issue in kmssink (like the fact its using non-atomic API :-() you can add ! queue max-size-bytes=0 ! kmssink
<ndufresne>
if still halving the rate, then comment out the waiting for vblank, as the amlogic driver is atomic, it already sync in the legacy compat layer
<ndufresne>
there is patches pending to port to atomic API, but not yet ready to be merged (code quality is +-)
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 244 seconds]
vagrantc has joined #linux-amlogic
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 258 seconds]
<benjamin545>
ndufresne: the monitor is have connected is not 4k capable, sorry, I know i brought up 2 different things. I am ignoring 4k right now, it just brought me to the limitations of the hardware when using gl to work around the main issue I am having. what i really want to do is avoid gl all together and have the hardware decoder pass NV12 to the display hardware, the example given in the link I posted had ! videoconvert take the NV1
<benjamin545>
nd turn it into BGA to put it out on the display using a non video plane. I can get gstreamer to output to a video plane directly as NV12 without using ! videoconvert, I just do not know how to get this plane to render out to the display (or I guess to even test if the data is getting to the plane at all)
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 252 seconds]
<ndufresne>
benjamin545: I see, that's because the primary is on top, it's pretty far in my memory how one could workaround, in an ideal world, gst would put a transparent fb onto that primary plane
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #linux-amlogic
nekomancer[m] has left #linux-amlogic [#linux-amlogic]
hipboi has quit [Ping timeout: 258 seconds]
<ndufresne>
Just booted my le-potato, I used to move the primary plane location, but can't get that to work
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 252 seconds]
hipboi has joined #linux-amlogic
hipboi has quit [Ping timeout: 265 seconds]
<benjamin545>
ndufresne: when i run modetest, it outputs some information about the planes, for the primary plane, it lists it as id: 34, crtc: 40, fb: 41. for the video plane, it shows it as id: 37, crtc: 0, fb: 0
<benjamin545>
i feel like i would expect to see the video plane have the same crtc and/or fb values as the primary plane.
<ndufresne>
fb: 0 means unset
<ndufresne>
fb: 41 is likely from fbcon
<ndufresne>
notice it's in XR24 format, so opaque
<benjamin545>
so would we want to see fb set?
<benjamin545>
oh, ok when actually video playing it is set set
<ndufresne>
you might like the output of sudo cat /sys/kernel/debug/dri/0/state
<ndufresne>
you can unbind the fbcon if it's in the way, echo 0 > /sys/class/vtconsole/vtcon1/bind
warpme_ has quit [Quit: Connection closed for inactivity]
<ndufresne>
benjamin545: fyi, I manage to get something visible, modetest -M meson -F plain -s 34@39:3840x2160@AR24 -d &
<ndufresne>
might need to adjust for your settings, 34 is HDMI connector here, and 39 is the CRTC
<ndufresne>
remaining issue, is that there is some colors in the plain pattern
hipboi has joined #linux-amlogic
<benjamin545>
oh wow, that did it, i used sudo modetest -M meson -F plain -s 32@40:1920x1080@AR24 -d &
<ndufresne>
here I got some film over the video, but good enough to PoC the HW capability
<ndufresne>
it should not be too hard to enhance kmssink to handle that
<ndufresne>
long term on HW like this, we would like to render text overlay on that primary plane, so we'llneed to find it anyway sooner or later
<benjamin545>
so its playing, im using a 15mbps jellyfish sample, the colors seem washed out, like it has a transparency applied
<ndufresne>
yeah, since -F plain, is not fully black
<ndufresne>
and alpha blending is premult
<benjamin545>
right that makes sense
<ndufresne>
e.g. having alpha = 0 is not sufficient to be fully transparent on most HW composer
<benjamin545>
so with this setup, is it mixing the primary and video plane?
<ndufresne>
yes
<ndufresne>
I lack a bit of knowledge of this specific HW to tell you the right way forward
<ndufresne>
I found that by hacking my way around what I saw
<ndufresne>
if fbcon had picked AR24 format, we could have done dd if=/dev/zero of=/dev/fb0
<benjamin545>
ok ,so zeroing out the primary plane is not setting it as transparent, but, there should be some value that would be transparent in that colorspace?
<ndufresne>
no, I mean modetest is not zero-ing out the plane
<benjamin545>
oh, ok
<benjamin545>
so i need to find a way to zero out the primary plane
<benjamin545>
by the way, playing a 4k file worked just fine in this setup