Bug 55343 - [st/dri][llvmpipe] compiz crasher in drisw_update_tex_buffer()
Summary: [st/dri][llvmpipe] compiz crasher in drisw_update_tex_buffer()
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/llvmpipe (show other bugs)
Version: 9.0
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 05:29 UTC by Timo Aaltonen
Modified: 2018-04-13 09:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


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.