HW accelerated graphics doesn't work on Snowball Ubuntu Image

Bug #880209 reported by Zach Pfeffer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
High
Kalle Vahlman
Linaro Android
Fix Released
High
Unassigned
Linaro Ubuntu
Fix Released
Undecided
Lee Jones
Zach Pfeffer (pfefferz)
Changed in linaro-android:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Revision history for this message
Riku Voipio (riku-voipio) wrote :

Likewise in linaro-ubuntu, included libGLESv2 and libEGL are software-rendering versions from Mesa.

tags: added: hwgfx linaro-ubuntu lt-snowball
Frans Gifford (fgiff)
tags: added: linaro-android snowball
Frans Gifford (fgiff)
tags: added: snowball-landing snowball-staging
tags: added: unity-3d
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Riku Voipio (riku-voipio) wrote :

Linaro-ubuntu now has mali400 gles libraries installed. However they do not work.

1) linaro user has no permission to the device nodes needed (/dev/mali and /dev/hwmem (WTF)).

2) even with the right permissions added, no gles app works. es2_info will just fail with eglInitialize() failed, es2gears as well.

This is easy to reproduce with the included es2gears and es2_info apps.

Revision history for this message
Anmar Oueja (anmar) wrote :

Kalle: Can you please work with Riku to figure out if the 3D acceleration is working or not and why it is not. If it is not on Ubuntu, please file a separate bug

Changed in igloocommunity:
assignee: nobody → Kalle Vahlman (kvahlman)
Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

The mali 400 support is working for the Android Landing Snowball build in the 11.12 release

Amit Pundir (pundiramit)
Changed in linaro-android:
status: Confirmed → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

any update on the ubuntu driver front? Kalle, anything you need from us?

Revision history for this message
Patrik Klinger (patrik-klinger) wrote :

+Alexander Sack The HW accelerated Graphics does work on the Ubuntu track. Unfortunately the last release that was made from Linaro is still not as uptodate as the one released on IglooCommunity.

That will change from the January release and all snapshots before that. The teams are now working on one track and only one track.

Anmar Oueja (anmar)
Changed in igloocommunity:
milestone: none → 2012.01
Anmar Oueja (anmar)
Changed in igloocommunity:
importance: Undecided → High
Revision history for this message
Anmar Oueja (anmar) wrote :

This bug references the Linaro ubuntu image and not the image Movial puts out on igloocommunity.

summary: - HW accelerated graphics doesn't work on snowball
+ HW accelerated graphics doesn't work on Snowball Ubuntu Image
no longer affects: linaro-landing-team-ste
Changed in igloocommunity:
status: New → Confirmed
Changed in linaro-ubuntu:
status: New → Confirmed
Revision history for this message
Kalle Vahlman (kvahlman) wrote :

I lived in confusion-land with this one, but here's roughly what happened (to raise awareness of these issues for the future):

The sources for the X.Org driver was taken from a wrong branch which didn't have udev and xorg.conf settings, thus making X.Org use FBDEV and be apparently ok with smoketesting. This masked the b2r2lib problem.

b2r2lib got introduced patches from ICS track that changed the kernel<>b2r2lib API in an incompatible way and these were accidentally pulled into the package on PPA by me. This made the X.Org driver fail after getting the udev and xorg.conf bits in place.

When this was discovered, I reverted the API changes but still the error persisted. After much pondering and rebuilding b2r2lib I realized that the API "checksum" (request struct size) was created in the X.Org driver rather than b2r2lib itself...

So now we have a b2r2lib with the API change reverted and a build-dep change for the X.Org driver to depend on the good b2r2lib version in the pipeline so next build should be working.

Changed in igloocommunity:
status: Confirmed → Fix Committed
Revision history for this message
Anmar Oueja (anmar) wrote : Re: [Bug 880209] Re: HW accelerated graphics doesn't work on Snowball Ubuntu Image

Great work Kalle. Thank you for figuring this out.

Revision history for this message
Lee Jones (lag) wrote :

This now only works for some people. I will continue my investigations today.

Changed in linaro-ubuntu:
assignee: nobody → Lee Jones (lag)
Anmar Oueja (anmar)
Changed in linaro-ubuntu:
milestone: none → 12.01
Lee Jones (lag)
Changed in igloocommunity:
status: Fix Committed → Fix Released
Changed in linaro-ubuntu:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.