[Bug 21926] New: Invalid glCopyTexSubImage2D call
http://bugs.winehq.org/show_bug.cgi?id=21926 Summary: Invalid glCopyTexSubImage2D call Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: m.cencora(a)gmail.com During d3d9 visual test(np2_strect_rect_test) wine is calling glCopyTexSubImage2D for texture level 0, that hasn't been previously defined with glTexImage2D call (at least that's what mesa is reporting). Reproducable on r300 dri driver under KMS, and software rasterizer with disabled extensions: EXT_framebuffer_blit, ARB_framebuffer_object, ARB_texture_npot. fixme:d3d_surface:fb_copy_to_texture_hwstretch >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCopyTexSubImage2D @ surface.c / 3309 It's the first glCopyTexSubImage2D function call in the fb_copy_to_texture_hwstretch. -- 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=21926 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |-unknown --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-05 01:33:12 --- What program is this? What exactly the issue you are seeing? -- 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=21926 --- Comment #2 from Maciej Cencora <m.cencora(a)gmail.com> 2010-03-05 03:18:10 --- The program is wine d3d9 dll unit test (wine/dlls/d3d9/tests/visual.c IIRC) function np2_strect_rect_test. The issue is the test fails because wine is trying to override a region of a texture image with glCopyTexSubImage2D, but the image hasn't been defined before with gl(Copy)TexImage2D call. Then this texture image is used during rendering operation, but since the image doesn't exist the render operation fails. The error seem to be in wined3d/surface.c function fb_copy_to_texture_hwstretch. I've notified Roderick Colenbrander on IRC yesterday about this problem. -- 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=21926 Rafał Mużyło <galtgendo(a)o2.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |galtgendo(a)o2.pl --- Comment #3 from Rafał Mużyło <galtgendo(a)o2.pl> 2010-04-19 16:49:48 --- I'm seeing GL_INVALID_OPERATION on r300 dri driver under KMS with wine 1.1.43 too (within a game). err:d3d:swapchain_blit >>>>>>>>>err:d3d:swapchain_blit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Swapchain present blit(EXT_framebuffer_blit) @ swapchain.c / 134 and err:d3d_surface:surface_set_texture_name Surface has SFLAG_INTEXTURE set, but no texture name err:d3d_surface:IWineD3DSurfaceImpl_ModifyLocation 0x1fdf7d0: Surface does not have any up to date location fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT (0x8cd9) fixme:d3d:context_check_fbo_status Color attachment 0: (0x1fdf7d0) WINED3DFMT_B5G6R5_UNORM 1024x256 fixme:d3d:context_check_fbo_status Depth attachment: (0xd40930) WINED3DFMT_D32_UNORM 640x480 err:d3d_draw:drawStridedSlow >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glEnd and previous calls @ drawprim.c / 306 It's actually a step up, as about 2-3 versions back all I was getting was a crash. -- 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=21926 Jaime Rave <jaimerave(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave(a)gmail.com --- Comment #4 from Jaime Rave <jaimerave(a)gmail.com> 2010-10-09 01:43:13 CDT --- I'm getting this error while trying to play Civilization IV Warlords in an Intel GM45, Mesa 7.10 Git OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT OpenGL version string: 2.1 Mesa 7.10-devel OpenGL shading language version string: 1.20 Mesa: User error: GL_INVALID_OPERATION in glCopyTexSubImage2D(undefined texture level: 0) err:d3d_surface:fb_copy_to_texture_direct >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCopyTexSubImage2D @ surface.c / 2904 The background of the main menu looks completely distorded. You can check the attached screenshots. Any additional information I can add to this bug to help? -- 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=21926 --- Comment #5 from Jaime Rave <jaimerave(a)gmail.com> 2010-10-09 01:43:43 CDT --- Created an attachment (id=31194) --> (http://bugs.winehq.org/attachment.cgi?id=31194) Screenshot of the issue -- 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=21926 --- Comment #6 from Jaime Rave <jaimerave(a)gmail.com> 2010-11-09 20:46:41 CST --- Still a problem in wine-1.3.6-335-gd5fa2ce -- 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=21926 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #7 from joaopa <jeremielapuree(a)yahoo.fr> 2011-07-09 09:09:33 CDT --- still a bug in current wine? -- 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=21926 --- Comment #8 from joaopa <jeremielapuree(a)yahoo.fr> 2012-11-03 15:56:39 CDT --- no answer since 2 years. This bug can be closed as ABANDONED. -- 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=21926 --- Comment #9 from Rafał Mużyło <galtgendo(a)o2.pl> 2012-11-03 17:05:48 CDT --- Well, on a different testcase I can see fixme:d3d_surface:surface_allocate_surface No GL internal format for format WINED3DFMT_D16_UNORM. (that's with 'fbo', with 'backbuffer' the complaints are different: first a short series of fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats followed by much longer series of fixme:d3d:wined3d_buffer_preload Too many full buffer conversions, stopping converting.) on an r200. That's a bit older than r300, but may hint the problem is still there. Chances are the original poster simply had a hardware upgrade. -- 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=21926 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2012-11-05 02:32:46 CST --- Abandoned -- 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=21926 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |00cpxxx(a)gmail.com --- Comment #11 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-11-10 16:27:28 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