http://bugs.freedesktop.org/show_bug.cgi?id=24049
Summary: Wine d3d opengl crash
Product: Mesa
Version: 7.5
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i915
AssignedTo: [email protected]
ReportedBy: [email protected]
Grand Prix 4 in Wine 1.1.29 causes page fault with this backtrace:
Backtrace:
=>0 0x7d74b4b3 intel_validate_framebuffer+0x63() in i915_dri.so (0x0033f0b8)
1 0x7d53d569 _mesa_test_framebuffer_completeness+0x3c9() in libdricore.so
(0x0033f118)
2 0x7d545b9c update_framebuffer+0x13c() in libdricore.so (0x0033f148)
3 0x7d545bd7 _mesa_update_framebuffer+0x27() in libdricore.so (0x0033f168)
4 0x7d703ac8 intel_draw_buffer+0x258() in i915_dri.so (0x0033f1c8)
5 0x7d74bd0b intel_render_texture+0x11b() in i915_dri.so (0x0033f238)
6 0x7d53da56 _mesa_set_texture_attachment+0xa6() in libdricore.so
(0x0033f278)
7 0x7d53dcbd framebuffer_texture+0x21d() in libdricore.so (0x0033f2c8)
8 0x7d53e040 _mesa_FramebufferTexture2DEXT+0x70() in libdricore.so
(0x0033f2f8)
9 0x7eb37ea2 initPixelFormats+0x922() in wined3d (0x0033f388)
10 0x7eab0034 InitAdapters+0x8ef4() in wined3d (0x0033f8d8)
11 0x7eb3ca83 WineDirect3DCreate+0x63() in wined3d (0x0033f918)
12 0x7eb86606 Direct3DCreate8+0x66() in d3d8 (0x0033f948)
(I remember playing this game with mesa-7.3 and some older versions of wine,
performance was very bad, but at least the game started.)
I have i915GM with 2.6.31 kernel, mesa-7.5 branch from git as of today.
I've managed to eliminate this page fault with this patch:
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c
b/src/mesa/drivers/dri/intel/intel_fbo.c
index 30f58b1..4d6cd41 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -679,6 +679,8 @@ intel_validate_framebuffer(GLcontext *ctx, struct
gl_framebuffer *fb)
if (rb == NULL)
continue;
+ if (irb == NULL)
+ continue;
switch (irb->texformat->MesaFormat) {
case MESA_FORMAT_ARGB8888:
but the game still doesn't start, and wine/mesa gives these messages and
another page fault:
Mesa: Mesa 7.5.2-devel DEBUG build Sep 20 2009 21:19:50
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Mesa: User error: GL_INVALID_OPERATION in glProgramString(1054: integer value
out of range)
Mesa: User error: GL_INVALID_OPERATION in glProgramString(bad program)
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel