<benettig>
Net147: I've read on irc archive about CONFIG_DRM_FBDEV_OVERALLOC=200, I give it a try. It sounds a good idea, maybe Mali can't rely on single buffer. Thank you
victhor has quit [Quit: Leaving]
maz has quit [Ping timeout: 260 seconds]
gnufan has quit [Quit: Leaving.]
maz has joined #linux-sunxi
longsleep has quit [Ping timeout: 255 seconds]
longsleep has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 240 seconds]
maz has quit [Ping timeout: 248 seconds]
popolon has quit [Quit: WeeChat 1.9.1]
cnxsoft has joined #linux-sunxi
<wens>
montjoie: looks like your dts patches don't quite compile
linac has joined #linux-sunxi
Poeticode is now known as Poeticorpse
longsleep has quit [Ping timeout: 255 seconds]
longsleep has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
<benettig>
now I'm waiting for Qt5 to finish compiling with eglfs and see the result
<benettig>
mmm, A13, I think it's almost the same
<benettig>
let me check datasheet for CCU and GIC
<marble_visions>
benettig: can you give your gcc ver, linux ver and buildroot ver?
<benettig>
Sure
<benettig>
wait
reinforce has joined #linux-sunxi
<Net147>
marble_visions: your Mali debug output looks fine to me. if the mali DT node is misconfigured then it usually is unable to pass tests and create /dev/mali
icenowy[m] has joined #linux-sunxi
<Net147>
marble_visions: can you provide your device tree changes?
<benettig>
marble_visions: and if I give you my defconfig for buildroot?
<Net147>
marble_visions: yes, you need to make sure you're modifying the DT files for your architure/board - sun5i.dtsi, sun5i-a13.dtsi, sun5i-a13-[...].dts
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Net147>
marble_visions: benettig: I just tested now using Mali r6p2 fbdev blob on a20 lime. it is working fine.
<benettig>
Net147: yes!!! Did you try also Qt5 eglfs?
<benettig>
I'm waiting it to compile
<marble_visions>
benettig: i'm testing with it, and it segfaults
<marble_visions>
benettig: what are you testing with ?
<Net147>
benettig: yes I did. I tested using cinematicexperience demo.
<benettig>
I'm going to do it now
<Net147>
benettig: in environment QT_QPA_EGLFS_FORCE888=1 to get 24-bit color instead of dithered, FRONTBUFFER_LOCKING=1 to fix vsync tearing
<benettig>
great help! double favour I owe you!
<Net147>
marble_visions: can you provide diff of the changes you made to the device tree?
<marble_visions>
Net147: yep
<benettig>
Net147: works like a charm!!!!
<benettig>
marble_visions: I copy pastebin my defconfig of buildroot, is it ok?
lemonzest has joined #linux-sunxi
<marble_visions>
benettig: yes. and the kernel as well?
<benettig>
Yes, kernel you can use linux-sunxi sunxi-next branch
<benettig>
but you have to modify sun5i.dtsi adding mali as on sun7i.dtsi as I did
<marble_visions>
benettig_: thanks, i'll have a got with those :)
<benettig_>
you only have to modify sun5i.dtsi adding mali according to sun7i-a20.dtsi
<benettig_>
then there is a dts example of my board, you can find mali and cma region connected
<Net147>
benettig_: you have &de twice
<benettig_>
Net147: thank you, I delete one now
<benettig_>
marble_visions: substitute git urls for linux and u-boot pointing to sunxi-linux sunxi-next and latest u-boot
<benettig_>
there you go
<benettig_>
and take care about Net147 suggestion of "QT_QPA_EGLFS_FORCE888=1 to get 24-bit color instead of dithered, FRONTBUFFER_LOCKING=1 to fix vsync tearing"
<marble_visions>
benettig_: awesome, thank you!
<benettig_>
then it MUST work!
<benettig_>
Net147: thank you again and again!
<marble_visions>
benettig_: which buildroot have you used? i cant find 2017-11 version number from mainline
<Net147>
buildroot git master branch?
skiboy has quit [Quit: Leaving]
<marble_visions>
okay, i was using 2017.08
<benettig_>
wait
<benettig_>
I think I've started from 2017.08
<benettig_>
then I add a git to my bitbucket
<benettig_>
aah, wait
<benettig_>
well
<benettig_>
you need a package for r6p2 mali
<marble_visions>
yep, wrote one
<benettig_>
so as me!
<benettig_>
ok
<benettig_>
so you can use yours
<marble_visions>
so you're 2017.08
<benettig_>
It only copies files!
<benettig_>
To tell the truth I don't remember...
<benettig_>
but you can't try the master git, it should work almost for sure
<benettig_>
oh yes
<benettig_>
wait
<benettig_>
last commit I had before I started to commit was
freemangordon has quit [Read error: Connection reset by peer]
jelly has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 255 seconds]
awais has quit [Ping timeout: 240 seconds]
jelly-home has joined #linux-sunxi
<icenowy[m]>
mripard: currently it seems that there's a problem: if DRM is probed before SimpleFB, the SimpleFB will continue to probe, but it become useless
<icenowy[m]>
and in this situations a dummy FB would be created
jbrown has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
<marble_visions>
benettig benettig_: i get a white screen and a log of pixel out of range messages
SP7RT has joined #linux-sunxi
<marble_visions>
yeah, i need to compile a few more buildroot packages for cinexperience to work
kaspter has quit [Read error: Connection reset by peer]
ni291187 has joined #linux-sunxi
ni291187 has left #linux-sunxi [#linux-sunxi]
ni291187 has joined #linux-sunxi
kaspter has joined #linux-sunxi
ni291187 has quit [Remote host closed the connection]
<benettig_>
marble_visions: ok, let me know. It has to work this time
kaspter has quit [Remote host closed the connection]
mic-e[m] has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
kaspter has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
<benettig_>
marble_vision: are you using an lcd?
rexxster has quit [Remote host closed the connection]
fkluknav has quit [Ping timeout: 240 seconds]
rexxster has joined #linux-sunxi
Putti has joined #linux-sunxi
<marble_visions>
benettig_: a full-blown monitor over vga
JohnDoe_71Rus has joined #linux-sunxi
fkluknav has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
ninolein has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
aalm has quit [Quit: xyz 1.9.1]
tllim has joined #linux-sunxi
SP7RT has joined #linux-sunxi
Ntemis has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
msimpson has quit [Quit: Leaving]
<Pe3ucTop>
Hi to all, is it known how big files is possible to transfer in u-boot to memory and at wich region ?
xes__ is now known as xes
fkluknav has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
<montjoie>
ah ah distcc to the rescue! time to use all my boards
reinforce has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<willmore>
ccaione, did you get your questions answered?
<ccaione>
willmore: uhm not really
<willmore>
What were you looking for?
<ccaione>
Just a distro shipping a working libmali.so if existing
sunxi_fan has joined #linux-sunxi
<willmore>
Oh, you wanted it for an A64 chip? There are ones for the ODROID boards--though not A64 based.
<willmore>
I believe the C.H.I.P. people ship one for their board. That's at least an Allwinner board.
<willmore>
I don't know if Armbian (#armbian) ships one or not--all of my boxes are headless and I've never needed to look into it.
<ccaione>
Yeah A64 and that’s what I figured out
<willmore>
mripard did some work to get mali working on recent kernels, so we might see them shipping a working system in their distro.
<ccaione>
Yeah I saw that
<willmore>
https://www.armbian.com/pine64/ Their legacy kernel might have that running. Looks like their mainline doesn't. They have a few variants of their distro that are more bleeding edge. Some hemoraging more than others.
<willmore>
I have a Pine64, but I haven't used it since I got it when support wasn't yet stable and they needed testing.
dave0x6d has quit [Quit: Connection closed for inactivity]
Andy-D has joined #linux-sunxi
tom_nov has quit [Ping timeout: 248 seconds]
tom_nov has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
fkluknav has quit [Ping timeout: 240 seconds]
ninolein has quit [Ping timeout: 248 seconds]
ninolein has joined #linux-sunxi
gnufan has quit [Ping timeout: 246 seconds]
markvandenborre has joined #linux-sunxi
<markvandenborre>
hi! I'm running a mainline kernel (4.9.0-3 from Debian stretch) on a banana pi
<markvandenborre>
and I'm trying to get the lcd to work
<markvandenborre>
it's a 3.5" lcd from Lemaker, and I have recompiled u-boot for it
<markvandenborre>
with the right variables set in its defconfig
<markvandenborre>
I can see in dmesg that these seem to get picked up, but the screen output always goes to the external hdmi screen
<markvandenborre>
(of course, since I'd have to explicitly ask the linux kernel to use the lcd)
<diego71>
markvandenborre: do you see the uboot output on hdmi or lcd?
<markvandenborre>
hdmi
gnufan has joined #linux-sunxi
<markvandenborre>
diego71: any ideas?
<diego71>
check the configuration of uboot. there is a page on thelinux-sunxi wiki
<diego71>
last time i make work the lcd on olinuxino, configuring lcd in uboot and then using simple frame buffer
gnufan1 has joined #linux-sunxi
gnufan has quit [Ping timeout: 248 seconds]
<Pe3ucTop>
Small question about MTD , which is correct way to mount fs ? /dev/mtdX or /dev/mtdblockX ?
<Pe3ucTop>
I have in kernel MTD as block device and so have both mtdX (mtdXro) and mtdblockX .
dev1990 has joined #linux-sunxi
<markvandenborre>
diego71: agreed, simple framebuffer is the (only) way to go
obbardc has joined #linux-sunxi
* obbardc
is excited to get the Orange Pi PC2 in the post tomorrow :-)
<obbardc>
first Allwinner board after lots of fighting with linux on other SoCs
netlynx has quit [Quit: Ex-Chat]
<KotCzarny>
unless you can get heat somewhere far far away
<KotCzarny>
oops
<KotCzarny>
wrong chan
Mr__Anderson has joined #linux-sunxi
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
whiliq has joined #linux-sunxi
whiliq has quit [Quit: Leaving]
lkcl has quit [Ping timeout: 264 seconds]
tkaiser has joined #linux-sunxi
benettig_ has quit [Quit: Leaving]
<tkaiser>
icenowy[m]: Did you try to run NanoPi NEO2 with 912 MHz cpufreq?
tllim has quit [Read error: Connection reset by peer]
tllim has joined #linux-sunxi
<tkaiser>
icenowy[m]: There's also another problem with NEO2. For whatever reasons DRAM clockspeed is set to 672 MHz in mainline u-boot while FriendlyELEC themselves used 504 MHz or even just 408 MHz on the boards with single bank DRAM configs.
lkcl has joined #linux-sunxi
popolon has joined #linux-sunxi
<marble_visions>
benettig_ benettig Net147 mripard thank you, got qt5 cinexperience up and running
<marble_visions>
for 10-20 min now
<marble_visions>
mouse is lagging a bit, dunno why
<marble_visions>
but that's definitely mali doing the rendering
<Net147>
marble_visions: it does not make use hardware overlays to render cursor independently of the 3D graphics.
SP7RT has quit [Ping timeout: 252 seconds]
obbardc has quit [Quit: leaving]
Putti has quit [Ping timeout: 260 seconds]
<marble_visions>
Net147: so cursor is software always?
TEKrantz has quit [Ping timeout: 248 seconds]
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 240 seconds]
dave0x6d has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
<Net147>
marble_visions: with eglfs I think so
<Net147>
marble_visions: I mean it is rendered in OpenGL so if 3D graphics takes longer to render then cursor will lag
jstein has quit [Remote host closed the connection]
TEKrantz has joined #linux-sunxi
<Net147>
marble_visions: Mali on A13 is only single core. On A20 it is dual core. As you increase screen resolution and graphics complexity the FPS will drop.
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
<rant>
this reminds me that I know someone with an A20 tablet which has a stripped android on it with little more than a media player, and no sd. Looking to figure out how to get a more featured system put on it. It has no wifi or SD only USB otg.
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jstein has quit [Remote host closed the connection]
Ntemis has quit [Remote host closed the connection]