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*
ldevulder__ has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 265 seconds]
florian_kc has quit [Ping timeout: 268 seconds]
lurchi_ is now known as lurchi__
Asara has quit [Quit: brb upgrade]
Mangy_Dog has quit [Ping timeout: 258 seconds]
Asara has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus1 is now known as kaspter
Mangy_Dog has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 256 seconds]
ChriChri_ is now known as ChriChri
RichardG867_ has quit [Ping timeout: 256 seconds]
_whitelogger has joined #linux-sunxi
dev1990_ has quit [Quit: Konversation terminated!]
iyzsong has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
aloo_shu has quit [Quit: aloo_shu]
aloo_shu has joined #linux-sunxi
splitice has joined #linux-sunxi
<splitice> megi & MoeIcenowy & smaeul: I am pleased to report success with the patch provided. 6/6 days continuous uptime. Normal MTBF pre-patch of 2.3 days.
<splitice> For anyone who needs it here is the required elements to add voltage regulation to a NanoPI NEO / Air. https://paste.ee/p/0t1Sr
cnxsoft has quit [Remote host closed the connection]
splitice has quit [Remote host closed the connection]
superprower has quit [Ping timeout: 268 seconds]
cnxsoft has joined #linux-sunxi
<tuxd3v> sunshavi, Hey, I manage to compile 'libva-v4l2-request' shared library
<tuxd3v> it took me sometime, I needed to start everything from the beguining, but it worth it :)
<tuxd3v> master branch is ok!
<tuxd3v> just make sure that you run './configure --disable-dependency-tracking'
<tuxd3v> before make
<tuxd3v> my sbc image got it wrong with a update, I needed to start in a new one, that's why it took me so much time
<tuxd3v> the process was very streamlined
<tuxd3v> and on par with the documentation
<tuxd3v> something went wrong with {your git clone | .autogen.sh} faze for sure..
<sunshavi> tuxd3v: without patches. Just as it is?
<tuxd3v> yes
<tuxd3v> just like that
<tuxd3v> I setup a new sdcard, because I broke the last image, and I couldn't continue trying to compile it .. :(
<tuxd3v> So I started with a new image
<tuxd3v> kernel 5.5.6
<tuxd3v> the './autogen.sh' faze was a bit strange, maybe that is what failled to you, I don't know..
<tuxd3v> but a ''./configure --disable-dependency-tracking' solved the problem ;)
<tuxd3v> well, I don't know if it works, I just compiled it, I haven't tested it, and to be honest , I don't know how to test it..
<tuxd3v> lol
<tuxd3v> :D
<sunshavi> mine compiled. But failed when invoked from vlc
<tuxd3v> maybe that is my problem too
<sunshavi> that was the reason. I applied the patches from hantro
<tuxd3v> How does you invoke it?
<tuxd3v> its some check in vlc?
<sunshavi> alias myvlc="LIBVA_DRIVER_NAME=v4l2_request vlc &"
<sunshavi>
<tuxd3v> you launch vlc with thatvariable set I get it..
<tuxd3v> it will take me sometime to get a desktop image configured, I am only in server image.. no xserver,xinput nothing..
<tuxd3v> you tried it in what cpu?
<sunshavi> Mmmm. h3
<sunshavi> opi+2e
<tuxd3v> I am trying in A20
<tuxd3v> Olimex Lime2
<sunshavi> how much memory on ur olimex?
<tuxd3v> 1GB
<tuxd3v> is very low, I know for a desktop..
<tuxd3v> but its what is as..
<tuxd3v> and you?
<sunshavi> then compiled in /tmp for caring a little bit ur sdcard
<sunshavi> 2 Gb. But it need 4 Gb. It is my main desktop
<tuxd3v> and you can surf the web with it?
<tuxd3v> 2GB is a better number :)
<sunshavi> i have more than two years using it
<sunshavi> my monitor has 1900x1200
<tuxd3v> what is your browser?
<tuxd3v> chromiun
<sunshavi> it was in the past chromium until a month ago now firefox
<tuxd3v> firefox? wow
<sunshavi> for chromium 6 tabs is the limit
<sunshavi> cos of mem
<tuxd3v> firefox has a nice feature which gives you the ability to tune the amount of resources you can spare
<tuxd3v> its nice, I use it in i686
<tuxd3v> 4GB Ram
<sunshavi> firefox and google not a good match. most of the time firefox renders the mobile version. so now default search engine duckduckgo
<sunshavi> duckduckgo renders the proper version (desktop version ) of the web page
<tuxd3v> I use Qwant
<tuxd3v> its the best option in my opinion
<sunshavi> i open firefox twice or three times on my day. most of the time i navigate with w3m
<tuxd3v> so you are oldschool
<tuxd3v> i never used w3m
<tuxd3v> only lynx
<sunshavi> i still use lynx when setting-up cups on remote machines by ssh conn
<aloo_shu> if lynx had tabs
<sunshavi> w3m has tabs
<aloo_shu> don't like
<sunshavi> but actually I do not use the bare w3m. But I use it from within Emacs
<aloo_shu> I'm faster on elinks
<sunshavi> but no tabs
<sunshavi> w3m fill my needs 80% of the times
<aloo_shu> but lynx is sweet to look at
<sunshavi> youtu.be is solved with smtube
<aloo_shu> same for me with elinks, hardly using gui browsers anymore
<sunshavi> i do not think so about lynx
<sunshavi> even I am a lynx user
<aloo_shu> youtube-dl for me, and offline viewing
<sunshavi> aloo_shu: have you seen https://termbin.com/ojtlh. That's the way i navigate my tabs
<sunshavi> youtube-dl. no way. I only have 16 Gb emmc for all my needs. I only have 1 Gb free.
<aloo_shu> I have pathetic bandwidth
<sunshavi> tuxd3v: for today I am going to leave it as it is. I think a good alternative is having all the kernel repo and comparing the file h264-ctrls.h on different kernel versions from 5.3 on until 5.5. That way we could get an idea the moment than struct field was removed, and which field replaced it
<sunshavi> aloo_shu: then ur main machine is not a pi. or You have an external hdd attached to it
<aloo_shu> i'm using old tablets. but I'm off gtid, and far ftom mobile antenna
<aloo_shu> from
<aloo_shu> think edge
<sunshavi> tuxd3v: for not seting-up a desktop image. You could try ssh forwarding from an ethenet connection that should work. But i have tested that even today without luck. THat's the reason i have tried to solve it today
<sunshavi> aloo_shu: gtid?
<aloo_shu> sry
<aloo_shu> off grid
<tuxd3v> sunshavi, yeah that is a option indeed :)
<tuxd3v> does you knowq the minimum amount of cma that I need to alocate?
<tuxd3v> I know about 256M
<tuxd3v> but don't know if 128 is okish :)
<sunshavi> 256 is the one i use. i think that's the minimum
<tuxd3v> yes 1GB total falls short but its what I have.. :)
<tuxd3v> what DE are you guys using?
<tuxd3v> I have been using simpler fluxbox
<tuxd3v> sunshavi, One option that we have to test it is:
<sunshavi> openbox
<sunshavi> without DE
<sunshavi> tuxd3v: last commit 9 months ago
<sunshavi> that was before 5.5
<tuxd3v> yeah true
aloo_shu has quit [Ping timeout: 246 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
superprower has joined #linux-sunxi
reinforce has joined #linux-sunxi
reinforce has quit [Remote host closed the connection]
Pipon has joined #linux-sunxi
reinforce has joined #linux-sunxi
dddddd has quit [Ping timeout: 265 seconds]
_whitelogger has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 246 seconds]
suprothunderbolt has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
suprothunderbolt has quit [Ping timeout: 250 seconds]
suprothunderbolt has joined #linux-sunxi
yann has joined #linux-sunxi
warpme_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
tnovotny has joined #linux-sunxi
Pipon has quit [Ping timeout: 250 seconds]
florian_kc has joined #linux-sunxi
hlauer has joined #linux-sunxi
ldevulder__ is now known as ldevulder
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 258 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
Pipon has joined #linux-sunxi
AneoX has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 246 seconds]
yann has quit [Ping timeout: 256 seconds]
yann has joined #linux-sunxi
florian_kc is now known as florian
diego71 has quit [Ping timeout: 256 seconds]
diego71 has joined #linux-sunxi
Pipon has left #linux-sunxi ["Leaving"]
arete74 has quit [Ping timeout: 256 seconds]
corecode_ is now known as corecode
maccraft has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
camus1 is now known as kaspter
matthias_bgg has joined #linux-sunxi
maccraft123 has joined #linux-sunxi
maccraft has quit [Ping timeout: 256 seconds]
maccraft123 has quit [Ping timeout: 265 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
maccraft123 has joined #linux-sunxi
maccraft123 has quit [Ping timeout: 256 seconds]
maccraft123 has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #linux-sunxi
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
gaston1980 has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
dev1990 has joined #linux-sunxi
jelly has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-sunxi
maccraft123 has quit [Ping timeout: 258 seconds]
jelly-home has quit [Read error: Connection reset by peer]
maccraft123 has joined #linux-sunxi
jelly has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
selfbg has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
maccraft123 has quit [Ping timeout: 250 seconds]
curlybracket has joined #linux-sunxi
selfbg has joined #linux-sunxi
random_yanek has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
yann has quit [Ping timeout: 256 seconds]
cnxsoft1 has quit [Quit: cnxsoft1]
random_yanek has joined #linux-sunxi
dddddd has joined #linux-sunxi
<curlybracket> Hello. Is the MIPI DSI driver in 5.6-rc5 supposed to work with A64? When I try to run it, the picture looks right, but vblank interrupts occur only 20 times per second which besides choppy animations occasionally causes the screen to flicker. The dot clock, however, is tuned for 60Hz refresh rate. Has anybody encountered such problem?
<mru> everything is _supposed_ to work perfectly at all times; too bad it doesn't
yann has joined #linux-sunxi
maccraft123 has joined #linux-sunxi
<veremitz> ^ LMAO which alternate reality is that!?
<mru> are you saying things are intentionally broken?
<veremitz> unintentionally ..
<mru> right, so everything is supposed to work but doesn't
<veremitz> but too frequently, a lack of design and testing means that it might work once ..
<veremitz> so, technically correct, but very idealistic :)
<curlybracket> Well, let me rephrase my question: There's only a small number of DSI panels available to buy which fit any of the available A64 devboards. Thus the DSI implementation can only be tested for limited number of cases.
<mru> I didn't say everything is _expected_ to work
<mru> it certainly isn't
<veremitz> yeah .. its a nuance of language .. everything -is- expected to work, usually against better odds ;)
arete74 has joined #linux-sunxi
<curlybracket> For example, my panel has 2 DSI lanes, but the code was likely tested only with 4-lane panels
AneoX has joined #linux-sunxi
selfbg has quit [Ping timeout: 246 seconds]
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-sunxi
gediz0x539 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
kaspter has quit [Ping timeout: 250 seconds]
camus1 has joined #linux-sunxi
camus1 is now known as kaspter
tnovotny has quit [Ping timeout: 256 seconds]
gediz0x539 has quit [Quit: Leaving.]
selfbg has joined #linux-sunxi
selfbg has quit [Quit: selfbg]
vagrantc has joined #linux-sunxi
maccraft123 has quit [Ping timeout: 240 seconds]
maccraft123 has joined #linux-sunxi
selfbg has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
florian has quit [Quit: Leaving]
netlynx has joined #linux-sunxi
tnovotny has joined #linux-sunxi
luke-jr has quit [Read error: Connection reset by peer]
luke-jr has joined #linux-sunxi
luke-jr has quit [Excess Flood]
luke-jr has joined #linux-sunxi
luke-jr has quit [Excess Flood]
luke-jr has joined #linux-sunxi
jstein has joined #linux-sunxi
maccraft123 is now known as maccraft
reinforce has joined #linux-sunxi
mripard has quit [Ping timeout: 265 seconds]
maccraft has quit [Ping timeout: 246 seconds]
martinayotte has quit [*.net *.split]
techn has quit [*.net *.split]
alexxy has quit [*.net *.split]
maz has quit [*.net *.split]
maz has joined #linux-sunxi
techn has joined #linux-sunxi
alexxy has joined #linux-sunxi
martinayotte has joined #linux-sunxi
mripard has joined #linux-sunxi
selfbg has quit [Ping timeout: 240 seconds]
selfbg has joined #linux-sunxi
<megi> well, I'm not sure it works even on PinePhone with 4-lanes
<megi> if I run a test app, that just does atomic update on each flip, I can measure 36.3FPS
<megi> it should be more like 60FPS
ldevulder has quit [Read error: Connection reset by peer]
tnovotny has quit [Ping timeout: 246 seconds]
ldevulder has joined #linux-sunxi
rellla has quit [*.net *.split]
rellla has joined #linux-sunxi
maccraft has joined #linux-sunxi
florian_kc has joined #linux-sunxi
sunshavi has quit [Ping timeout: 265 seconds]
sunshavi has joined #linux-sunxi
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-sunxi
maccraft has quit [Ping timeout: 246 seconds]
tnovotny has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
netlynx has quit [Quit: Ex-Chat]
selfbg has quit [Ping timeout: 256 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
florian_kc is now known as florian
reinforce has quit [Quit: Leaving.]
<willmore> Are we sure it's actually refreshing 60 times/s? Could that part of the SoC have been misclocked the whole time?
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
jbrown has quit [Client Quit]
jbrown has joined #linux-sunxi
<megi> we're sure it's not :)
<megi> refreshing at 60fps
gaston1980 has quit [Quit: Konversation terminated!]
<anarsoul> megi: IIRC dsi timings had pretty low pixel clock, so I always wondered how it can be 60Hz is pixel clock is that low
Ecco_ is now known as Ecco
<willmore> megi, wait, you're sure it's not refreshing at 60hz or you're sure it is?
<megi> I'm quite sure it is not refreshing at 60Hz
paulk-leonov has quit [Ping timeout: 245 seconds]
<gnarface> is it possible for it to be doing something weird like dual pixel clocks or something?
<gnarface> shotgun pixel clocks?
<gnarface> tiled updates?
<gnarface> some performance chat
<gnarface> cheat*
<megi> mipi-pll clock is out of range specified in A64 user manual
<gnarface> oh, so the theory is just that it's a lie?
<megi> yes, the real clock may be different
<gnarface> i see
* willmore isn't sure they have a chip with a DSI output anyway.
<megi> there are also factor requirements that may not be respected by the clock driver
<willmore> Does the A64 have one? I have a Pine64 and a 'scope.
<megi> trying to match the spec first is probably easier atm
<willmore> I have H2/H3/H5/H6.
<willmore> But I don't think any of them have a flat ribbon type of display output like the Rpi do.
<willmore> I think some of them have camera connections....
<megi> I'd guess that mipi_dsi is specific to A* socs
<megi> tablet line
<willmore> Makes sense.
<willmore> So, I'm probably good with the A64?
<megi> yup
<willmore> Hmmm, I may be able to wire something up if you need measurements taken. It's only a 100MHz scope, though.
paulk-leonov has joined #linux-sunxi
<willmore> Four channel. 2.5Gs/s.
<willmore> Not a very fancy device.
<willmore> Yeesh, even for a 640x480x24x60 pannel with no blanking, etc. you're looking at .442 Gb/s
<willmore> Yeah, that's going to be beyond my scope.
<megi> thanks, I'm not going to look into the issue, atm, but success criteria would be that refresh rate would match the expectations, and that's easy to see in SW
<megi> pixel clock is supposed to be 68MHz
<willmore> transmission clock would have to be some factor larger than that, right? for 24 bits/pixel, you're going to need a data clock 24/#lanes faster.
<megi> signals are probably a bit faster on the mipi bus :)
<megi> I think it will be 4x that
<megi> that's the tcon0 clock
<megi> 274MHz
<willmore> What resolution is that for?
<megi> 1440*720
<megi> and DSI DPHY has 150MHz clock
<megi> so it may be that too
<megi> really, I have no idea how this works
<megi> in A64
* willmore is trying to read up on DSI, display timing, TDMS, etc.
libv has quit [Ping timeout: 256 seconds]
<willmore> guessing the TDMS uses 8 of 10 signaling, so the clock rate will be 10 clocks per byte.
libv has joined #linux-sunxi
RichardG867_ has joined #linux-sunxi
RichardG867_ has quit [Changing host]
RichardG867_ has joined #linux-sunxi
<megi> BSP code has some special sequence of enabling MIPI-PLL that mainline misses https://megous.com/dl/tmp/73c2fbcd1e07cb59.png
RichardG867 has quit [Ping timeout: 246 seconds]
<megi> first power is enabled and PLL is enabled after power stabilizes, presumably
<megi> mainline enables everything at once
<willmore> Oh, the joy of using source code as documentation...
paulk-leonov has quit [Ping timeout: 246 seconds]
gnarface has quit [Remote host closed the connection]
lerc has quit [Ping timeout: 240 seconds]
lerc has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 256 seconds]
florian has quit [Ping timeout: 246 seconds]