[Bug 25324] GL_INVALID_OPERATION (0x502) on x86_64 installations.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 1 20:08:42 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=25324

Jaimos <jaimos at math.boisestate.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jaimos at math.boisestate.edu

--- Comment #3 from Jaimos <jaimos at math.boisestate.edu> 2010-12-01 20:08:42 CST ---
I too have run across an issue very similar to this but it only occurs with a
particular graphical settings on eve-online.

With the recent update to eve online they added antialiasing to the client and
I have been attempting to enable it. First I have modified the registry entry
to enable multisampling. The full key is

[Software\\Wine\\Direct3D]
"DirectDrawRenderer"="opengl"
"MaxFragmentUniforms"="1024"
"MaxVaryings"="52"
"MaxVertexUniforms"="1024"
"Multisampling"="enabled"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"VertexShaderMode"="hardware"
"VideoMemorySize"="512"

After which I can enable antialiasing in eve-online to either 2x or 4x (Note
that you have to disable the hdr option in eve to use antialiasing). After I
restarting I see a splash screen and then get a black screen with only my
cursor. When I kill wine I see the following error repeating in stderr.

err:d3d_surface:surface_blt_fbo >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502)
f
rom glBlitFramebuffer() @ surface.c / 3322

After a bit of investigation I have found the following. The game is running
just fine, there is just a graphical glitch. I am able to quit the game and
even log into eve, I just don't see anything.

The issue is not just tied to antialiasing. The issue occurs when both
antialiasing and the bloom option are enabled. I was able to get the game to
run just fine with antialiasing on and bloom off. Also if I ran eve online with
antialiasing on and bloom off and then turned bloom on all the 2D aspects of
eve would work just fine (menus, side panels, info windows) but the 3D space
world underneath would be black and I could turn it on and off with turning
bloom on and off.

In research of this issue I have found this bug and various other google hits.
It appears that there are a few reported occurrence of a very similar issue in
which the error message GL_INVALID_OPERATION (0x502) appears and the result is
a black 3D screen with only cursor viable.

This issue appears to be restricted to x86_64 as there is a report of the issue
going away when switching to a 32 bit system --
http://www.spinics.net/lists/wine/msg83981.html

I also noticed that many of the reports I found the graphics card was a 9800GT
and maybe this is a nvidia driver issue for this operation and card.

My system is Debian sid on amd64.

graphics card:
Nvidia 9800GT
driver version: 195.36.31

I have tested this on wine-1.3.6 and wine-1.3.8 and have attached the wine.log
file with the debug option WINEDEBUG=+wgl

-- 
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.



More information about the wine-bugs mailing list