Hardware accelerated GL ES2 TrimSlice?

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Hardware accelerated GL ES2 TrimSlice?

Postby molocia » Mon Oct 03, 2011 7:58 am

Has anyone been able to run something under arch on the TrimSlice under GL ES2 without running it under the software fallback?

I tried adding in all the GS ES/ES2 headers from khronos.org and compiled something against the opengles included in the nvidia-trimslice package, but then I first get the software fallback warning, and then I get a ton of shader compilation failed errors.

If I use anything that links against mesa it will allow me to write GL ES2 code, but it will give me the whole "EGL: warning, using software fallback" and then it runs on the software rasterizer which is fairly obvious that it would... but it is also really really slow.

I did manage to get glmark2 to compile, and it showed decent benchmark numbers, but that is so far the only thing I've been able to do using GL ES2.
molocia
 
Posts: 3
Joined: Wed Sep 28, 2011 10:10 am

Re: Hardware accelerated GL ES2 TrimSlice?

Postby flyaway » Sat Nov 17, 2012 10:55 pm

GLES2 works fine for me with nvidia-tegra package, available in aur.
You also can install libegl and libgles packages to get development headers and mesa-demos-git to test GLES output with es2_info and es2gears_x11 commands.

All binary packages that was described above are available in official repos and in my own repo fly-ac100

In fact, you can even get hardware accelerated video decoding for supported format with totem or nvgstplayer, if your kernel has necessary config options and code. At least we get it working on Toshiba AC100 (same tegra2 chip inside) :D
You can read about this at the AC100 wiki

There is one problem with this stuff for now - after pacman -Syu couple a days ago I have half of XFT-rendered text on the screen with artefacts. Hope to get it fixed soon. May be this problem doesnt affect trimslice.
Last edited by flyaway on Sun Nov 18, 2012 12:09 pm, edited 2 times in total.
flyaway
 
Posts: 5
Joined: Sun Oct 14, 2012 3:33 pm

Re: Hardware accelerated GL ES2 TrimSlice?

Postby pepedog » Sat Nov 17, 2012 11:20 pm

I have been testing l4t.r16 kernel, all seems fine. Will update soon
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Hardware accelerated GL ES2 TrimSlice?

Postby flyaway » Tue Nov 27, 2012 8:58 pm

$this->bbcode_second_pass_quote('flyaway', '
')There is one problem with this stuff for now - after pacman -Syu couple a days ago I have half of XFT-rendered text on the screen with artefacts. Hope to get it fixed soon. May be this problem doesnt affect trimslice.


Looks like I find it out.
Bug 32612 related to use-pixman-glyph-cache.patch in new (1.13.0-4 and 1.13.0.901-1) xorg-server versions affects tegra2 too.

So I have to downgrade it to latest version withot this patch xorg-server-1.13.0-3-armv7h.pkg.tar.xz and my fonts looks pretty well now.
flyaway
 
Posts: 5
Joined: Sun Oct 14, 2012 3:33 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 11 guests