http://bugs.winehq.org/show_bug.cgi?id=30565
Bug #: 30565 Summary: monogame drawing flickers Product: Wine Version: 1.5.3 Platform: x86 URL: http://madewokherd.nfshost.com/omgsecret/pacpac4.tar.b z2 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com Classification: Unclassified
To reproduce: * Download and extract http://madewokherd.nfshost.com/omgsecret/pacpac4.tar.bz2 * Run wine bin/mono.exe pacpacman-xna4.exe
This is a build of an XNA sample to run with MonoGame, based on the following projects: http://www.opentk.com/ https://github.com/madewokherd/wine-mono https://github.com/mono/MonoGame http://sourceforge.net/projects/pacmanxna/
It eventually boils down to opengl calls for the drawing.
On Wine, the graphics flicker like crazy. On Windows, there is no flickering.
I do get a fixme in terminal: fixme:wgl:ConvertAttribWGLtoGLX unsupported 201e WGL Attribute
http://bugs.winehq.org/show_bug.cgi?id=30565
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30565
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com 2012-05-01 12:45:06 CDT --- (In reply to comment #0)
On Wine, the graphics flicker like crazy. On Windows, there is no flickering.
I cannot reproduce flickering. It seems to work fine to me.
I do get a fixme in terminal: fixme:wgl:ConvertAttribWGLtoGLX unsupported 201e WGL Attribute
I think it's not related, 0x201e is WGL_ACCUM_RED_BITS_EXT.
Also, the app doesn't seem to do anything wrong except passing wrong enum to glTexEnvi: glTexEnvi(target = GL_TEXTURE_ENV, pname = GL_TEXTURE_ENV_MODE, param = GL_BLEND_SRC).
http://bugs.winehq.org/show_bug.cgi?id=30565
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com 2012-05-01 12:47:15 CDT --- Created attachment 39988 --> http://bugs.winehq.org/attachment.cgi?id=39988 Do not pass wrong enum to TexEnvi.
You can try the attached patch again MonoGame, but I doubt it'll help.
http://bugs.winehq.org/show_bug.cgi?id=30565
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2012-05-01 13:25:23 CDT --- Maybe it's my graphics drivers at fault. I'm on Ubuntu 12.04.
OpenGL renderer string: GeForce 8600 GT/PCIe/SSE2 OpenGL version string: 3.3.0 NVIDIA 295.40
The patch had no effect.
https://bugs.winehq.org/show_bug.cgi?id=30565
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #4 from Jarkko K jarkko_korpi@hotmail.com --- I tried the game with wine 1.7.18
ati 7870, closed source drivers.
No flickering, but the game speed is very slow.
I don't know if this is interesting/related, but console has few of these lines
fixme:wgl:ConvertAttribWGLtoGLX unsupported 201e WGL Attribute
http://bugs.winehq.org/show_bug.cgi?id=30565
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- Looks fine now.
https://bugs.winehq.org/show_bug.cgi?id=30565
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.