http://bugs.winehq.org/show_bug.cgi?id=17992
Summary: fixme:d3d error, screen is broken, and then flips forever Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: luciano90@gmail.com
Created an attachment (id=20362) --> (http://bugs.winehq.org/attachment.cgi?id=20362) Error log while running ragnarok
First, the screen is broken like in to 3 segments, that are correct, but aren't in correct order, see screenshot #1.
A few seconds later, the screen starts to flip, like inverting itself, forever, mouse can't be moved by now, and an error appears forever: fixme:d3d_surface:read_from_framebuffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glReadPixels @ surface.c / 875
Anyway, i'm using: Direct3D: DirectDrawRenderer = opengl OffscreenRenderingMode = fbo X11 Driver: Managed = N Decorated = N
Running on a virtual desktop 800x600 (same resolution used in Setup.exe with fullscreen). Wine D3D7 RGB, Wine D3D7 HAL, Wine D3D7 T&L HAL, appear at Setup.exe, I've tried the 3, all do the same thing.
For starting the game: wine GaiaRO.exe 1rag1 1sak1 (it's a private server).
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #1 from Luciano Contartese luciano90@gmail.com 2009-04-10 09:32:12 --- Created an attachment (id=20363) --> (http://bugs.winehq.org/attachment.cgi?id=20363) screenN1
As the game starts, before the following line appears: fixme:d3d_surface:read_from_framebuffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glReadPixels @ surface.c / 875
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #2 from Luciano Contartese luciano90@gmail.com 2009-04-10 09:33:19 --- Created an attachment (id=20364) --> (http://bugs.winehq.org/attachment.cgi?id=20364) ScreenN2
What happens when the following line appears: fixme:d3d_surface:read_from_framebuffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glReadPixels @ surface.c / 875
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #3 from Luciano Contartese luciano90@gmail.com 2009-04-10 09:34:27 --- Created an attachment (id=20365) --> (http://bugs.winehq.org/attachment.cgi?id=20365) ScreenN3
Same as screen N2. Take in account that this happens too fast in real...
http://bugs.winehq.org/show_bug.cgi?id=17992
Bjørnar Hansen tilbjornar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tilbjornar@gmail.com
--- Comment #4 from Bjørnar Hansen tilbjornar@gmail.com 2009-04-27 13:36:21 --- I see similar behaviour when I try to run "The Longest Journey". Parts of the screen flips continuously upside down and back again. The log is filled with the same error message:
fixme:d3d_surface:read_from_framebuffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glReadPixels @ surface.c / 875
In addition, I get this in the log (may be unrelated):
fixme:d3d_surface:IWineD3DSurfaceImpl_UnlockRect Depth Stencil buffer locking is not implemented
http://bugs.winehq.org/show_bug.cgi?id=17992
Bart psisavant@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |psisavant@gmail.com
--- Comment #5 from Bart psisavant@gmail.com 2009-05-10 18:49:07 --- I've had the same problem with a different private server recently. In my case adding new keys to wine registry (just type 'wine regedit' in terminal) helped. Go to HKEY_Current User --> Software --> Wine --> Direct3D. Create new key here named 'RenderTargetLockMode' and set the value to 'Disabled'. You may also need to change key value in HKEY_Current User --> Software --> Wine --> WineDbg (key named BreakOnFirstChance) to 'FALSE'
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #6 from Bart psisavant@gmail.com 2009-05-10 18:59:04 --- (In reply to comment #5) On the side note: you might suffer serious performance hit, or be unable to run your other wine applications with these keys so I would suggest to back-up your registry before.
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #7 from Bjørnar Hansen tilbjornar@gmail.com 2009-05-11 07:23:22 --- (In reply to comment #5) Thanks, changing both those values made the flipping stop. In the terminal this message is churned out: fixme:d3d_surface:IWineD3DSurfaceImpl_UnlockRect Depth Stencil buffer locking is not implemented
However, some new problems are noticeable now. They are maybe unrelated to the first problem? 1: The game seems to have problem showing 3D models correctly. All static objects and backgrounds are pre-rendered, so they seem fine. The player model ("April") and other models are pretty much invisible though, and when I can see it there's only parts of it, and it is black. 2: The mouse pointer is invisible in menus, and flickers in-game. 3: Videos have no picture, only sound.
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #8 from Bart psisavant@gmail.com 2009-05-12 05:54:01 --- (In reply to comment #7)
(In reply to comment #5) Thanks, changing both those values made the flipping stop. In the terminal this message is churned out: fixme:d3d_surface:IWineD3DSurfaceImpl_UnlockRect Depth Stencil buffer locking is not implemented
However, some new problems are noticeable now. They are maybe unrelated to the first problem? 1: The game seems to have problem showing 3D models correctly. All static objects and backgrounds are pre-rendered, so they seem fine. The player model ("April") and other models are pretty much invisible though, and when I can see it there's only parts of it, and it is black. 2: The mouse pointer is invisible in menus, and flickers in-game. 3: Videos have no picture, only sound. Well I forgot to mention that my display was not perfect after these edits (but it was actually playable) either. If I were you I would try checking this site: http://wiki.winehq.org/UsefulRegistryKeys. Try changing keys I've mentioned earlier to different values.
http://bugs.winehq.org/show_bug.cgi?id=17992
sebban@slopsbox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebban@slopsbox.com
--- Comment #9 from sebban@slopsbox.com 2009-07-03 15:24:58 --- I have the same problem. It seems to be due to a bug in the Fglrx driver where glReadPixels doesn't work on a pbuffer (found some info on it here: http://fhtr.blogspot.com/2009/04/and-now-glreadpixels-works-on-ati.html).
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #10 from Austin English austinenglish@gmail.com 2010-06-04 15:43:49 --- This is your friendly reminder that there has been no bug activity for 11 months. Is this still an issue in current (1.2-rc2 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17992
--- Comment #11 from Bjørnar Hansen tilbjornar@gmail.com 2010-06-12 04:13:24 --- (In reply to comment #10)
This is your friendly reminder that there has been no bug activity for 11 months. Is this still an issue in current (1.2-rc2 or newer) wine?
No, at least not in The Longest Journey. I no longer get the flipping screen or the GL_INVALID_OPERATION error message.
http://bugs.winehq.org/show_bug.cgi?id=17992
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-12 07:17:09 --- Probably fixed then.
http://bugs.winehq.org/show_bug.cgi?id=17992
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2010-06-18 12:46:49 --- Closing bugs fixed in 1.2-rc4.