rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
dev1990 has quit [Quit: Konversation terminated!]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
return0e has quit [Ping timeout: 258 seconds]
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
shfil has quit [Quit: Connection closed for inactivity]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
deesix has quit [Ping timeout: 258 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
return0e has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
deesix__ has joined #linux-sunxi
deesix__ has quit [Client Quit]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
deesix has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
NeuroScr has quit [Quit: NeuroScr]
Nakaori has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
victhor has quit [Ping timeout: 252 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
megi has quit [Ping timeout: 272 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 272 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
selfbg has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
f0xx has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
zoums has quit [Ping timeout: 258 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Putti has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
iamfrankenstein has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Putti has quit [Ping timeout: 258 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
NeuroScr has quit [Ping timeout: 268 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 245 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
reinforce has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
dddddd has joined #linux-sunxi
s_frit has quit [Read error: Connection reset by peer]
s_frit has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
plaes_ has quit [Quit: Reconnecting]
plaes has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
<plaes> mripard: my emails to you seem to be caught by gandhi anti-spam features :(
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
Gerwin_J has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbizcocho has quit [Quit: WeeChat 2.4]
paulk-leonov has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
paulk-leonov has quit [Max SendQ exceeded]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
chewitt has joined #linux-sunxi
s_frit has quit []
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
jbizcocho has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
default__ is now known as ldevulder
paulk-leonov has quit [Max SendQ exceeded]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
paulk-leonov has quit [Remote host closed the connection]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
tnovotny has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbrown has quit [Remote host closed the connection]
suprothunderbolt has quit [Ping timeout: 244 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
victhor has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
megi has joined #linux-sunxi
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
gaston_ has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
popolon has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 248 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
victhor has quit [Ping timeout: 252 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<fALSO> yo good morning
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
valkyr1e_ has quit [Changing host]
valkyr1e_ has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
afaerber has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
juri_ has quit [Ping timeout: 268 seconds]
juri_ has joined #linux-sunxi
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
Nakaori has quit [Ping timeout: 252 seconds]
Nakaori has joined #linux-sunxi
<plaes> does anyone have ideas how to expose the hdmi ddc as separate i2c bus in u-boot?
<plaes> or in kernel..
<wens> it is registered as an extra i2c bus in the kernel
Nakaori has quit [Ping timeout: 246 seconds]
mhlavink has joined #linux-sunxi
Nakaori has joined #linux-sunxi
<plaes> oh.. indeed.. thanks :D
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbrown has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
afaerber has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
smooker has joined #linux-sunxi
freemangordon has quit [Ping timeout: 250 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
smooker has quit [Ping timeout: 272 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
smooker has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
paulk-leonov has quit [Max SendQ exceeded]
paulk-leonov has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
smooker has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbrown has quit [Ping timeout: 252 seconds]
<ndufresne> jernej, mripard: was on Tritium board (H3)
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<ndufresne> mripard, the default of using plane ID seems arbitrary, I wonder who came up with that and didn't document it, specially that we have plane types like primary/overlay, which clearly indicates that overlay should be on top by default (if possible on the HW)
<rellla> Nakaori: you may fix your connection ...
<paulk-leonov> ndufresne: mhh not sure "overlay on top" makes more sense than the opposite
<paulk-leonov> and vice-versa
<paulk-leonov> rellla: some clients can rate-limit these sorts of messages btw
Nakaori has quit [Remote host closed the connection]
<rellla> ah :)
Nakaori has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
<ndufresne> paulk-leonov, *over*lay, not sure what else to say
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<paulk-leonov> ndufresne: well that's definitely not a workable assumption with display hardware
<paulk-leonov> as far as I know
<ndufresne> there was an effort to add a new type of plane, underlay, I have no idea where is this, what was the conclusion
<paulk-leonov> thing is, primary has a z-index just like any plane
<paulk-leonov> IMO only cursor should rightfully always be on top
<paulk-leonov> ndufresne: but e.g. Kodi needs the overlay under, not above
<paulk-leonov> because overlay has the video and primary has UI and OSD
<ndufresne> well, it's just a plane that is not primary then, anyway
<ndufresne> the thing is that the default is ambiguous, since all the zpos are set to 0
jbrown has joined #linux-sunxi
<ndufresne> if you set a clear default value to zpos, then you give a clear message to userspace instead of doing whatever one random app in the world like ignoring the usability for other
<paulk-leonov> ndufresne: I see, that seems to be a legit bug
<paulk-leonov> ndufresne: some new helpers were introduced for zpos recently which sun4i doesn't use yet AFAIK
<paulk-leonov> could help sorting out this kind of nonsense
<ndufresne> I'm actually wondering who uses these, I'd like to see if these helpers avoids this abiguity, seems like the driver needs to handle this anyway
<ndufresne> specially on fixed layout HW
<ndufresne> paulk-leonov, my argument is mostly that in absence of a doc/specification of the DRM properties, we should extra careful with avoiding this
<ndufresne> if there has a been a doc, saying that if all zpos are zero, then plane ID defines the order, and tells if bigger means higher or lower, that would all be different story
<ndufresne> s/are zero/are the same
Nakaori has quit [Remote host closed the connection]
<jernej> ndufresne: planes in DE2/DE3 are by default in same order as in HW
freemangordon has joined #linux-sunxi
<jernej> and HW has no notion of primary plane
Nakaori has joined #linux-sunxi
<jernej> but second plane was selected, because first one is special
<ndufresne> jernej, not sure I fully understand, it's a bit HW specific comment ;-P
<ndufresne> but I understand that you should set them all as primary
<ndufresne> of course, userspace would need support
<jernej> afaik the can be only one primary?
<ndufresne> I don't think so
<ndufresne> note that a bit of this needs to be discovered by the app, using trial and error
<jernej> DE2 means Display Engine 2 - second generation of display hardware on AW SoC (this is used on H3)
<ndufresne> ok
<jernej> and only first plane is capable of displaying YUV formats
<jernej> so second is was selected as primary
<ndufresne> anyway, current typing is fair, but then if you don't have a cursor, you should be able to use it, I suppose that works, but writing generic userspace for that seems impossible
<ndufresne> the plane type seems like not being a HW match anymore ...
<jernej> ask kwiboo, writing plane selection algorithm was royal pain for Kodi and it's fragile
<ndufresne> since I've believe Ive seems that on other HW before
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<ndufresne> jernej, I must admit I've been very lazy on that, I copied the one from kmscube, and backport things when they do updates, but khodi has more requirement
<jernej> if you check plane capabilities of different SoCs, you see they don't have much in common
<jernej> for example, i.MX6 is very limited
<jernej> zpos has been avoided in Kodi
JohnDoe_71Rus has joined #linux-sunxi
<paulk-leonov> I'm also under the impression that there can only be one primary plane
reinforce has quit [Quit: Leaving.]
<jernej> because not all DRM drivers/HW support zpos and some older driver even have different name for this property
<paulk-leonov> "All drivers should provide one primary plane per CRTC (although this requirement may change in the future)"
<paulk-leonov> I understand that as exactly one plane
<jernej> me too
<paulk-leonov> and it's the de-facto standard among DRM drivers too
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<jernej> primary plane is treated specially
<paulk-leonov> I kind of like the UI/Video distinction better than overlay/primary
<paulk-leonov> but anyway
<ndufresne> it's an anti-documentation ;-P
Nakaori has quit [Remote host closed the connection]
<libv> ndufresne: kms planes are, like much of kms, halfarsed afterthoughts
Nakaori has joined #linux-sunxi
<libv> jbarnes wrote it up to make wayland and the open source intel driver competitive against android hw composer on power
<ndufresne> I think it's on Intel that I notice multiple primary, but eh
<libv> no z ordering or anything
<ndufresne> worst is for RPi
<libv> we also do not have per plane flip events
<ndufresne> they don't have any limits, but they must have one with kms interface, so they create 49 layer, which in theory should all have primary capabilities
<libv> which is monumental in the post atomic world
<libv> as in monumentally bad
<libv> in 2012 i was tasked to work for my former nokia manager, and he had just built up his team and did not know what to do with me, so i got tasked with making hwcomposer work with planes
<ndufresne> libv, but it's atomic, so you should be able to abstract this
<ndufresne> nice, and did you manage to get "something"
<libv> the first thing i did was write code to test limits on intels pineview (which had multiple useful planes, as it was old hw), and on sandy bridge, my then main machine
<libv> and it was hilarious how no limits were checked at all
Nakaori has quit [Remote host closed the connection]
<libv> and on pineview i of course hit z-ordering issues immediately
<jernej> ndufresne: btw, making underlay/overlay distinction doesn't make sense with planes here, because you can put them in any order you want, e.g. there is no plane which is always lower than primary
<libv> and yet...
Nakaori has joined #linux-sunxi
<paulk-leonov> ndufresne: yes don't hold on too much to the overlay/primary terminology
<paulk-leonov> in many cases both are interchangeable
<libv> it's a remnant of x86 display engines
<jernej> but still less confusing that capture/output buffers ;)
<paulk-leonov> jernej: agreed :p
<paulk-leonov> AFAIK only cursor can be significantly different
<paulk-leonov> because of index colors and stuff
<paulk-leonov> indexed*
<libv> paulk-leonov, plaes: btw, uwe's lime2 adapter has out of the box working lcd already
<libv> i should get the adapters tomorrow, so i can finish the csi1 work and start implementing vga on tcon1
<ndufresne> I don't hold on this, I think the typing is legacy
<ndufresne> libv, jernej: what I'm asking for is to setup a default zpos that is not ambiguouis
<ndufresne> in absence of documentation
<paulk-leonov> libv: niiice
cristian_c has joined #linux-sunxi
<libv> ndufresne: i read your statement, rolled my eyes, and moved on, so i am not much help there
<libv> it makes sense to have a good default indeed
<paulk-leonov> ndufresne: note that on <= A33 there's also a hardware bug where lowest plane can't have alpha
<ndufresne> yeah, that's all I care about
<paulk-leonov> or <= A20 or something
<paulk-leonov> which is quite painful for e.g. Kodi
<jernej> ndufresne: well, it's not, it's in HW order, which depends on HW capability, but in almost all cases, primary is second one
<jernej> paulk-leonov: did you see how video playback is in Kodi on A20?
<paulk-leonov> jernej: didn't keep track, no
<paulk-leonov> I had to hack around last year
<ndufresne> jernej, are we talking of the same thing ? the point of adding RO zpos on all driver is so that driver can express the HW specific order
<cristian_c> I've got a question strictly not related from a developer, but from an user (me) about h3 on orange pi lite
<jernej> paulk-leonov: https://ibb.co/album/nLiPbF
<jernej> but issue is only when primary plane is used for OSD
<jernej> ndufresne: zpos is actually RW in sun4i-drm
<jernej> you can set it in any order you want
<cristian_c> I mean: I've tested micro-usb otg port, but it seems not working (host or device)
<jernej> but yes, default should be non-zero
<paulk-leonov> jernej: so A20's sort of broken still?
<ndufresne> jernej, yes, but there is an upstream effort so that when it's not possible, it is at least exposed in RO
<ndufresne> many HW have fixed layout
<ndufresne> anyway, to be continued
<cristian_c> I don't know if this issue is related to kernel or os (armbian)
<jernej> ndufresne: ok, but that doesn't affect sun4i-drm because supports changing zpos, so it's only a matter of default value
<ndufresne> jernej, yep
<paulk-leonov> cristian_c: what kernel version are you using? I sent a fix for that recently.
<ndufresne> jernej, or doc we we thing the plane ID order is a good idea, I have no opinion on that, I didn't know it was a thing in some dev minds
<jernej> paulk-leonov: if you have any idea how to fix it, I would be grateful. I don't have no HW or knowledge about DE1
<jernej> s/no//
<paulk-leonov> jernej: I'll probably hit the same issue soon on my side anyway, so there's a good chance I'll take a look
jbrown has quit [Remote host closed the connection]
<cristian_c> paulk-leonov: 4.19.38, but I must check carefully
<paulk-leonov> cristian_c: that's way outdated
<paulk-leonov> please update
<paulk-leonov> if you want some support
<cristian_c> ok, I check immdiately
<paulk-leonov> anyway the fix I sent it was in 5.2 (or maybe 5.1 but not earlier)
<jernej> paulk-leonov: but as I said, issue is visible only when two planes are used
xes has quit [Ping timeout: 258 seconds]
<ElBarto> libv: what is this board ? (on you pic)
<libv> intermediate test board for fosdem video-input board
<ElBarto> ok
<libv> so we can test the lcd connection, csi1 rgb and vga before going all-in
<ElBarto> nice
<libv> on top of a lime2
<libv> we will be attaching the adafruit tfp401 in this version
<libv> but this is just to test whether we can get csi1 stable enough at 75Mhz (720p)
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<libv> if we can, we will go for a full adv7611 board (which also gives us i2s input), with of course vga-out and lcd-out
<libv> this will vastly improve the portability and affordability of the fosdem video boxes
<libv> while giving us heaps more control
<plaes> you have jtag there?
<libv> plaes: yeah, uwe wanted that for himself, so who are we to say no to that?
<plaes> :D
<cristian_c> paulk-leonov: done, unfortunately armbian shows 4.19.38-sunxi as last update available
<libv> he has 7 boards of this, 2 of which already have been populated, and we will really just be using those to verify things and to bring up the driver support
<cristian_c> paulk-leonov: probably, I cpuld find a new kernel somewhere else (manual install)
<cristian_c> *could
jbrown has joined #linux-sunxi
<cristian_c> ok, config utility shows the -dev branch
Nakaori has quit [Remote host closed the connection]
pmpp has joined #linux-sunxi
Nakaori has joined #linux-sunxi
tomeu has joined #linux-sunxi
<tomeu> hi! what's the incantation to get into fel mode on pine64 h64?
<tomeu> got into fel mode right after boot, but apparently boot1 hasn't been initialized
<tomeu> as I get:
<fALSO> lol incantation =)
<tomeu> [tomeu@cizrna u-boot]$ sudo sunxi-fel read 0x43000000 0x20000 script.bin
<tomeu> usb_bulk_send() ERROR -7: Operation timed out
<rellla> jernej: is there a A20 libreelec image available somewhere, which i can put on an sd card or should i better build one by myself?
pmpp_ has quit [Ping timeout: 252 seconds]
<jernej> there is, but it has bug which makes it unusable
<jernej> however, if you tweak kernel config to enable A20 drivers and add board entry you can build it yourself
<jernej> I can quickly make a A20 branch if you want
<jernej> just tell me which board you have
<rellla> i can try whatever board you want me to :) preferably not the Banana Pi and the Cubietruck because they are in productive use, but changing SD card should not be a problem ...
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
<JohnDoe_71Rus> jernej: you do not mind?
kaspter has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<jernej> no, but images linked there don't work
<KotCzarny> jerner, would you be interested in making installer image in the vein of h3droid that will present itself with configurator? (since all one needs usually is just swapping uboot and dtb)
<mripard> ndufresne: so, implementation sort them by plane ID, documentation says that the order is undefined
<JohnDoe_71Rus> works for me. partially
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<jernej> build command: PROJECT=Allwinner ARCH=arm DEVICE=A20 UBOOT_SYSTEM=cubietruck make image
<jernej> and instead of "cubietruck" you can also specify "bananapi" or "cubieboard2"
reinforce has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
<rellla> jernej: ok thanks. trying to build it.
Nakaori has joined #linux-sunxi
<rellla> hooking up A10 support simply needs the last 2 commits, which have to be adapted?
<rellla> in theory..
<jernej> KotCzarny: we (LE devs) brainstormed a bit about installer, but the work was put aside to concentrate on missing multimedia features
<jernej> as you can imagine too much ideas too little time/people
<KotCzarny> :)
<KotCzarny> but then you can have 1 image instead of 20
<jernej> rellla: yes, in theory
<jernej> KotCzarny: true, but there is already a possibility to make universal update file, which updates everything except U-Boot
<jernej> which is not ideal, but works for most cases
<JohnDoe_71Rus> jernej: https://i.imgur.com/PMDLV7w.jpg audio settings
<jernej> does audio work for you?
<JohnDoe_71Rus> no.
<JohnDoe_71Rus> and i send to you audio log you ask
<KotCzarny> maybe he has some mixer toggle turned off
<jernej> rellla: do you know which mixer controls have to be unmuted on A20 analog audio?
<KotCzarny> i know
<KotCzarny> :)
<jernej> ok, please enlighten me :)
<KotCzarny> in my case: Power Amplifier DAC and Power Amplifier Mute
<jernej> I have zero experience with A20
<KotCzarny> and obviously "Power Amplifier" has to be set above 0
<KotCzarny> thats from 4.16, but i suspect they didnt change
DonkeyHotei has joined #linux-sunxi
<jernej> can you write actual amixer commands?
<KotCzarny> i always use alsamixer..
<KotCzarny> but those were the actual names of controls in alsamixer
<jernej> well, I can't test anything and LE uses amixer to set them, so unless someone gives me actual commands, I can't do anything
ndufresne has quit [Ping timeout: 244 seconds]
<KotCzarny> amixer output of my banana
ndufresne has joined #linux-sunxi
<JohnDoe_71Rus> need hdmi audio. HDMI and jack are different inputs for the TV. Difficult to combine picture and sound
Nakaori has quit [Remote host closed the connection]
<KotCzarny> is hdmi audio working in LE-H3 ?
Nakaori has joined #linux-sunxi
<jernej> of course, even multi channel
<KotCzarny> nice
<jernej> but no passthrough, which everyone seems to want
<jernej> KotCzarny: Power Amplifier Mute has to be "on" ?
<KotCzarny> both 'on'
<KotCzarny> which is kinda not obvious in the case of 'mute'
<jernej> that's why I'm asking
<KotCzarny> also, those mixers are tricky, because other controls can break the audio path even if you have those two on
<jernej> rellla: JohnDoe_71Rus: I updated https://github.com/jernejsk/LibreELEC.tv/commits/a20 with unmuting analog audio
<jernej> hopefully it works
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
yann has quit [Ping timeout: 248 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<cristian_c> paulk-leonov: unfortunately, 5.1 doesn't solve the issue, I'll wait for 5.2 official release
Nakaori has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
Nakaori has joined #linux-sunxi
<JohnDoe_71Rus> jernej: can i fix by edit file on sdcard?
<jernej> afaik no, but you can execute your own command
<jernej> I mean, manually enable it every time you boot
<jernej> or add to script which is executed at boot
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
yann has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<tomeu> clementp[m]: would you have some time to help me get mainline running on a pine64 h64? want to work on getting panfrost running there
Nakaori has quit [Remote host closed the connection]
<jernej> tomeu: what do you want to know?
<tomeu> jernej: I got it in fel mode and I'm able to boot the SPL, but I get the following: http://paste.debian.net/1084286/
Nakaori has joined #linux-sunxi
<tomeu> though my goal is flashing u-boot into internal storage
<tomeu> the h64 is supposed to have 128MB of SPI NOR
<tomeu> but haven't been able to flash to it
<tomeu> [tomeu@cizrna u-boot]$ sudo ../sunxi-tools/sunxi-fel spiflash-info
<tomeu> SPI support not implemented yet for 1728 (H6)!
<jernej> tomeu: 64-bit AW SoCs are tricky to boot through FEL
<jernej> you have to build SPL in 32-bit mode and U-Boot proper in 64-bit and also add ATF in the mix
<tomeu> ok, and what are my options for booting u-boot from internal storage?
<jernej> use SD card image for the beginning
<jernej> if you have eMMC, you can flash same image there with dd
<tomeu> ok, and after I have booted from SD?
<tomeu> no emmc, afaics
Nakaori has quit [Remote host closed the connection]
<jernej> I'm not sure if SPI flash is already supported by U-Boot on H6
Nakaori has joined #linux-sunxi
<jernej> eMMC is addon board, if you have
<jernej> it
<jernej> let me check if SPI boot is supported
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbrown has quit [Ping timeout: 258 seconds]
Nakaori has quit [Remote host closed the connection]
<jernej> I don't think SPI boot is supported on H6
<jernej> tomeu: ^
<jernej> just use SD card
Nakaori has joined #linux-sunxi
<tomeu> ok, thanks for checking
Gerwin_J has quit [Quit: Gerwin_J]
<KotCzarny> hmm, stupid question, is there a howto for recent kernel + g2d + mali for A20 ?
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
jbrown has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
<KotCzarny> oh, wow, HP was doing allwinner tablets too
Nakaori has joined #linux-sunxi
<libv> yeah
<libv> and neatly violation the gpl with it
Nakaori has quit [Remote host closed the connection]
<KotCzarny> most likelye, a31s with pvr
Nakaori has joined #linux-sunxi
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
<Ke> anyone tried out Onda V80 SE
<Ke> does it eg. boot from sd or work with mainline inux
<KotCzarny> what soc it is?
<Ke> A64
<Ke> there are still some peripherals outside the soc also
<KotCzarny> they made pinebook booting
<Ke> though obviously I can't promise it's a64, many sources also claim it has intel gpu
<KotCzarny> you might piggyback on that work maybe?
Nakaori has quit [Remote host closed the connection]
<Ke> sure, there are still things like, does it sd boot
Nakaori has joined #linux-sunxi
<Ke> iirc some people here said, sd boot is a common feature on chinese tablets
<KotCzarny> almost all allwinner devices have sdcard as top booting device
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<Ke> Average Battery Life (in hours)... 24 months
<Ke> Rear Webcam Resolution ...160 lines_per_inch
<vagrantc> 24-month-hours?
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
lurchi__ is now known as lurchi_
<ndufresne> mripard, and when you say implementation, is it framework or sun4i ?
ldevulder is now known as ldevulder_away
Putti has joined #linux-sunxi
Quazil has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
xes has joined #linux-sunxi
Andy-D has joined #linux-sunxi
xes_ has joined #linux-sunxi
xes_ has quit [Client Quit]
afaerber has quit [Quit: Leaving]
xes has quit [Ping timeout: 268 seconds]
<mripard> ndufresne: kind of both, it's a helper that sun4i uses, but it's not mandatory afaik
<mripard> it's used by exynos, imx, msm, omapdrm, rcar-du, sti and tegra
lurchi_ is now known as lurchi__
<ndufresne> ok, so I could in theory use this to support today's kernels
<ndufresne> (of course for sun4i, I just need to increase the zpos, but that's not always writable)
netlynx has quit [Quit: Ex-Chat]
f0xx has quit [Ping timeout: 272 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
wwilly has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
victhor has joined #linux-sunxi
ldevulder_away has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
Putti has quit [Ping timeout: 272 seconds]
BenG83 has quit [Quit: Leaving]
NeuroScr has quit [Quit: NeuroScr]
NeuroScr has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
Mangy_Dog has quit [Ping timeout: 248 seconds]
aballier has quit [Ping timeout: 272 seconds]
zoums has joined #linux-sunxi
aballier has joined #linux-sunxi
aballier has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
aballier has quit [Ping timeout: 258 seconds]
aballier has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]