staylor has quit [Ping timeout: 245 seconds]
ragesoss has quit [Ping timeout: 272 seconds]
ragesoss has joined #imx6-dev
bfederau_ has joined #imx6-dev
Er0l_ has joined #imx6-dev
Er0l has quit [Ping timeout: 255 seconds]
bfederau has quit [Ping timeout: 255 seconds]
victhor has quit [Ping timeout: 252 seconds]
jnettlet has joined #imx6-dev
obinou has quit [Ping timeout: 268 seconds]
obinou has joined #imx6-dev
awakecoding has quit [Excess Flood]
awakecoding has joined #imx6-dev
staylor has joined #imx6-dev
aholler_ has joined #imx6-dev
aholler has quit [Ping timeout: 250 seconds]
stunpix has joined #imx6-dev
staylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fossxplorer has quit [Read error: Connection reset by peer]
tasslehoff has joined #imx6-dev
kroon has joined #imx6-dev
aholler_ is now known as aholler
diego_r has joined #imx6-dev
jnettlet has quit [Ping timeout: 245 seconds]
jnettlet has joined #imx6-dev
FelixH has joined #imx6-dev
FelixH has quit [Quit: Leaving]
ragesoss has quit [Quit: No Ping reply in 180 seconds.]
ragesoss has joined #imx6-dev
sjoerd has quit [Ping timeout: 260 seconds]
zaxari has quit [Ping timeout: 260 seconds]
shogunx has quit [Ping timeout: 260 seconds]
zaxari has joined #imx6-dev
<aholler> "Waf is used in particular by innovative companies" ;)
<aholler> (just looked at eglinfo)
shogunx has joined #imx6-dev
<dv_> where did you find that?
<dv_> oh
<dv_> that sound funny indeed :)
<aholler> glxgears runs (3.10.17), with 40fps ;)
<dv_> is it really using the gpu?
<dv_> 40 fps sounds a little low
<dv_> okay, now the eglinfo output please
<aholler> segfaults: http://dpaste.com/23FPBYF
<aholler> 0x76e11d70 in gcoSURF_GetFormat () from /usr/lib/libGAL.so
<aholler> hmm, Could not find config for OpenGL (perhaps this API is unsupported?)
<dv_> oh, weird, it seems you have a problem with OpenVG
<dv_> the OpenGL bit is correct. this is about OpenGL + EGL. you however were using OpenGL + GLX earlier
<aholler> ah, it's a link to libOpenVG_3D.so, no idea whats the difference to 355, will try 355, maybe it helps
<aholler> no, it was the other way, not it works: http://dpaste.com/04MBB6F
<dv_> right, looks good
<aholler> hmm, kwin_gles runs. will try glx_gears without
<aholler> if that makes a difference at all for glxgears
<aholler> I assume the problem is
<aholler> [ 253.818] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
<aholler> [ 253.819] (EE) AIGLX: reverting to software rendering
<aholler> (and I was wrong yesterday, dri is only provided as binary, the drv is what I compile myself)
<aholler> anyway, at least I have now a starting x11. even if it is slow.
<aholler> next step, testing xbmc with patches for imx and directfb
<aholler> you see, I've no idea about what I deal with. I did some OpenGL programming several years ago but since then I kept away from display-stuff. ;)
<malik> why do you want x11 for xbmc?
<malik> it runs fine without it, probably better
<aholler> don't want it, just haven't found a way to start it without
<malik> i compiled xbmc-imx on my imx6 and it ran fine
<malik> a lot of people do it
<malik> completely without x11
<aholler> maybe, I'm totally new to xbmc. Haven't done much more with it than checking out a git-version and called xbmc ;)
<aholler> and it said it wants x, even if I've configured it without
<malik> i do not have my configure parameters anymore, but you can disable it, definitely
tasslehoff has quit [Quit: WeeChat 0.4.2]
<malik> i built it myself though
<vpeter> I think openelec runs xbmc without x. ( I'm working with it on tbs matrix board).
<malik> i think the important step at configure was enable-gles or something
<aholler> I did so
<malik> vpeter: actually i think nobody runs this stuff under x11.... it only makes things harder
<dv_> x11 also makes it impossible to use vsync
<dv_> be sure to use "export FB_MULTI_BUFFER=2" before running xbmc
<aholler> ah
<vpeter> this will speed up aholler's work :-)
<dv_> you can achieve vsync in x11, but you need some dri2 functions for that. and dri2 isnt what you get from vivante_dri.so
<aholler> I've just an existing ebuild in gentoo and build from some imx-tree at github. enabling gles but not X. And it says: http://dpaste.com/3KAQ664
<aholler> +used
<malik> aholler: better post your configure results
<aholler> they are gone. anyway, let me add the patch for directfb and let me look myself. ;)
<malik> in 3.17 the vpu will be supported in mainline if i see things correctly. then i will throw away xbmc and not use the gpu at all anymore when watchding videos.
<malik> for me every once in a while now the vivante drivers crash and i have to reboot... and the gpu is used in xbmc only for the menu anyway
<malik> directfb? why do want this now?
<aholler> I don't know, I haven't seen a switch to use fb
<malik> i do not use directfb
<malik> i doubt anyone else does
<aholler> so just enabling gles should work without X11?
<malik> i had a lot of configure options but basically egl + gles, yes
<malik> no x11 at all
<aholler> will look at it again, thanks for the info
<aholler> malik: just using gplay or similiar would be nice too. Also xbmc has a nice menu and cec is nice to use too
<jnettlet> malik, for the mx6 branch of xbmc the gpu is used for displaying the video as well.
<aholler> I'm currently playing with this branch: https://github.com/xbmc-imx6/xbmc/tree/pr-imx
<vpeter> I heard IMX6 support is also in XBMC/Kodi.
<malik> jnettlet: aha interesting... for what though?
<malik> i mean... if you just render the video... isn't it a waste of ressources to use the gpu?
<aholler> had to install java first, which needed quiet some fiddling :/
<malik> aholler: i use debian... makes life easier
<aholler> Depends. gentoo is usally as easy as debian and doesn't require to fiddle with dev-packages (they are always there)
<aholler> for a developer gentoo is quiet nice
<aholler> and it was the first which supported hardfloat ;)
<aholler> and is really usable on an imx6q
<aholler> at least when using a sata-hd
<aholler> besides that I'm using it since 2000 ;)
<aholler> (not everywhere, I'm not such an idealist)
<aholler> my desktop is Fedora, my server debian, the netbook ubuntu, the laptop gentoo, my little headless server gentoo too, ... ;)
<aholler> and the last is what should become the i.mx6
<aholler> then with a head ;)
<aholler> hopefully
<jnettlet> malik, because by using the gpu you can map the decoded video frames directly in GPU memory and do basically zero copy to the framebuffer
<aholler> btw., I've just that in the imx-patch: + CEnvironment::setenv("FB_MULTI_BUFFER", "2", 0);
<aholler> ;)
<aholler> +seen
<malik> jnettlet: and you cannot map the decoded video frame directly in the framebuffer? sorry if this is naive
<jnettlet> malik, not usually besides scaling, you also need some way to do image format conversion
<malik> ah ok... for scaling and format conversion it makes sense
<jnettlet> plus it would be very inefficient because you would need to sync the decoder with the vertical sync of the raster device
<aholler> here is the config for xbmc I currently try to use: http://dpaste.com/2RPNHZT
<malik> thinking about it... i think the ipu can do scaling and the ipu csc can do format conversion, right? i don't know how well this is supported in software anywhere
<dv_> I support it in gstreamer-imx
<dv_> the IPU can be picky though
<malik> jnettlet: hm. i do not get this. how does the gpu make the syncing problem easier?
<dv_> certain operations are not supported, and it is not fully clear what the criteria are
rz2k has joined #imx6-dev
<dv_> if you do rotation, you cant do it with surfaces larger than 1024x1024. but non-rotated scaling and csc are supported even with 1080p
<jnettlet> malik, because then you let the vpu just decode frames as fast as it can and the gpu can worry about blitting them over to the framebuffer at the proper time
<jnettlet> if the VPU has to also worry about moving frames around at the proper time it will bottleneck the decoding stream
<dv_> yeah
<malik> jnettlet: interesting.
<malik> dv_: interesting as well...
<malik> good channel to learn something obviously :)
<dv_> deinterlacing is also possible with the ipu
<dv_> also, keep in mind that the ipu can do csc,scaling,rotation,deinterlacing in one step. no need to do this in multiple ones
<dv_> but as always, the software side is a bit rough. there is an "ipu-lib" floating around the web, which is not usable for the imx6. instead, for the imx6, you have to use kernel headers
<malik> dv_: is the ipu driver in mainline supporting this stuff in any way?
<dv_> tbh, I'd rather use G2D instead of the IPU if G2D had deinterlacing support. the API is considerably cleaner. there is also PXP, which I know nothing about yet
<aholler> hmm, I've seen g2d for 3.10.31 ;)
<aholler> whatever that is
<dv_> g2d is the vivante gpu's 2d core
<jnettlet> pxp is much simpler. It is basically for handling camera image sensor data and making it suitable for use by the display or vpu
<dv_> it is generally better to use it (or the IPU, or PXP) instead of the 3d core for 2d content
<dv_> because the 3d core uses much more power
<dv_> jnettlet: could pxp be used for a gstreamer transform element like the IPU?
<dv_> and/or as a video sink (that is, blitting frames to the framebuffer) ?
<jnettlet> there is nothing stopping it from being used. I think it is exposed to userspace via v4l2
<dv_> it would be interesting to have a pro/con table for IPU/G2D/PXP
<jnettlet> oh know it exposes an IOCTL interface to the dma engine part of it
<jnettlet> I have never looked at the userspace side of it :)
<dv_> I've decided to improve gstreamer-imx' ipusink a bit, since many people had concerns about imxeglvivsink's power consumption
<jnettlet> let me know what you find
<aholler> I wouldn't trust the dma. still have to disable it on the uart for uploading the bcm-firmware ;)
<jnettlet> hmmm, never experienced any problems with it.
<aholler> brcm_patchram_plus hangs here when I've enabled dma on the uart.
<malik> i had problems with crappy freescale kernel and uart dma on mx25 and mx5 but not on mx6 iirc
<malik> but not with any other dma
<aholler> can't say about what else use dma, but everything else seems to work (besides the graphics I'm still playing with)
<aholler> and the problem doesn't happen always, but often enough to render bt unusable with dma on the used uart
<aholler> something in 3 out of 4 calls to brcm_patchram_plus just do hang. might be a race somewhere.
<aholler> that happens especially after a reboot
<aholler> (warm-boot)
<aholler> so it might be a reset-problem too
shogunx has quit [Ping timeout: 276 seconds]
Er0l has joined #imx6-dev
shogunx has joined #imx6-dev
Er0l_ has quit [*.net *.split]
Er0l_ has joined #imx6-dev
Er0l_ has quit [Ping timeout: 244 seconds]
kroon has quit [Quit: Leaving]
sjoerd has joined #imx6-dev
paulk-collins has joined #imx6-dev
<aholler> ah, progress. building xbmc failed when I've switched the imx-libs to x11. After switching the libs to fb build was ok. ;)
<aholler> (still not tested as I'm rebuilding with some other things changed) but at least it gives me hint that it might have failed because I've used the wrong imx-libs. And the remote git changed too (around 200 patches more, likely rebased)
stunpix has quit [Ping timeout: 260 seconds]
steeve has quit [Remote host closed the connection]
RaYmAn has quit [Ping timeout: 240 seconds]
RaYmAn has joined #imx6-dev
RaYmAn is now known as Guest73228
tumdedum has quit [Ping timeout: 260 seconds]
tumdedum has joined #imx6-dev
tumdedum has quit [Ping timeout: 255 seconds]
tumdedum has joined #imx6-dev
diego_r has quit [Quit: Konversation terminated!]
tumdedum has quit [Read error: Connection reset by peer]
tumdedum has joined #imx6-dev
jas-hacks has joined #imx6-dev
steeve has joined #imx6-dev
steeve has quit [Remote host closed the connection]
jas-hacks has quit [Remote host closed the connection]
obinou_ has quit [Remote host closed the connection]
obinou has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
obinou has joined #imx6-dev
bfederau_ has quit [Remote host closed the connection]
bfederau has joined #imx6-dev
paulk-collins has quit [Quit: Ex-Chat]
rz2k has quit []