[Bug 45774] Multiple games and applications show black screen or have broken user interface rendering (Ragnarok Online kRO, Microsoft Expression Design 4)

WineHQ Bugzilla wine-bugs at winehq.org
Wed Apr 29 15:51:42 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=45774

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |64d41b3dec0635c56268be64d40
                   |                            |7ed9bfd8c0695
            Summary|Multiple games and          |Multiple games and
                   |applications show black     |applications show black
                   |screen or have broken user  |screen or have broken user
                   |interface rendering         |interface rendering
                   |(Ragnarok Online kRO,       |(Ragnarok Online kRO,
                   |Microsoft Expression Design |Microsoft Expression Design
                   |4, Solmis 2.4)              |4)
                URL|https://web.archive.org/web |https://web.archive.org/web
                   |/20190725054518/http://solm |/20180603044009/http://down
                   |is.agoraplus.com/ZippedInst |load.microsoft.com/download
                   |all/Install.zip             |/C/6/8/C6866D29-E373-4F3F-9
                   |                            |8F0-E80903E77852/Design_Tri
                   |                            |al_en.exe
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

for Microsoft Expression Design 4 the broken popup menu rendering was fixed
with Wine 4.12.1 release, specifically by commit
https://source.winehq.org/git/wine.git/commitdiff/64d41b3dec0635c56268be64d407ed9bfd8c0695
("wined3d: Try harder to reuse the current context.").

Unfortunately the same commit 64d41b3dec0635c5 that fixed one issue resulted in
a regression, causing a different UI issue: black client area. The popup menus
could be still seen, fully rendered.

The regression (black client area) was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/57d158622f6c774549ae3da159117dd85339b68d
("wined3d: Acquire a context for the front buffer in swapchain_gl_present().")

The commit message says:

--- quote ---
Since context_acquire() doesn't take the resource location into account, it
may consider the back-buffer to be offscreen, and return an already active
context for a different swapchain. This fixes a regression introduced by
commit 64d41b3dec0635c56268be64d407ed9bfd8c0695.
--- quote ---

That problem was tracked by bug 47479 ("Many D3D11 games show black or white
screen with Wine 4.12.1 (Darkula by Locomalito, Magic the Gathering Arena,
Battle.net, EVE Online, World of Warships)").

Solmis v2.4.x, the app mentioned in comment #4 was actually suffering from two
issues. Bug 47479 which affected all .NET WPF 4.x apps (DirectX) at the time of
testing obscured another, untracked WPF 4.x/MIL/DWM API issue. I will create a
new report for that.

Exchanging the download link in favour of Microsoft Expression Design 4 again
and removing Solmis from the list.

https://web.archive.org/web/20180603044009/http://download.microsoft.com/download/C/6/8/C6866D29-E373-4F3F-98F0-E80903E77852/Design_Trial_en.exe

---

Coming back to Ragnorok Online ... The launcher UI is fixed by the same commit,
which removed the constant UI flickering/overdrawing as well.

Snapshot via Internet Archive:

https://web.archive.org/web/20200429200113/https://cdn.4game.com/new4game/web-installer/RagnarokOnline-eu-Setup.exe

Installer prerequisite:

'winetricks -q dotnet452'

$ sha1sum RagnarokOnline-eu-Setup.exe 
520171b50b6941c3681787cc8bfa4af8705bb489  RagnarokOnline-eu-Setup.exe

$ du -sh RagnarokOnline-eu-Setup.exe 
7.7M    RagnarokOnline-eu-Setup.exe

---

Using
https://source.winehq.org/git/wine.git/commitdiff/64d41b3dec0635c56268be64d407ed9bfd8c0695
as resolution here even if it caused another regression. It had no ticket
reference.

$ wine --version
wine-4.11-307-g64d41b3dec

Regards

-- 
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.


More information about the wine-bugs mailing list