[Bug 54787] New: Penumbra: Overture in game black screen with enabled Anti-Aliasing (multisample)
https://bugs.winehq.org/show_bug.cgi?id=54787 Bug ID: 54787 Summary: Penumbra: Overture in game black screen with enabled Anti-Aliasing (multisample) Product: Wine Version: 8.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: d3d Assignee: wine-bugs(a)winehq.org Reporter: illia.a.polishchuk(a)globallogic.com Distribution: --- How to reproduce: 1 - Download Penumbra: Overture game in Steam 2 - Enable the game compatibility setting "Force the use of a specific Steam Play compatibility tool" 3 - Set all the game settings to high (The important is "anti-aliasing" setting = 4 and "Post Effects" = on and "Bloom" = on) 5 - Run new game. Actual result: Black screen rendered It can't be reproduced for pure windows on windows version and native linux version on linux This bug was observed while implementing workaround for "mesa" project: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22147/diffs?commit... The bug reason in GL spec (8.7): "An INVALID_OPERATION error is generated by CopyTexImage*D" "the effective value of SAMPLE_BUFFERS for the read framebuffer (see section 9.2.3.1) is one." BUT Windows version on Windows OS uses just wglChoosePixelFormatARB call with WGL_SAMPLES_ARB argument And game has common GL_SAMPLES = 0 and arb WGL_SAMPLES = 4 Probably WGL_SAMPLES does not have the multisample restriction but `wine` translation breaks this When wine translates it to a Linux it uses explicit renderbuffer with samples https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/wined3d/texture.c#L21... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54787 --- Comment #1 from Illia Polishchuk <illia.a.polishchuk(a)globallogic.com> --- And the default GL_SAMPLES value for `wine` is 4 And the GL spec restriction works in that case -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54787 --- Comment #2 from Illia Polishchuk <illia.a.polishchuk(a)globallogic.com> --- Eventually I've found that the issue is related only to a Valve patched fork of Wine So the 'pure' wine does not have the issue Created PR which fixes this https://github.com/ValveSoftware/wine/pull/189 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54787 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED CC| |z.figura12(a)gmail.com --- Comment #3 from Zeb Figura <z.figura12(a)gmail.com> --- (In reply to Illia Polishchuk from comment #2)
Eventually I've found that the issue is related only to a Valve patched fork of Wine
Resolving INVALID then. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54787 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Closing. -- 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)
-
WineHQ Bugzilla