[Bug 29786] New: [Diablo II] Software Rasterizer broken after making OpenGL default renderer
http://bugs.winehq.org/show_bug.cgi?id=29786 Bug #: 29786 Summary: [Diablo II] Software Rasterizer broken after making OpenGL default renderer Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: zajec5(a)gmail.com Classification: Unclassified I use software rendering as workaround for bug #14348. I do this by: LIBGL_ALWAYS_SOFTWARE=1 wine ~/.wine/drive_c/Diablo\ II/Game.exe Unfortunately with new Wine releases software renderer doesn't work any more. I've bisected this issue to: 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb is the first bad commit commit 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Aug 30 20:12:31 2011 +0200 ddraw: Make the OpenGL renderer the default one. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Rafa³ Mi³ecki <zajec5(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet(a)gmail.com Regression SHA1| |94ae743ea668e49d40ae4e2dc5f | |e1f5d9be018cb -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 --- Comment #1 from Rafa³ Mi³ecki <zajec5(a)gmail.com> 2012-02-04 07:42:23 CST --- Console output with dd462052c62c3bca78dc51f6bcaa91dec0dfa59f (one commit before making OpenGL default): fixme:advapi:SetSecurityInfo stub err:winediag:X11DRV_WineGL_InitOpenglInfo The Mesa OpenGL driver is using software rendering, most likely your OpenGL drivers haven't been installed correctly fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000. fixme:win:EnumDisplayDevicesW ((null),0,0x33f26c,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32 channels, pretending there's only 2 channels fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32 channels, pretending there's only 2 channels fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. (rendering it great with this commit) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 --- Comment #2 from Rafa³ Mi³ecki <zajec5(a)gmail.com> 2012-02-04 07:44:19 CST --- Console output with 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb (ddraw: Make the OpenGL renderer the default one.): fixme:advapi:SetSecurityInfo stub err:winediag:X11DRV_WineGL_InitOpenglInfo The Mesa OpenGL driver is using software rendering, most likely your OpenGL drivers haven't been installed correctly fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000. fixme:win:EnumDisplayDevicesW ((null),0,0x33f26c,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32 channels, pretending there's only 2 channels fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 32 channels, pretending there's only 2 channels err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect (nothing using OpenGL is visible, I just get white/black/green screen or huge triangles - two per screen) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 --- Comment #3 from Rafa³ Mi³ecki <zajec5(a)gmail.com> 2012-02-04 07:46:15 CST --- Console output with 4d515c07f591a3ccb83f309ac42a92762e00bd7d (Release 1.4-rc2.): fixme:advapi:SetSecurityInfo stub err:winediag:X11DRV_WineGL_InitOpenglInfo The Mesa OpenGL driver is using software rendering, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "Software Rasterizer", version "2.1 Mesa 7.11"). fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 0x4 and card vendor 0000 (using GL_RENDERER "Software Rasterizer"). fixme:win:EnumDisplayDevicesW ((null),0,0x33f208,0x00000000), stub! fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1. err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target err:ddraw:ddraw_surface7_Flip Can't find a flip target err:wgl:internal_SetPixelFormat Invalid operation on root_window (still nothing using OpenGL is visible, I think I just can't see green huge triangles in comparison to 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.28 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[Diablo II] Software |[Diablo II] Software |Rasterizer broken after |Rasterizer broken |making OpenGL default | |renderer | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 --- Comment #4 from Henri Verbeet <hverbeet(a)gmail.com> 2012-02-13 03:59:19 CST --- It seems pretty likely that this is either a bug in swrast or an issue with your setup. I tested this with the Diablo II demo on wine-1.4-rc3 and softpipe from current (d2c54fb) Mesa and it renders fine for me, if a bit slow. For what it's worth, r600g also works fine here. If this is about workarounds for bug 14348, I'd recommend the DRAW_USE_LLVM=0 environment variable mentioned there. If that doesn't work either for some reason, you can still explicitly request the behaviour from before 94ae743 by setting the DirectDrawRenderer registry key. (See http://wiki.winehq.org/UsefulRegistryKeys for details.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 --- Comment #5 from Rafa³ Mi³ecki <zajec5(a)gmail.com> 2012-02-26 05:22:31 CST --- Henri Verbeet: can I ask what llvm version was used to compile your Mesa? If you take a look at: https://bugs.freedesktop.org/show_bug.cgi?id=41791 https://bugzilla.novell.com/show_bug.cgi?id=747333 you'll see I've discovered that downgrading llvm from 3.0 to 2.8 and recompiling Mesa fixes this issue. I guess it means it's Mesa or llvm issue, not Wine, is that right? Should we close this bug report as NOTOURBUG/INVALID? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #6 from Henri Verbeet <hverbeet(a)gmail.com> 2012-02-26 05:34:47 CST --- (In reply to comment #5)
Henri Verbeet: can I ask what llvm version was used to compile your Mesa?
None. At least for the moment r600g doesn't use LLVM for anything, it's only initialized by the common gallium code. I'd be much happier if it stayed that way, but the are plans to use LLVM for the r600g shader compiler. As I'm sure you've noticed by now, LLVM is just a huge pain to work with, or even link against.
I guess it means it's Mesa or llvm issue, not Wine, is that right? Should we close this bug report as NOTOURBUG/INVALID? Yeah, this is INVALID.
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh(a)gmail.com See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=41791 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29786 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-02-26 12:20:18 CST --- Closing -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org