Summary: | Always enabling GL2 support for i915 makes wine apps suffer from SW fallbacks | ||
---|---|---|---|
Product: | Mesa | Reporter: | Ruslan Kabatsayev <b7.10110111> |
Component: | Drivers/DRI/i915 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | eero.t.tamminen, eric, hverbeet, luke, mirh, stefandoesinger |
Version: | 9.2 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ruslan Kabatsayev
2014-01-31 08:35:33 UTC
Running with INTEL_DEBUG=perf reveals the following messages: intel_copy_texsubimage mismatched formats MESA_FORMAT_ARGB8888, MESA_FORMAT_RGB565 intelCopyTexSubImage - fallback to swrast intelReadPixels: fallback to swrast intel_copy_texsubimage mismatched formats MESA_FORMAT_ARGB8888, MESA_FORMAT_RGB565 intelCopyTexSubImage - fallback to swrast intelReadPixels: fallback to swrast intel_copy_texsubimage mismatched formats MESA_FORMAT_ARGB8888, MESA_FORMAT_ARGB1555 intelCopyTexSubImage - fallback to swrast intelReadPixels: fallback to swrast intel_copy_texsubimage mismatched formats MESA_FORMAT_ARGB8888, MESA_FORMAT_ARGB4444 intelCopyTexSubImage - fallback to swrast [skipped repeats] ENTER FALLBACK 100000: point sprite coord origin Mapping a busy BO, causing a stall on the GPU. ENTER FALLBACK 100000: point sprite coord origin Mapping a busy BO, causing a stall on the GPU. Mapping a busy BO, causing a stall on the GPU. The ones leading to slowdown are "point sprite coord origin" ones. If I disable glPointParameteri* calls as suggested by Henri Verbeet [1], such serious slowdown isn't observed. [1]: http://www.winehq.org/pipermail/wine-devel/2014-January/102662.html Specifically, it looks like this is I915_FALLBACK_POINT_SPRITE_COORD_ORIGIN in i915PointParameterfv(). Adding the commit author to CC, otherwise this seems to be going nowhere. This bug seems to appear and disappear... in Mesa 11.0.2 it wasn't present: i915 returned OpenGL 1.4 version. Now with Mesa git I have 2.1 Mesa 12.1.0-devel (git-c2f2252). So this is valid again. I have to use MESA_GL_VERSION_OVERRIDE=1.4 to get Wine games work normally without software fallbacks. BTW, i915 doesn't report GL>1.4 in Windows, so shouldn't (at least by default) do so in Linux. -- 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/735. |
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.