[Bug 55740] New: Black screen in Flutter apps
https://bugs.winehq.org/show_bug.cgi?id=55740 Bug ID: 55740 Summary: Black screen in Flutter apps Product: Wine Version: 8.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs(a)winehq.org Reporter: alexhenrie24(a)gmail.com Distribution: --- Created attachment 75238 --> https://bugs.winehq.org/attachment.cgi?id=75238 Flutter Hello World All Flutter programs fail to display their user interfaces and instead display a black screen. I'm attaching a copy of the Flutter "Hello World!" program so you can see for yourself. `winetricks d3dcompiler_47` gets it working. -- 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=55740 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |https://bugs.winehq.org/att | |achment.cgi?id=75238 -- 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=55740 --- Comment #1 from Alex Henrie <alexhenrie24(a)gmail.com> --- Created attachment 75239 --> https://bugs.winehq.org/attachment.cgi?id=75239 Terminal output The first d3dcompiler error is: 0178:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0178:err:d3dcompiler:D3DCompile2 Shader log: 0178:err:d3dcompiler:D3DCompile2 C:\fakepath:5:1: E5000: syntax error, unexpected NEW_IDENTIFIER -- 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=55740 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=55709 -- 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=55740 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Could you attach +d3dcompiler too? As is it fails on "vec4", it's not a builtin type. -- 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=55740 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75239|0 |1 is obsolete| | --- Comment #3 from Alex Henrie <alexhenrie24(a)gmail.com> --- Created attachment 75240 --> https://bugs.winehq.org/attachment.cgi?id=75240 WINEDEBUG=+d3dcompiler Sure, here it is. -- 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=55740 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- Thanks. At least one of the failures I think is about 'noperspective' on a structure field. There is an MR for that - https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/358. -- 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=55740 --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Nikolay Sivov from comment #4)
Thanks. At least one of the failures I think is about 'noperspective' on a structure field. There is an MR for that - https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/358.
It does help. There are glsl errors later, and vulkan backend hits an assertion. -- 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=55740 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|d3d |hlsl Version|8.17 |1.9 Product|Wine |vkd3d -- 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=55740 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- The fix was merged, I think we can resolve this one. -- 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=55740 --- Comment #7 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 75336 --> https://bugs.winehq.org/attachment.cgi?id=75336 shader Mentioned glsl errors, or assertion in spirv case, happen due to register allocation tracking bug. For range allocations variable sizes that are not multiple of register size are not tracked correctly, in this case it's an output structure: 1 struct VS_OUTPUT 2 { 3 float4 dx_Position : SV_Position; 4 float4 gl_Position : TEXCOORD2; 5 noperspective float4 v0 : TEXCOORD0; 6 noperspective float2 v1 : TEXCOORD1; 7 }; This leads to incorrect dcl_temps value, which leads to off by one register count in glsl. And that's why glsl compilation fails later with undeclared variable error. With that fixed I see proper "Hello World" text rendering. Let's keep this open until this second issue is resolved. -- 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=55740 --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> --- The fix for dcl_temps issue: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/448 -- 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=55740 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82(a)luukku.com --- Comment #9 from temp82(a)luukku.com --- sounds fixed Giovanni Mascellani approved this merge request 8 hours ago Henri Verbeet approved this merge request 3 hours ago Alexandre Julliard added 15 commits 37 minutes ago -- 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=55740 --- Comment #10 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking fixed https://source.winehq.org/git/vkd3d.git/commit/f0a6c7de1d87dcecc1e97c9059e0e.... We'll see how it comes together after the merge. -- 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=55740 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |f0a6c7de1d87dcecc1e97c9059e | |0e13b2bdb0b7c Resolution|--- |FIXED --- Comment #11 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking fixed. -- 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=55740 --- Comment #12 from temp82(a)luukku.com --- I think the title should contain the fix mentioned somehow. changelog would get better description it deserves. -- 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=55740 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Nikolay Sivov <bunglehead(a)gmail.com> --- Closing bugs fixed in 1.10. -- 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