[Bug 59016] New: Directdraw games get black screen
http://bugs.winehq.org/show_bug.cgi?id=59016 Bug ID: 59016 Summary: Directdraw games get black screen Product: Wine Version: 10.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs(a)list.winehq.org Reporter: i(a)xuzhao.net Distribution: --- Created attachment 79755 --> http://bugs.winehq.org/attachment.cgi?id=79755 Black screen, with directdraw render method Hi Wine Community, I want to ask about a regression I observed on my desktop (openSUSE Tumbleweed, KDE, NVIDIA 3080 Ti). A few old Japanese Galgames have blackscreen starting from a few months ago. To be specific, I am running Ebenbourg no Kaze (by Studio e-go!). The game screen is black, but with `WINEDEBUG=+ddraw` I can see logs being printed out: https://pastebin.com/s5m0i3AK I am testing on other applications, e.g., VisualBoyAdvance (the GameBoyAdvance simulator). I found that when I switch the render method to "DirectDraw" it shows black screen, but when I switch to "GDI", "OpenGL" or "Direct3D", the screen is normal. I have tried changing [HKCU/Wine/Direct3D] -> "renderer" from "gl" to "gdi", but the game/application will crash/black screen. I suspect there is a regression in DirectDraw support in Wine. -- 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=59016 --- Comment #1 from Xu Zhao <i(a)xuzhao.net> --- I can confirm that this bug happens only on wayland. X11 works fine. I have tried both XWayland and Wayland native drivers of wine on KDE Plasma Wayland, and neither of them will work for DirectDraw. -- 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=59016 --- Comment #2 from Xu Zhao <i(a)xuzhao.net> --- Maybe related issue: https://www.reddit.com/r/wine_gaming/comments/1p8v62l/black_screen_and_squis... -- 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=59016 bugmetoo@protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugmetoo@protonmail.com --- Comment #3 from bugmetoo@protonmail.com --- I can reproduce this on Wine-Staging 11.18. Environment: - Arch Linux / Hyprland Wayland - NVIDIA GTX 1080 Ti - NVIDIA driver 580.178.04 - Wine-Staging 11.18 - Application: Storia ~Ouma no Mori no Himegimi-tachi~ (older Japanese DirectDraw game) Behavior: - Normal window under Hyprland/XWayland: black/blank rendering - Genuine Xorg session: works correctly - Wine virtual desktop under Wayland: works correctly - cnc-ddraw with WINEDLLOVERRIDES="ddraw=n,b": works correctly I also tested WineD3D renderer=gdi, renderer=gl, and renderer=vulkan; the normal Wayland/XWayland window remains blank. The Wine log repeatedly shows DirectDraw activity including ddraw7_WaitForVerticalBlank and surface_cpu_blt_plane calls. OpenGL, EGL, and Vulkan are otherwise correctly using the NVIDIA GPU. Game for testing can be found here https://archive.org/download/storia-ouma-no-mori-no-himegimi-tachi -- 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=59016 --- Comment #4 from Xu Zhao <i@xuzhao.net> --- (In reply to Jacob Roberts from comment #3)
I can reproduce this on Wine-Staging 11.18.
Environment: - Arch Linux / Hyprland Wayland - NVIDIA GTX 1080 Ti - NVIDIA driver 580.178.04 - Wine-Staging 11.18 - Application: Storia ~Ouma no Mori no Himegimi-tachi~ (older Japanese DirectDraw game)
Behavior: - Normal window under Hyprland/XWayland: black/blank rendering - Genuine Xorg session: works correctly - Wine virtual desktop under Wayland: works correctly - cnc-ddraw with WINEDLLOVERRIDES="ddraw=n,b": works correctly
I also tested WineD3D renderer=gdi, renderer=gl, and renderer=vulkan; the normal Wayland/XWayland window remains blank.
The Wine log repeatedly shows DirectDraw activity including ddraw7_WaitForVerticalBlank and surface_cpu_blt_plane calls.
OpenGL, EGL, and Vulkan are otherwise correctly using the NVIDIA GPU.
Game for testing can be found here https://archive.org/download/storia-ouma-no-mori-no-himegimi-tachi
I feel like the problem is more of Wayland issue. What is the Wayland version you are using? I am now using KWin 6.7.5 and the problem is now gone. -- 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 (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla