https://bugs.winehq.org/show_bug.cgi?id=37399
Bug ID: 37399 Summary: Urban Assault black screen when using software renderer (palette problem) Product: Wine Version: 1.7.28 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: erich.e.hoover@gmail.com Depends on: 37307, 37398 Regression SHA1: 9d49b7a9be6d4ed59a69c3453de4eadb0101ea09 Distribution: Ubuntu
Once Bug #37307 and Bug #37398 are resolved/worked around then another issue crops up with Urban Assault, apparently a change back in June makes it such that UA cannot load since the surface it's using does not get a palette. The following error occurs repeated on the command line: fixme:d3d:convert_p8_uint_b8g8r8a8_unorm P8 surface loaded without a palette.
https://bugs.winehq.org/show_bug.cgi?id=37399
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=37399
--- Comment #1 from Erich Hoover erich.e.hoover@gmail.com --- WINEDEBUG="+ddraw,+d3d_surface" log: https://dl.dropboxusercontent.com/u/195059/wine/logs/bug37399.log
https://bugs.winehq.org/show_bug.cgi?id=37399
--- Comment #2 from Erich Hoover erich.e.hoover@gmail.com --- Created attachment 49739 --> https://bugs.winehq.org/attachment.cgi?id=49739 WINEDEBUG="+ddraw,+d3d_surface" log
Disregard comment #2, use attachment instead.
https://bugs.winehq.org/show_bug.cgi?id=37399
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de, | |stefan@codeweavers.com
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Adding the author of the commit.
https://bugs.winehq.org/show_bug.cgi?id=37399
--- Comment #4 from Erich E. Hoover erich.e.hoover@wine-staging.com --- Created attachment 51726 --> https://bugs.winehq.org/attachment.cgi?id=51726 Workaround for Bug #37399
I've come up with a workaround/hack for this and successfully pulled it forward to commit 439076d591fbf7f4e830be447c1abdbf6472a0a5^. The attached patch also contains a workaround for Bug #37398.
https://bugs.winehq.org/show_bug.cgi?id=37399
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51726|0 |1 is obsolete| |
--- Comment #5 from Erich E. Hoover erich.e.hoover@wine-staging.com --- Created attachment 51743 --> https://bugs.winehq.org/attachment.cgi?id=51743 wined3d: Fall back to the context palette when no texture palette is unavailable.
The attached patch fixes this problem for me (requires the patch for Bug #37398 to be applied as well).
https://bugs.winehq.org/show_bug.cgi?id=37399 Bug 37399 depends on bug 37307, which changed state.
Bug 37307 Summary: Urban Assault black screen when using software renderer (incorrect device enumeration order) https://bugs.winehq.org/show_bug.cgi?id=37307
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=37399
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|stefan@codeweavers.com |stefandoesinger@gmx.at
https://bugs.winehq.org/show_bug.cgi?id=37399
Gold Star goldstar611@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |goldstar611@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=37399
--- Comment #6 from Gold Star goldstar611@hotmail.com --- I will also confirm that software renderer now produces a black screen. I am affected
https://bugs.winehq.org/show_bug.cgi?id=37399
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e48d75862fdd273a878e4a1188d | |57725fee7e87d Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- Should be fixed by commit e48d75862fdd273a878e4a1188d57725fee7e87d.
https://bugs.winehq.org/show_bug.cgi?id=37399
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #8 from Erich E. Hoover erich.e.hoover@wine-staging.com --- (In reply to Henri Verbeet from comment #7)
Should be fixed by commit e48d75862fdd273a878e4a1188d57725fee7e87d.
Testing on wine-2.0-rc5 this still doesn't work, including testing with a variety of workarounds for Bug #37398. The error is now slightly different from what it used to be (two lines instead of one): fixme:d3d:convert_p8_uint_b8g8r8a8_unorm P8 surface loaded without a palette. fixme:d3d_shader:upload_palette P8 surface loaded without a palette.
https://bugs.winehq.org/show_bug.cgi?id=37399
--- Comment #9 from Erich E. Hoover erich.e.hoover@wine-staging.com --- Created attachment 56842 --> https://bugs.winehq.org/attachment.cgi?id=56842 Hack for UA on wine-2.0-rc5
I've painstakingly brought the hacks for the black screen problem forward to wine-2.0-rc5 in the hopes that this will help with finding a fix.
This hack includes: 1) A simple workaround for Bug #37399 2) The workaround for this bug (Bug #37399, attachment 51743) 3) A revert of 439076d591fbf7f4e830be447c1abdbf6472a0a5 (pulled forward through a bunch of changes to arbfp_blit_set)
https://bugs.winehq.org/show_bug.cgi?id=37399
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=37399 Bug 37399 depends on bug 37398, which changed state.
Bug 37398 Summary: Urban Assault black screen when using software renderer and DDSCAPS_SYSTEMMEMORY https://bugs.winehq.org/show_bug.cgi?id=37398
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=37399
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED
--- Comment #10 from Erich E. Hoover erich.e.hoover@wine-staging.com --- Black screen problem is completely resolved now (this specific issue likely fixed by e48d75862fdd273a878e4a1188d57725fee7e87d).
https://bugs.winehq.org/show_bug.cgi?id=37399
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.2.