Bug 88772

Summary: C4 Engine demo version graphical glitches with terrain
Product: Mesa Reporter: Md Imam Hossain <imamdxl8805>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED NOTOURBUG QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:
Attachments: snapshot of the problem
snapshot of the problem
snapshot of the problem
snapshot of the problem

Description Md Imam Hossain 2015-01-24 11:23:04 UTC
Created attachment 112769 [details]
snapshot of the problem

C4 Engine demo version has several small games that users can test out.

Please download the demo:


In Lost Cemetery, Haunted Arena, Island, Hells Mouth, Pond games the ground and different terrains missing texture or shader or something else regardless of graphics settings provided by the demo. Some terrain is totally white like and some are mixed colors. Please look at the attachments.


Kubuntu 14.10
Linux kernel 3.18.3-031803
Mesa 10.5.0-devel (git-adc8cdf) using oibaf ppa


X.Org X Server 1.16.0

tested GPUs

Intel Bay Trail, device id: 0f31
Comment 1 Md Imam Hossain 2015-01-24 11:24:06 UTC
Created attachment 112770 [details]
snapshot of the problem
Comment 2 Md Imam Hossain 2015-01-24 11:24:21 UTC
Created attachment 112771 [details]
snapshot of the problem
Comment 3 Md Imam Hossain 2015-01-24 11:24:34 UTC
Created attachment 112772 [details]
snapshot of the problem
Comment 4 Tapani Pälli 2015-01-27 05:39:45 UTC
I'm not sure if the engine is OK, there quite a bit of errors in console, as example passing a 0 as shader object to glShaderSource(), do you know if this actually worked on some configuration or other GPU?
Comment 5 Md Imam Hossain 2015-01-27 09:54:35 UTC
All the games work fine here with nVidia GPU and proprietary driver.


Kubuntu 14.10
Linux kernel 3.18.3-031803
X.Org X Server 1.16.0
NVIDIA Driver Version 331.113

tested GPU

Quadro K600
Comment 6 Tapani Pälli 2015-02-03 10:16:34 UTC
Uh now I think I understand the problem. C4 uses compatibility context and then calls some extension (or Core API) that is not supported by Mesa or by the compatibility context.
Comment 7 Tapani Pälli 2015-02-03 11:58:50 UTC
I've investigated apitrace of C4 Engine 2.9.1. There are several API issues with 2.9.1, engine is simply broken. Fortunately there is a windows demo available of version 4.2 of the engine where bugs have been fixed and which works fine through wine.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.