| Summary: | dri doesn't work on linux (r200) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Matthias Geissert <matthias.geissert> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.9 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Matthias Geissert
2006-05-22 08:18:23 UTC
Hmm...generally you don't want dlopen() to use RTLD_GLOBAL unless forced to (like this situation) so we shouldn't change this universally inside LoadObject. Sam, any ideas on how to approach this? Is this arguably a bug in DRI? --ryan. See http://dri.sourceforge.net/doc/DRIuserguide.html, section 11.5. There is written that you need to use RTLD_GLOBAL, since, otherwise, nested open of dynamic libraries doesn't work. However, This is necassary in this case, since libGL opens the hardware-specific driver/library. I hope this helps you. This is fixed in subversion, thanks! |