Turl 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
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
hardfalcon has joined #linux-sunxi
tkaiser has quit [Ping timeout: 260 seconds]
return0e has quit [Ping timeout: 260 seconds]
hardfalcon has quit [Ping timeout: 248 seconds]
sunshavi has quit [Remote host closed the connection]
hardfalcon has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 240 seconds]
TEKrantz has quit [Read error: Connection reset by peer]
anarsoul|2 has quit [Ping timeout: 260 seconds]
TEKrantz has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 256 seconds]
florianH has quit [Quit: Connection closed for inactivity]
victhor has quit [Remote host closed the connection]
tlwoerner has quit [Quit: Leaving]
nuuuciano_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
fraveydank has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 264 seconds]
nuuuciano_ has quit [Ping timeout: 256 seconds]
nuuuciano_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
f0xx has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 263 seconds]
jbrown has quit [Ping timeout: 240 seconds]
nuuuciano_ has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Changing host]
nuuuciano_ has quit [Ping timeout: 264 seconds]
_whitelogger has joined #linux-sunxi
tkaiser has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
IgorPec has joined #linux-sunxi
qeed has quit [Quit: Leaving]
alexxy[home] has quit [Quit: No Ping reply in 180 seconds.]
VargaD has quit [Ping timeout: 250 seconds]
alexxy has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 260 seconds]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
VargaD has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 240 seconds]
tkaiser has joined #linux-sunxi
VargaD has quit [Ping timeout: 265 seconds]
VargaD has joined #linux-sunxi
sunshavi has joined #linux-sunxi
megi has joined #linux-sunxi
joedj has left #linux-sunxi [#linux-sunxi]
Mr__Anderson has joined #linux-sunxi
Putti has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 256 seconds]
xerpi has joined #linux-sunxi
wingrime has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 263 seconds]
lkcl has joined #linux-sunxi
plaes_ is now known as plaes
plaes has quit [Quit: Reconnecting]
plaes has joined #linux-sunxi
plaes has quit [Changing host]
plaes has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 260 seconds]
clemens3 has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
elros_ has joined #linux-sunxi
camh has quit [Quit: WeeChat 1.6]
victhor has joined #linux-sunxi
leviathan has joined #linux-sunxi
leviathan has quit [Read error: Connection reset by peer]
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
camh has joined #linux-sunxi
raspo666 has joined #linux-sunxi
<jernej> paulk-gagarine: anarsoul|2: Kodi knows how to use DRM planes for video playback, scaling, etc.
<jernej> and there video plane is behind GUI plane, so any interface, subtitles, etc. can still be rendered with GL ES on top
<jernej> pretty efficient setup, I guess
<jernej> paulk-gagarine: VPU on H3 (and newer SoCs, I guess) have support for "normal" (untiled) format output
<jernej> I managed to make it work on top of florent's initial driver
dddddd has joined #linux-sunxi
<Putti> jernej, you don't happen to be working on async cursor plane updating for sun4i?
<paulk-gagarine> jernej, ohh that's great news!
<paulk-gagarine> yes about Kodi, IIRC there was a talk about this at FOSDEM this year
<paulk-gagarine> but the issue with Kodi is probably the heavy requirement on the GPU]
xerpi has quit [Quit: Leaving]
ernestask has joined #linux-sunxi
<jemk> paulk-gagarine: A33 also supports untiled output if I remember correctly. I don't know when this feature got added, I someday gave up trying to track features, too many SoCs I didn't have access to.
pgreco has quit [Quit: ZNC 1.6.6 - http://znc.in]
pgreco has joined #linux-sunxi
<wens> will anyone be at OSS JP or DebConf?
<paulk-gagarine> jemk, well, as long as we're using planes, tiled or untiled doesn't really make much of a difference
<paulk-gagarine> well, provided that tiling is supported in sun4i-drm
lkcl has quit [Ping timeout: 240 seconds]
<wens> untiled would be better for transcoding I guess
<paulk-gagarine> ah right good point
raspo666 has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
reinforce has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 256 seconds]
ricardocrudo has joined #linux-sunxi
embed-3d has quit [Remote host closed the connection]
Nov4eK has joined #linux-sunxi
embed-3d has joined #linux-sunxi
afaerber has joined #linux-sunxi
phipli has joined #linux-sunxi
lkcl has joined #linux-sunxi
<elros_> it's alive! for the record https://github.com/BPI-SINOVOIP/BPI-M2U-bsp/blob/master/linux-sunxi/drivers/video/sunxi/disp2/disp/lcd/inet_dsi_panel.c works for LT080B21BA (mytab 8, gogen ta8600)
<elros_> LT080B21BA100*
<jernej> Putti: by sun4i you mean which SoC exactly? since sun4i-drm driver covers all AW SoCs..
<jernej> Putti: anyway, no, since I have only DE2 SoCs
<jernej> which don't have separate cursor plane support
mossroy has joined #linux-sunxi
<jernej> and due to perculiar DE2 design, it's a bit hard to make nice HW cursor support
<jernej> without breaking something else
dddddd has quit [Remote host closed the connection]
<BenG83_> which SoC started using DE2?
<BenG83_> H3 onwards?
<jernej> I think A83T was released before H3
<jernej> which has DE2
<BenG83_> ok
<jernej> paulk-gagarine: LibreELEC team wants to lower GL ES usage to the point it will be used only for GUI
<jernej> which is doable with most ARM SoCs
<jernej> if they support multiple planes and HW scaling
<jernej> which is most SoCs nowadays
<jernej> ah, and atomic DRM support
<jernej> *driver
<paulk-gagarine> awesome
<paulk-gagarine> if it could only start with llvmpipe, that'd be a good step forward
<jernej> yeah, those mali blobs...
<jernej> biggest PITA after no v4l2 VPU drivers
<jernej> but fortunately, that's all changing
<Putti> jernej, I'm working with h3, so I guess I need to start first of all with a non-async HW cursor plane
<Putti> but I'm really beginner with graphics so it's gonna be a tough journey
Akash_ has joined #linux-sunxi
<Akash_> Hi All, has anyone any idea about allwinner,boot_disp driver? is it close source?
<Putti> jernej, can output from both mixers be displayed at the same time?
<jernej> yes, they are completely independent
<Putti> but on the same display?
<jernej> no
<Putti> so now my plan of using both of them won't work :(
<jernej> mixer0 on hdmi, mixer1 on tv out
<Putti> I guess there's nothing we can do to get a separate plane for the cursor
<jernej> I guess you could risk 1 plane on mixer0 for cursor
<jernej> since there are usually 3 UI planes
<jernej> but I'm not sure I would put that in mainline
wasutton3 has joined #linux-sunxi
Akash_ has quit [Ping timeout: 260 seconds]
mavkhimenia has quit [Remote host closed the connection]
qeed has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
ernestask has quit [Ping timeout: 264 seconds]
kelvan has quit [Remote host closed the connection]
merlin1991 has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
merlin1991 has joined #linux-sunxi
<Putti> jernej, https://paste.debian.net/plain/1015214 – swapping one overlay plane to cursor plane fixed the flashing cursor problem for me
<Putti> jernej, there is also the fourth plane, video something, could that be used for cursor in case the other two cannot be?
Nov4eK has quit [Quit: This computer has gone to sleep]
<jernej> Putti: yes, it can be
<jernej> but then, it is very convenient for video playback
<Putti> mhm, but isn't the primary plane already a ui plane, so primary + two overlay planes leaves one extra overlay plane for the cursor?
<Putti> I mean there is already three UI planes if we have primary + two overlay planes. Then the third overlay plane can be the cursor plane
wasutton3 has quit [Read error: Connection reset by peer]
wasutton3 has joined #linux-sunxi
<jernej> btw, plane 0 is so called video plane
<jernej> you might want to leave primary plane as-is
lkcl has quit [Ping timeout: 260 seconds]
<jernej> and put cursor plane to next one
kaspter has quit [Read error: Connection reset by peer]
<jernej> that principle you did works well for mixer0
<jernej> but mixer1 supports only 1 video and 1 UI plane
kaspter has joined #linux-sunxi
<Putti> ah right, I was confused with the number of planes.
<jernej> ah, you did it right
<jernej> I forgot I changed numbering
<jernej> Putti: you might want to put cursor plane to last UI plane, otherwise if something use topmost plane, it would hide cursor
JohnDoe2 has joined #linux-sunxi
<jernej> just make sure that you do that only if there is >UI plane
cnxsoft has quit [Quit: cnxsoft]
<jernej> *>1 UI plane
ernestask has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
Nov4eK has joined #linux-sunxi
<Putti> thanks for the tip
<Putti> I will look now the other drivers if in case somebody else has had the same situation before
BenG83_ has quit [Quit: Leaving]
alex_ has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
xes has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
<Putti> jernej, people have just recently switched overlay plane for cursor: https://lkml.org/lkml/2018/3/16/114
<Putti> "there's no requirement anywhere in atomic that you only use
<Putti> it as a cursor"
<Putti> however, I wonder if any of the userspace applications actually do use it for something else
<jernej> That's interesting
<Putti> and if you look /drivers/gpu/drm/rockchip/rockchip_vop_reg.c for rk3126 the other of the two planes is used as cursor plane instead of overlay.
<jernej> so we might do something like that: if count of UI planes > 1, set last as cursor plane
<jernej> but cursor planes on some SoCs are actually meant only for cursor
<jernej> since they are very limited...
<Putti> yeah, I think I will do some more research, and check the rk3126 manual
<Putti> if i just find it somewhere
<Putti> interestingly rk3126 has 4 overlays, and the last one being for cursor but the two last ones are not even used in linux
<Putti> oh, sorry the first "background layer" and last "Hardware cursor" are not used
<Putti> I guess the driver developer decided those were not flexible enough for linux as they do not support all the color formats and sizes.
wasutton3 has quit [Ping timeout: 260 seconds]
Nov4eK has quit [Ping timeout: 246 seconds]
Nov4eK has joined #linux-sunxi
<Putti> anyways, in that case the rk3126 driver developer could have decided to use the other "usable" plane as overlay plane instead of cursor plane, so I guess there is some reason why.
wasutton3 has joined #linux-sunxi
grw has joined #linux-sunxi
<Putti> oops, I meant exactly the opposite, use as cursor plane instead of overlay plane...
lynxis_ is now known as lynxisw
lynxisw is now known as lynxis
wasutton3 has quit [Ping timeout: 260 seconds]
xerpi has joined #linux-sunxi
wsgongzisun[m] has joined #linux-sunxi
wsgongzisun[m] has quit [Client Quit]
<Putti> jernej, the overlays are meant to reduce the amount of software composition needed, right? If we don't have cursor plane then every time the cursor is moved the composition needs to be done in software. I think cursors are typically moved a lot more than windows, menus, etc. so with this in mind it would make sense to use the last available plane as cursor plane in case there is no dedicated cursor plane. Games and other programs without cursors
<Putti> but instead using overlay planes would probably take a small performance hit, however. Should I make a patch for this and then I could address the email also to other people who might know about this topic a bit more?
<Putti> s/but instead using overlay planes//
LargePrime has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<Putti> more interesting writings on this topic: https://lists.freedesktop.org/archives/dri-devel/2014-March/055222.html
lucas_ has joined #linux-sunxi
lucascastro has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
Nov4eK has quit [Quit: This computer has gone to sleep]
Nov4eK has joined #linux-sunxi
return0e has quit [Ping timeout: 260 seconds]
<ullbeking> i'm browsing through https://linux-sunxi.org/Table_of_allwinner_based_boards and unable to find what i'm looking for, which is the following...
nuuuciano_ has joined #linux-sunxi
<ullbeking> is it possible to get an orange pi, or some other h3/h5-based sbc, that includes a proper sata interface? (not a crappy usb-to-sata adapter that is labelled as "sata")
hanni76 has joined #linux-sunxi
<icenowy[m]> H3/H5 just have no SATA interface.
xes has joined #linux-sunxi
phiplii has joined #linux-sunxi
phipli has quit [Ping timeout: 240 seconds]
xerpi has quit [Quit: Leaving]
nuuuciano_ has quit [Ping timeout: 260 seconds]
nuuuciano_ has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
<smaeul> and H6 has broken PCIe, so your best bet is to get an H6 board with USB3 and do USB3 to SATA
<KotCzarny> or r40
wasutton3 has quit [Ping timeout: 264 seconds]
<icenowy[m]> smaeul: I have thought to use EL2 to workaround H6 PCIe
<icenowy[m]> however I'm not familiar with ARM architecture
fkluknav_ has joined #linux-sunxi
lkcl has joined #linux-sunxi
fkluknav_ has quit [Ping timeout: 240 seconds]
tkaiser has quit [Ping timeout: 264 seconds]
<elros_> anybody know something about SILEAD GSL3676?
LargePrime has quit [Ping timeout: 260 seconds]
dddddd has joined #linux-sunxi
LargePrime has joined #linux-sunxi
megi has quit [Ping timeout: 256 seconds]
<BenG83_> icenowy[m], would a first workaround for devices that just need <=64k mapped memory be easier?
return0e has joined #linux-sunxi
gnufan1 has quit [Ping timeout: 260 seconds]
elros_ has quit [Remote host closed the connection]
gnufan has joined #linux-sunxi
lurchi_ is now known as lurchi__
mossroy has quit [Quit: Leaving]
tkaiser has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 260 seconds]
ricardocrudo has quit [Ping timeout: 246 seconds]
tkaiser has quit [Ping timeout: 260 seconds]
TEKrantz has quit [Read error: Connection reset by peer]
nuuuciano_ has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
TEKrantz has joined #linux-sunxi
aalm has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 240 seconds]
fkluknav_ has joined #linux-sunxi
tkaiser has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
tkaiser has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-sunxi
fkluknav_ has quit [Ping timeout: 268 seconds]
nuuuciano_ has quit [Ping timeout: 264 seconds]
lurchi__ is now known as lurchi_
IgorPec has quit [Ping timeout: 240 seconds]
nuuuciano_ has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
fkluknav_ has joined #linux-sunxi
<KotCzarny> teres-a64 entry in wiki seems quite wishful, 1.2ghz cpu? 672mhz ddr?
<jernej> Putti: I'm not sure I understand you. Using any kind of planes would be highly beneficial for performance, since plane framebuffer wouldn't change a bit
<jernej> X11 would only update plane coordinate
<jernej> which in comparison to software rendering cost nothing
<KotCzarny> jernej: well, it costs one plane ;)
<jernej> I meant processing power
<KotCzarny> but yeah, cursor is important thing to have in hw
bonbons has joined #linux-sunxi
tkaiser has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
JohnDoe2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
tkaiser has quit [Ping timeout: 264 seconds]
Putti has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 256 seconds]
LargePrime has quit [Ping timeout: 256 seconds]
nuuuciano_ has quit [Ping timeout: 240 seconds]
Wizzup has quit [Ping timeout: 246 seconds]
Wizzup has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
mavkhimenia has quit [Ping timeout: 264 seconds]
fkluknav_ has quit [Ping timeout: 240 seconds]
lwh` has quit [Remote host closed the connection]
f0xx has quit [Ping timeout: 246 seconds]
ricardocrudo has joined #linux-sunxi
tkaiser has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
scream has joined #linux-sunxi
tkaiser has quit [Ping timeout: 268 seconds]
reinforce has quit [Quit: Leaving.]
hanni76 has quit [Remote host closed the connection]
ernestask has quit [Ping timeout: 260 seconds]
Putti has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
xerpi has joined #linux-sunxi
Nov4eK has quit [Quit: This computer has gone to sleep]
Nov4eK has joined #linux-sunxi
montjoie has quit [Quit: leaving]
aalm has joined #linux-sunxi
tkaiser has joined #linux-sunxi
qeed has quit [Remote host closed the connection]
tkaiser has quit [Ping timeout: 260 seconds]
qeed has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 256 seconds]
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
phiplii has quit [Quit: Leaving]
TEKrantz has joined #linux-sunxi
fest has joined #linux-sunxi
fest has quit [Client Quit]
fest has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 256 seconds]
Nov4eK has quit [Quit: This computer has gone to sleep]
clemens3 has quit [Ping timeout: 260 seconds]
ricardocrudo has quit [Remote host closed the connection]
xerpi has quit [Quit: Leaving]
TEKrantz has quit [Ping timeout: 264 seconds]
TEKrantz has joined #linux-sunxi