[Bug 24877] New: Baldur's Gate 1: Transparency rendering broken
http://bugs.winehq.org/show_bug.cgi?id=24877 Summary: Baldur's Gate 1: Transparency rendering broken Product: Wine Version: 1.3.5 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: devurandom(a)gmx.net Created an attachment (id=31492) --> (http://bugs.winehq.org/attachment.cgi?id=31492) screenshot showing the transparent cursor problem Things with transparency, like the mouse cursor in the menu, or the characters over the landscape, are rendered badly: * Mouse cursor: It is always surrounded by a black box, which is not redrawn after moving the cursor away. * Characters: Their background is replaced what seems to be parts of other images/animations. Additionally the game is very sluggish and slow, but that could be result of the next thing: This is accompanied by masses of this debug output on the console: --- fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B5G6R5_UNORM. fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Filters not supported in software blit --- -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #1 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-24 11:53:12 CDT --- Created an attachment (id=31493) --> (http://bugs.winehq.org/attachment.cgi?id=31493) screenshot showing the character rendering problem -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #2 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-24 12:00:40 CDT --- This is using following versions: Baldur's Gate: Tales of the Sword Coast (german/de) v1.3.5512 app-emulation/wine-1.3.5 USE="X alsa cups dbus gecko jpeg lcms ldap mp3 ncurses openal opengl oss perl png samba ssl threads truetype win32 win64 xcomposite xinerama xml (-capi) -custom-cflags (-esd) -fontconfig -gnutls (-gphoto2) -gsm (-hal) -jack -nas -pulseaudio (-scanner) -test" x11-drivers/xf86-video-nouveau-0.0.16_pre20101010 Portage 2.2.0_alpha1 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r1, 2.6.36-gentoo x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1 Timestamp of tree: Sun, 24 Oct 2010 08:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) Repositories: gentoo java-overlay kde pcsx2 oss-overlay sunrise x11 local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -(a)EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/var/cache/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage/gentoo" PORTDIR_OVERLAY="/var/cache/portage/layman/java-overlay /var/cache/portage/layman/kde /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/sunrise /var/cache/portage/layman/x11 /var/cache/portage/local" [...] Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2010-10-25 00:50:57 CDT --- nouveau? which graphics card? Have you tried it with the proprietary nvidia drivers yet? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #4 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-25 03:26:08 CDT --- GeForce 7900 GS (NV49) I didn't try the nvidia drivers because they're currently incompatible with the kernel I am running. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #5 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-25 14:26:31 CDT --- Using Nvidia binary blob v260.19.12 the game just crashes right after startup of BGMain.exe: fixme:ntoskrnl:KeInitializeTimerEx stub: 0x110fe0 0 wine: Unhandled page fault on read access to 0xfffffff8 at address 0x7b68c7a5 (thread 0025), starting debugger... This is the backtrace, apparently a driver issue: Backtrace: =>0 0x7b68c7a5 in libnvidia-glcore.so.260.19.12 (+0xe3c7a5) (0x7d227e40) 1 0x7d3278d8 (0x7d3278d8) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #6 from joaopa <jeremielapuree(a)yahoo.fr> 2010-10-25 14:34:25 CDT --- Does the demo http://dld-8.tomsgames.net/get/8dbfe40bf0631522784cb8d49c651135/4cc5db89/3/2... show the problem? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #7 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-26 04:20:59 CDT --- (In reply to comment #6)
Does the demo http://dld-8.tomsgames.net/get/8dbfe40bf0631522784cb8d49c651135/4cc5db89/3/2... show the problem? The link gives: 408 - Request Timeout
I will try this instead: http://www.fileplanet.com/13556/download/Baldur's-Gate-Non-Interactive-Demo -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #8 from Dennis Schridde <devurandom(a)gmx.net> 2010-10-26 04:50:24 CDT --- Created an attachment (id=31533) --> (http://bugs.winehq.org/attachment.cgi?id=31533) dump of crashing non-interactive demo (does not happen with full version) (In reply to comment #7)
I will try this instead: http://www.fileplanet.com/13556/download/Baldur's-Gate-Non-Interactive-Demo
It shows the problems described above, but in addition crashes quickly after the actual game starts, which keeps running with a black screen, but music / sound continuing: fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B5G6R5_UNORM. fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B5G6R5_UNORM. wine: Unhandled page fault on read access to 0x0000000e at address 0x41249b (thread 0026), starting debugger... fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B5G6R5_UNORM. fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B5G6R5_UNO [...debugger output...] err:ntdll:RtlpWaitForCriticalSection section 0x7e70cdac "/var/tmp/portage/app-emulation/wine-1.3.5/work/wine-1.3.5/dlls/ddraw/main.c: ddraw_cs" wait timed out in thread 0026, blocked by 0009, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x4e38a0 "?" wait timed out in thread 0009, blocked by 0026, retrying (60 sec) Killed The "Killed" is by me killing the black window that obstructs the screen. This crash does *not* happen with the full version of BG1:TOSC v5512 that I have installed. This was with nouveau. Using nvidia drivers (260.something, s.a.) the demo crashes right on startup as described earlier. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 Solitary <t.hlavnicka(a)centrum.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |t.hlavnicka(a)centrum.cz --- Comment #9 from Solitary <t.hlavnicka(a)centrum.cz> 2010-12-30 16:03:38 CST --- I just experienced exactly same problem with Baldur's Gate 1 (v1.1.4315), but running Fedora 14 (2.6.35.6-48.fc14.i686.PAE), Wine (1.3.9-1.fc14) on my laptop Lenovo 3000 N100 (with integrated Intel graphic GMA950 (=GM945)). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #10 from Solitary <t.hlavnicka(a)centrum.cz> 2010-12-30 17:18:11 CST --- I just discovered interesting thing during my tryings with workarounds. I started Wine in windowed mode (it's essential) and started playing BG1 in this mode (it's still badly rendered, of course). But when I pressed ALT+F4 I got dialog window with question if I want to close the game or not. When I pressed 'No' it didn't return into previous state, but it ended up in total black screen instead, with game still running (sound is playing). On the other hand, if I pressed 'Yes', game became fully playable (rendering is correct and game is fluent again - both ingame and menu). Too bad it's like that only for ~2seconds, due to 'Yes' on ALT+F4 question. (there is no ~2seconds delay in Wine fullscreen mode, so as I said, windowed mode is essential) Therefore I think it's just some glitch more then HW or drivers problem, otherwise it wouldn't be able to render the game correctly at all. Wine started throwing different output during that playable moment (only when mouse was moving), instead of "WINED3DFMT_B5G6R5_UNORM." (which is thrown all the time) ---- fixme:d3d_surface:surface_download_data Readback conversion not supported for format WINED3DFMT_B8G8R8X8_UNORM. ---- I hope this can help to come up with some fix or workaround. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #11 from Solitary <t.hlavnicka(a)centrum.cz> 2010-12-30 17:54:09 CST --- Ok, I just figured out a small workaround... playing in windowed mode (and I mean Baldur's Gate, not Wine). Pressing ALT+ENTER makes Baldur's Gate switch into windowed mode and rendering is suddenly correct and game playable (no slugging). Hope it helps and Happy New Year! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #12 from Solitary <t.hlavnicka(a)centrum.cz> 2010-12-30 21:06:59 CST --- Ok, third time's the charm :) Simple setting DirectDrawRenderer="gdi" (in registers) makes the game works for me, fullscreen, properly rendered and fluent. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #13 from Dennis Schridde <devurandom(a)gmx.net> 2010-12-31 04:07:19 CST --- I cannot test this at the moment, because my Wine cannot start BGMain2.exe from Baldur.exe: --- err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem? err:virtual:NtMapViewOfSection map_file_into_view 0x50000000 a0000 000000000 failed err:dplay:DPLAYX_ConstructData : unable to map static data into process memory space (5) err:module:attach_process_dlls "dplayx.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Black Isle\\Baldur's Gate\\BGMain2.exe" failed, status c0000142 --- However, the following should help to make the DirectDrawRenderer workaround apply to Baldur's Gate only: --- cat << EOF >> ~/.wine/user.reg [Software\\Wine\\AppDefaults\\BGMain.exe\\Direct 3D] 1293789462 "DirectDrawRenderer"="gdi" [Software\\Wine\\AppDefaults\\BGMain2.exe\\Direct 3D] 1293789705 "DirectDrawRenderer"="gdi" EOF --- -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #14 from Dennis Schridde <devurandom(a)gmx.net> 2010-12-31 04:09:04 CST --- (In reply to comment #13)
I cannot test this at the moment, because my Wine cannot start BGMain2.exe from Baldur.exe Running BGMain2.exe results in the same error. /home (where ~/.wine/drive_c lies) is not mounted noexec, though.
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #15 from Dennis Schridde <devurandom(a)gmx.net> 2010-12-31 04:20:47 CST --- (In reply to comment #13)
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem? bug #25583
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #16 from Dennis Schridde <devurandom(a)gmx.net> 2010-12-31 04:28:10 CST --- The command given before was wrong, it had a whitespace typo. (In reply to comment #13)
However, the following should help to make the DirectDrawRenderer workaround apply to Baldur's Gate only:
cat << EOF >> ~/.wine/user.reg [Software\\Wine\\AppDefaults\\BGMain.exe\\Direct3D] 1293789462 "DirectDrawRenderer"="gdi" [Software\\Wine\\AppDefaults\\BGMain2.exe\\Direct3D] 1293789705 "DirectDrawRenderer"="gdi" EOF --- I confirm that this workaround works around the problem on my system, too. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #17 from Dennis Schridde <devurandom(a)gmx.net> 2011-02-20 14:39:23 CST --- (In reply to comment #5)
Using Nvidia binary blob v260.19.12 the game just crashes right after startup of BGMain.exe: fixme:ntoskrnl:KeInitializeTimerEx stub: 0x110fe0 0 wine: Unhandled page fault on read access to 0xfffffff8 at address 0x7b68c7a5 (thread 0025), starting debugger...
This is the backtrace, apparently a driver issue: Backtrace: =>0 0x7b68c7a5 in libnvidia-glcore.so.260.19.12 (+0xe3c7a5) (0x7d227e40) 1 0x7d3278d8 (0x7d3278d8)
This might be bug #25045 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 Alex Bradbury <asb(a)asbradbury.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asb(a)asbradbury.org --- Comment #18 from Alex Bradbury <asb(a)asbradbury.org> 2012-02-22 15:55:45 CST --- It's been a year: is this problem still present? It seems very likely this is the same issue as bug #22493 (for Baldurs Gate 2). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 --- Comment #19 from Dennis Schridde <devurandom(a)gmx.net> 2012-02-22 18:20:51 CST --- (In reply to comment #18)
It's been a year: is this problem still present? It seems very likely this is the same issue as bug #22493 (for Baldurs Gate 2). I haven't tried this in a long time and am unlikely to do so again in the near future. Feel free to mark CLOSED/NEEDINFO or whatever - I'll reopen when I try the game again.
-- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED --- Comment #20 from Austin English <austinenglish(a)gmail.com> 2012-02-23 12:48:41 CST --- (In reply to comment #19)
(In reply to comment #18)
It's been a year: is this problem still present? It seems very likely this is the same issue as bug #22493 (for Baldurs Gate 2). I haven't tried this in a long time and am unlikely to do so again in the near future. Feel free to mark CLOSED/NEEDINFO or whatever - I'll reopen when I try the game again.
Abandoned. Feel free to reopen if you retest and it's still broken in current wine. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=24877 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #21 from Austin English <austinenglish(a)gmail.com> 2012-02-23 12:48:49 CST --- Closing. -- 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.
participants (1)
-
wine-bugs@winehq.org