https://bugs.winehq.org/show_bug.cgi?id=40316
Bug ID: 40316 Summary: Industry Giant 2, repair-cursor freezes render-updates unless cursor-position over popup-menu again Product: Wine Version: 1.9.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: owezahra@gmail.com Distribution: ---
Created attachment 53965 --> https://bugs.winehq.org/attachment.cgi?id=53965 attached standard log and cursor files
When running IndustryGiant 2.1 on a HD7730 (Ubuntu 14.04 x64, new x86 wineprefix with no other packages or anything) with opengl/gdi the cursor disappears when it has to change its layout to the repair-cursor (for building a vehicle repair addon) and sets the game-update rate to zero until the invisible cursor changes back to its previous symbol via hovering over the popup-menu.
However, i set it to use opengl since it runs a little smoother.
Brute-force changes: Setting MaxShaderModelPS/-GS/-VS to 0 didn't do anything, disabling GLSL didn't do anything either).
Debugging issues: When i tried to debug it via adding the debug-flag "+wgl" to wine, hundreds of line of "trace:wgl:glxdrv_wglGetPixelFormat 0xf003b -> 4" clogged the file and made every texteditor struggle to do anything with it, is there a way to disable spammy log-entries? Setting registry key "SpyExclude" to "trace:wgl:glxdrv_wglGetPixelFormat" didn't work, i guess the formatting is wrong?
Game-specific: UI elements are stored as .tga's in the game directory, as well as cursors. Ingame, an option called "software cursor" has to be activated since wine won't redraw the window if its off in any case (wiggling the virtual desktop around forces it to redraw). (I noticed that the cursor-tga has another size, bitdepth odr something than the others, but when i replaced it with a working-cursor that didn't change much than lagging the substitute cursor around one in a while (same effect as with original cursor)).
Logfiles: I've added the cursor-image-files and the default debug log (tough it probably won't be of much use, as i've tried to see if an additional error pops up if the cursor vanishes versa i don't trigger it to, which resulted in two identical files)
Related bug: 40293 (unsupported backbuffer operation)
https://bugs.winehq.org/show_bug.cgi?id=40316
owezahra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=40316
owezahra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |owezahra@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40316
owezahra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|owezahra@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=40316
--- Comment #1 from owezahra@gmail.com --- I've just noticed that the repair-shop-cursor DOES in fact kind of work at the lowest and second lowest zoom level, but because everything is so small, it's impossible to target anything with it.
However, the screen partially freezes as well at these zoom settings, BUT gets redrawn every time the cursor moves (cursor moves without lag) (at normal zoom level that doesn't happen).
(Also, when moving the cursor out of the window, it seizes to redraw, but that can be compensated via instructing wine to "auto capture the cursor" @winecfg)
https://bugs.winehq.org/show_bug.cgi?id=40316
--- Comment #2 from owezahra@gmail.com --- wine 1.9.6: no change
https://bugs.winehq.org/show_bug.cgi?id=40316
owezahra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #3 from owezahra@gmail.com --- However, when switching to the xorg-driver (away from fglrx-updates) it seems to work fine. Furthermore, disabling the software-cursor in this setup, as well as using the xorg-edgers ppa may be the best solution (default xorg driver was very slow).
Unfortunately, the xorg-edgers ppa may come with its own faults (my second monitor isn't recognized, some never steam-games may perform worse), but in ubuntu you always can switch the graphics driver via "additional drivers", do a system restart and you are all set (the edgers ppa doesn't create an own entry, but mereley updates the default xorg)
https://bugs.winehq.org/show_bug.cgi?id=40316
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- Can you reproduce this bug with the demo from bug 23261 ?
https://bugs.winehq.org/show_bug.cgi?id=40316
owezahra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from owezahra@gmail.com --- i've tested (opening a game, placing a railway-station and upgrading it to have a repairshop) with 2.0-rc6 and the results are:
for the demo (custom cursor on, by default, new wineprefix): - no cursor issues in fullscreen on lowest res (1024x768x16x75) - cursor issues in windowed mode with/without fullscreen-cursor-capture enabled
for the full game (old wineprefix, but only inhabited by IG2: - ingame options (crt-symbol in taskbar while ingame, not main menu), disable software cursor, press esc (auto saves and back to main menu) - resume: no more cursor issues (displays a white cursor and doesn't try to overlay the custom in-game symbol). I'll have to test whether everything else works but looks promising.
-issue persists in windowed-mode with custom-cursors on (regardless of gpu selection or screen res) -no issues on fullscreen with custom-cursors, but the res changes to min (1024x768x16x75) with black bars on the right and bottom, and the ingame-menu-bars on the bottom disappear
ergo: fixed by running in windowed mode (w/without mouse capture, winxp, no dll-overrides) and disabling the ingame-option to use its own custom cursors (explanation above)
https://bugs.winehq.org/show_bug.cgi?id=40316
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com --- If I understand correctly the bug isn't fixed, you just found out that some specific combinations of settings avoid the bug altogether?
https://bugs.winehq.org/show_bug.cgi?id=40316
--- Comment #7 from owezahra@gmail.com --- yes
https://bugs.winehq.org/show_bug.cgi?id=40316
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.0-rc6? If yes does it occur with the demo https://www.fileplanet.com/archive/p-23463/Industry-Giant-2-Demo