On 05/03/12 17:34, Christian Robottom Reis wrote:
On Thu, May 03, 2012 at 10:19:42AM -0500, Rob Clark wrote:
On Thu, May 3, 2012 at 7:29 AM, Martin Ertsås<marti...@gmail.com>  wrote:
Hi.

I have gotten a lot of help from you guys getting the PowerVR drivers up
and running with the 3.3 kernel on the Pandaboard ES. Problem now is
that all I tested then, was that X was running. After some more work, we
tried out EGL, and found out that this is not working.

The 3.3 kernel I'm using is revision
f8e851d03e884b60b5207f59a342da9cafdb415f from tilt-3.3 from the
ti-landing team. I'm using the PowerVR drivers in
http://ppa.launchpad.net/tiomap-dev/omap-trunk/ubuntu/pool/main/, that
is pvr-omap4_1.7.15.0.1.57 and pvr-omap4-dkms_1.7.15.0.1.54. I'm also
using the libdrm, libdri2 and xorg server from the same place, using the
versions from:
https://launchpad.net/~tiomap-dev/+archive/omap-trunk?field.series_filter=precise

Problem is, when trying to run something using EGL, I get the output from:
http://pastebin.com/e5deVmiD

Running it through gdb on the device, I see that it segfaults in
omap_bo_handle in /usr/lib/libdrm_omap.so.1
any chance you can use current upstream libdrm
(http://cgit.freedesktop.org/mesa/drm)?

there was a fix for this issue.. I guess what you are using has an
earlier version of libdrm_omap patches compared to what is upstream..
Wouldn't it make sense to update the version in ~tiomap-dev, then?
Found a patch from you Rob, that I didn't seem to have applied to libdri2. After applying it, it seems like EGL is working again, at least I can print out EGL extensions. Will try out actually using EGL tomorrow. I still get the message I posted to pastebin though, will try out upstream libdrm tomorrow, and see if it helps.

- Martin

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to