The game Heroes of Newert which is currently in a closed beta is almost completely white, possibly due to shader problems.
Beta keys are available on request:
-- chipset: G45 / ICH10R
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus P5Q-EM
-- Display connector: DVI
-- KMS: enabled
-- xf86-video-intel: 6f3fc6b20f3daedab02e31f49678d4d2ff0fa7a3
-- xserver: 1.6.2
-- mesa: ede9f3b52ecb27ada81fee06a943bb595c60eaee
-- drm: 9aed44beeac4f250a58c792d64a4dee1dde3d086
-- kernel: 2.6.30
I've got the same problem, white and black box-es in menu screen.
distro: Arch linux 64_bit
mobo: Dell Vostro 1310
Created attachment 27934 [details]
HoN console log
Same here on Foxconn G45M-S board running Ubuntu Karmic + xorg-edgers ppa
Mass version move, cvs -> git
Created attachment 29425 [details]
first failing shader
I'm attaching the first shader which the preprocessor fails on, according to the log:
Loading VertexShader 'simple_color_flat'
Loading PixelShader 'simple_color_flat'
Compiling pixel shader: simple_color_flat.psh (ps_glsl)
Error: syntax error in preprocessor expression.
Error: failed to preprocess the source.
(In reply to comment #5)
> Created an attachment (id=29425) [details]
> first failing shader
> I'm attaching the first shader which the preprocessor fails on, according to
> the log:
> Loading VertexShader 'simple_color_flat'
> Loading PixelShader 'simple_color_flat'
> Compiling pixel shader: simple_color_flat.psh (ps_glsl)
> Error: syntax error in preprocessor expression.
> Error: failed to preprocess the source.
I am also beta testing this game (HoN) on GM965 and it works with mesa 7.6
Indeed it looks like one of the updates to the game added a new version of the shaders.
Is there any point in having this bug open now? The original problem is gone for this game, but I guess it still remains in Mesa. Is the attached shader enough to give a clue as to what the problem was?
Created attachment 29828 [details]
diff between working and failing shader
I'm attaching a diff between a working and a failing shader. The difference seems to be in where comments are added. Could this be it?
(In reply to comment #7)
> Indeed it looks like one of the updates to the game added a new version of the
The problem was comments in preprocessor lines. They were removed in version 0.1.46.1 of HoN (on 2009-09-22). It doesn't look like they are handled in Mesa and instead just cause an error.
Since we've identified the problem and there's another bug report about it, let's close it since the current version of this game works.
*** This bug has been marked as a duplicate of bug 21707 ***