Bug 55343

Summary: [st/dri][llvmpipe] compiz crasher in drisw_update_tex_buffer()
Product: Mesa Reporter: Timo Aaltonen <tjaalton>
Component: Drivers/Gallium/llvmpipeAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: jfonseca
Version: 9.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Timo Aaltonen 2012-09-26 05:29:41 UTC
downstream bug from ubuntu:

https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/927168

started happening for more people when the default fallback session started using llvmpipe. Applies to 8.0.x and 9.0.

It's worked around for now ("Check that pixmaps which aren't managed by us actually exist before binding") but a proper fix should be added to mesa.

some stacktraces:
https://launchpadlibrarian.net/115551011/Stacktrace.txt
https://launchpadlibrarian.net/115545323/Stacktrace.txt
https://launchpadlibrarian.net/115549285/Stacktrace.txt
https://launchpadlibrarian.net/115587684/Stacktrace.txt
https://launchpadlibrarian.net/115563588/Stacktrace.txt
https://launchpadlibrarian.net/115553644/Stacktrace.txt
Comment 1 Jose Fonseca 2014-11-24 20:56:50 UTC
IIUC the compiz-core patch

  https://i116412274.restricted.launchpadlibrarian.net/116412274/2c4b2354-00dc-11e2-a4a9-002481e91f22.txt?token=60HdnFNMGFc5zJXJwfwH9pN2wg6pmXxn

the fix consisted of not calling glXBindTexImageEXT when 

      XGetGeometry (dpy, pixmap, ...)

returns false.


https://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt does say that 

  "Currently, only pixmaps can be bound to textures.  If <draw> is not a
  valid GLXPixmap, then a GLXBadPixmap error is generated."

so indeed this should be handled better.

This technically is a bug in st/dri though.
Comment 2 GitLab Migration User 2019-09-18 18:31:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/225.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.