https://bugs.winehq.org/show_bug.cgi?id=42829
Bug ID: 42829 Summary: Transcendence (& many other D3D games) only show black screen (shaders) Product: Wine Version: 2.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: kq3thih@mailnesia.com Regression SHA1: a830d7808f2f07e7efc8657134e0962642d94f52 Distribution: Debian
Created attachment 57915 --> https://bugs.winehq.org/attachment.cgi?id=57915 console output
Transcendence 1.7 (& all other D3D games tested) only show a black screen. Looking at the console output shaders have a syntax error and do not link.
--- snip --- fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #1: fixme:d3d_shader:print_glsl_info_log 0(3) : error C0000: syntax error, unexpected '(', expecting "::" at token "(" fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #2: fixme:d3d_shader:print_glsl_info_log 0(4) : error C0000: syntax error, unexpected '(', expecting "::" at token "(" fixme:d3d_shader:shader_glsl_validate_link Program 3 link status invalid. --- snip ---
Bisecting returns:
--- snip --- a830d7808f2f07e7efc8657134e0962642d94f52 is the first bad commit commit a830d7808f2f07e7efc8657134e0962642d94f52 Author: Józef Kucia jkucia@codeweavers.com Date: Wed Apr 12 12:42:28 2017 +0200
wined3d: Use GLSL 1.30 for all shaders if available.
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 522cad7e1f1b6f5da0a8967f59803132f1c5c0c7 034b4dee93895dc509daec1e9bfb01b3b77880a2 M dlls --- snip ---
Reverting the commit on master and programs start working normally again.
$ sha1sum Transcendence.zip eb50b5350e7098e0460741691d09012321342553 Transcendence.zip $ du -sh Transcendence.zip 43M Transcendence.zip
Debian testing Nvidia binary drivers 340.102
https://bugs.winehq.org/show_bug.cgi?id=42829
Aexander kq3thih@mailnesia.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://kronosaur.com/downlo | |ads/Transcendence.zip
https://bugs.winehq.org/show_bug.cgi?id=42829
--- Comment #1 from Aexander kq3thih@mailnesia.com --- Created attachment 57916 --> https://bugs.winehq.org/attachment.cgi?id=57916 glxinfo
https://bugs.winehq.org/show_bug.cgi?id=42829
Aexander kq3thih@mailnesia.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42829
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 57925 --> https://bugs.winehq.org/attachment.cgi?id=57925 Patch
Thanks for a bug report. Does this patch help?
https://bugs.winehq.org/show_bug.cgi?id=42829
--- Comment #3 from Aexander kq3thih@mailnesia.com --- (In reply to Józef Kucia from comment #2)
Thanks for a bug report. Does this patch help?
Yes, that works.
https://bugs.winehq.org/show_bug.cgi?id=42829
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Assignee|wine-bugs@winehq.org |joseph.kucia@gmail.com Ever confirmed|0 |1
--- Comment #4 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 57937 --> https://bugs.winehq.org/attachment.cgi?id=57937 Patch - GLSL 1.40
(In reply to Aexander from comment #3)
Yes, that works.
Thanks. Could you please test another patch (attached)?
https://bugs.winehq.org/show_bug.cgi?id=42829
--- Comment #5 from Aexander kq3thih@mailnesia.com --- (In reply to Józef Kucia from comment #4)
Thanks. Could you please test another patch (attached)?
This one also works, thanks.
https://bugs.winehq.org/show_bug.cgi?id=42829
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|joseph.kucia@gmail.com |wine-bugs@winehq.org Resolution|--- |FIXED Fixed by SHA1| |95a936d8c237cf4493f4e211a69 | |7bf308672959e Status|NEW |RESOLVED
--- Comment #6 from Józef Kucia joseph.kucia@gmail.com --- This should be fixed now: https://source.winehq.org/git/wine.git/?a=commit;h=95a936d8c237cf4493f4e211a...
https://bugs.winehq.org/show_bug.cgi?id=42829
--- Comment #7 from Aexander kq3thih@mailnesia.com --- I can confirm the fix. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=42829
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.7.