|Summary:||[G45] Heroes of Newerth shader issues|
|Product:||Mesa||Reporter:||Sven Arvidsson <sa>|
|Component:||Drivers/DRI/i965||Assignee:||Ian Romanick <idr>|
|Status:||RESOLVED DUPLICATE||QA Contact:|
|i915 platform:||i915 features:|
HoN console log
first failing shader
diff between working and failing shader
Description Sven Arvidsson 2009-07-22 11:40:23 UTC
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: http://www.phoronix.com/forums/showpost.php?p=82671&postcount=129 System environment: -- 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
Comment 1 Ivan Bulatovic 2009-07-22 23:56:25 UTC
I've got the same problem, white and black box-es in menu screen. kernel: 2.6.31-rc3 xf86-video-intel: 2.8.0 mesa: 7.5.1 chipset: GM965/x3100 distro: Arch linux 64_bit mobo: Dell Vostro 1310
Comment 3 Olaf Encke 2009-07-24 16:59:31 UTC
Same here on Foxconn G45M-S board running Ubuntu Karmic + xorg-edgers ppa
Comment 4 Adam Jackson 2009-08-24 12:32:53 UTC
Mass version move, cvs -> git
Comment 5 Sven Arvidsson 2009-09-11 13:07:20 UTC
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.
Comment 6 Mateusz Kaduk 2009-09-24 02:54:55 UTC
(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
Comment 7 Sven Arvidsson 2009-09-24 04:22:58 UTC
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?
Comment 8 Sven Arvidsson 2009-09-24 05:58:47 UTC
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?
Comment 9 Michael Kirzinger 2009-09-24 06:00:52 UTC
(In reply to comment #7) > Indeed it looks like one of the updates to the game added a new version of the > shaders. 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.