Bug 88772 - C4 Engine demo version graphical glitches with terrain
Summary: C4 Engine demo version graphical glitches with terrain
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 11:23 UTC by Md Imam Hossain
Modified: 2015-02-03 11:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
snapshot of the problem (76.50 KB, image/jpeg)
2015-01-24 11:23 UTC, Md Imam Hossain
Details
snapshot of the problem (103.90 KB, image/jpeg)
2015-01-24 11:24 UTC, Md Imam Hossain
Details
snapshot of the problem (78.12 KB, image/jpeg)
2015-01-24 11:24 UTC, Md Imam Hossain
Details
snapshot of the problem (50.75 KB, image/jpeg)
2015-01-24 11:24 UTC, Md Imam Hossain
Details

Note You need to log in before you can comment on or make changes to this bug.
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:

http://www.mediafire.com/download/dc7jc2blnvjvsed/C4LinuxDemo2.9.1.tar.gz

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.

System:

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

https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

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.

System:


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.