[Bug 30958] New: StarForge Alpha build: Black screen due to shader compilation errors
http://bugs.winehq.org/show_bug.cgi?id=30958 Bug #: 30958 Summary: StarForge Alpha build: Black screen due to shader compilation errors Product: Wine Version: 1.5.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: billy65bob(a)gmail.com Classification: Unclassified Created attachment 40619 --> http://bugs.winehq.org/attachment.cgi?id=40619 log of running the game, letting it load and then exiting - no WINEDEBUG variable set The StarForge guys have put out a freely available alpha build of their game. Attempting to run it in wine with all quality settings gives me a black screen and the console I have running in the background prints a great many errors about shader compilation, including a multi hundred line shader dump - the log is attached. The user interface and the HUD can be seen. Relevant hardware specs GPU NVIDIA 460GT driver: nvidia 302.17 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.forgeplanet.net/ | |starforge_build.php CC| |dank(a)kegel.com --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2012-06-20 10:45:30 CDT --- The key bits of the log are: err:d3d_shader:shader_vaddline The buffer allocated for the shader program string is too small at 65535 bytes. fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #239: fixme:d3d_shader:print_glsl_info_log (0) : error C0000: syntax error, unexpected $end, expecting ',' or ')' at token "<EOF>" The limit you're running into is SHADER_PGMSIZE, http://source.winehq.org/source/dlls/wined3d/wined3d_private.h#L399 Can you try increasing that limit? If that helps, we could make it grow the buffer on demand. (And we should encourage the starforge guys to use shorter shaders.) Alternately, does setting UseGLSL=disabled help? See http://wiki.winehq.org/UsefulRegistryKeys or do 'winetricks glsl=disabled' -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 --- Comment #2 from Dan Kegel <dank(a)kegel.com> 2012-06-20 23:44:32 CDT --- OK, tried it on a system with an nvidia GeForce 8500 GT, NVIDIA 295.40 drivers. Doubling SHADER_PGMSIZE does indeed get rid of the "buffer allocated for the shader program string is too small" error. Performance is unbearably slow on any settings, though. "winetricks glsl=disabled" didn't seem to change much (though it by itself should also get rid of that error message). I don't get a black screen; I get a ghostly forest view. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 --- Comment #3 from Kevin Meyer <billy65bob(a)gmail.com> 2012-06-21 01:37:01 CDT --- It seems I changed the offscreen renderer to backbuffer to work around another issue with another game (gives me a black screen with GLSL off and an increased PGMSIZE). I set that back to fbo and it seems to be rendering fine with the increased shader size limit; I can see the ground, trees, various particle effects and the player... But the game's no accepting any input from my mouse outside the menus, so I'm not really in a position to test beyond that. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral(a)gmail.com --- Comment #4 from Matteo Bruni <matteo.mystral(a)gmail.com> 2013-09-02 15:42:39 CDT --- (In reply to comment #3)
It seems I changed the offscreen renderer to backbuffer to work around another issue with another game (gives me a black screen with GLSL off and an increased PGMSIZE).
I set that back to fbo and it seems to be rendering fine with the increased shader size limit; I can see the ground, trees, various particle effects and the player...
Since cf12f51b1520546dc855e8e8e43135a06e7a0cbf (which is in Wine 1.5.25 and newer) we're dynamically extending the shader buffer as needed so the game should work out of the box. Can you please retest? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 Kevin Meyer <billy65bob(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Kevin Meyer <billy65bob(a)gmail.com> 2013-09-03 01:35:13 CDT --- Everything appears to be working for the V0.100 alpha. Performance is pretty horrendous though. Seems some raw input patches landed in the interim as well, so the demo is fully playable. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2013-09-13 13:20:01 CDT --- Closing bugs fixed in 1.7.2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 Ian <ipickert55(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ipickert55(a)gmail.com --- Comment #7 from Ian <ipickert55(a)gmail.com> 2013-12-02 13:04:10 CST --- I believe that this is an issue in Alpha Protocol but I could be wrong (if i am right then this bug should not be listed as solved). Basically when I start alpha protocol it just has a black screen with no menu, mouse, sound or anything. Just black I will upload my log which has similar lines as the original one. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 --- Comment #8 from Ian <ipickert55(a)gmail.com> 2013-12-02 13:04:48 CST --- Created attachment 46702 --> http://bugs.winehq.org/attachment.cgi?id=46702 Alpha Protocol-Black Screen Log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=30958 --- Comment #9 from Ian <ipickert55(a)gmail.com> 2013-12-02 13:10:57 CST --- Disregard those two comments I didnt mean to post them on this bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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)
-
wine-bugs@winehq.org