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
interrobangd has quit [Quit: Leaving]
tsuggs has quit [Quit: tsuggs]
tsuggs has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BenG83 has joined #linux-sunxi
scream has quit [Remote host closed the connection]
jernej has quit [Ping timeout: 248 seconds]
Da_Coynul has joined #linux-sunxi
interrobangd has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 250 seconds]
victhor has quit [Ping timeout: 264 seconds]
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 265 seconds]
bugzc has quit [Ping timeout: 260 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
aballier has quit [Ping timeout: 252 seconds]
aballier has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
dh1tw has quit [Ping timeout: 268 seconds]
dh1tw has joined #linux-sunxi
ninolein has quit [Ping timeout: 258 seconds]
Da_Coynul has quit [Read error: Connection reset by peer]
ninolein has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
interrobangd has quit [Quit: Leaving]
popolon has quit [Quit: WeeChat 1.4]
muvlon has joined #linux-sunxi
KB3VGW has quit [Quit: Leaving]
muvlon has quit [Quit: Leaving]
pg12 has quit [Ping timeout: 258 seconds]
pg12 has joined #linux-sunxi
Axl_ has joined #linux-sunxi
bluebell_ has joined #linux-sunxi
terra854 has joined #linux-sunxi
bluebell_ has left #linux-sunxi [#linux-sunxi]
TheSeven has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
aballier has quit [Ping timeout: 250 seconds]
aballier has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
Axl_ has quit [Remote host closed the connection]
Axl_ has joined #linux-sunxi
foxx_ has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
IgorPec has joined #linux-sunxi
foxx_ has quit [Ping timeout: 252 seconds]
jernej has joined #linux-sunxi
avph has joined #linux-sunxi
jernej has quit [Ping timeout: 258 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
<freemangordon> KotCzarny: any idea how to identify tablet panel type after I disassemble it? or is there some config file in android?
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
lennyraposo has quit [Quit: Leaving.]
<wens> i think when the mmc support was mainlined, hans did mention that it was similar to dw-mmc
<wens> but the sunxi controller had an auto stop feature, which made it much easier to use compared to dw-mmc
jernej has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Remote host closed the connection]
ErwinH has joined #linux-sunxi
jbrown has quit [Ping timeout: 256 seconds]
<KotCzarny> freemangordon: you could try checking init scripts of the android
<freemangordon> KotCzarny: I found timings
<KotCzarny> often things are hardcoded
<freemangordon> I extracted panel timing from lcd0_para
<KotCzarny> i meant /init.* from the ramdisk
<freemangordon> now, the questions is - shall I add new panel in panel-simple (as there is no panel matching the timings I extracted), or there is a way to do it without modifying the kernel
<freemangordon> MoeIcenowy: ^^^
ErwinH has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
perr has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
foxx_ has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
netlynx has joined #linux-sunxi
<MoeIcenowy> freemangordon: what's your panel?
<MoeIcenowy> on I mean resolution
<freemangordon> MoeIcenowy: it is qc760bg1 according to the writing on the flex cable
<freemangordon> BUT
<freemangordon> all qc760bg1 panelss that google can find are 800x480
<MoeIcenowy> FPC ID is usually not decodable
<MoeIcenowy> yours is 1024x600?
<freemangordon> while my tablet resolution is 1024x600
<freemangordon> yes
<MoeIcenowy> just use the compatible you have used now.
<freemangordon> as I told you, it works with some random from panel-simple
<MoeIcenowy> yes
<MoeIcenowy> just use this.
<freemangordon> but there is awful screen tearing with hildon-desktop
avph has quit [Ping timeout: 246 seconds]
Mr__Anderson has joined #linux-sunxi
<freemangordon> I extracted the timings from lcd0_para
<freemangordon> and they are totally different
<MoeIcenowy> the screen tearing may be other problem
<freemangordon> either panel timings or mali.ko
<freemangordon> but panel-timings are easier :)
<MoeIcenowy> you can try other panel compatible now
<MoeIcenowy> other 1024x600 ones
<freemangordon> MoeIcenowy: all are totally different in terms of timings
<freemangordon> seems my panel has vrefresh of 72Hz
<MoeIcenowy> do not care this
<freemangordon> all panels in panel-simple has 60Hz vrefresh
<MoeIcenowy> at least I do not think the tearing is because of this.
<freemangordon> are you sure I should not care about the timings?
<MoeIcenowy> not so sure
<MoeIcenowy> you can try to play a video
<freemangordon> the same goes for video playback in firefox inder xfce
<freemangordon> tearing and a king of stuttering
<freemangordon> *kind
<MoeIcenowy> oh... may be timing is the problem
<MoeIcenowy> I will try on my tablet now
<freemangordon> MoeIcenowy: so, is the only option adding new compat in panel-simple?
avph has joined #linux-sunxi
<freemangordon> or I can tweak the timings via...dunno.. u-boot?
<MoeIcenowy> could you give me some video about the tearing in both h-d and video?
<freemangordon> I tried disturbed, the sound of silence on youtube
<MoeIcenowy> ?
<freemangordon> sorry
<freemangordon> misread your question
<freemangordon> I read it as you want an example video to play on your tablet
<freemangordon> not a video of my tablet tearing
<freemangordon> ok, will need some time
Mr__Anderson has quit [Remote host closed the connection]
<KotCzarny> recording tearing via digital cam is tricky, because essentially everything is tearing when recorded via digital cam
<freemangordon> :nod:
<KotCzarny> and if its not, then cam sucks and montion blurs
<KotCzarny> *motion
<freemangordon> on the other hand, it is so bad, that sometimes old frames are not being redrawn
<KotCzarny> maybe its a problem with feeding the panel with data?
<KotCzarny> ie. bandwidth starvation
<KotCzarny> or some interrupt jitter/hogging
<KotCzarny> did you try resheduling interrupts between cpus?
<freemangordon> yes, but that could be related to wong timings
<freemangordon> *wrong
<freemangordon> and they are wrong, for sure
<KotCzarny> this is what i do on mine, http://pastebin.com/raw/f8sDtG97
<KotCzarny> though moving all to cpu3 is a bit better
<MoeIcenowy> freemangordon: could you try glmark2-es2 and observe whether there is tearing?
<igraltist> hi
<igraltist> any chance to get on mainline 4.9 opipc nic working?
<KotCzarny> yes, read the mainlining page
<igraltist> the sunxi
<MoeIcenowy> ok on my tablet there is also some tearing...
<MoeIcenowy> mripard: could you tell us why there will be such a tearing?
<MoeIcenowy> because of wrong panel timings, or some issues in tcon?
<freemangordon> MoeIcenowy: does xfce4 use gl?
<MoeIcenowy> freemangordon: no
<Wizzup> no, it should not
<MoeIcenowy> (I'm running "mpv -vo x11"
<freemangordon> then, I don't see how are glmark2-es2 results related then
BenG83 has joined #linux-sunxi
<MoeIcenowy> freemangodron: it's not benchmark
<MoeIcenowy> I want you to observe tearing
techping has joined #linux-sunxi
<freemangordon> h-d tearing
<freemangordon> and stale frames
<freemangordon> hmm, I miss too much packages to build glmark2-es2
<KotCzarny> grab binary from her then?
<freemangordon> MoeIcenowy: ^^^
<MoeIcenowy> build?
<MoeIcenowy> I think debian has it...
<freemangordon> which package?
<MoeIcenowy> glmark2
<freemangordon> ok
<MoeIcenowy> oh i'm wrong
<MoeIcenowy> it is available in ubuntu
<MoeIcenowy> but not debian
jbrown has joined #linux-sunxi
<freemangordon> :nod:
<MoeIcenowy> try binary package at https://launchpad.net/ubuntu/+source/glmark2 ?
<MoeIcenowy> and where did you get the refresh freq info from script.fex?
<MoeIcenowy> which property?
<freemangordon> it is not in lcd0_para
<freemangordon> but in /sys/../disp/fb0/modes
<freemangordon> in android adb shell that is, nut under devuan
<freemangordon> *not
avph has quit [Ping timeout: 246 seconds]
<MoeIcenowy> ok I'' try it
<MoeIcenowy> I'll
<freemangordon> did you see the video?
<MoeIcenowy> downloading in progress
<MoeIcenowy> I saw also tearing when playing h.264 on my tablet with mpv -vo x11
<freemangordon> hmm, "Package libjpeg8 is not installed." :(
<KotCzarny> extract binary then just run it? assuming all ldd libs are there
<freemangordon> no, it is not
<freemangordon> and not available in jessie
<MoeIcenowy> saw the tearing...
<MoeIcenowy> ok I think it may be some issue in TCON...
<KotCzarny> surely jpeg8 is there
<KotCzarny> just weird name
<MoeIcenowy> I think we should report them to mripard .
<freemangordon> did you see the frame stuttering and not being repainted?
<MoeIcenowy> mripard: ^
<freemangordon> at the end of the video
<freemangordon> there is slightly visible remnants from the animation
avph has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7042-g90a846ad2, build type: debug, sources date: 20160102, built on: 2016-12-12 22:49:55 UTC git-7042-g90a846ad2 http://www.kvirc.net/]
<freemangordon> MoeIcenowy: however, I will add a new simple pane with the correct timings and check if it helps
<KotCzarny> hrm
<freemangordon> not in jessi :)
<freemangordon> anyway
<KotCzarny> just grab one of the others, one should fit
<freemangordon> root@devuan:~/maemo/temp# glmark2-es2
<freemangordon> Error: main: Could not initialize canvas
<freemangordon> :(
<KotCzarny> check what it links to
<KotCzarny> maybe enable 3d debug
<freemangordon> not now, going to fix panel timings first
sdsf has joined #linux-sunxi
sdsf has quit [Client Quit]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
BenG has joined #linux-sunxi
BenG is now known as Guest79568
BenG83 has quit [Ping timeout: 245 seconds]
jernej has quit [Ping timeout: 245 seconds]
bluebell_ has joined #linux-sunxi
orly_owl has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
Guest79568 is now known as BenG83
paulk-collins has joined #linux-sunxi
bluebell_ has left #linux-sunxi ["bye."]
victhor has joined #linux-sunxi
mzki has joined #linux-sunxi
Pepe has joined #linux-sunxi
<freemangordon> MoeIcenowy: with correct timings I see no more tearing while scrolling h-d
<freemangordon> hmm, actually it broke after a while
jbrown has quit [Ping timeout: 260 seconds]
<MoeIcenowy> ah-oh
<freemangordon> MoeIcenowy: do you have any idea about the other things, like lcd_pwm stuff?
<freemangordon> and gpios
<MoeIcenowy> lcd_pwm and gpios is for backlight
<MoeIcenowy> I think it's bugs in TCON driver
<MoeIcenowy> plz wait for mripard
<freemangordon> four gpios for backlight?
<freemangordon> ok, I will :)
<freemangordon> looks like it is missing interrupts or somesuch
<KotCzarny> fmg, have you tried irq resheduling?
<freemangordon> no
<freemangordon> why should I?
<KotCzarny> why not?
<freemangordon> all the job is done through GPU, not CPU
<freemangordon> because it should work with no such hacking
<KotCzarny> why mali is doing interrupts then?
<freemangordon> vsync?
<freemangordon> but for 60fps it shouldn;t put much pressure on cpu
<KotCzarny> what would happen when irq waits for cpu to service it?
<freemangordon> I'll follow MoeIcenowy's advice and wait for the guy who knows stuff
<freemangordon> KotCzarny: we may miss a frame of 2, but that shouldn;t man all further painting has to be with tearing
<freemangordon> and this is what happens - once broken it remains broken
<freemangordon> from start, it is like butter, after some play, I see screen flashing between frames and it breaks
<freemangordon> ans remains like that
<freemangordon> *and
<freemangordon> smells like bug, rather than too much load
<KotCzarny> still, that irq hack is oneliner, try it
<freemangordon> KotCzarny: which line?
<freemangordon> the last, with disp in it?
<KotCzarny> yeah, and mali
BlasterBlade has joined #linux-sunxi
<KotCzarny> and maybe sunxi_dmac
<KotCzarny> hmm, maybe it matters on which cpu program runs on?
<KotCzarny> ie. first it starts on free one, then gets switched to more busy?
<freemangordon> what I see here is all interrupts are on cpu0
<KotCzarny> yes, that's why i suggested using diff. cpu, ie. put some things on cpu3
<freemangordon> I put all mali stuff on cpu3 and lcd on cpu2
<freemangordon> makes no diff
<KotCzarny> what fixes the tearing? app restart or reboot?
<freemangordon> app restart
ErwinH has joined #linux-sunxi
<freemangordon> what is sunxi-rsb?
<KotCzarny> reduced serial bus
<MoeIcenowy> a bus that connects to AXP
<freemangordon> 10x
<BlasterBlade> Hi! I am trying to enable sun4i-ss on R8. What interrupt # do I add to sun5i-r8.dtsi? Is it (CE 54 0x00D8 Crypto Engine interrupt)?
scream has joined #linux-sunxi
ErwinH has quit [Remote host closed the connection]
deskwizard has joined #linux-sunxi
<freemangordon> KotCzarny: anything above CLUTTER_DEFAULT_FPS=48 triggers the bug
<freemangordon> with CLUTTER_DEFAULT_FPS=48 it works like charm
apritzel has joined #linux-sunxi
<KotCzarny> so, something is not able to keep up the pace
<KotCzarny> funny that it doesnt recover
<freemangordon> yes
<freemangordon> hmm, seems 48 is too much as well
<freemangordon> looks like vsync is being turned off at some point
<freemangordon> ok, sync to vsync
<KotCzarny> and since mali is a blob i wouldnt bet on it being fixed
<freemangordon> hmm, not a blob
<freemangordon> gl drivers - yes, but mali.ko is foss
JohnDoe_71Rus has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
perr has quit [Remote host closed the connection]
<dgp> mali.ko being as little code as is needed to export the kernel interfaces to the actual driver running in userland right?
BlasterBlade has quit [Quit: Leaving]
<freemangordon> could be
yann-kaelig has joined #linux-sunxi
<montjoie> BlasterBlade yes crypto engine interrupt
<montjoie> but strange that SS is renamed to CE
<KotCzarny> maybe they've finally heard what ss is associated with
<montjoie> the problem is that CE is the new SS generation
<montjoie> so if it is really a CE, sun4i-ss will not work
<montjoie> i know that R40 is probably a CE
<MoeIcenowy> maybe the SS to CE change is because the import of eFUSEd secure key feature imported in H3...
<freemangordon> MoeIcenowy: could it be some bug in armsoc xf86 driver? as if I set DRI2MaxBuffers to 3, it becomes a nightmare :)
<montjoie> I will try to have access to thoses SoCs for checking
<montjoie> the user manual is clear, R8 is a SS
<montjoie> renamed to CE
<montjoie> raaaah
<montjoie> allwinner love to complexify naming
<KotCzarny> fractals
<KotCzarny> everything is similar, but different
techping has quit [Quit: Leaving]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 258 seconds]
iamfrankenstein1 is now known as iamfrankenstein
likewise has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein1 is now known as iamfrankenstein
deskwizard has quit [Ping timeout: 248 seconds]
Gerwin_J has quit [Ping timeout: 264 seconds]
terra854 has quit [Quit: Connection closed for inactivity]
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
xal1us has joined #linux-sunxi
xal1us has quit [Ping timeout: 250 seconds]
chomwitt has joined #linux-sunxi
foxx_ has quit []
f0xx has joined #linux-sunxi
xes has quit [Remote host closed the connection]
<plaes> o/
<plaes> I killed the empty Banana Pi M2+ Ultra page
apritzel has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
<wens> O.o
iamfrankenstein has joined #linux-sunxi
<wens> forgot to update it :(
<wens> mostly because i haven't worked on it yet
<plaes> someone created it and then deleted few minutes later
aballier has quit [Ping timeout: 258 seconds]
aballier has joined #linux-sunxi
<MoeIcenowy> jernej: I think in your patch, the things with name "lcd" shouldn't be replaced with "tcon"
IgorPec has joined #linux-sunxi
<MoeIcenowy> as "tcon" and "lcd controller", in the meaning of allwinner SoCs, is the same
<MoeIcenowy> so you'd continue to use the "lcd" name there
apritzel has quit [Ping timeout: 245 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 268 seconds]
iamfrankenstein1 is now known as iamfrankenstein
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 248 seconds]
iamfrankenstein1 is now known as iamfrankenstein
jernej has joined #linux-sunxi
iamfrankenstein has quit [Remote host closed the connection]
iamfrankenstein has joined #linux-sunxi
Axl_ has quit [Ping timeout: 260 seconds]
iamfrankenstein has quit [Ping timeout: 258 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
yann-kaelig has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
popolon has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
apritzel has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
apritzel has quit [Ping timeout: 258 seconds]
GrimKriegor_ has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 250 seconds]
NiteHawk has quit [Ping timeout: 264 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor_ has quit [Ping timeout: 245 seconds]
NiteHawk has joined #linux-sunxi
f0xx has quit [Ping timeout: 256 seconds]
_whitelogger has joined #linux-sunxi
interrobangd has joined #linux-sunxi
mzki_ has joined #linux-sunxi
mzki has quit [Ping timeout: 258 seconds]
IgorPec has quit [Ping timeout: 265 seconds]
BenG83 has quit [Ping timeout: 260 seconds]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Pepe has joined #linux-sunxi
likewise has quit [Remote host closed the connection]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Pepe has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
paulk-aldrin has quit [Quit: Leaving]
naobsd has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
xal1us has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
xal1us is now known as BenG83
xes has joined #linux-sunxi
scream has quit [Remote host closed the connection]
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 268 seconds]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
paulk-collins has quit [Quit: Leaving]