Iris2.de
http://iris2.de/forum/

Black screen at launch (Ubuntu 8.04)
http://iris2.de/forum/viewtopic.php?f=18&t=1259
Page 1 of 1

Author:  karth [ Sat Sep 27, 2008 5:24 pm ]
Post subject:  Black screen at launch (Ubuntu 8.04)

Hi,

I have compiled Iris2 from SVN using
Code:
./premakelinux.sh


I have correctly specified the location of a valid UO directory (with Models/ directory).

The Ubuntu deps scripts says all is in the latest version.

I am getting a black screen at launch, and I'm currently unable to find an answer in the forums... The console doesn't output any error...

Image
Click to enlarge

Author:  karth [ Sat Sep 27, 2008 5:35 pm ]
Post subject: 

Additionnally, when trying to compile dynamically, i get a lot of errors in the beginning of the make process:
Code:
make[1]: entrant dans le répertoire « /home/karth/Bureau/iris2/src »
g++ -DHAVE_CONFIG_H -I. -I../include -I/usr/include -I/usr/local/include/fmodex -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE   -I/usr/include//lua50   -I/usr/include//lua50       -I/usr//include/OIS -I/usr//include      -g -O2 -MT data.o -MD -MP -MF .deps/data.Tpo -c -o data.o data.cpp
data.cpp:1:26: erreur: lugre_prefix.h : Aucun fichier ou dossier de ce type
Dans le fichier inclus à partir de data.cpp:2:
../include/data.h:16:28: erreur: lugre_smartptr.h : Aucun fichier ou dossier de ce type
data.cpp:4:21: erreur: tinyxml.h : Aucun fichier ou dossier de ce type
data.cpp:9:29: erreur: lugre_robstring.h : Aucun fichier ou dossier de ce type
In file included from data.cpp:2:
../include/data.h:25: erreur: «Lugre» is not a namespace-name
../include/data.h:25: erreur: expected namespace-name before «;» token
../include/data.h:86: erreur: «uint32» does not name a type
../include/data.h:87: erreur: «int32» does not name a type
../include/data.h:88: erreur: «uint16» does not name a type
../include/data.h:89: erreur: «int16» does not name a type
In file included from ../include/data.h:96,

Author:  ghoulsblade [ Sat Sep 27, 2008 11:06 pm ]
Post subject: 

Hi =) do you have a 64 bit system ? some people have had troubles with that.

please try ./installdeps.ubuntu.sh and then recompile,
if it still doesn't work ,
please post your bin/Ogre.log

Author:  karth [ Sun Sep 28, 2008 12:14 am ]
Post subject: 

No, it's a 32bits system.

Quote:
please try ./installdeps.ubuntu.sh

It just says that all deps are in the latest version available for my platform. Recompiling didn't change anything...

Here is the bin/Ogre.log

Code:
19:03:48: Creating resource group General
19:03:48: Creating resource group Internal
19:03:48: Creating resource group Autodetect
19:03:48: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:03:48: Registering ResourceManager for type Material
19:03:48: Registering ResourceManager for type Mesh
19:03:48: Registering ResourceManager for type Skeleton
19:03:48: MovableObjectFactory for type 'ParticleSystem' registered.
19:03:48: OverlayElementFactory for type Panel registered.
19:03:48: OverlayElementFactory for type BorderPanel registered.
19:03:48: OverlayElementFactory for type TextArea registered.
19:03:48: Registering ResourceManager for type Font
19:03:48: ArchiveFactory for archive type FileSystem registered.
19:03:48: ArchiveFactory for archive type Zip registered.
19:03:48: FreeImage version: 3.9.3
19:03:48: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:03:48: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
19:03:48: DDS codec registering
19:03:48: Registering ResourceManager for type HighLevelGpuProgram
19:03:48: Registering ResourceManager for type Compositor
19:03:48: MovableObjectFactory for type 'Entity' registered.
19:03:48: MovableObjectFactory for type 'Light' registered.
19:03:48: MovableObjectFactory for type 'BillboardSet' registered.
19:03:48: MovableObjectFactory for type 'ManualObject' registered.
19:03:48: MovableObjectFactory for type 'BillboardChain' registered.
19:03:48: MovableObjectFactory for type 'RibbonTrail' registered.
19:03:48: *-*-* OGRE Initialising
19:03:48: *-*-* Version 1.4.5 (Eihort)
19:03:48: Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
19:03:49: Installing plugin: GL RenderSystem
19:03:49: OpenGL Rendering Subsystem created.
19:03:49: Plugin successfully installed
19:03:49: Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
19:03:49: Installing plugin: ParticleFX
19:03:49: Particle Emitter Type 'Point' registered
19:03:49: Particle Emitter Type 'Box' registered
19:03:49: Particle Emitter Type 'Ellipsoid' registered
19:03:49: Particle Emitter Type 'Cylinder' registered
19:03:49: Particle Emitter Type 'Ring' registered
19:03:49: Particle Emitter Type 'HollowEllipsoid' registered
19:03:49: Particle Affector Type 'LinearForce' registered
19:03:49: Particle Affector Type 'ColourFader' registered
19:03:49: Particle Affector Type 'ColourFader2' registered
19:03:49: Particle Affector Type 'ColourImage' registered
19:03:49: Particle Affector Type 'ColourInterpolator' registered
19:03:49: Particle Affector Type 'Scaler' registered
19:03:49: Particle Affector Type 'Rotator' registered
19:03:49: Particle Affector Type 'DirectionRandomiser' registered
19:03:49: Particle Affector Type 'DeflectorPlane' registered
19:03:49: Plugin successfully installed
19:03:49: Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
19:03:49: Installing plugin: BSP Scene Manager
19:03:49: Plugin successfully installed
19:03:49: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
19:03:49: Installing plugin: Octree & Terrain Scene Manager
19:03:49: Plugin successfully installed
19:03:49: Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
19:03:49: Installing plugin: Cg Program Manager
19:03:49: Plugin successfully installed
19:03:49: CPU Identifier & Features
19:03:49: -------------------------
19:03:49:  *   CPU ID: GenuineIntel: Intel(R) Pentium(R) 4 CPU 2.80GHz
19:03:49:  *      SSE: yes
19:03:49:  *     SSE2: yes
19:03:49:  *     SSE3: no
19:03:49:  *      MMX: yes
19:03:49:  *   MMXEXT: yes
19:03:49:  *    3DNOW: no
19:03:49:  * 3DNOWEXT: no
19:03:49:  *     CMOV: yes
19:03:49:  *      TSC: yes
19:03:49:  *      FPU: yes
19:03:49:  *      PRO: no
19:03:49:  *       HT: yes
19:03:49: -------------------------
19:03:49: ******************************
*** Starting GLX Subsystem ***
******************************
19:03:49: GLRenderSystem::createRenderWindow "Iris2", 800x600 windowed  miscParams: FSAA=0 title=Iris2
19:03:49: GLXWindow::create
19:03:49: Parsing miscParams
19:03:49: GLXWindow::create -- Best visual is 36
19:03:49: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 604)
19:03:49: GL_VERSION = 2.1.2 NVIDIA 169.12
19:03:49: GL_VENDOR = NVIDIA Corporation
19:03:49: GL_RENDERER = GeForce 7600 GS/AGP/SSE2
19:03:49: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
19:03:49: ***************************
19:03:49: *** GL Renderer Started ***
19:03:49: ***************************
19:03:49: Registering ResourceManager for type GpuProgram
19:03:49: GLSL support detected
19:03:49: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
19:03:49: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0
19:03:50: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0
19:03:50: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0
19:03:50: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0
19:03:50: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0
19:03:50: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
19:03:50: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
19:03:50: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
19:03:50: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
19:03:50: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0

Author:  karth [ Sun Sep 28, 2008 6:18 pm ]
Post subject: 

Hi again,

I'm sorry to bother you. I just wanted to let you know that I seem to have fixed my issue in switching FBO to PBuffer.

Thanks for your attention, and for Iris too :)

Regards,

Karth

Author:  ghoulsblade [ Mon Sep 29, 2008 1:03 am ]
Post subject: 

you're welcome, glad you got it fixed =)
probably your gfx driver doesn't support pbuffers then.

if you encounter strange graphical problems there are a few things you can try :
* compile the ogre 1.4.9 from source, i think there was a fix related to some driver problems, and the ogre version in the ubuntu repos is quite old
* if you're using opensource ati-driver, try switching to the proprietary driver or vice versa

Author:  karth [ Mon Sep 29, 2008 6:33 am ]
Post subject: 

Strangely, I am using the proprietary NVIDIA driver...

Code:
19:03:49: GL_VERSION = 2.1.2 NVIDIA 169.12
19:03:49: GL_VENDOR = NVIDIA Corporation
19:03:49: GL_RENDERER = GeForce 7600 GS/AGP/SSE2


Any other 3D applications run smoothly... I remember having run Iris2 without issue in december 2007. I know a lot has happened since then, but I think there is only a small chance for the driver to be the cause...

Is Ogre 1.4.5 (Ubuntu repos) really that old? The distro gets updated in about a month, I'll let you know if that fixes the issue (Ogre 1.4.9)

Author:  ghoulsblade [ Mon Sep 29, 2008 11:27 am ]
Post subject: 

ogre 1.4.5. is from september 2007 , 1.4.9. was june 2008 i think.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/