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
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
vagrantc has quit [Quit: leaving]
lurchi_ has quit [Ping timeout: 248 seconds]
skiboy has quit [Quit: Leaving]
Ntemis has quit [Remote host closed the connection]
lrusak has quit [Quit: lrusak]
lrusak has joined #linux-sunxi
lrusak has quit [Client Quit]
lrusak has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
NiteHawk has quit [Ping timeout: 250 seconds]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
NiteHawk has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 258 seconds]
ninolein has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
willmore has quit [Ping timeout: 248 seconds]
willmore has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
vagrantc has joined #linux-sunxi
__hramrach has joined #linux-sunxi
_hramrach has quit [Ping timeout: 255 seconds]
skiboy has joined #linux-sunxi
__hramrach has quit [Ping timeout: 248 seconds]
__hramrach has joined #linux-sunxi
skiboy has quit [Ping timeout: 248 seconds]
willmore has quit [Ping timeout: 255 seconds]
<lvrp16> tkaiser: thanks
HeavyMetal has quit [Ping timeout: 240 seconds]
mfa298 has quit [Ping timeout: 250 seconds]
mfa298 has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
chewitt has joined #linux-sunxi
willmore has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 255 seconds]
vagrantc has quit [Quit: leaving]
popolon has quit [Quit: WeeChat 1.9.1]
Gerwin_J has joined #linux-sunxi
tl_lim has quit [Quit: Leaving]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
afaerber has quit [Ping timeout: 246 seconds]
afaerber has joined #linux-sunxi
<wens> montjoie: have this funny issue on uboot with a83t emac
<wens> montjoie: after setting ipaddr and netmask, ping doesn't work
<wens> montjoie: but if i run mii info after setting the ip, ping works
megi has quit [Quit: megi]
[7] has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
TheSeven is now known as Guest34968
jbrown has quit [Ping timeout: 252 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<icenowy[m]> wens: could you review my sunxi-tools pull request?
<icenowy[m]> for H6 support
<icenowy[m]> tested by running a modified boot0
<wens> I'm not sure what the review/release model for sunxi-tools is anymore
Guest34968 has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
TheSeven is now known as Guest8917
hardfalcon has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
anarsoul|2 has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
longsleep has quit [Ping timeout: 240 seconds]
cajg has joined #linux-sunxi
skiboy has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
longsleep has quit [Ping timeout: 258 seconds]
longsleep has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
longsleep has quit [Ping timeout: 250 seconds]
longsleep has joined #linux-sunxi
reinforce has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
scream has joined #linux-sunxi
skiboy has quit [Ping timeout: 248 seconds]
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
skiboy has joined #linux-sunxi
skiboy has quit [Remote host closed the connection]
skiboy has joined #linux-sunxi
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Putti has joined #linux-sunxi
skiboy has quit [Quit: Leaving]
skiboy has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
DonkeyHotei has quit [Quit: This is a /quit message.]
DonkeyHotei has joined #linux-sunxi
scream has quit [Remote host closed the connection]
JohnDoe0 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
scream has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
uwe_ has quit [Ping timeout: 248 seconds]
uwe_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
scream has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
arete74 has quit [Ping timeout: 248 seconds]
arete74 has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
skiboy has quit [Quit: Leaving]
Putti has quit [Ping timeout: 248 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
cnxsoft has quit [Quit: cnxsoft]
skiboy has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
cajg has left #linux-sunxi ["WeeChat 1.8"]
GrimKriegor has quit [Ping timeout: 240 seconds]
Ntemis has joined #linux-sunxi
lurchi_ is now known as lurchi__
junnie has joined #linux-sunxi
JohnDoe0 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
lurchi__ is now known as lurchi_
GrimKriegor has joined #linux-sunxi
lurchi_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-sunxi
junnie has quit [Ping timeout: 248 seconds]
junnie has joined #linux-sunxi
LargePrime has joined #linux-sunxi
antony has quit [Read error: Connection reset by peer]
antony1 has joined #linux-sunxi
obbardc has joined #linux-sunxi
<obbardc> icenowy[m], do you have any information on H5 core power supply range for "normal" use? have applied your cpu speed lowering patch, but want it faster!.
<obbardc> thinking about adding PMIC regulator support to u-boot and setting the voltage there.
IgorPec has joined #linux-sunxi
<obbardc> resistors on PCB set voltage to ~1.1V, i'm gonna set it to 1.2v in u-boot
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<obbardc> oh, there's already u-boot support for regulator. I just need to add it into the config. excellent!
arete74 has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
antony1 has quit [Read error: Connection reset by peer]
antony has joined #linux-sunxi
lurchi_ is now known as lurchi__
chlorine has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 268 seconds]
chlorine_ has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
megi has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
Putti has joined #linux-sunxi
scream has joined #linux-sunxi
junnie has quit [Ping timeout: 248 seconds]
Putti has quit [Ping timeout: 260 seconds]
Gerwin_J has quit [Read error: Connection reset by peer]
DonkeyHotei has quit [Quit: This is a /quit message.]
rexxster has quit [Remote host closed the connection]
obbardc has quit [Ping timeout: 246 seconds]
Chris__ has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
dlan has quit [Ping timeout: 240 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
dlan has quit [Changing host]
Putti has joined #linux-sunxi
rexxster has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
antony has quit [Read error: Connection reset by peer]
antony has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
Chris__ has left #linux-sunxi ["Bye!"]
longsleep has quit [Ping timeout: 250 seconds]
longsleep has joined #linux-sunxi
reinforce has joined #linux-sunxi
longsleep has quit [Ping timeout: 264 seconds]
longsleep has joined #linux-sunxi
anarsoul has joined #linux-sunxi
yann-kaelig has quit [Quit: I'll be back]
antony has quit [Ping timeout: 268 seconds]
antony has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
antony has quit [Ping timeout: 240 seconds]
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
Putti has joined #linux-sunxi
chlorine_ has quit [Remote host closed the connection]
antony has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
reinforce has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
reinforce has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
aalm has quit [Ping timeout: 248 seconds]
IgorPec has quit [Ping timeout: 268 seconds]
chlorine has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
lkcl has quit [Ping timeout: 248 seconds]
chlorine has quit [Ping timeout: 255 seconds]
Putti has quit [Ping timeout: 268 seconds]
lurchi__ is now known as lurchi_
netlynx has quit [Quit: Ex-Chat]
nixdork has quit [Quit: EliteBNC free bnc service - http://elitebnc.org/]
lkcl has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
Ntemis has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
nixdork has joined #linux-sunxi
benettig has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
Ntemis has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
ssuloev has joined #linux-sunxi
<ssuloev> hi everyone
<benettig> ssuloev: here we are!
<benettig> speak publicly
<benettig> ssuloev: tried increasing memory-size?
<ssuloev> yes, I am in the middle of it...
<benettig> ok, let me know how it's proceeding
<ssuloev> I changed my device tree patch.. rebuilding
<ssuloev> ok, I'll let know
<benettig> can you pastebin again all files?
<benettig> and say which Soc and board you're using
<benettig> so someone else can help you too
<ssuloev> ok
<ssuloev> SoC is Allwinner H3 (sun8i), board OrangePi PC
<ssuloev> I'll make a new dmesg in a while...
<benettig> and experiencing 0x3003 error
<ssuloev> just wait
<ssuloev> yes
<benettig> ok
<ssuloev> yes.. nothing above has helped me
<ssuloev> neither memory region no fbdev quirks as per Maxime's README
<ssuloev> mali driver itself is loading fine
<ssuloev> no errors
<benettig> ssuloev: are you using both r6p2 version for kernel and user side?
<ssuloev> clean dmesg, I can see that CMA is used and it is of correct size
<benettig> paste link with pastebin
<benettig> of dmseg
<ssuloev> good question
<ssuloev> let me check again
<benettig> ssuloev: at this point it seems only a matter of version matching
<ssuloev> MALI_URL=https://github.com/mripard/sunxi-mali.git
<ssuloev> MALI_BLOBS_URL=https://github.com/free-electrons/mali-blobs.git
<ssuloev> both master branch
<ssuloev> ./build.sh -r r6p2 -b
<ssuloev> ./build.sh -r r6p2 -i
<benettig> kernel side is ok
<ssuloev> yes
<ssuloev> cp -a $MALI_BLOBS_SRC/r6p2/fbdev/lib/lib_fb_dev/lib* $mali_lib/
<ssuloev> cp -a $MALI_BLOBS_SRC/r6p2/fbdev/include/* $mali_inc/
<ssuloev> so far so good
Putti has joined #linux-sunxi
<benettig> which program are you trying to launch that gives you 0x3003 error?
<ssuloev> my oqn app
<ssuloev> my oqn app with QML
<benettig> based one?
<benettig> a step back
<ssuloev> ok
<benettig> compile it and give it a try, it should show a triangle
<ssuloev> ok thx
<ssuloev> i will
<benettig> without Qt5, so we don't mix problems up
<ssuloev> but my program is verified before with raspberry pi
<benettig> it could be a qt5 compilation problem
<ssuloev> with broadcom opengl
<benettig> try malitest for first, so we can exclude all mali side
<ssuloev> ok i got your point
<ssuloev> i need some time
<ssuloev> i'll let know in a while
<benettig> ok
<ssuloev> make: *** No rule to make target '../config.mk', needed by 'test'. Stop.
<benettig> take only test.c and compile it as # arm-linux-gcc test.c -o malitest -lGL
<benettig> sorry, I meant: # arm-linux-gcc -o malitest test.c -lEGL -lGLESv2, as inside its Makefile
<ssuloev> ok
<ssuloev> np
jbrown has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<ssuloev> oh.. I don't have headers in my board
<ssuloev> wait..
<ssuloev> foudn it
<ssuloev> found it
xes_ has joined #linux-sunxi
<ssuloev> getting compilation issue
<ssuloev> struct mali_native_window native_window = {
xes has quit [Ping timeout: 248 seconds]
<benettig> if it's short write it here, otherwise put a pastebin
<ssuloev> test.c:42:27: error: storage size of ‘native_window’ isn’t known
<ssuloev> struct mali_native_window native_window = {
<benettig> oh yes, substitute "struct mali_native_window" with "struct fbdev_window" and recompile, it's only a matter of names of base windows struct
Ntemis has quit [Ping timeout: 268 seconds]
fkluknav has joined #linux-sunxi
tllim has joined #linux-sunxi
<ssuloev> Error: eglCreateWindowSurface failed: 0x00003003
<ssuloev> so I got same result with test
<benettig> ok, so now we know where to watch
Ntemis has joined #linux-sunxi
<benettig> do you have both egl libraries on host and target?
<benettig> the same ones I mean
lurchi_ is now known as lurchi__
chomwitt has joined #linux-sunxi
<ssuloev> yes I got 2
<benettig> can you pastebin your last dmesg? Maybe it could be a problem with drm or framebuffer
<benettig> it's missing last part where you launch malitest
<benettig> I mean, I need you to copy all you console
<ssuloev> well...
<ssuloev> i didn't launch it this time
<ssuloev> let me do it again
<benettig> wait a second
<benettig> ssuloev
<benettig> you've mixed up a lot of different bootargs
Mr__Anderson has quit [Remote host closed the connection]
<ssuloev> that's fine
<ssuloev> only few of them related to video
<benettig> for first, delete "cma=128M" it's not needed and "drm_kms_helper.drm_fbdev_overalloc=200" i've tested it working only with defconfig
<ssuloev> ok
<benettig> use CONFIG_DRM_FBDEV_OVERALLOC=200
lurchi__ is now known as lurchi_
<ssuloev> yes i did
<benettig> mmm, so now I try to take a look at interrupt number of H3 mali. Where did you find the patch for dtsi mali entry?
<ssuloev> in armbian
<ssuloev> let me find
<benettig> checked with datasheet, they are correct
<benettig> can you simply cat /dev/urandom > /dev/fb0 and see random colors on screen?
<ssuloev> i compared it too...
<ssuloev> yes i can
<benettig> another idea
<benettig> try to recompile kernel mali driver
<ssuloev> in what way ?
<benettig> with Debug option
<ssuloev> have an example of what I should add ?
mpmc has quit [Quit: ZNC 1.6.3+deb1+jessie0 - http://znc.in]
<benettig> yes
<benettig> in build.sh change BUILD=release to BUILD=debug in every occurences
<benettig> then retry to load it
mpmc has joined #linux-sunxi
<benettig> it will be very verbose
<ssuloev> i also noticed mali is built 2 time
<ssuloev> did you fix it ?
jstein has quit [Remote host closed the connection]
<benettig> yes I've sent pull request to mripard
<ssuloev> what's the change ?
<ssuloev> ok
<benettig> but it doesn't give problems
<ssuloev> i undertsand.. just annoying
<benettig> rebuild with BUILD=debug and when you insmod pass the argument "mali_debug_level=5", this will make the driver very verbose
Putti has quit [Ping timeout: 250 seconds]
fkluknav has quit [Ping timeout: 248 seconds]
rexxster has quit [Remote host closed the connection]
<ssuloev> Maxime has size = <0x4000000>;
<ssuloev> that's how it looks in his README
Ntemis has quit [Ping timeout: 255 seconds]
<benettig> ssuloev: yes 64M, but you have a full-hd display. I had segmentation faults only for my display 800x480. The point is that cma keeps not only fb multiplied for 2(double buffering)
<benettig> but it keeps all 3d egl stuff inside
<benettig> this is why I increased it at 128M
<ssuloev> okay
<benettig> I had segfault with 32M as I remember.
<benettig> ssuloev: did you recompiled with BUILD=debug? That can tell more about mali error
<benettig> one thing I'm not sure is cma in dmesg, it allocates very often, but the only driver that does it should be mali.ko
<benettig> and this happens before loading it
<benettig> with BUILD=debug it tells you how much it allocates and where, so we can know what's going on underneath
Ntemis has joined #linux-sunxi
<ssuloev> it s assigned to drm display engine too
<ssuloev> Maxime said this in README
<ssuloev> "You'll then need to add the memory-region property pointing to that CMA region in both the display engine and Mali nodes."
<benettig> I didn't do that, and it works
<benettig> he updated that file last days
dave0x6d has quit [Quit: Connection closed for inactivity]
<ssuloev> anyway.. i did like he said
<benettig> and you didn't do that, but in dt-bindings doesn't mention it
<benettig> you bound only gpu to cma
<benettig> and it's ok
<benettig> the only way I can help is if you recompile kernel driver in BUILD=debug mode and you pastebin dmesg
<benettig> I can't do in other ways
<ssuloev> i will
<ssuloev> tomorrow
<ssuloev> too late here
<ssuloev> bye
ssuloev has quit [Quit: Leaving]
dave0x6d has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jstein has quit [Remote host closed the connection]
ssuloev has joined #linux-sunxi
rexxster has joined #linux-sunxi
benettig has quit [Quit: Leaving]
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]
reinforce has quit [Quit: Leaving.]
ssuloev has quit [Quit: Leaving]
scream has quit [Remote host closed the connection]
lurchi__ has quit [Ping timeout: 240 seconds]