hste_ has quit [Ping timeout: 272 seconds]
dshankar has joined #imx6-dev
dshankar has quit [Client Quit]
cnxsoft has joined #imx6-dev
dshankar has joined #imx6-dev
abrasive_ is now known as abrasive
rz2k has joined #imx6-dev
dshankar has quit [Quit: dshankar]
atiti has joined #imx6-dev
rz2k has quit []
hste_ has joined #imx6-dev
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft has joined #imx6-dev
dshankar has joined #imx6-dev
hste_ has quit [Ping timeout: 272 seconds]
rz2k has joined #imx6-dev
panda84kde has joined #imx6-dev
hste_ has joined #imx6-dev
fossxplorer has joined #imx6-dev
projectgus has quit [Ping timeout: 252 seconds]
projectgus has joined #imx6-dev
panda84kde is now known as diegor
diegor is now known as diego_r
diego_r has quit [Quit: Konversation terminated!]
diego_r has joined #imx6-dev
diego_r is now known as panda84kde
panda84kde is now known as diego_r
diego_r has quit [Client Quit]
projectgus has quit [Ping timeout: 252 seconds]
diego_r has joined #imx6-dev
projectgus has joined #imx6-dev
beeble has joined #imx6-dev
<beeble> hi (silently following rz2k)
<beeble> :)
<rz2k> hi
ajayr has joined #imx6-dev
ajayr has quit [Client Quit]
ajayr has joined #imx6-dev
CruX__ has joined #imx6-dev
blackibiza has joined #imx6-dev
tapani_ has joined #imx6-dev
<CruX__> I'm as dope as two rappers, you better be scared. Cause thats means Albert E equals mc squared!
<blackibiza> hi.. i am looking for infos on 3D acceleration of Vivante GC2000 gpu under X11. As an user reported (rz2k), it is possible to run accelerated graphics under X11, as jas-hacks blog demonstrates
<CruX__> That was totally the wrong window, but if you want the source https://www.youtube.com/watch?v=zn7-fVtT16k
<blackibiza> where can i find the missing source files / libraries in order to construct a personal rootfs with 3D accelerated GUI?
<rm> check the jas-hacks blog, he posted a Debian root FS with acceleration
<rz2k> it is sort of complicated, you need to compile Xorg driver, install binary blobs from Vivante, recompile libdrm with a patch from vivante and for 100% working system you need to recompile the xserver itself using the vivante recommended version
<rz2k> Jasbir done all that in his rootfs
<rz2k> you can just copy his and remove things you dont need
<rm> but I found that having way too many missing pieces to be directly usable for anyone new
<rz2k> link is extracted from Yocto build system
fossxplorer has quit [Read error: Operation timed out]
fossxplorer has joined #imx6-dev
<CruX__> has anyone here tried to get ap mode of the bcm4329 to work?
<rz2k> I have bcm4329 failing to work even in normal mode for long periods of time
<rz2k> and you want an ap mode :p
<CruX__> I have not even tested normal mode :D
<CruX__> I got it to work in open mode, but wep/wpa/wpa2 doesn't work
<blackibiza> does it contain all? And where can i find this Xorg driver?
<rz2k> blackibiza: as I said, it is really complicated unless you know how DRI/DRM/X.org stack works. Xorg side is here http://download.ossystems.com.br/bsp/freescale/source/xserver-xorg-video-imx-viv-3.5.7-1.0.0.tar.gz
<blackibiza> ok thx for the support
<rz2k> but you wont be able to launch it unless you patch libdrm with this patch https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/drm/libdrm/mx6/drm-update-arm.patch
<rz2k> there were couple other issues, but I dont remember which exactly. Jasbir comes here sometimes at evenings, you can ask him
<rz2k> so just take his work and be happy :p
<rz2k> he also setup a bit more complicated part: the gstreamer plugins
<blackibiza> ok thx
<blackibiza> i tried time ago again with same files...as far as i remember, i need to adjust the fast_build.sh contained in the driver and set the path for imx-sdk
<blackibiza> otherwise it doesn't compile
hste_ has quit [Ping timeout: 272 seconds]
<blackibiza> what wasn't working for me was the missing xorg module...
<blackibiza> it's a pity that Freescale didn't write any clear guide for this.
<rz2k> build script in the Xorg driver package can be adjusted, it worked for me on my linaro system. there is also a 3.10.x version of this package, but there are no changes there
<rz2k> Freescale does not care about anything except their softfloat LTIB thing and now Yocto
<rz2k> so dont expect anything packaged for other distros or manuals
<blackibiza> yeah but Yocto is a little bit "limited" from my point of you...and since LTIB is based on oneiric ubuntu, of 3 years ago and Yocto is armhf, i don't understand why there is no porting of yocto stuff to ubuntu/debian
<rz2k> interesting thing is
<rz2k> freescale was a member of Linaro
<rz2k> they even have various branches of kernel at git.linaro.org
<blackibiza> yes...that's out of sense
blackibiza has quit [Quit: Quisque Faber Fortunae Suae]
<WarheadsSE> yeah, we hope to get it working nicely on Arch soon enough
<WarheadsSE> Patching libdrm and the whole pile of Xorg issues is annoying.
cnxsoft has quit [Remote host closed the connection]
CruX__ has quit [Quit: Leaving.]
diego_r has quit [Quit: Konversation terminated!]
atiti has quit [Ping timeout: 246 seconds]
ajayr has quit [Ping timeout: 246 seconds]
ajayr has joined #imx6-dev
jas-hacks has joined #imx6-dev
<JBD1986> jas-hacks, I'm still having some trouble with 2D window dragging.
<jas-hacks> JBD1986: It is not repainting?
<JBD1986> CPU utilization for xserver jumps to 100% when dragging a large window
<JBD1986> which causes the framerate of redrawing to be terrible
<JBD1986> for comparison, when glmark2 is running, cpu utilization is incredibly low
<jas-hacks> and when you drag the glmark2 window?
<JBD1986> same issue
<JBD1986> high cpu
<JBD1986> aslo, I am able to run x11perf
<JBD1986> and it works pretty well, as far as i can tell
<JBD1986> it's not a fullscreen application though
<rz2k> welcome to vivante
<rz2k> using EXA without knowing how it does work
<rz2k> not usig their own g2d accelerator
<rz2k> also just for your knowledge, your imx6 system with vivante drivers uses DRI1 (ONE). the exact same version that was running on Matrox and Savage in 1999-s
<rz2k> no wonder that it will have problems with reassigning buffers
<rz2k> DRI1 will be deleted in 1.16 xorg iirc
<jas-hacks> unfortunately your going to have trace/debug the window manager help identify where the issue is.
<JBD1986> it's not just open box that this issue occurs in, also xfwm
<JBD1986> I suspect that there is something they are doing to replace the missing space that I have the wrong library for
<JBD1986> since this is only an issue when moving windows around
<JBD1986> note: during x11perf, cpu usage for X11 is about 20% of one core, and on some tests it does hit 100%
<JBD1986> i just tested it now
<JBD1986> actually, for most tests it's at 100% now
<rz2k> when you move windows, you invoke functions that redraw the window (damage). these functions can be implemented using DDX, EXA, UXA or GLAMOR. vivante Xorg drivers implement EXA variant of these, please check them out at EXA/src/vivante_exa/vivante_copy|composite|solid|pixmap
<rz2k> if you have time, go copy NEON optimized things from https://github.com/ssvb/xf86-video-fbturbo
<rz2k> https://github.com/ssvb/xf86-video-fbturbo/blob/master/src/cpu_backend.c implements various ddx functions with NEON or VFP
<rz2k> there is nothing wrong with your setup, vivante just did not think this one through
<JBD1986> but jas-hacks did not replicate this issue
<JBD1986> so musn't it be an issue with my config?
<rz2k> try to redraw window on 1080p setup
<jas-hacks> JBD1986: which board are using running on?
<rz2k> I had it going like 1 second or more for the redraw
<JBD1986> custom board similar to sabresd
<rz2k> you might just have different resolutions
<JBD1986> i'm running at 1080p
<JBD1986> over HDMI
<JBD1986> also, should mention i have bpp=32 in my comand line
<jas-hacks> Did you try the debian build?
<JBD1986> If i change that, openbox doesn't start properly, as well as other applications
<rz2k> on Allwinner 16 and 32 bit color make 65% difference
<rz2k> just because 32bit clogs the memory bus on heavy 3d usage
<rz2k> (speaking about 1080p experience)
<JBD1986> well, i was able to bump it to bpp=26
<JBD1986> and it does start
<JBD1986> and has the same issue
<JBD1986> though, CPU utilization might be very slightly lower
<rz2k> hmm, I was able to run it with 16bit color somehow, I dont remember how, needed Xorg config tune ofcourse
<JBD1986> hard to tell
<JBD1986> i can run 16, but not 24
<jas-hacks> 24 should run
<JBD1986> sorry i meant bpp=16
<JBD1986> i get a tty login prompt when I do bpp=24
<jas-hacks> I tested with 32bpp
<JBD1986> it doesn't start my apps
<JBD1986> but like I said, issue is still present even with bpp=16
<jas-hacks> have you allocated enough GPU memory?
<JBD1986> vmalloc=192M didn't do anything for me
<JBD1986> and again, 3D works fine
<jas-hacks> you can set it in your kernel board config file
<JBD1986> do I need to set special memory for the 2D gpu?
<rz2k> vivante xorg driver does not use G2D
<rz2k> these should fix various crap around VPU dying on 1080p encode
<jas-hacks> don't think so, just a vanilla 4.1.0 https://github.com/mtx512/linux-imx/tree/imx_3.0.35_4.1.0-udoo
<rz2k> these are stage fixes from freescale
<rz2k> sent to technexion by request, I guess.
<JBD1986> I would like to negate my x11perf comment, as I just ran that on my workstation, and it similarly caused the CPU to reach 100%
<JBD1986> So I still can't say for sure that 2D X11 acceleration is/is not active
<rz2k> you need pixman/cairo tests
<JBD1986> jas-hacks, were you running 1080p when you tested window drag?
<jas-hacks> JBD1986: hste tested at 1080p
<JBD1986> jas-hacks, thanks, just wanted to make sure
<jas-hacks> JBD1986: did you test with the debian rootfs?
<JBD1986> jas-hacks, no I have been testing our own rootfs, but it might be worthwhile trying others
<jas-hacks> JBD1986: I would test just to validate it works on that rootfs
rz2k has quit []
projectgus has quit [Ping timeout: 252 seconds]
projectgus has joined #imx6-dev
fossxplorer has quit [Remote host closed the connection]
jas-hacks has left #imx6-dev [#imx6-dev]
newell has joined #imx6-dev
<newell> otavio, you around?
bfederau has quit [Remote host closed the connection]
bfederau has joined #imx6-dev