https://bugs.winehq.org/show_bug.cgi?id=39421
Bug ID: 39421
Summary: Majesty Gold HD runs very slowly
Product: Wine
Version: 1.7.52
Hardware: x86
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jonas.bugzilla(a)gmail.com
Created attachment 52535
--> https://bugs.winehq.org/attachment.cgi?id=52535
Clamp the glFlush rate in the Mac driver to 60Hz
The game Majesty Gold HD (http://www.gog.com/game/majesty_gold_hd ) runs very
slowly under Wine for me (Late 2013 iMac 21.5", quad 2.9GHz Core i5, GeForce GT
750M with 1GB GDDR5, OS X 10.9.5). There is an in-game slider to speed up the
game, but it has no effect.
The game is a DirectDraw 7 game. There are also some reports on Windows
regarding this problem, but most people can solve it by telling the game to use
DirectDraw for blitting (set BlitMode=1 in the MajXPrefs, or use the -useddblit
command line parameter -- see
http://forum.paradoxplaza.com/forum/index.php?threads/bug-fixes.601217/#pos…
)
The game performs its drawing commands in the same thread that runs the game
logic (I don't know whether anything else is even supported by by DirectDraw
7). From a trace I can see that game performs many small blits to update only
the parts of the screen that have changed. Example from a trace:
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect (0,0)-(24,38),
src_surface 0x16c9c8, src_rect (0,0)-(24,38), flags 0x1000000, fx 0x0.
[ repeats 8 times ]
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect (864,661)-(1009,803),
src_surface 0x16c9c8, src_rect (864,661)-(1009,803), flags 0x1000000, fx 0x0.
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect (806,999)-(986,1080),
src_surface 0x16c9c8, src_rect (806,999)-(986,1080), flags 0x1000000, fx 0x0.
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect
(1097,734)-(1277,914), src_surface 0x16c9c8, src_rect (1097,734)-(1277,914),
flags 0x1000000, fx 0x0.
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect (860,481)-(1040,661),
src_surface 0x16c9c8, src_rect (860,481)-(1040,661), flags 0x1000000, fx 0x0.
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect (860,481)-(1040,661),
src_surface 0x16c9c8, src_rect (860,481)-(1040,661), flags 0x1000000, fx 0x0.
trace:ddraw:ddraw_surface7_Blt iface 0x16c160, dst_rect
(1354,797)-(1534,977), src_surface 0x16c9c8, src_rect (1354,797)-(1534,977),
flags 0x1000000, fx 0x0.
...
I think Wine, however, always flushes a complete new screen via OpenGL, as the
game spends almost all of its time waiting for glFlush() to finish. I have
verified that this is the case by applying the attached patch to the Mac driver
code to unconditionally clamp the glFlush rate to 60Hz. This solves the speed
issue, even at 1920x1080 (without the patch, the game is glacial even at
800x600). Obviously, the patch cannot be integrated in wine, since it
occasionally discards the "last" blit to screen after a static scene change,
leaving old data visible and no longer updating.
I previously posted about this issue (a long time ago) on wine-dev:
https://www.winehq.org/pipermail/wine-devel/2015-February/106625.html . To
answer some questions/suggestions from the end of that thread:
a) the SkipSingleBufferFlushes registry key does not help (my system supports
the GL_APPLE_flush_render extension)
b) related to Henri Verbeet's suggestion that it may be related to wine
possibly not implementing asynchronous ddraw blits: it's true that wine does
not support this, but OTOH the game does not ask for them either: it calls
ddraw_surface7_Blt rather than ddraw_surface7_BltFast (BltFast is documented on
MSDN as always being asynchronous), and it does not set the DDBLT_ASYNC flag
The game offers a built-in ability to wait for vsync via its configuration file
(set the VSync variable in $HOME/Documents/My Games/MajestyHD/MajXPrefs to
"1"), but that only results in
trace:ddraw:ddraw7_WaitForVerticalBlank iface 0x146750, flags 0x1, event 0x0.
fixme:ddraw:ddraw7_WaitForVerticalBlank iface 0x146750, flags 0x1, event 0x0
stub!
I'm also not sure whether it would help, but looking at the ddraw log (which I
will also attach -- it's a trace+ddraw,trace+d3d_draw log), I think it may
since often there are several blits between the vsync waits.
Some possible approaches to tackle this issue may be:
* handle small direct rects more efficiently
* add support for waiting for VSync in ddraw
There is a demo of an older version of the game, but it can only run in 640x480
and there is no way to adjust the game speed via an in-game slider, and at
least on my system the difference with and without my patch is not very visible
there (http://www.cyberlore.com/Majesty/demo.htm )
--
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.
https://bugs.winehq.org/show_bug.cgi?id=45533
Bug ID: 45533
Summary: Puyo Puyo Tetris (Steam) - Game crashes on startup
Product: Wine
Version: 3.13
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: sirmentio123(a)gmail.com
Distribution: ---
Created attachment 61934
--> https://bugs.winehq.org/attachment.cgi?id=61934
These logs are made from the moment I launch steam through the wine prefix to
when the application crashes and when I close it/steam itself out
The program crashes upon launch in the Steam version. win64 was required in
order to play. This was tested obviously with the Steam version and I'm not
sure if it's the same for the one from the SEGA store. As far as I know.
Using the staging version of 3.13
Ubuntu 18.04 x86 64
Nvidia driver 390
X.Org X Server 1.19.6
--
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.
https://bugs.winehq.org/show_bug.cgi?id=49817
Bug ID: 49817
Summary: d3d9: Crashes on invalid opengl context with disabled
csmt in IDirect3DDevice9Ex_CreateOffscreenPlainSurface
Product: Wine
Version: 5.17
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: piotr.caban(a)gmail.com
Distribution: ---
Created attachment 68148
--> https://bugs.winehq.org/attachment.cgi?id=68148
test that shows invalid error handling on invalid opengl context
The simplest way to reproduce the crash is (I was only testing it running
32-bit process):
- disable csmt
- run the test with WINEDEBUG=warn+heap (to guarantee the crash)
The test destroys window/hdc used by current gl context. After that it's not
possible to restore previous context in Direct3DCreate9Ex. It also leads to a
crash when deleting "destroyed" context in
IDirect3DDevice9Ex_CreateOffscreenPlainSurface.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=36869
Bug ID: 36869
Summary: Chronology under wine-mono fails to start
Product: Wine
Version: 1.7.21
Hardware: x86
URL: http://store.steampowered.com/app/269330/
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: madewokherd(a)gmail.com
Chronology fails to start and consumes 100% of a CPU when run under wine-mono
until killed.
Based on a log with WINE_MONO_TRACE=wrapper, the only thing it does is call
Steamworks.NativeMethods:SteamAPI_InitSafe, which is a cdecl function with no
arguments. That function then endlessly throws breakpoint exceptions.
InitSafe is a cdecl function with no arguments returning signed char. I have no
idea how we could be screwing this up.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=39761
Bug ID: 39761
Summary: MDK (MDKDEM95.EXE) graphics not drawn
Product: Wine
Version: 1.8-rc3
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jeffz(a)jeffz.name
Tested on OSX 10.9.5.
http://jeffz.name/mdkdemo_repack.tar.bz2
winecfg virtual desktop set to 640x480
cd ~/.wine/drive_c && tar xf ~/mdkdemo_repack.tar.bz2 && cd mdkdemo_repack
wine MDKDEM95.EXE
The game loads (as can be heard by the sounds after hitting enter a few times)
but nothing is ever drawn. There should be intro credits, main menu and
gameplay.
Confirmed that this bug does not happen on Windows 7. It works fine there.
Note: bug #39760 deals with the D3D version of the demo.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=9583
Summary: CompareStringW gives incorrect result for some wide
strings
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: peter(a)cendio.se
It seems like CompareStringW does not work correctly, when using wide/unicode
strings. I first discovered this when I saw that listbox controls sorted
swedish characters (say, LATIN SMALL LETTER A WITH RING ABOVE) side by side
with the base character (LATIN SMALL LETTER A). An example is
http://www.cendio.se/~astrand/wine/40-listbox-sort/list.exe.
The cause seems to be that CompareStringW gives the wrong result. I've created
the small test example
http://www.cendio.se/~astrand/wine/40-listbox-sort/comparestring.exe, with
source available in the same directory. On Windows, the result is that the
string "äpple" is greater than "orange", which is correct. With the latest
Wine CVS version, the result is that "äpple" is lesser than "orange", which is
wrong.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19418
Summary: SA Dictionary 2008 Beta 4: Automatic Clipboard
Translation is not working outside the program
Product: Wine
Version: 1.1.26
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: extigyro(a)gmail.com
When you copy some word inside SA Dictionary, it is automatically translated.
But if you copy some text from Firefox 3 (for example), nothing happens and the
word does not automatically appear in the translation dialog. Instead you have
to paste it manually each time.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=46281
Bug ID: 46281
Summary: Archicad 22 does not start at all
Product: Wine
Version: 4.0-rc1
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: disnel(a)disnel.com
Distribution: ---
Created attachment 62991
--> https://bugs.winehq.org/attachment.cgi?id=62991
Log from unsuccessfull start of Archicad 22
Archicad 22, successfully installed after winetricks vcrun25, fails to start.
Tested ARCHICAD.exe and ARCHICAD Starter.exe from main Archicad folder. See
attached log, please.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=23324
Summary: Need for Speed: Shift installer thinks we don't have
Visual C++ runtimes installed
Product: Wine
Version: 1.2-rc4
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: Installer
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Created an attachment (id=29071)
--> (http://bugs.winehq.org/attachment.cgi?id=29071)
+relay log showing registry queries and CreateProcess(vcredist_x86_en.exe)
We have perfectly good msvcr* and friends, so the app shouldn't detect
that we don't. The registry key it's looking at seems to be
0024:Call advapi32.RegOpenKeyW(80000002,0033ee22
L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\Managed\\S-1-5-4\\Installer\\Products\\b25099274a207264182f8181add555d0",0033f0c8)
ret=7ed4784c
0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ed4784c
--
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.