I have knopix and the current NVIDIA drivers. Irrlicht 1.0 and OpenGL used to work fine for me, however when I switched to 1.1 I get the following error every time I try to run any example using OpenGL:
Irrlicht Engine version 1.1
Linux Linux 2.6.12 #2 SMP Tue Aug 9 23:20:52 CEST 2005
No doublebuffering available.
I compiled the examples without problems but I just can't run them. Any ideas on how to solve this problem?
irrlicht 1.1 and linux
I get this too on PCLinuxOS - my graphics card is a GeForce 6600GT. glxinfo is:
Code: Select all
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6600 GT/AGP/SSE2/3DNOW!
OpenGL version string: 2.0.0 NVIDIA 76.76
OpenGL 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_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_object, GL_EXT_multi_draw_arrays,
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_vertex_array, GL_HP_occlusion_test,
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_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
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 16 tc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x22 16 dc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 0 0 None
0x25 16 tc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 0 0 None
0x26 16 tc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 0 0 None
0x27 16 tc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 0 0 None
0x28 16 tc 0 16 0 r y . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x29 16 tc 0 16 0 r . . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x2a 16 tc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 2 1 Ncon
0x2b 16 tc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 4 1 Ncon
0x2c 16 tc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 2 1 Ncon
0x2d 16 tc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 4 1 Ncon
0x2e 16 tc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 2 1 Ncon
0x2f 16 tc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 4 1 Ncon
0x30 16 tc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 2 1 Ncon
0x31 16 tc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 4 1 Ncon
0x32 16 tc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 2 1 Ncon
0x33 16 tc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 4 1 Ncon
0x34 16 tc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 2 1 Ncon
0x35 16 tc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 4 1 Ncon
0x36 16 dc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x37 16 dc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 0 0 None
0x38 16 dc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 0 0 None
0x39 16 dc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 0 0 None
0x3a 16 dc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 0 0 None
0x3b 16 dc 0 16 0 r y . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x3c 16 dc 0 16 0 r . . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x3d 16 dc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 2 1 Ncon
0x3e 16 dc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 4 1 Ncon
0x3f 16 dc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 2 1 Ncon
0x40 16 dc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 4 1 Ncon
0x41 16 dc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 2 1 Ncon
0x42 16 dc 0 16 0 r y . 5 6 5 0 4 24 0 16 16 16 16 4 1 Ncon
0x43 16 dc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 2 1 Ncon
0x44 16 dc 0 16 0 r . . 5 6 5 0 4 24 0 16 16 16 16 4 1 Ncon
0x45 16 dc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 2 1 Ncon
0x46 16 dc 0 16 0 r y . 5 6 5 0 4 24 8 16 16 16 16 4 1 Ncon
0x47 16 dc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 2 1 Ncon
0x48 16 dc 0 16 0 r . . 5 6 5 0 4 24 8 16 16 16 16 4 1 Ncon
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I really don't know what NVidia is doing with the linux drivers, but it seems that they really screw up every bit they can. Not only the GetProcAddress, but now also GetFBConfig. Those things should work with glx 1.3, and both ATI and Intel have them already in glx 1.2 (at least partially). But NVidia claims to have 1.3 but does not implement any of the API changes, but only new things such as pbuffers. I'll try the old versions with Multisampling and ATI/Intel drivers and probably provide a patch version in the next days. However I cannot access Nvidia machines, yet. Another try could be the SGIX extension mentioned in the extensions string. So easiest thing should be using ATI or Intel right now
Personally I think they're doing just what they should be doing regarding LINUX, pretty much ignoring it. The LINUX user community is not a viable *profitable* area to waste development $$$ in...I really don't know what NVidia is doing with the linux drivers...
BTW, I've been using LINUX since the Slackware and 0.99 kernal days. It's great for servers and critical services and sucks for the UI user experience.
Last edited by SiriusCG on Tue Aug 08, 2006 12:22 am, edited 1 time in total.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I've changed the display choosing method from the old glx methods to the glx 1.3 ChooseFBConfig ones. This works for ATI and Intel drivers as said, but not for NVidia. However, it might be slightly different as I just realized: Maybe NVidia has better support and it is possible to use the complete FB pipeline with NVidia. I had to change back to the old calls for one call in my setup. Mabe you want to try: Search for glxCreateWindow (line 392) and remove the comments. If you run your app again it should either behave the same, or issue the warning (Could not create GLX rendering context). In the latter case it is possible to change the context creation and pass the glxWin to the OpenGL driver. Hopefully I get access to some NVidia card in the near future
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Ok, the SGI extension works again slightly different, so I had to put back in the old code. The old code is now chosen when the version is <1.3, however this does not help in your case. So maybe I have to check for the GL_VENDOR string as well and use the old version also for NVidia in general. My Nvidia setup is now running as it returns a server string of 1.2 so the correct code is chosen. If you want to try check out the latest SVN revision and change the version check to 'minor>3' in line 222 of CIrrDeviceLinux.cpp
BTW: Did anybody of you encounter problems with the glXGetProcAddress define? I.e. did you change the define either in the source or by using -DglXGetProcAddress=glXGetProcAddressARB?
BTW: Did anybody of you encounter problems with the glXGetProcAddress define? I.e. did you change the define either in the source or by using -DglXGetProcAddress=glXGetProcAddressARB?