Problems with 2 examples on linux
Problems with 2 examples on linux
All the examples are compiling for me but exmaples 2 and 7 do not apear to work correctly. The scene textures appear to be all white. Is there something I can do to resolve this?
-
Kortyburns
- Posts: 20
- Joined: Wed Sep 10, 2003 12:31 pm
- Location: FRANCE
I ve the same problem, looks like as if the engine doesn't find the textures (Error messages on the console, telling "Warning couldnt' load texture ....").
Each wall is white, and i don't see any textured skybox.
The strange thing is that the example1 works well, whereas the mesh has a texture.
I use the latest irrlicht (0.4). and Mandrake 9.0 (gcc 3).
Each wall is white, and i don't see any textured skybox.
The strange thing is that the example1 works well, whereas the mesh has a texture.
I use the latest irrlicht (0.4). and Mandrake 9.0 (gcc 3).
-
Kortyburns
- Posts: 20
- Joined: Wed Sep 10, 2003 12:31 pm
- Location: FRANCE
-
zoschfrosch
- Posts: 11
- Joined: Sat Nov 22, 2003 11:03 pm
I had the same problem with 0.4. With 0.41, the textures are ok. But now there is another problem: It is very dark in the rooms - not as bright as on the screenshots. And in example 7, I hava some strange light effects. It looks as if a red sun would shine through the wall, and sometime there are red triangles on the wall.
-
Guest
I've tested with the 0.4.1.
I now see textures on the walls, but console prints some warnings.
Here is a copy/paste of the console :
-----
Creating X window...
Starting windowed mode...
Connecting glx context to window...
Window created.
Warning: This driver is not available in Linux. Trying OpenGL.
Warning: Could not find texture in Q3 .bsp:textures/common/caulk
Warning: Could not find texture in Q3 .bsp:noshader
Warning: Could not find texture in Q3 .bsp:textures/common/clip
Warning: Could not find texture in Q3 .bsp:textures/liquids/lavahell
Warning: Could not find texture in Q3 .bsp:textures/gothic_trim/metalblackwave01
Warning: Could not find texture in Q3 .bsp:textures/stone/pjrock1
Warning: Could not find texture in Q3 .bsp:textures/skies/tim_hell
Warning: Could not find texture in Q3 .bsp:textures/common/hint
Warning: Could not find texture in Q3 .bsp:models/mapobjects/timlamp/timlamp
Warning: Could not find texture in Q3 .bsp:textures/sfx/flame1side
Warning: Could not find texture in Q3 .bsp:textures/sfx/flame2
Warning: Could not find texture in Q3 .bsp:models/mapobjects/gratelamp/gratetorch2
Warning: Could not find texture in Q3 .bsp:models/mapobjects/gratelamp/gratetorch2b
Loaded mesh:20kdm2.bsp
Needed 111ms to create OctTree SceneNode.(297 nodes, 7306 polys)
------
I've checked the path, it's OK.
The FPS is VERY low (1 FPS). Under windows the fps is higher (about 200).
Like zoschfrosch,the map is dark, it's as if only ambiant light was activated.
I've just installed the latest drivers from nvidia.)
I now see textures on the walls, but console prints some warnings.
Here is a copy/paste of the console :
-----
Creating X window...
Starting windowed mode...
Connecting glx context to window...
Window created.
Warning: This driver is not available in Linux. Trying OpenGL.
Warning: Could not find texture in Q3 .bsp:textures/common/caulk
Warning: Could not find texture in Q3 .bsp:noshader
Warning: Could not find texture in Q3 .bsp:textures/common/clip
Warning: Could not find texture in Q3 .bsp:textures/liquids/lavahell
Warning: Could not find texture in Q3 .bsp:textures/gothic_trim/metalblackwave01
Warning: Could not find texture in Q3 .bsp:textures/stone/pjrock1
Warning: Could not find texture in Q3 .bsp:textures/skies/tim_hell
Warning: Could not find texture in Q3 .bsp:textures/common/hint
Warning: Could not find texture in Q3 .bsp:models/mapobjects/timlamp/timlamp
Warning: Could not find texture in Q3 .bsp:textures/sfx/flame1side
Warning: Could not find texture in Q3 .bsp:textures/sfx/flame2
Warning: Could not find texture in Q3 .bsp:models/mapobjects/gratelamp/gratetorch2
Warning: Could not find texture in Q3 .bsp:models/mapobjects/gratelamp/gratetorch2b
Loaded mesh:20kdm2.bsp
Needed 111ms to create OctTree SceneNode.(297 nodes, 7306 polys)
------
I've checked the path, it's OK.
The FPS is VERY low (1 FPS). Under windows the fps is higher (about 200).
Like zoschfrosch,the map is dark, it's as if only ambiant light was activated.
I've just installed the latest drivers from nvidia.)
-
zoschfrosch
- Posts: 11
- Joined: Sat Nov 22, 2003 11:03 pm
"Warning: This driver is not available in Linux. Trying OpenGL."
I guess this only means that there is no DirectX available an that instead OpenGL is used. So it doesn't matter.
"Warning: Could not find texture in Q3 .bsp:textures/common/caulk"
If you look into the Quake-File (it is a zip file, you can open it with arc), you will see that these textures are really not there. I guess these are textures which are not used in the scene, but they are referenced in the model file. You can avoid this warnings if you unzip the file, create the missing directories and files (take any jpeg-Files) an zip the file again. But it does not change anything in the behavior of the example.
I have a fps between 20 and 30, but my machine seems to be slower than yours because the OctTree needs 206ms to be created. Maybe the software renderer is used instead of OpenGL on your installation?
I guess this only means that there is no DirectX available an that instead OpenGL is used. So it doesn't matter.
"Warning: Could not find texture in Q3 .bsp:textures/common/caulk"
If you look into the Quake-File (it is a zip file, you can open it with arc), you will see that these textures are really not there. I guess these are textures which are not used in the scene, but they are referenced in the model file. You can avoid this warnings if you unzip the file, create the missing directories and files (take any jpeg-Files) an zip the file again. But it does not change anything in the behavior of the example.
I have a fps between 20 and 30, but my machine seems to be slower than yours because the OctTree needs 206ms to be created. Maybe the software renderer is used instead of OpenGL on your installation?
-
Kortyburns
- Posts: 20
- Joined: Wed Sep 10, 2003 12:31 pm
- Location: FRANCE
-
zoschfrosch
- Posts: 11
- Joined: Sat Nov 22, 2003 11:03 pm
I can tell you what I had to do to get it work with debian linux. I hava a nvidia tnt2 card, and unfortunately, there comes no driver for it with debian. So I had to use the original driver from nvidia, recompile the kernel etc. After that, I had to add some things in the XF86Config-File. Then OpenGL worked.
Because I don't know mandrake, I can only suggest where the problem is. I made a search with www.metager.de for "mandrake" and "opengl" and found the following intersting link: http://www.libsdl.org/pipermail/sdl/200 ... 37257.html .
I guess you installed the video driver without OpenGL. Run glxinfo in a shell to see if it is on your machine. If not, maybe you find help on the mandrake site or on the site of you graphics card manufacturer.
Some distri's like Suse linux are very easy to configure because they have a Gui-Tool for that. Perhaps, Mandrake has such a tool, but I don't know.
Maybe it would be interesting to compare the output of glxinfo on your machine with mine. In my output, I can see that the OpenGL version is from nvidia:
...
"OpenGL version string: 1.3.1 NVIDIA 31.23
...
Good luck
Because I don't know mandrake, I can only suggest where the problem is. I made a search with www.metager.de for "mandrake" and "opengl" and found the following intersting link: http://www.libsdl.org/pipermail/sdl/200 ... 37257.html .
I guess you installed the video driver without OpenGL. Run glxinfo in a shell to see if it is on your machine. If not, maybe you find help on the mandrake site or on the site of you graphics card manufacturer.
Some distri's like Suse linux are very easy to configure because they have a Gui-Tool for that. Perhaps, Mandrake has such a tool, but I don't know.
Maybe it would be interesting to compare the output of glxinfo on your machine with mine. In my output, I can see that the OpenGL version is from nvidia:
...
"OpenGL version string: 1.3.1 NVIDIA 31.23
...
Good luck
-
Kortyburns
- Posts: 20
- Joined: Wed Sep 10, 2003 12:31 pm
- Location: FRANCE
just found some useful info here
http://dri.sourceforge.net/cgi-bin/moin ... leshooting
in my case (voodoo3) i had the tdfx driver loaded, changed X to run with 16 bit colors (this is a voodoo3 specific limitation) and still no success, glxinfo kept telling me "direct rendering: No"
in the XFree86 logfile there was no indication as to what could be wrong. but with
setenv LIBGL_DEBUG verbose
glxinfo told me it did not find some shared library, which belonged to the debian package libglide3. so i had enabled my card everywhere, but not installed the actual drivers needed :-/
maybe the link to the dri project should go into the irrlicht documentation to help people configuring their linux for OpenGL. i used my installation for years and did not even realize i'm not using hardware accel...
http://dri.sourceforge.net/cgi-bin/moin ... leshooting
in my case (voodoo3) i had the tdfx driver loaded, changed X to run with 16 bit colors (this is a voodoo3 specific limitation) and still no success, glxinfo kept telling me "direct rendering: No"
in the XFree86 logfile there was no indication as to what could be wrong. but with
setenv LIBGL_DEBUG verbose
glxinfo told me it did not find some shared library, which belonged to the debian package libglide3. so i had enabled my card everywhere, but not installed the actual drivers needed :-/
maybe the link to the dri project should go into the irrlicht documentation to help people configuring their linux for OpenGL. i used my installation for years and did not even realize i'm not using hardware accel...