http://bugs.winehq.org/show_bug.cgi?id=12766
Summary: Cursor incorectly drawn in Dungeon Siege Product: Wine Version: 0.9.60 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: roderick.greening@gmail.com
While not critical, it is quite annoying. The cursor is drawn without transparency (appears black). Then, while moving the cursor, it inherits artifacts from various parts of the screen. This gets in the way of the game, as it is a "point-n-click" game and you need to be able to accurately click on objects. I have died more than once due to this bug.
This happens with all 0.9.x releases up to 0.9.60 and including the most recent git version.
I would like to assist in resolving, but I need some guidence as to how to track down the issue. I assume the program is using a software cursor and the code in DirectX8 related to that would be a good starting point.
http://bugs.winehq.org/show_bug.cgi?id=12766
Roderick B. Greening roderick.greening@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #1 from Roderick B. Greening roderick.greening@gmail.com 2008-04-25 09:12:40 --- Created an attachment (id=12462) --> (http://bugs.winehq.org/attachment.cgi?id=12462) cursor debug output
Here is the debugging output from the game with +cursor set. Hopefully this debug output may prove useful in locating the problem with the alpha transparency in the cursor (or at least that's what it appears to be).
http://bugs.winehq.org/show_bug.cgi?id=12766
Stephan Sokolow from_wine_bugzilla@ssokolow.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Stephan Sokolow from_wine_bugzilla@ssokolow.com 2008-04-29 10:23:00 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=12766
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |neptunia@mail.ru
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmx.net 2008-05-02 05:17:50 --- *** Bug 12835 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12766
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jb.faq@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=12766
Jan Buecken jb.faq@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liquid.acid@gmx.net
--- Comment #4 from Jan Buecken jb.faq@gmx.de 2008-05-13 09:01:07 --- Just checked out newest git. Confirming the bug.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #5 from Jan Buecken jb.faq@gmx.de 2008-05-13 09:08:48 --- I forgot:
I only checked out the demo you can find here: http://4players.de/4players.php/download_start/PC-CDROM/Download/3591.html
Hardware (lspci): 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)
Software: Gentoo-Linux (x86), nvidia-drivers-96.43.05 (latest driver which support my card...)
http://bugs.winehq.org/show_bug.cgi?id=12766
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://4players.de/4players. | |php/download_start/PC- | |CDROM/Download/3591.html Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=12766
bugzilla-dch00@sneakemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla- | |dch00@sneakemail.com
--- Comment #6 from bugzilla-dch00@sneakemail.com 2008-07-14 22:43:26 --- I'm running Wine 1.1.1 under Ubuntu 8.04 on a HP Pavilion a1600n AMD Athlon 64 X2 Dual core Processor 3800+ 2.00 GHz 1024MB of Ram, NVIDIA GeForce 6150LE graphics card (using the latest NVIDIA driver)
And, I'm getting exactly the same "Block around the cursor" problem described above. So I can confirm that it is still happening.
http://bugs.winehq.org/show_bug.cgi?id=12766
Kai Krakow kai@kaishome.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kai@kaishome.de
--- Comment #7 from Kai Krakow kai@kaishome.de 2008-07-15 03:46:03 --- I can confirm this on wine-1.1.0, Gentoo Linux 2008.0, kernel 2.6.24-r8. Pentium4 HT 3.2, 32 bit (x86)
Additionally, the black square contains artifacts from other and/or older parts of the screen. When not moving the pointer it looks like it's fading slowly to black - at least the pixels nearby the sword pointer's pixels.
http://bugs.winehq.org/show_bug.cgi?id=12766
kipmaster@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kipmaster@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12766
Mike Ruprecht cmaiku@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmaiku@gmail.com
--- Comment #8 from Mike Ruprecht cmaiku@gmail.com 2008-12-10 20:33:58 --- I've been testing this with wine-1.1.10 and it appears that this garbage data is coming from a buffer that is used for saving/loading screens, the intro video, and the cursor.
I get these two fixme's several times when I run the game: fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (<address here>): Stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
I'm not sure if they're related to the cursor issue though.
The intro video corruption seems to be related to this issue. It exhibits similar redrawing issues and can sometimes be seen in the garbage around the cursor in the menu. That makes it look like it uses the same buffer.
Kai, I believe the fading you're talking about is because the normal sword cursor has a shadow around it, so this buffer is accumulating that shadow and getting darker and darker.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #9 from Mike Ruprecht cmaiku@gmail.com 2008-12-10 20:35:30 --- Created an attachment (id=17817) --> (http://bugs.winehq.org/attachment.cgi?id=17817) Example of the cursor corruption.
The top half of the cursor is an inverted image of this buffer from the same x position as the cursor, but the y position is the section from half the height to the whole height of the cursor (see attachment).
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #10 from Mike Ruprecht cmaiku@gmail.com 2008-12-10 20:37:06 --- Created an attachment (id=17818) --> (http://bugs.winehq.org/attachment.cgi?id=17818) Example of the bottom half of the cursor corruption.
The lower half is not inverted and is where the cursor is, both x and y. The entire screen seems to be written to this buffer when the game is saving or loading (see attachment).
http://bugs.winehq.org/show_bug.cgi?id=12766
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.net
--- Comment #11 from Jörg Höhle hoehle@users.sourceforge.net 2008-12-15 08:21:06 --- I don't know Dungeon Siege, however the game "Die Völker 2 / The Nations" exhibits symptoms similar to those described here: a (64x63) rectangle around the cursor, mostly filled with black as well as traces of previous cursors, sometimes with artifacts of previous screens. I described these in bug 15056 comment 10 and 11 (including a screenshot).
Maybe you want to test how the one regression (see bug #15056) that caused this rectangle to appear between wine-1.1.2 and 1.1.3 in "Die Völker2" affects Dungeon Siege? OTOH, if you see a rectangle from version 0.9.60 and up, there must be a different cause.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #12 from Mike Ruprecht cmaiku@gmail.com 2008-12-15 14:05:09 --- I tried wine versions 0.9.60, 1.1.2, 1.1.3, and 1.1.10 and all of them show the cursor issue. I also tried adding [HKCU\Software\Wine\Direct3D\RenderTargetLockMode]="disabled" and that makes both the cinematics and the cursor disappear. However, I don't get the same warnings as you. The issues do seem related, but maybe not for exactly the same reason.
http://bugs.winehq.org/show_bug.cgi?id=12766
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fr.fr@vr-web.de
--- Comment #13 from Austin English austinenglish@gmail.com 2008-12-15 17:08:02 --- *** Bug 13353 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #14 from Jörg Höhle hoehle@users.sourceforge.net 2008-12-18 07:10:25 --- Indeed, I now think that bug #15056 and this one are not related. However, as the rectangle cursor bug has been present in Dungeon Siege in "all 0.9.x releases", but only appeared in "Die Völker 2/The Nations" after Aric Stewart's post-1.1.2 commit eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52, my hope is that perhaps an analysis of this commit might hint towards a work-around for the cursor bug for all affected apps? What I mean is that perhaps, as a side-effect, the commit caused a switch from a hardware to software cursor, or whatever, and there might be ways to change wine and have the apps use a HW cursor?
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #15 from kipmaster@gmail.com 2009-01-03 04:30:32 --- This bug seems to be fixed with wine 1.1.12 :-)
Now, I have the cursor correctly drawn, whereas it was not with wine 1.1.11
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #16 from Ilya Chernykh neptunia@mail.ru 2009-01-03 04:34:31 --- Cannot confirm this because Wine 1.1.12 does not work for me at all: it does not even run notepad or winecfg.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #17 from Mike Ruprecht cmaiku@gmail.com 2009-01-03 04:52:05 --- (In reply to comment #15)
This bug seems to be fixed with wine 1.1.12 :-)
Now, I have the cursor correctly drawn, whereas it was not with wine 1.1.11
Confirmed. Mine also works now. :)
Although it throws a ton of these at me:
fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Reading from render target with a texture isn't implemented yet, falling back to framebuffer reading"
When the game is held up for a moment, such as when checking if the disk is inserted, it does corrupt a little, but only just. Also, the intro videos are still a little screwed up.
I would imagine once that fixme is fixed, it will work even better.
http://bugs.winehq.org/show_bug.cgi?id=12766
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Austin English austinenglish@gmail.com 2009-01-03 11:15:03 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=12766
Rixa rixa@cs.tut.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rixa@cs.tut.fi
--- Comment #19 from Rixa rixa@cs.tut.fi 2009-01-04 08:50:27 --- Hmm, with 1.1.12 the old distortion is gone but so is the sword, I'm just getting a big black box now. The sword flashes by every now and then when moving the pointer over selectable elements.
I have a CentOS5 system with a GeForce4 Ti 4800 card with proprietary nvidia drivers version 96.43.07.
This is all the output I get by the main menu when starting with $ wine dungeonsiege.exe nointro=true
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element fixme:mixer:ALSA_MixerInit No master control found on Brooktree Bt878, disabling mixer fixme:win:EnumDisplayDevicesW ((null),0,0x32f170,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to Set DepthStencilSurface fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x1402d0): Stub! fixme:font:WineEngCreateFontInstance Untranslated charset 255 fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x4e1f830,0x4e57f28): stub fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to Set DepthStencilSurface
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #20 from bugzilla-dch00@sneakemail.com 2009-01-05 08:47:15 --- I'm running Wine 1.1.12 under Ubuntu 8.10 on a HP Pavilion a1600n AMD Athlon 64 X2 Dual core Processor 3800+ 2.00 GHz 1024MB of Ram, NVIDIA GeForce 6150LE graphics card (using the latest NVIDIA driver)
The "box around the cursor" problem is gone now, sort of. Instead of being a constant box around the cursor, The cursor is now clear, BUT, I get a flickering intermittent block that is a copy of the cursor and the surrounding area about two inches above and just to the right of the actual cursor. It's not always there. It's not there at ALL when the game starts, but very shortly after play begins it starts to show up, and within a minute or two it's flickering fairly regularly. transparent, you can see through it, so it doesn't make the game unplayable. Its just a constant flickering motion above and just to the right of wherever your cursor sits.
It's MUCH better than before though, this is only mildly annoying, but it IS playable. thank you.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #21 from Ilya Chernykh neptunia@mail.ru 2009-01-05 15:13:01 --- I've tried Dungen Siege with resolution set from command prompt to 1280x1024 under Wine-1.1.12 using the following command:
DungeonSiege.exe width=1280 height=1024
and found the same bug: black square with artefacts.
When running the game without options, cursor drawn well.
Since the bug still persists, I recommend to reopen this bug.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #22 from bugzilla-dch00@sneakemail.com 2009-01-05 21:16:08 --- (In reply to comment #21)
DungeonSiege.exe width=1280 height=1024 and found the same bug: black square with artefacts.
Ah, interesting! I should have included that information. I'm running with: DungeonSiege.exe width=1024 height=768 bpp=16 nointro=true fullscreen=false The flickering copy of the cursor appears ONLY when the cursor is moving.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #23 from Ilya Chernykh neptunia@mail.ru 2009-01-05 21:41:34 --- Well I can say that the cursor appears entirely without artifacts if starting the game by double-clicking, but if to start the game from command prompt regardless of options I see the black square around cursor.
This is disappointing since the only way to start gthe game with resolution higher than 1024x768 is to run it from command prompt with corresponding options.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #24 from Ilya Chernykh neptunia@mail.ru 2009-01-05 21:49:05 --- Look I found even more surprising thing.
When I start the game with
wine dungeonsiege.exe width=1280 height=1024
it works brilliantly without any flaw
but if I start the game without 'wine'
dungeonsiege.exe width=1280 height=1024
the cursor is still as the black box.
I have no idea why it is so.
http://bugs.winehq.org/show_bug.cgi?id=12766
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:38:00 --- Closing bugs fixed in 1.1.13.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #26 from Jörg Höhle hoehle@users.sourceforge.net 2009-01-19 07:28:04 --- As far as "Die Völker 2 / The Nations" is concerned, the mouse cursor is indeed drawn correctly in 1.1.13: no more black rectangle around it. Great work!
The one thing worth mentioning for completeness is that when the mouse cursor is moved, a rectangular area around it is highlighted a little bit, like when a white sheet of paper is moved behind a not fully opaque drawing. It has the size of that old bogus rectangle. When I stop moving the mouse, the rectangle darkens and there's no more difference in color with the surrounding area.
If that's the sole symptom that's left from this bug, it does not warrant another bug tracker issue.
http://bugs.winehq.org/show_bug.cgi?id=12766
Gregory gregory.hainaut@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gregory.hainaut@gmail.com
--- Comment #27 from Gregory gregory.hainaut@gmail.com 2009-02-12 11:47:14 --- Hi,
I still have the black square on version 1.1.13 and 1.1.14. I delete .wine each times.
I try to launch the game with multiple option without any effect. Option fullscreen=false cause the screen to be fully render in black. Is there special option in wine or in the game to activate ?
Note: I am using the NVIDIA driver 96.43.10 (last driver of my card: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x]). Maybe it works on newer drivers.
http://bugs.winehq.org/show_bug.cgi?id=12766
--- Comment #28 from Michael Wagener wine-bugzilla@daznet-mike.dyndns.org 2009-04-02 15:12:17 --- Dungeon Siege runs fine with wine-1.1.15-221-g3598398 (from Debian experimental) on a x64 Debian box. Graphics is a GeForce FX7950GT with NVIDIA driver 96.43.11. It even works with Anti-Aliasing (using __GL_FSAA_MODE=4). Cursor works flawlessly.