http://bugs.winehq.org/show_bug.cgi?id=21826
Summary: GL_COMBINE_EXT is not supported in the r128 driver Product: Wine Version: 1.1.39 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: maxxus@gmail.com
Created an attachment (id=26421) --> (http://bugs.winehq.org/attachment.cgi?id=26421) Log showing a GL_INVALID_ENUM when using GL_COMBINE_EXT with the r128 driver.
Wine tries to use the GL_COMBINE_EXT extension which only works if your driver supports the GL_ARB/EXT_texture_env_combine extension, which the r128 driver does not. The attached log is from running StarCraft with OpenGL. Here is the snippet from the attached log showing the OpenGL error.
fixme:d3d:context_create >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT); @ context.c / 1438
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maxxus@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21826
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-23 19:32:35 --- Don't file for error messages unless you have an actual problem
http://bugs.winehq.org/show_bug.cgi?id=21826
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-23 19:32:41 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from maxxus@gmail.com 2010-02-23 21:41:17 --- I do have a problem. This error cascades and creates other errors, which causes the screen to be painted white. Which makes the application unusable. I have to use gdi as a workaround.
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-23 23:32:48 --- And what the program is this?
http://bugs.winehq.org/show_bug.cgi?id=21826
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GL_COMBINE_EXT is not |StarCraft screen is painted |supported in the r128 |white (r128 driver) |driver |
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #5 from maxxus@gmail.com 2010-02-24 08:12:01 --- I am using StarCraft as a test, but I'm sure it will affect other applications as well. I can test with some other games to see if the problem presents there as well.
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26421|0 |1 is obsolete| |
--- Comment #6 from maxxus@gmail.com 2010-02-25 07:45:03 --- Created an attachment (id=26474) --> (http://bugs.winehq.org/attachment.cgi?id=26474) Running StarCraft with MESA_DEBUG= and WINEDEBUG=+d3d,+d3d_surface
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #7 from maxxus@gmail.com 2010-02-25 08:04:57 --- Created an attachment (id=26475) --> (http://bugs.winehq.org/attachment.cgi?id=26475) Running Baldur's Gate with MESA_DEBUG= and WINEDEBUG=+d3d,+d3d_surface
Abridged log to fit in the 1000kb limit. I can provide a full log if needed.
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #8 from maxxus@gmail.com 2010-02-25 19:06:44 --- Created an attachment (id=26496) --> (http://bugs.winehq.org/attachment.cgi?id=26496) Running ThemeHospital with MESA_DEBUG= and WINEDEBUG=+d3d,+d3d_surface
Again, abridged. I can provide the full log if needed.
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26496|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #9 from maxxus@gmail.com 2010-02-25 19:11:28 --- So you can see this isn't limited to StarCraft. I'm sure it will present in every OpenGL app I try. The issue is that you can't use GL_COMBINE_EXT with the 128 driver because the r128 driver does not support GL_ARB/EXT_texture_env_combine extension.
http://bugs.winehq.org/show_bug.cgi?id=21826
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|StarCraft screen is painted |GL_COMBINE_EXT is not |white (r128 driver) |supported by the r128 | |driver
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2010-02-25 19:59:53 --- I just checked mesa from git, r128 doesn't make that extension available.
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #11 from Jeff Zaroyko jeffz@jeffz.name 2010-02-25 20:28:00 --- fwiw, the Windows rage drivers don't support the extension either according to OpenGL Extensions Viewer 3.16.
http://bugs.winehq.org/show_bug.cgi?id=21826
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GL_COMBINE_EXT is not |StarCraft screen is painted |supported by the r128 |white with r128 driver |driver |
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-25 20:43:56 --- Jeff summary should indicate what the problem is not what the possible cause might be.
http://bugs.winehq.org/show_bug.cgi?id=21826
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #13 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-28 06:16:15 --- Can you check if the StarCraft image is still white? A lot of code has been changed. Note the GL_COMBINE_EXT error is 'harmless'. It is just part of our generic opengl initialization code. We could filter for it but it shouldn't be causing real issues for StarCraft.
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.39 |1.1.43
--- Comment #14 from maxxus@gmail.com 2010-05-11 09:46:47 --- Still a problem with 1.1.43
http://bugs.winehq.org/show_bug.cgi?id=21826
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.43 |1.1.39
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-11 09:56:40 --- Adding a comment is enough.
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #16 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-11 10:32:39 --- Both theme hospital and StarCraft are 8-bit, so they can show similar issues.
In case of Theme Hospital the following strikes me (StarCraft shows the same error): trace:d3d_surface:surface_allocate_surface (0x14a960) : Creating surface (target 0xde1) level 0, d3d format WINED3DFMT_P8_UINT, internal format 0x1908, width 1024, height 512, gl format 0x1908, gl type=0x1401 Mesa: User error: GL_INVALID_VALUE in glTexImage2D(level=0, width=1024, height=512, depth=1) fixme:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ surface.c / 602
For some reason the texture can't be allocated and the values passed to the call look sane. What's the maximum texture size of this GPU? Or perhaps it takes too much memory (this texture would require 2MB which is quite a lot, since you set 8MB of total memory).
I don't know what is wrong but I'm not sure it is Wine. Basically all we are really doing is drawing 2d data to the screen using opengl. The GL_COMBINE_EXT stuff shouldn't matter.
http://bugs.winehq.org/show_bug.cgi?id=21826
--- Comment #17 from Austin English austinenglish@gmail.com 2012-03-19 14:52:30 CDT --- This is your friendly reminder that there has been no bug activity for 650 days. Is this still an issue in current (1.4 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=21826
maxxus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #18 from maxxus@gmail.com 2012-03-22 09:42:02 CDT --- I believe this to have been a bug with Mesa Drivers and not with wine. I also do not have access to the rage 128 pro graphics card anymore.
http://bugs.winehq.org/show_bug.cgi?id=21826
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |frederic.delanoy@gmail.com
--- Comment #19 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-03-23 07:41:27 CDT --- Closing ABANDONED bugs