Yes, I agree. xorg armada driver is very confusing, after a close up looking it seems that libdrm-etnaviv is not used at all and a sort of backport of it is integrated directly in armada ( https://github.com/xobs/xserver-xorg-video-armada/blob/novena-r2/etnaviv/etnadrm.c). Optizations is not used via a standard way like EXA, but in every places around.
I saw some problems too when playing video, vlc rendering is undoubtedly faster, but etnaviv driver complains (can't remember messages right now). As I said previously, it seems relevant to have an updated driver, I'm looking at a way of implementing an EXA acceleration in omap driver, but I think it is a lot of work :) 2016-11-18 14:30 GMT+01:00 Tomi Valkeinen <[email protected]>: > > On 17/11/16 20:29, Julien wrote: > > Thanks Robert, I will test the new kernel! > > > > > > For kernel part, I don't know about omap2plus, but except backport the > > only thing I modified is the compatible list in etnaviv driver to add > > "ti,dra7-gpu-subsystem", and the dts to enable bb2d and etnaviv required > > gpu-subsystem. > > > > > > For userspace, armada xorg driver contains a lot of things. As I > > understand it : > > - vivante part is an older driver using gal headers and libGAL > > proprietary lib. > > - etnaviv is a driver using libGAL as well, but through the libetnaviv > > which was I guess intended to help etnaviv folks to reverse engineering > > and now deprecated > > - etnadrm is actually the driver used, and for some reason (know what to > > pass to etnaviv kernel for optimizatio) it use libetnaviv which need gal > > headers. It is apparently just a shim and in fact only use open source > > drm driver. > > I got this working on my x15. Nice! > > The userspace side is confusing. There's libdrm-etnaviv in the mainline > libdrm, but afaics that's not used at all (I got the few tests working > that were included). Everything above are out-of-mainline-branches and I > don't quite get what they all are doing. > > Also, when testing x11perf, I see a lot of: > > alloc_contig_range: [fdd38, fdd3f) PFNs busy > > So I don't think everything is fine. > > Tomi > > -- Julien Boulnois -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAB8EWQCNiZUt_gEYBNETLqcNKobENf56AndypV7_6s7%3DTU5-AQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
