Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
naobsd has quit [Quit: Page closed]
<n1bs> Hello Guys! Is there anyone who can help me to debug USB powering issue on Hackberry board ? Need to find a proper code in sunxi_usb module
<hno> oliv3r, yes bus width is total memory bus width, and i/o width is individual addressable I/O width.
<hno> seems to work fine if i/o width 16 is used even for 8-bit chips however.
<hno> but maybe better performance if set right, don't know.
pfdm has quit [Ping timeout: 250 seconds]
iamfrankenstein has quit [Quit: Nettalk6 - www.ntalk.de]
iamfrankenstein has joined #linux-sunxi
<honx> anyone of you using mainline 3.12 with DT on an A20 board?
cubear has quit [Quit: Leaving]
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
iamfrankenstein has joined #linux-sunxi
<Turl> honx: I am
<honx> i followed the howto from the wiki, u-boot starts fine, the DT stuff as well...but after "Starting Kernel" nothing more is written on serial. any idea what could cause that?
<honx> this is an olinuxino-A20
<honx> kernel config ist sunxi_defconfig...nothing changed
<Turl> honx: hard to say without turning debug on
<honx> ok. for what part of the software?
<honx> the kernel?
<Turl> honx: enable DEBUG_LL and EARLY_PRINTK with menuconfig, choose sunxi uart 0 when enabling the former
<Turl> yes, kernel
<honx> ah, ok. thanks
<Turl> then pass earlyprintk on cmdline from uboot
Black_Horseman has quit [Quit: Αποχώρησε]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
popolon has quit [Quit: Quitte]
<wens> torbenh3: sounds promising
<wens> torbenh3: i screwed up my board yesterday, have to wait till tomorrow to hard reset it when i get in
<honx> turl: ah, it was just a console problem. i get output now and the kernel seems to work fine. thanks a lot for your help :)
<Turl> honx: :) you're welcome
<honx> hm, maybe i could add your hints about earlyprintk to the wiki-howto?
wolfy has quit [Ping timeout: 252 seconds]
pirea has joined #linux-sunxi
pirea has quit [Ping timeout: 248 seconds]
geecko has quit [Quit: Quitte]
pirea has joined #linux-sunxi
pirea has quit [Quit: Leaving]
ccvp753 has joined #linux-sunxi
<ccvp753> can someone point me to some external reading? i thought i knew all of the necessary files to change but i'm now unsure. i'm trying to unpack/edit/repack a cb2 NAND image to flash to a generic chinese a20 board. the board only boots from sdcard but something bricked and now it boots right into FEL mode. i've been editing the files and uploading the correct board parameters but seem to be
<ccvp753> missing something because pheonixsuit keeps erroring with "wrong image"
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<ccvp753> sorry i wasn't more specific, a cb20 android image because i cant find a prebuilt one for this ready to flash.
bennhuang has joined #linux-sunxi
ccvp753 has quit []
bennhuang has quit [Ping timeout: 240 seconds]
bennhuang has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
ccvp753 has joined #linux-sunxi
bennhuang has quit [Remote host closed the connection]
bennhuang has joined #linux-sunxi
<wens> arokux, torbenh3: found the reason for 2 phy's. according to RTL8211E datasheet, phy addr = 0x0 is broadcast.
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
<wens> arokux, torbenh3: hence all phys shall respond
eebrah_ has quit [Ping timeout: 260 seconds]
ccvp753 has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Write error: Connection reset by peer]
yousong has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
bennhuang has quit [Ping timeout: 240 seconds]
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
Taduro has quit [Ping timeout: 264 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Taduro___ has quit [Read error: Connection reset by peer]
drachensun has quit [Quit: Leaving]
n1bs has quit [Ping timeout: 260 seconds]
bennhuang has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
Taduro has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 240 seconds]
eebrah_ has joined #linux-sunxi
wingrime has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
ccvp753 has joined #linux-sunxi
bennhuang has quit [Ping timeout: 240 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
tzafrir has quit [Ping timeout: 252 seconds]
tzafrir has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
eebrah_ has quit [Read error: Connection reset by peer]
Taduro has quit [Read error: Connection reset by peer]
Taduro_ has joined #linux-sunxi
yousong has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
Quarx has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
wingrime has quit [Ping timeout: 272 seconds]
<tomboy64> the cubietruck has 2 configurations in the u-boot boards.cfg: Cubietruck and Cubietruck_FEL - they only differ by one option, SPL and SPL_FEL (without a value)
<tomboy64> what's that for?
<tomboy64> okay
<tomboy64> lmgtfy helped :/
<plaes> anyone who has lwn subscriber access?
wolfy has joined #linux-sunxi
<mripard> Turl: hi
<plaes> mripard: thanks :)
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
maz_ has joined #linux-sunxi
wingrime has joined #linux-sunxi
wolfy has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 248 seconds]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
geecko has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
naobsd has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
maz_ has quit [Ping timeout: 264 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
n01 has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Taduro_ has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc Insomnia 4.0.2, revision: 402, sources date: 20100627, built on: 2010-08-02 17:44:33 UTC 402 http://www.kvirc.net/]
Taduro has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
FDCX has quit [Read error: Connection reset by peer]
Taduro has quit [Ping timeout: 265 seconds]
Taduro__ has joined #linux-sunxi
Taduro_ has quit [Ping timeout: 272 seconds]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
FDCX has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Read error: Connection reset by peer]
Black_Horseman has joined #linux-sunxi
yousong has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
pacopad has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
wingrime has quit [Quit: Lost terminal]
tomboy64 has quit [Ping timeout: 240 seconds]
eebrah has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
rz2k has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah is now known as Guest17721
Guest17721 is now known as eebrah_
Taduro__ has quit [Ping timeout: 245 seconds]
Taduro_ has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
Taduro_ has quit [Ping timeout: 252 seconds]
Taduro_ has joined #linux-sunxi
Taduro___ has quit [Ping timeout: 240 seconds]
Black_Horseman has quit [Quit: Αποχώρησε]
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
popolon has joined #linux-sunxi
lynxis has quit [Quit: No Ping reply in 180 seconds.]
lynxis has joined #linux-sunxi
n1bs has joined #linux-sunxi
Taduro_ has quit [Read error: Connection reset by peer]
arete74_ has quit [Ping timeout: 248 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
Taduro_ has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<libv> ccvp753: "a generic chinese a20 board", i do not think we have that one documented in our wiki yet.
rings_VII has quit [Ping timeout: 264 seconds]
<Turl> hi mripard
AreaScout has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
<buZz> lol libv
Taduro___ has joined #linux-sunxi
n01 has quit [Ping timeout: 272 seconds]
Taduro_ has quit [Ping timeout: 252 seconds]
n01 has joined #linux-sunxi
<tomee^> I've messed up. the sunxi-mali EGL/GLES/UMP drivers do work in framebuffer mode (test/test displays the triangle), however they do not seem to work in X11 (when recompiled for x11 not framebuffer) - the test window is all black. what could have caused that? there are no errors reported by the fbturbo/sunxifb (tried both) xorg driver
<tomee^> apart from being unable to load lima_drm and thus reverting to software rendering for AIGLX
<libv> buZz: there are a few non-cubie a20 boards on aliexpress
<libv> buZz: it would be nice to see a few of them documented
tomboy64 has quit [Ping timeout: 240 seconds]
tomboy64 has joined #linux-sunxi
Taduro___ has quit [Ping timeout: 272 seconds]
codingrobot has quit [Ping timeout: 264 seconds]
n01 has quit [Ping timeout: 240 seconds]
codingrobot has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
<ssvb> tomee^: "reverting to software rendering for AIGLX" is not a problem
<ssvb> tomee^: do you have a complete log?
<tomee^> sure, wait a sec
<tomee^> should I try with xf86-video-fbturbo of xf86-video-sunxifb ?
Taduro has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<ssvb> tomee^: hmm, are you maybe using Arch Linux by chance?
<tomee^> no, no
<tomee^> linaro raring image with ubuntu-ports raring
<tomee^> on your kernel
<tomee^> 3.4.67+
<ssvb> ok, looks good
<ssvb> I just wonder where have you obtained xf86-video-fbturbo and xf86-video-sunxifb, and what is the difference
<ssvb> yes, looks good
<tomee^> wait a sec, will recompile to be certain
<tomee^> with all CFLAGS unset
eebrah_ has joined #linux-sunxi
n01 has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
deasy has joined #linux-sunxi
Taduro has quit [Ping timeout: 246 seconds]
<tomee^> ssvb: http://sprunge.us/PjPG
<Dreadlish> whats difference between fbturbo and sunxifb?
<ssvb> Dreadlish: it's the same thing, fbturbo is just the new name for it
<Dreadlish> ah
<Dreadlish> ok
<ssvb> tomee^: looks like it should work, albeit not blazingly fast
<tomee^> ssvb: so test/test should draw a triangle...
<ssvb> tomee^: the problem is likely on the client side
<tomee^> maybe there's some window manager/session/dbus problem?
<ssvb> run ldd for the test program and check that it is using libMali.so shared library
<ssvb> also you need an X11 variant of the libMali.so blob (if you have the framebuffer mali blob, then it will not work with X11)
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
<ssvb> tomee^: is the test program failing with some error message? or it thinks that it works, but the window is black?
<tomee^> output of ldd: http://sprunge.us/NNRX
<libv> tomee^: what does /usr/lib/libEGL.so point to?
<tomee^> ssvb: output of test: http://sprunge.us/UVhe
<libv> Linux-r3p0-04rel0"
<libv> on A20?
<libv> i thought its kernel came with r3p2-1
<libv> not that i have tried
<ssvb> libv: linux-sunxi is still using r3p0 kernel even on A20
<libv> ah, ok
pacopad has quit [Ping timeout: 245 seconds]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
<libv> ssvb: btw, there is some fun with lima, libUMP and fbturbo, i sometimes get X killed when the screensaver kicks in
<ssvb> libv: r3p2 can be pushed there, but then we will have one more kernel configuration to handle, and somebody also mentioned that it might have some implications for android...
<libv> oh, yeah, makes a lot of sense
<libv> to keep r3p0
<tomee^> it seems libMali links against X11...
n01 has quit [Ping timeout: 252 seconds]
<libv> libUMP should, if you are using r3p0
<ssvb> libv: though r3p2 is needed for making lima comparison with the blob more fair on A20
<tomee^> root@cubietruck:~# ldd /usr/lib/libUMP.so
<tomee^> libdri2.so.1 => /usr/lib/arm-linux-gnueabihf/libdri2.so.1 (0xb6f18000)
<tomee^> libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb6f07000)
<tomee^> libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0xb6efb000)
<tomee^> libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e18000)
<tomee^> /lib/ld-linux-armhf.so.3 (0xb6f49000)
<tomee^> libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb6d31000)
<tomee^> libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb6d1f000)
<tomee^> libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb6d04000)
<tomee^> libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6cf9000)
<tomee^> libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb6cee000)
<tomee^> libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb6ce2000)
<tomee^> also looks right...
<ssvb> libv: the screensaver is kicking in while some gles application is running?
yousong has quit [Quit: leaving]
<ssvb> libv: in any case, this looks like a bug in fbturbo, the X server should not crash even assuming that the client is misbehaving
<tomee^> so, no idea what else to check?
<tomee^> apart from "reinstall everything" ... ;/
<ssvb> tomee^: does the test application bail out? or it looks like it is running but the window is black?
<tomee^> it is running
<tomee^> and the window is black
<tomee^> if I runit xinit path/test
<tomee^> I get a full black screen with output on the console (proper output)
<tomee^> if I run xinit xfwm4 and start it from xterm, there is a black window with decorations rendered
<tomee^> and proper output in xterm
<tomee^> like this: http://sprunge.us/UVhe
<ssvb> tomee^: you can also try installing glmark2-es2 application and check how it works
<tomee^> let's see
<ssvb> tomee^: and check dmesg log for any error messages from disp
<tomee^> ssvb: no errors of course
<tomee^> ssvb: dmesg seems completely OK: http://sprunge.us/fJMN
<libv> tomee^: is es2_info, es2gears working?
<ssvb> tomee^: the symptoms look like the rendering is done to the hardware overlay, but the overlay is just not showing on screen
<ssvb> tomee^: try to set Option "DRI2HWOverlay" "false" in xorg.conf
<tomee^> glmark-es2 is running and printing results
<tomee^> and the window is... BLACK
<Turl> tomee^: did you load mali, ump and chmod accordingly?
<tomee^> Turl: I'm running as root of course, will care about security later.
<Turl> oh, ok
<libv> yeah, seems like ssvb is pointing at the right culprit
<ssvb> tomee^: let me know if toggling the "DRI2HWOverlay" option helps
eebrah_ has quit [Ping timeout: 240 seconds]
<tomee^> maybe there's something wrong with my fex? http://sprunge.us/iNbD
\\Mr_C\\ has joined #linux-sunxi
<tomee^> ssvb: did not help
eebrah_ has joined #linux-sunxi
<libv> tomee^: does dmesg still talk about layers now?
<tomee^> let's see
<tomee^> yes.
<tomee^> Nov 17 15:36:34 cubietruck kernel: UMP<2>: Session closed
<tomee^> Nov 17 15:36:41 cubietruck kernel: [DISP] layer released: 0,101
<tomee^> Nov 17 15:36:41 cubietruck kernel: UMP<2>: Session closed
<tomee^> Nov 17 15:36:44 cubietruck kernel: [DISP] layer allocated: 0,101
<tomee^> Nov 17 15:36:44 cubietruck kernel: UMP<2>: New session opened
<libv> seems like the DRI2HWOverlay toggle did not take hold
<ssvb> tomee^: you can also try to run several gles applications at once
<wens> funny, cubieboard schematics show a emac phy pwr control
<ssvb> tomee^: because only a single overlay is used at the moment, the second gles application is going to take the fallback path in any case
<tomee^> ssvb: meaning... reduce/increase framebuffers in fex?
<tomee^> bb soon, will leave session open, tia
<ssvb> tomee^: no, just launch two instances of glmark2-es2
<libv> or two of the tests
eebrah_ has quit [Read error: Connection reset by peer]
<ssvb> tomee^: is your cubietruck running with the bootloader supporting 2GB of RAM?
<ssvb> now I think that it might be related to some bus vs. physical addresses mismatch
<ssvb> this can indeed potentially affect the framebuffer ump wrappers
eebrah_ has joined #linux-sunxi
<ssvb> but still there is no explanation why disabling the use of disp layers does not seem to take any effect
<ssvb> the fallback path should be still functional
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
Seppoz has joined #linux-sunxi
pacopad has joined #linux-sunxi
n01 has joined #linux-sunxi
n01 has quit [Read error: Connection reset by peer]
ZetaNeta has quit [Ping timeout: 264 seconds]
pacopad_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
pacopad has quit [Ping timeout: 248 seconds]
pacopad_ has quit [Ping timeout: 264 seconds]
pacopad has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
n01 has joined #linux-sunxi
<tomee^> ssvb: maybe it's the sunxi-cedar-mod interfering?
Quarx has quit []
paulk-collins has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Changing host]
ZetaNeta has joined #linux-sunxi
<ccvp753> can someone point me to some external reading? i thought i knew all of the necessary files to change but i'm now unsure. i'm trying to unpack/edit/repack a cb2 NAND image to flash to a generic chinese a20 board. the board only boots from sdcard but something bricked and now it boots right into FEL mode. i've been editing the files and uploading the correct board parameters but seem to be
<ccvp753> missing something because pheonixsuit keeps erroring with "wrong image". I'm using a cb20 android image because I cant find a stock NAND one from the manufacturer.
paulk-collins has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<ssvb> tomee^: that's unlikely (unless you are trying to do video decoding at the same time)
eebrah_ has joined #linux-sunxi
<ssvb> tomee^: in any case, please file a bug at https://github.com/ssvb/xf86-video-fbturbo/issues (with the information about your hardware, exact u-boot and kernel versions, and anything else that you think might be useful)
<ssvb> tomee^: still I would like you to confirm the RAM size visible by the system and experiment a bit more with multiple gles applications and disabling the use of disp layer (hw overlay)
derethor has quit [Ping timeout: 248 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
<tomee^> ssvb: the system sees 2GB
<ssvb> tomee^: if you run two instances of gles applications, do you see two black windows? or one black window and one properly working window? or something else?
<tomee^> let's see
eebrah_ has joined #linux-sunxi
<tomee^> two black windows
<ssvb> hmm, that's rather strange
<Turl> tomee^: do you see some error about lima on the console by any chance?
<tomee^> maybe vaapi is messing around... xinit says: (x-window-manager:981): GLib-WARNING **: (/build/buildd/glib2.0-2.36.0/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
<tomee^> (x-window-manager:981): GLib-WARNING **: (/build/buildd/glib2.0-2.36.0/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
wolfy has joined #linux-sunxi
<tomee^> root@cubietruck:/lib/modules# dmesg |grep lima
<tomee^> root@cubietruck:/lib/modules# grep -i lima /var/log/Xorg.0.log
<tomee^> [ 105.224] (II) FBTURBO(0): [DRI2] DRI driver: lima
<tomee^> [ 105.285] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)
<Turl> ssvb: I think I hit this same problem the other day
<Turl> tomee^: can you try the mv command in here? http://linux-sunxi.org/Binary_drivers#Mesa_libraries_are_still_in_the_way
<ssvb> Turl: this log message is not a problem
<Turl> ssvb: I was trying to get the mali blobs to work the other day, and it insisted that the lima stuff wasn't there, and it didn't work
<Turl> I fixed it by moving mesa as explained on the wiki
<tomee^> I already moved mesa away
<tomee^> ie that folder
<ssvb> tomee^: most likely https://github.com/linux-sunxi/linux-sunxi/commit/482ce7ac54fe637a3ea0aa01c380aa4a919bc230 ("Fix 2GB memory issue for allwinner A20 platform") is not really working right
<tomee^> ssvb: well, but I had the same issue with ct kernel actually...
<tomee^> ssvb: the mali stuff and drivers etc. were pulled from your git though
<ssvb> tomee^: was it the system which could only see 1GB?
<ssvb> tomee^: I tested mali on cubietruck some time ago and it worked, but with old u-boot and old kernel (this was way before linux-sunxi got 2GB support)
<tomee^> ssvb: what do you mean by that?
<tomee^> ssvb: in all kernels that I tried (3.4.43+, 3.4.61+ from ct, 3.4.67+ from sunxi) I saw 2GB
<ssvb> tomee^: I mean that I have not tested mali with 2GB capable u-boot/kernel combo on the cubietruck yet
<ssvb> tomee^: that's what I should probably do
<tomee^> ahh
<tomee^> so it's possible that it's not me messed up the libraries
<tomee^> but that it just doesn't work?
<tomee^> (yet)
<ssvb> I suspect that due to some bus and physical addresses mismatch, mali is writing data to one memory location, but the display controller looks for it at a different memory location
<ssvb> hence all the userspace parts think that everything is working fine, but you see the black windows
<ssvb> but that's just a speculation, I need to verify it first
<tomee^> ssvb: can I see the fex file that you used with your cubietruck? maybe mine's messed up (the fbX part)
<tomee^> ssvb: also, what do you want me to attach to the bug report? probably everything? :)
<ssvb> tomee^: any information that might help to reproduce the bug
<ssvb> tomee^: a link to your ubuntu rootfs would be useful too
eebrah_ has quit [Read error: Connection reset by peer]
<tomee^> will take me some time to skim it from saved passwords and ssh keys, but ok ;)
<tomee^> but hm, do you have a cubietruck around? and it is working?
<tomee^> I mean the thing that is not working here
<ssvb> tomee^: I don't need exactly your rootfs with your tweaks, just a link to the place where you have initially downloaded it is enough
eebrah_ has joined #linux-sunxi
<tomee^> I doubt that, I really downloaded lots of libraries while trying to get XBMC in X11 to work
<tomee^> and in fact I think I succeeded, except for the fact that GLES is broken in the first place ;)
<ssvb> tomee^: I have a cubietruck, but I'm running out of space on my desk :( so it is packed in a box at the moment
<tomee^> so XBMC runs, but the screen is black of course (but I can navigate, hear the GUI sounds etc.)
ZetaNeta has quit [Ping timeout: 252 seconds]
<ssvb> but wait, haven't you said that the framebuffer mali drivers are working correctly?
<tomee^> yes.
<tomee^> they do
<ssvb> xbmc is using framebuffer mali drivers
paulk-collins has quit [Remote host closed the connection]
<tomee^> no
<tomee^> I mean yes
<tomee^> but I pulled it from git
<tomee^> and force-compiled with x11+gles
<ssvb> so it's not xbmc from http://linux-sunxi.org/XBMC ?
<tomee^> no
<ssvb> ok
<tomee^> this one works, except for the fact that... not really
<tomee^> works for divx etc
<tomee^> but high-bitrate h264 breaks it completely
pfdm has joined #linux-sunxi
<tomee^> probably also because I am using sound passthrough
<tomee^> and it confuses the binary libve blobs
<tomee^> so my idea was to try either vdpau with xbmc, or at least get it working it x11 at a reasonable rate for "normal" stuff and have mplayer to play HD files
<tomee^> it does work
<pfdm> tomee^: you an try my branch, its wokring with x11+gles+vdpau also its not finish and integrated
<tomee^> pfdm: sure, happily. what's the url?
<tomee^> pfdm: (as soon as I figure why GLES+X11 is broken for me)
<ssvb> pfdm: is it working on a cubietruck with 2GB of RAM?
<pfdm> ssvb : I don't know , i don't have a cubietruck (yet)
<tomee^> pfdm: thanks. it uses vdpau for h264 and mpeg1 I suppose, and CPU for the rest?
<ssvb> pfdm: ah, ok, it's just this configuration (2GB on CT + mali) is suspected to be problematic
<pfdm> tomee : yes, there is some weird stuff, you can't call vdpau twice right now, and you won't have the OSD, because the rendering for vdpau is through framebuffer and not gles as the rest of xbmc
<pfdm> ssvb: Oh, i should have read the history.
<tomee^> pfdm: ...but I managed to have mplayer play back through VDPAU in X
<tomee^> pfdm: and I could actually move an xterm around overlaying it
<pfdm> ssvb: Did the simple example gles work ?
<tomee^> pfdm: so you can't call vdpau twice, correct, and layers are not implemented in it (yet, or will never be)
eebrah_ has quit [Read error: Connection reset by peer]
<pfdm> tomee : as far as i know , VDPAU is not using the gles , but disp .
<tomee^> pfdm: yes, my point being I managed to have the playback windowed... or maybe I was dreaming?
<pfdm> tomee : exactly , i'll say yet, but if you have courage you can try to change the gles render of xbmc to use disp to draw in the pixmap.
wolfy has quit [Ping timeout: 252 seconds]
<tomee^> pfdm: well, probably...
<tomee^> pfdm: but that would involve a lot of hacking wouldn't it?
<tomee^> and they wouldn't accept it upstream anyway ;(
<pfdm> tomee: exactly ! that's why i choose a different path, and i stopped my experiment with xbmc for now . But I still have hope. And I don't know if you were dreaming, but all mplayer VDPAU does, is drawing in the X11 window reserve space
<pfdm> that's why it appears like a x11 window, but it's a kind of trick.
<pfdm> all x11 does is reserving the space on the screen
<tomee^> yeah, but I had another window overlaid on it
<tomee^> partially
eebrah_ has joined #linux-sunxi
<pfdm> tomee: you mean covering it partially ?
<tomee^> so my idea was to have another "empty" window (like a transparent xterm or something) with the subtitles/osd overlay
<tomee^> yes
<tomee^> partially
<pfdm> ok that normal i think, because in vdpau they use the bottom layer to draw the picture
<ssvb> tomee^: haven't the xbmc people happily accept the raspberry pi dispmanx junk?
<libv> tomee^: still no go?
<libv> there must be some UMP issue then
<pfdm> while i can't do that in xbmc , i use the top layer resulting in loosing the gui after the end of the playback
<tomee^> ssvb: yes, but they have some emotional issues with allwinner, don't they?
eebrah_ has quit [Read error: Connection reset by peer]
<tomee^> ssvb: as long as someone doesn't come up with a VDPAU/wayland implementation for allwinner that's even better than reference design they won't accept it. just because. that's my suspicion.
<ssvb> tomee^: linux-sunxi.org != allwinnertech.com
<tomee^> ssvb: I know.
<tomee^> ssvb: allwinner provides broken (more or less) blobs for android.
<ssvb> tomee^: if you propose a workable fully open source solution to xbmc and they reject it just because it is not using wayland (or some other modern api/framework), then that would make them hypocrites ;)
<tomee^> ssvb: ...and we (ie you, we as the whole users community) are FAR from that...
eebrah_ has joined #linux-sunxi
<ssvb> tomee^: how far are we actually from that? does xbmc strictly depend on gles?
<tomee^> well...
<tomee^> GLES or OpenGL
<tomee^> or wayland
<tomee^> but then there's VDPAU/VAAPI for offloading
eebrah_ has quit [Read error: Connection reset by peer]
ZetaNeta has joined #linux-sunxi
<pfdm> actually, i think that if the blob were working , cedarx would have made it , huceke's version is pretty clean and very nicely integrated .
<tomee^> but the blob is not working ;(
eebrah_ has joined #linux-sunxi
shineworld has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
<tomee^> libv: nope ;(
<tomee^> no, I wasn't dreaming about the xterm overlaid on mplayer with vdpau
<tomee^> I would even try if I can composite a transparent/empty window on it, IF MY GLES WASN'T BROKEN ;p
<tomee^> the composite empty window is drawn but is... guess what? BLACK! :D
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
<pfdm> tomee : do you have the code someplace ?
eebrah has joined #linux-sunxi
<tomee^> for an empty window?
eebrah_ has quit [Ping timeout: 248 seconds]
<pfdm> tomee: yes the empty window you are trying to put on top .
<tomee^> wait a sec
<tomee^> ehh, no, can't hack x11 in 3 minutes
<tomee^> you can try with those (3 programs in one): http://sprunge.us/MeCJ
eebrah has quit [Ping timeout: 245 seconds]
eebrah has joined #linux-sunxi
eebrah is now known as Guest86058
AreaScout has quit []
<ssvb> tomee^: are you using a compositing window manager?
<pfdm> tomee: are you using lima ?
<tomee^> ssvb: xfwm4. what else lightweight should I use?
<tomee^> pfdm: no.
<ssvb> tomee^: is the composition (desktop effects) enabled?
<tomee^> ssvb: as in extension, or xfwm parameter?
<tomee^> I am not using the whole xfce4, only xfwm4
<tomee^> and in the config file compositing is off.
shineworld has quit [Remote host closed the connection]
<ssvb> tomee^: RGBA visuals have no real effect without active compositing (well, the window is still redirected and you lose performance, but you don't get any transparency)
Guest86058 has quit [Read error: Connection reset by peer]
<pfdm> tomee: what are expecting to see for 3 example ?
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
deasy has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<tomee^> pfdm: example no 3 is broken I guess.
<pfdm> yes
<tomee^> pfdm: since it's a hybrid of 2 other snippets.
<tomee^> ssvb: I see.
<pfdm> tomee: n1 is a transparent cube. and n2 is a black
Skaag has quit [Ping timeout: 272 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
wolfy has joined #linux-sunxi
Skaag has joined #linux-sunxi
<tomee^> pfdm: and can you overlay n1 on vdpau ?
eebrah_ has joined #linux-sunxi
n01 has quit [Read error: Connection reset by peer]
n01 has joined #linux-sunxi
<pfdm> tomee: i dont think so , the background is black. I'll try on my cb2.
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
<pfdm> don't expect a different behavior, if it's not working on my laptop.
<tomee^> correct
<tomee^> I didn't spend much time testing it
Skaag has quit [Remote host closed the connection]
n01 has quit [Ping timeout: 248 seconds]
Skaag has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah has joined #linux-sunxi
eebrah is now known as Guest96526
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
Guest96526 has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
pacopad has quit [Quit: pacopad]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
tomee^ has quit [Read error: Connection timed out]
tomee^ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
tgaz has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
paulk-collins has joined #linux-sunxi
tgaz has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
setkeh has quit [Ping timeout: 252 seconds]
steev has quit [Ping timeout: 252 seconds]
popolon has quit [Ping timeout: 252 seconds]
diego71 has quit [Ping timeout: 252 seconds]
setkeh1 has joined #linux-sunxi
diego71_ has joined #linux-sunxi
steev has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
wolfy has quit [Ping timeout: 252 seconds]
Turl has quit [Ping timeout: 252 seconds]
hno has quit [Ping timeout: 252 seconds]
wolfy has joined #linux-sunxi
Turl has joined #linux-sunxi
hno has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
popolon has joined #linux-sunxi
popolon has quit [Remote host closed the connection]
popolon has joined #linux-sunxi
<mripard> Turl: hi
<mripard> U-Boot 2013.10-rc2-00552-ga4591aa85a61-dirty (Nov 17 2013 - 22:40:15) Allwinner Technology
<mripard> CPU: Allwinner A31 (SUN6I)
<mripard> Board: Colombus
<mripard> \o/
<Turl> mripard: howdy
<Turl> mripard: aw's uboot? or ours?
<mripard> ours
<mripard> well
<Turl> \o/
<mripard> mine for now :)
<Turl> brb
<mripard> but it will be ours sometime soon :)
<mripard> it's without SPL for now though
eebrah_ has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah is now known as Guest95523
<Seppoz> mripard: do you have any link to columbia board?
<Seppoz> Colombus
Black_Horseman has quit [Quit: Αποχώρησε]
arokux2 has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<mripard> Seppoz: I have seen nothing but press releases :S
Guest95523 has quit [Read error: Connection reset by peer]
popolon has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-sunxi
<arokux2> ping Turl
<Turl> pong arokux2
<arokux2> Turl: so do you know how to add reset stuff to the clocks? some examples?
<Turl> arokux2: weren't you going to use the reset controller mripard made?
<arokux2> 18:39 <arokux2> mripard: request_mem_region-- i hope that doesn't mean I won't be able to share bits between you driver and sunxi-clk.
<arokux2> 18:43 <mripard> arokux: again, you won't use the driver I just submitted. You'll have a clk driver that drive
<arokux2> Turl: ^
<Turl> ah
<Turl> let me have a look at the reset api
<arokux2> Turl: http://irclog.whitequark.org/linux-sunxi/2013-11-15#5579552; (you'll need to scroll down to find the selected message)
<Turl> mripard: where's the reset documentation? :p
<mripard> Turl: in the user manual
<mripard> depending on the clocks, they might have a reset bit or not
<Turl> mripard: I mean the reset api docs
<Turl> I don't see any Documentation/reset.txt
<mripard> I don't know if there's one
<mripard> but it's straightforward, really.
<Turl> there should be a rule forbidding the merge of new frameworks unless they're minimally documented, just like we get to document bindings
<mripard> you have like 3 callbacks to implement, assert, deassert, reset
eebrah_ has quit [Read error: Connection reset by peer]
<Turl> and an xlate function, probably
<arokux2> Turl: example: drivers/usb/phy/phy-msm-usb.c +309
<mripard> Turl: no, there's a default one that is probably what you want already
<Turl> " * This simple translation function should be used for reset controllers
<Turl> * with 1:1 mapping, where reset lines can be indexed by number without gaps."
<Turl> our reset bits are very likely gapped
<mripard> not for USB
<arokux2> yes, they are 3 bits together
<Turl> on the start of a register?
<mripard> yep
<arokux2> Turl: http://sprunge.us/UURf
<Turl> ok
<Turl> arokux2: do you need me to implement it? :)
<arokux2> Turl: no :p I better do it myself, do not want to depend on you :p
eebrah_ has joined #linux-sunxi
naobsd has joined #linux-sunxi
<Turl> arokux2: you just need a set of stuff_assert/deassert that takes the same lock as the gate
<arokux2> Turl: I just wanted to ask if you know how to do this..
<Turl> and then whatever needed to register them
<arokux2> ok
<Turl> mripard: did you hear back from mike on the pull?
<mripard> no
<Turl> :|
paulk-collins has quit [Remote host closed the connection]
<mripard> anyway, off to bed
<mripard> bye
naobsd has quit [Ping timeout: 250 seconds]
<Turl> mripard: good night
<arokux2> me too, good night.
wolfy has quit [Ping timeout: 252 seconds]
naobsd has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
<arokux2> wens: so do you have the fix I can test?
eebrah_ has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah is now known as Guest47035
naobsd has quit [Quit: Page closed]
arokux2 has quit [Remote host closed the connection]
Guest47035 has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
Skaag has quit [Ping timeout: 272 seconds]
Skaag has joined #linux-sunxi
Skaag has quit [Ping timeout: 248 seconds]
Skaag has joined #linux-sunxi