Problem with Linux/OpenGL

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Hopeless
Posts: 3
Joined: Sun Apr 04, 2010 2:10 pm

Problem with Linux/OpenGL

Post by Hopeless »

Hi

I am a beginner in irrlicht world and I use Linux/Debian to write and test my first code in c++ with Irrlicht engine. But I have encountered a small problem in my machine with Linux. If I execute all example and I choose OpenGL, window is showed without border - see this image:
Image

If I select Software Rederer in Linux or I use Windows XP with OpenGL/DirectX I have not this problem. I not understand if this problem is in irrlicht driver or in openGL driver in my machine.

Somebody can you help me and explain me this mistery? Thank you!

Edit:
I add another graphics issue: in terrain scene I see texture with strange light, if I use software driver I see all correctly.
Last edited by Hopeless on Sun Apr 04, 2010 2:29 pm, edited 1 time in total.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Problem with Linux/OpenGL

Post by randomMesh »

Try to disable Compiz.
"Whoops..."
Hopeless
Posts: 3
Joined: Sun Apr 04, 2010 2:10 pm

Re: Problem with Linux/OpenGL

Post by Hopeless »

randomMesh wrote:Try to disable Compiz.
Thank you RandomMesh. Now border is visible correctly :D

Now I have the problem in texture in terrain. Problem is visible here:
Image

At top is visible terrain showed from Linux machine with OpenGL. At bottom it's showed corrected texture with Linux and software mode or Windows with Direct3D/OpenGL device.

I see also these messages when I call linux/opengl version:

Code: Select all

OpenGL driver version is 1.2 or better.
GLSL not available.
Can be GLSL problem in my linux version?

Thank you
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

What card are you using? Just show us the whole output, could help. Ubuntu used some broken Intel drivers some time ago, it looks as if you only have one texture layer (no detail map).
Hopeless
Posts: 3
Joined: Sun Apr 04, 2010 2:10 pm

Post by Hopeless »

Thank you Hibryd for reply. You are right: output show only one layer (If I remove from code detail layer, I see the same texture in terrain).

I found another strange problem. If in scene I add only the terrain (without Skybox or other mesh object) I see detailed texture in terrain. If I add only one object (sky or mesh), terrain not show detailed texture. (This problem not present in Windows OS on with Linux with software driver).

Is there some work around for resolve this bug?

Thank you (and excuse me for my poor english :oops: )

(In my test I use ATI with open source driver - closed driver not works in my pc).
kjkrum
Posts: 26
Joined: Wed Oct 29, 2003 5:34 pm

Post by kjkrum »

I would look up the feature list for that driver and see if it supports GLSL at all.
Post Reply