Fails to generate texture when running zenity on Nexus 4

Bug #1493625 reported by Robert Ancell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Test case:
1. Run XMir on a Nexus 4:
$ Xmir :0 --desktop_file_hint=dialer-app
2. Run zenity
2. DISPLAY=:0 zenity --info

XMir hits an assertion:
Xmir: glamor_fbo.c:189: glamor_pixmap_ensure_fb: Assertion `fbo->tex != 0' failed.

Digging into the code, the failure is occurring in _glamor_create_tex (glamor/glamor_fbo.c). The glGenTextures is returning a 0 for the texture and not setting an error code in glGetError.

Tags: mako xmir
Revision history for this message
Robert Ancell (robert-ancell) wrote :

The possibilities I've been investigating are:
- We're not setting the GLES context correctly
- There is an issue in the driver that is due to the way we are prompting it
- There is some sort of out of memory issue (doesn't seem to be the case as there aren't a huge amount of textures in use)

Changed in xorg-server (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → Robert Ancell (robert-ancell)
summary: - Nexus 4 fails to generate texture when running zenity
+ Fails to generate texture when running zenity on Nexus 4
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

zenity --info works on a Nexus 4 is Xmir is in -sw mode. However the colours are backwards (red/blue mixed up I think).

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Blocked by bug 1494240 :(

tags: added: xmir
tags: added: mako
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Dropped severity. Glamor is not used by default.

Changed in xorg-server (Ubuntu):
importance: High → Medium
Changed in xorg-server (Ubuntu):
importance: Medium → Low
Changed in xorg-server (Ubuntu):
assignee: Robert Ancell (robert-ancell) → nobody
status: Triaged → Won't Fix
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.