http://bugs.winehq.org/show_bug.cgi?id=13968
Summary: 3d graphics are positioned incorrectlly on the screen Product: Wine Version: 1.0-rc5 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: julianlubenov@abv.bg
3d graphics in Chessmaster 11 - Grandmaster Edition are positioned so incorrectly on the screen that they aren't displayed at all or pushed upper and displayed partially if you are using the 3d desktop in ubuntu. The reason that the graphics are displayed somehow when you are using 3d desktop is because the backbuffer is smaller. I think the whole problem is in the IWineD3DSwapChainImpl_Present function in swapchain.c file in wined3d. The problem is that handling the pSourceRect and pDestRect parameters (which control the copying parts from the backbuffer to the window) of the function is not implemented yet (FIXME("Unhandled present options %p/%p\n", pSourceRect, pDestRect);).
http://bugs.winehq.org/show_bug.cgi?id=13968
Julian Lubenov julianlubenov@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julianlubenov@abv.bg
http://bugs.winehq.org/show_bug.cgi?id=13968
Ben Hodgetts (Enverex) ben@atomnet.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@atomnet.co.uk Summary|3d graphics are positioned |3D graphics in Chessmaster |incorrectlly on the screen |11 are positioned | |incorrectly
--- Comment #1 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-17 10:55:43 --- Please attach a terminal logfile from the app and also a screenshot of the problem.
Also corrected the summary.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #2 from Julian Lubenov julianlubenov@abv.bg 2008-06-17 23:56:25 --- Created an attachment (id=14142) --> (http://bugs.winehq.org/attachment.cgi?id=14142) This is the output of the console
This is the output of the console. Notice the fixme "fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options 0x100381ec/0x100381fc" it is displayed all the time when 3d graphics are displayed.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #3 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:02:13 --- Created an attachment (id=14143) --> (http://bugs.winehq.org/attachment.cgi?id=14143) menu not displaied
This black square is the menu. I think the problem is that the window is too small and the back buffer is much bigger so the part that is copied from the back buffer to the window is empty.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #4 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:07:20 --- Created an attachment (id=14144) --> (http://bugs.winehq.org/attachment.cgi?id=14144) in game with bigger window
Now the window is bigger and bigger part of the back buffer is copied to the window so this time graphics are displayed but pushed upper and the bottom part of the screen is filled with that black area. I don't know why but it is always copying the most left and bottom part of the back buffer.
--- Comment #5 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:07:42 --- Created an attachment (id=14145) --> (http://bugs.winehq.org/attachment.cgi?id=14145) in game with bigger window
Now the window is bigger and bigger part of the back buffer is copied to the window so this time graphics are displayed but pushed upper and the bottom part of the screen is filled with that black area. I don't know why but it is always copying the most left and bottom part of the back buffer.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #6 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:13:21 --- Created an attachment (id=14146) --> (http://bugs.winehq.org/attachment.cgi?id=14146) if you make the window smaller
if you resize the window and make it smaller the part that have to be copied from the back buffer is smaller and the black area is bigger. And because it incorrectly copied the bottom left part of the back buffer the result is this big black area at the screen and the graphics pushed much upper than before.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #6 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:13:21 --- Created an attachment (id=14146) --> (http://bugs.winehq.org/attachment.cgi?id=14146) if you make the window smaller
if you resize the window and make it smaller the part that have to be copied from the back buffer is smaller and the black area is bigger. And because it incorrectly copied the bottom left part of the back buffer the result is this big black area at the screen and the graphics pushed much upper than before.
--- Comment #7 from Julian Lubenov julianlubenov@abv.bg 2008-06-18 00:20:46 --- Created an attachment (id=14147) --> (http://bugs.winehq.org/attachment.cgi?id=14147) menu displayed
I changed my screen resolution and now the menu graphics are displayed but pushed up. I think the reason is that with smaller resolution the back buffer is smaller and the black area is smaller too and now it is not big as the whole window.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #8 from Xavier Vachon xvachon@gmail.com 2008-06-22 12:11:53 --- Created an attachment (id=14280) --> (http://bugs.winehq.org/attachment.cgi?id=14280) Chessmaster no menu; unplayable
It seems that you have managed to make the game work to a certain point. Mine does not load further beyond what is on the screenshot I have uploaded. My console output is in the attachment below.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #9 from Xavier Vachon xvachon@gmail.com 2008-06-22 12:12:57 --- Created an attachment (id=14282) --> (http://bugs.winehq.org/attachment.cgi?id=14282) Log from the crash I have mentioned above.
Log from the crash I have mentioned above.
http://bugs.winehq.org/show_bug.cgi?id=13968
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #10 from Julian Lubenov julianlubenov@abv.bg 2008-06-24 11:13:09 --- It seems that d3dx9_36.dll is the problem. May be you are not using the latest wine or I have copied the d3dx9_36.dll from my native windows. It is possible that I have copied it because in previous versions the dll was not implemented at all and the only way to run games using it was to copy it. May be even in the most recent version the dll isn't implemented fully yet.
(In reply to comment #9)
Created an attachment (id=14282)
--> (http://bugs.winehq.org/attachment.cgi?id=14282) [details]
Log from the crash I have mentioned above.
Log from the crash I have mentioned above.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #11 from Austin English austinenglish@gmail.com 2008-12-23 07:15:08 --- Is this still an issue in current (1.1.11 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #12 from Xavier Vachon xvachon@gmail.com 2008-12-23 21:48:21 --- (In reply to comment #11)
Is this still an issue in current (1.1.11 or newer) wine?
Yes. I added the d3dx9_36.dll file which was missing before, and I get the same issue that the "menu displayed" screenshot.
http://bugs.winehq.org/show_bug.cgi?id=13968
Tymoteusz Paul puciek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |puciek@gmail.com
--- Comment #13 from Tymoteusz Paul puciek@gmail.com 2009-05-12 04:17:45 --- Confirming that its still an issue with latest git wine.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #14 from Austin English austinenglish@gmail.com 2009-11-19 12:52:41 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #15 from Julian Lubenov julianlubenov@abv.bg 2009-11-20 12:27:14 --- Confirming that issue on wine 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #16 from Julian Lubenov julianlubenov@abv.bg 2009-11-20 12:29:45 --- Created an attachment (id=24864) --> (http://bugs.winehq.org/attachment.cgi?id=24864) Latest screenshot of the issue
This is attachment with screen shot of the issue with the latest version of wine 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=13968
Val valerie_sosset@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |valerie_sosset@hotmail.com
--- Comment #17 from Val valerie_sosset@hotmail.com 2009-11-22 06:54:32 --- Currently running wine 1.1.33. I confirm the issue reported by Julian Lubenov on 2009-11-20. I have the same problem with graphics that are pushed upper than were they should be displayed, resulting in the mouse pointer not aiming at the right part of the screen (I have to aim lower to push button or move pieces).
http://bugs.winehq.org/show_bug.cgi?id=13968
gmlime@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #18 from gmlime@gmail.com 2009-12-02 22:55:23 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #19 from Val valerie_sosset@hotmail.com 2010-07-17 02:40:25 --- I tested wine 1.2-rc7 on Lucid, and the problem has been solved if you install directX9 using winetricks.
There is still a little bug that makes the board not being properly updated at times, but nothing that makes the game unplayable.
http://bugs.winehq.org/show_bug.cgi?id=13968
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #20 from joaopa jeremielapuree@yahoo.fr 2010-07-17 03:14:34 --- Can you attach a backtrace with WINEDEBUG=+d3dx enabled? Obviously do not forget to remove your native d3dx9_36.dll before.
http://bugs.winehq.org/show_bug.cgi?id=13968
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14280|0 |1 is obsolete| | Attachment #14282|0 |1 is obsolete| |
--- Comment #21 from Xavier Vachon xvachon@gmail.com 2010-07-19 11:59:13 --- Created an attachment (id=29709) --> (http://bugs.winehq.org/attachment.cgi?id=29709) log +d3dx
As requested.
The game crashes because of an uninplemented feature (D3DXFilterTexture) in d3dx9_36.dll
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #22 from joaopa jeremielapuree@yahoo.fr 2010-07-19 12:28:09 --- Reporters were surely wrong with their story of misplaced graphics due t od3dx9, since without a native d3dx9, it should crash.
Xavier, can you confirm that the game crashes with the builtin d3dx9_36?
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #23 from Xavier Vachon xvachon@gmail.com 2010-07-19 12:48:29 --- (In reply to comment #22)
Reporters were surely wrong with their story of misplaced graphics due t od3dx9, since without a native d3dx9, it should crash.
Xavier, can you confirm that the game crashes with the builtin d3dx9_36?
The game's installation program has an option to install DX9. I did not install DX9 with the installation program.
My d3dx log was with the builtin d3dx9_36. With a native dll, the game loads properly and the graphics are correctly positioned : http://img.photobucket.com/albums/v190/daseinhorn/chess.png . The only issue I see is with the menus, like Julian Lubenov reported : http://bugs.winehq.org/attachment.cgi?id=24864
http://bugs.winehq.org/show_bug.cgi?id=13968
multitude@internode.on.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |multitude@internode.on.net
--- Comment #24 from multitude@internode.on.net 2010-09-14 04:40:13 CDT --- Incorrect graphics positioning exists in Wine 1.2 (and Wine 1.3.2) as reported by Val 2009-11-22 06:54:32 CST.
Can confirm the game does not crash when utilising the built-in d3dx9_36.dll.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #25 from joaopa jeremielapuree@yahoo.fr 2010-09-14 18:38:43 CDT --- A new backtrace with +d3dx would be useful.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #26 from Giustino Borzacchiello giustinob@gmail.com 2010-09-27 13:14:17 CDT --- Created an attachment (id=30975) --> (http://bugs.winehq.org/attachment.cgi?id=30975) Console output chessmasterXI
I have the same problem as in the first screenshot: black screen, using wine1.3 I've attached the output of the console.
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #27 from joaopa jeremielapuree@yahoo.fr 2012-11-03 00:11:03 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #28 from Xavier Vachon xvachon@gmail.com 2012-11-03 16:25:00 CDT --- (In reply to comment #27)
Still a bug in current wine?
Yes
http://bugs.winehq.org/show_bug.cgi?id=13968
--- Comment #29 from joaopa jeremielapuree@yahoo.fr 2012-11-03 18:06:19 CDT --- If the only remaining problem is the black square in the menu, this bug can closed as FIXED.
Please, open a new bug report for the problem in menu.
https://bugs.winehq.org/show_bug.cgi?id=13968
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #30 from Austin English austinenglish@gmail.com --- (In reply to joaopa from comment #29)
If the only remaining problem is the black square in the menu, this bug can closed as FIXED.
Please, open a new bug report for the problem in menu.
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=13968
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #31 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.32.