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*
jernej has joined #linux-sunxi
aalm has joined #linux-sunxi
swiftgeek has quit [Remote host closed the connection]
k40s[m] has quit [*.net *.split]
freddor has quit [*.net *.split]
mic-e[m] has quit [*.net *.split]
insep[m] has quit [*.net *.split]
fevv8[m] has quit [*.net *.split]
agates[m] has quit [*.net *.split]
insep[m] has joined #linux-sunxi
agates[m] has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
<tuxd3v> thanks a lot megi
<tuxd3v> mainline seems a bit crude yet for H6
<megi> does it?
<tuxd3v> maybe your version is nicier
<megi> yep :)
<megi> I'm trying to push some of that mainline
<tuxd3v> I now regret, I compiled the last kernel without debugfs functionality
freddor has joined #linux-sunxi
freddor has joined #linux-sunxi
freddor has quit [Changing host]
aloo_shu has quit [Read error: Connection reset by peer]
B-52 has joined #linux-sunxi
B-52 has quit [Ping timeout: 240 seconds]
B-52 has joined #linux-sunxi
B-52 is now known as aloo_shu
<tuxd3v> megi: nice, it will be in 5.4 ?
<megi> what? :)
<megi> you can see http://linux-sunxi.org/Linux_mainlining_effort for some of what's prepped for 5.4
Mangy_Dog has quit [Ping timeout: 268 seconds]
<tuxd3v> yeah, I see, we need to wait..
<tuxd3v> Does you know if panfrost would work in one plus?
<tuxd3v> and cedrus?
<megi> I tried panfrost on H6
<megi> it runs glxgears :)
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
<tuxd3v> nice!
<tuxd3v> fora desktop it should do, but for crowsing the web, I believe it don t yet
<tuxd3v> but you tested in oneplus ?
<tuxd3v> or it doesn't matter
warpme_ has quit [Quit: Connection closed for inactivity]
<megi> I tested on Opi3
<megi> it's shouldn't matter
<megi> for desktop use it has a lot of issues
<megi> but there are some news today around T720 support in panfrost, so it may be interesting to retest in a few days
gaston1980 has quit [Quit: Konversation terminated!]
<tuxd3v> megi: many thanks!
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
cnxsoft1 has quit [Quit: cnxsoft1]
cnxsoft has joined #linux-sunxi
<tuxd3v> megi: its normal thermal path empty?
<tuxd3v> ls /sys/class/thermal/
<megi> mainline doesn't have thermal sensor driver for H6
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
<tuxd3v> how.. ok
<tuxd3v> thanks
<tuxd3v> thanksis there any special need to have in H6 the cpufreqd running ondemand?
<gnarface> as opposed to powersave or performance?
* gnarface doesn't know
<tuxd3v> yup
<tuxd3v> I will check it later and the modules we need for that..
<tuxd3v> gnarface: thansk :)
Andy-D has quit [Ping timeout: 240 seconds]
megi has quit [Ping timeout: 276 seconds]
arnidg has quit [Quit: ZNC - https://znc.in]
arnidg has joined #linux-sunxi
tuxillo has quit [Ping timeout: 250 seconds]
kaspter has quit [Ping timeout: 240 seconds]
camus has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
camus is now known as kaspter
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
kaspter has quit [Ping timeout: 240 seconds]
camus has joined #linux-sunxi
camus is now known as kaspter
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 265 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 265 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 268 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 268 seconds]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
libv_ has quit [Ping timeout: 268 seconds]
libv has joined #linux-sunxi
random_yanek has quit [Ping timeout: 276 seconds]
random_yanek has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 268 seconds]
_whitelogger has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
aloo_shu has quit [Quit: "slowly getting too much""]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 240 seconds]
tuxillo has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
libv_ has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
libv has quit [Ping timeout: 276 seconds]
camus has joined #linux-sunxi
libv has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
libv_ has quit [Ping timeout: 268 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
libv_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
libv has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 250 seconds]
selfbg has joined #linux-sunxi
dddddd has quit [Read error: Connection reset by peer]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 276 seconds]
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
libv_ has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
AneoX has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 268 seconds]
libv_ has quit [Ping timeout: 276 seconds]
libv has joined #linux-sunxi
florian has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
warpme_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #linux-sunxi
Andy-D has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
gnarface has quit [Remote host closed the connection]
AneoX has quit [Ping timeout: 240 seconds]
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
return0e has quit [Read error: Connection reset by peer]
gnarface has joined #linux-sunxi
gnarface has quit [Remote host closed the connection]
<warpme_> megi: glxgears on H6? How You get t720 on panfrost? beside white-listing - did You do enything special to get SFBD hw (t720) working on panfrost?
megi has joined #linux-sunxi
gnarface has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
Andy-D has quit [Ping timeout: 268 seconds]
Andy-D has joined #linux-sunxi
Andy-D has quit [Quit: Alive/Dead]
<tuxd3v> kernel 5.0 has /sys/kernel/debug/regulator/regulator_summary
libv has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
lurchi_ is now known as lurchi__
fl__0 is now known as fl_0
lurchi__ is now known as lurchi_
ldevulder_ is now known as ldevulder
gaston1980 has joined #linux-sunxi
dddddd has joined #linux-sunxi
tnovotny has joined #linux-sunxi
camus has joined #linux-sunxi
pg12 has quit [Ping timeout: 252 seconds]
kaspter has quit [Ping timeout: 264 seconds]
camus is now known as kaspter
pg12 has joined #linux-sunxi
lurchi_ is now known as lurchi__
AneoX has quit [Ping timeout: 276 seconds]
AneoX has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 265 seconds]
TEKrantz has joined #linux-sunxi
sunilmohan has quit [Ping timeout: 268 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
r4nd3l has joined #linux-sunxi
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #linux-sunxi
selfbg has quit [Ping timeout: 240 seconds]
r4nd3l has quit [Remote host closed the connection]
r4nd3l has joined #linux-sunxi
r4nd3l has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
florian_kc has joined #linux-sunxi
Wizzup has quit [Ping timeout: 276 seconds]
yann has quit [Ping timeout: 252 seconds]
tnovotny has quit [Ping timeout: 240 seconds]
Wizzup has joined #linux-sunxi
florian has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 240 seconds]
nexgen has joined #linux-sunxi
reinforce has joined #linux-sunxi
<plaes> wens: do you think we should add CONFIG_MICREL_PHY=y to sunxi_defconfig, due to its errata issues and the fact that it fixes issues with Olinuxino-Lime2 boards?
aloo_shu has joined #linux-sunxi
<wens> I'd think so
<plaes> ok, thanks, I'll cook up the patch
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Read error: No route to host]
aloo_shu has joined #linux-sunxi
libv_ has joined #linux-sunxi
aloo_shu has quit [Read error: No route to host]
aloo_shu has joined #linux-sunxi
libv has quit [Ping timeout: 268 seconds]
yann has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 276 seconds]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Read error: No route to host]
aloo_shu has joined #linux-sunxi
<clementp[m]> warpme_: tomeu as some patches here : https://gitlab.freedesktop.org/tomeu/mesa/commits/ci-t720
<clementp[m]> warpme_: tomeu as some patches here : https://gitlab.freedesktop.org/tomeu/mesa/commits/ci-t720
yann has quit [Ping timeout: 240 seconds]
aloo_shu has quit [Read error: Connection reset by peer]
yann has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
yann has quit [Ping timeout: 240 seconds]
aloo_shu has joined #linux-sunxi
yann has joined #linux-sunxi
lkcl has joined #linux-sunxi
<warpme_> clementp[m]: wow indeed. glxgears gives me 269 frames in 5.0 seconds = 53.640 FPS and nice wheels on screen. My app (mythtv) still white screen however. Anyway VERY promising IMHO!!!!
aloo_shu has quit [Read error: No route to host]
yann has quit [Ping timeout: 240 seconds]
aloo_shu has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
gaston1980 has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
tnovotny has joined #linux-sunxi
yann has joined #linux-sunxi
florian_kc has joined #linux-sunxi
florian_kc is now known as florian
aloo_shu has quit [Ping timeout: 245 seconds]
tnovotny has quit [Ping timeout: 268 seconds]
yann has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-sunxi
nexgen has quit [Remote host closed the connection]
tnovotny has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
<megi> we need to collect as many SoC bin efuse values as possible :)
<megi> or at least until we find someone with value "2"
<tuxd3v> megi: -su: ./regtool: cannot execute binary file: Exec format error
<tuxd3v> you compiled it for x86_64...
<martinayotte> tuxd3v: no, it is a aarch64, I've ran it on my H6 boards. -> SoC bin: slow chip (bin=1)
<martinayotte> ./regtool: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped
<martinayotte> Did you have done a "chmod a+rx regtool" ?
<tuxd3v> yup
<tuxd3v> ./regtool: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ee646b46924c5d3816c8be84635daef83c0f8172, stripped
<tuxd3v> wait.. I have a problem in my userspace..
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 240 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
<martinayotte> megi : Oh ! one of my H6, an OPiLite2, give : SoC bin: normal chip (bin=3)
libv_ is now known as libv
reinforce has quit [Quit: Leaving.]
<tuxd3v> file /bin/ls
<tuxd3v> /bin/ls: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=a242161239cb1f4ea9b8a7455013295e5473e3ec, stripped
<tuxd3v> file ./regtool
<tuxd3v> ./regtool: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ee646b46924c5d3816c8be84635daef83c0f8172, stripped
<libv> tuxd3v: did you build regtool on the host machine?
<tuxd3v> libv: no I received it has a binary, but I believe that it was like you say
camus has joined #linux-sunxi
<tuxd3v> to make sure Iwas using the correct tools, I reinstalled aarch64 'file' and libc, because I couldn't file the dynamic linker shared object :(
<tuxd3v> I have rebooted, and will test after
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
<tuxd3v> libv: you are right! :)
<tuxd3v> I was also in that direction :)
<tuxd3v> strings ./regtool |grep "x86-64" --color
<tuxd3v> "/lib64/ld-linux-x86-64.so.2"
yann has joined #linux-sunxi
lkcl has quit [Ping timeout: 245 seconds]
<tuxd3v> megi: you compiled it with '/usr/bin/qemu-aarch64-static' ?
<megi> sorry, uploaded a wrong file, should be fine now
<megi> martinayotte: thanks!
<megi> tuxd3v: please redownload and retry
<megi> I added some more output after the initial upload and of course I then uploaded the host binary instead of cross-compiled one
dev1990 has quit [Quit: Konversation terminated!]
aloo_shu has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
<tuxd3v> megi: Not so lucky -> SoC bin: slow chip (bin=1) (raw=1)
<megi> tuxd3v: thanks :)
<tuxd3v> no problem :)
<tuxd3v> megi: nice tool
<anarsoul> megi: is it H6-only thing?
<megi> it's a random collection of things I needed for debugging in the past few years
<megi> it's a mix of a83t, h3, h5, h6, a13
<anarsoul> I mean binning
<megi> ah
<megi> h6 + a83t
<megi> I didn't see it on other soc
<megi> socs
<anarsoul> interesting
<megi> yep, fastest a83t bins can go over 2GHz
<anarsoul> but a83t has powervr graphics
<megi> yes
<megi> but if people can't do graphics with 8x2GHz SIMD capable cores,... maybe they shouldn't
<tuxd3v> a83t is armv7?
<megi> yes
<megi> a7
<tuxd3v> neon 1.0
<tuxd3v> SIMD
<anarsoul> megi: 2ghz in-order cores
<tuxd3v> I didin't kew much about binning
<megi> it's slightly worse SIMD than on A8, yes
<megi> anyway, it sucks it has Power VR
<anarsoul> yeah
<anarsoul> IIRC it requires firmware, so zero to no chances to RE it
<tuxd3v> I believe they run a operating system much like the modems do.. I saw that in some slides..
<anarsoul> crazy
<megi> anyway, I'm not really missing it, I can do rendering with cairo on CPU at 60FPS and still have some frame budget
<anarsoul> well
<anarsoul> it could have been more efficient with GPU :)
<megi> who knows :) I still have 7 CPU cores left to do other things
<anarsoul> do you have memory bandwidth for these cores though?
<megi> 8 core full load really takes the power consumption to new levels for sure, though :)
<megi> that's a problem with ARM instructions, but I can get more bandwidth using SIMD, for some reason
<megi> I haven't done any serious benchmarks, but as an example on the e-ink reader, (single core A8 ARM cpu), I needed to copy bulk data with some simple shifts and ors, and going from ARM to SIMD intrinsics was a change from 58ms to ~1ms
<megi> interestingly the same SIMD function was a bit faster when executed in the kernel space, than in userspace (1.2ms vs 800ms)
<megi> maybe because kernelspace memory is mapped more linearly, I don't know
<tuxd3v> maybe you are doing a bunch of syscalls in userspace
<megi> no syscalss
<tuxd3v> 5800% faster using SIMD
<tuxd3v> but and the latency? between executions?
<tuxd3v> in any case 5800% is amazing..
<megi> both runs were in kernelspace with no preemption
<megi> I was surprised too
matthias_bgg has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
<tuxd3v> megi: does pwm driver works ok in kernel 5.3 series?
<megi> yes
<tuxd3v> ok, I was to think in develop it, but I was late some 6 months :(
<tuxd3v> nice its done..
<anarsoul> megi: sounds like alignment issue to me
<megi> you mean H6 PWM?
<tuxd3v> yes
<megi> I don't know about that :)
<megi> I think I saw some patches
<megi> posted to the ML
<anarsoul> 1.2ms vs 800ms means something's really wrong
<megi> anarsoul: it might be
<anarsoul> even 58ms to 800ms is a lot
<megi> I actually made sure it's aligned in kernel space to 256bits
<megi> but not in userspace
<anarsoul> likely you can an exception, context switch to kernel, kernel fixes it up for you, switch back to userspace
<anarsoul> s/can/get
<megi> Linux kernel does that?
<anarsoul> it did that for old CPUs that supported only aligned memory access, it also fixes up some dropped instructions on newer CPUs
<megi> ha cat /proc/cpu/alignment
<megi> if it happens, it would be reported there
<megi> but I think this may be something else, sice malloc would guarantee some alignment, but it may not be optimal for SIMD
superpro1 has joined #linux-sunxi
superprower has quit [Ping timeout: 268 seconds]
<megi> just tried, and no counters in /proc/cpu/alignment increase, and since it's a larger memory block, malloc in musl allocates it via mmap dreictly and returns a page aligned address
<megi> directly
<megi> interestingly, after adding 1 to the address, so that it's misaligned, still makes it run, just slower and no counters increase either
tuxd3v has quit [Quit: Leaving]
<megi> SIMD on Cortex-A8 will not trap on unaligned access, so that's why it doesn't show in /proc/cpu/alignment
<karlp> libv: any idea why "save changes" on the wiki is just.... doing nothing? It spins for a bit and leaves me on the editor with no feedback on what went wrong
<karlp> nvm, wasn't noticing the "test" question that had appeard at the top
<karlp> would recommend that be in red or boxed in some way visually distinctive
vagrantc has quit [Quit: leaving]