Fedora 9 Compiled and Installed but Weird Errors

Hey guys,

I finally got it compiled and installed on my Fedora 9 box. However I’m getting errors I didn’t see in ubuntu as well as horrible performance.

Here is the output. All apps are running very very slow and laggy:

[nmcbride@localhost Roaming-Ralph]$ python Tut-Roaming-Ralph.py
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:audio(error): OpenALAudioManager: alcOpenDevice(NULL): ALC couldn’t open device
:audio(error): OpenALAudioManager: No open device or context
:audio(error): OpenALAudioManager: alcOpenDevice(NULL): ALC couldn’t open device
:audio(error): OpenALAudioManager: No open device or context
:util(warning): Adjusting global clock’s real time by 0.650505 seconds.
:util(warning): Adjusting global clock’s real time by -12.7837 seconds.
do_wait: drmWaitVBlank returned -1, IRQs don’t seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
:08-03-2008 12:19:36 TaskManager(warning): task igLoop ran for 3.01 seconds
:08-03-2008 12:19:39 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:42 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:46 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:49 TaskManager(warning): task igLoop ran for 3.04 seconds
:08-03-2008 12:19:52 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:55 TaskManager(warning): task igLoop ran for 3.02 seconds

Any insight?

Thanks,
nomb

You’re probably running in software mode. On a bare Linux installation, you’re almost always set up to run OpenGL in software mode, which works but is really slow for all but the simplest scenes.

You’ll have to go find the hardware-accelerated driver appropriate to your graphics card and install it. Go to nvidia.com or amd.com or intel.com or whatever, according to your graphics card manufacturer. They should have a driver for you there. Follow the instructions to install it carefully.

David

Well, I have:

direct rendering: Yes

Also this isn’t a highend card. Just an integrated intel. However when I had ubuntu on here it worked much better using the same driver.

nomb

Direct rendering has nothing to do with hardware rendering. And even an integrated graphics card will require a specialized driver to access the 3-D hardware.

It’s possible that Ubuntu installs the appropriate driver for you by default, while Fedora does not. Each distro has a different philosophy about installing third-party drivers.

David

Where would you suggest I start looking to fix this?

nomb

intel.com. They should offer Linux drivers somewhere.

David

The linux drivers are in use and actually its the same driver ubuntu was using. What else could it be?

nomb

Put the following in your Config.prc file:

notify-level-display debug

then run pview and show us the output.

David

Ok here it is:

[nmcbride@localhost built]$ pview
:display: loading display module: libpandagl.so
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): Creating new window window1
:display(debug): Created glxGraphicsWindow 0x8241aec
:display(debug): Windows resorted: window1(0)
 window1(0)
:display:gsg:glgsg(debug): GL_VENDOR = Tungsten Graphics, Inc
:display:gsg:glgsg(debug): GL_RENDERER = Mesa DRI Intel(R) 945GM 20061102 x86/MMX/SSE2
:display:gsg:glgsg(debug): GL_VERSION = 1.4 Mesa 7.1 rc1
:display:gsg:glgsg(debug): GL_VERSION = 1.4 Mesa 7.1 rc1, decoded to 1.4.0
:display:gsg:glgsg(debug): GLX_VENDOR (client) = SGI
:display:gsg:glgsg(debug): GLX_VERSION (client) = 1.4
:display:gsg:glgsg(debug): GLX_VENDOR (server) = SGI
:display:gsg:glgsg(debug): GLX_VERSION (server) = 1.2
:display:gsg:glgsg(debug): GLX_VERSION = 1.2
:display:gsg:glgsg(debug): GL Extensions:
:display:gsg:glgsg(debug): GLX_ARB_get_proc_address
:display:gsg:glgsg(debug): GLX_ARB_multisample
:display:gsg:glgsg(debug): GLX_EXT_import_context
:display:gsg:glgsg(debug): GLX_EXT_texture_from_pixmap
:display:gsg:glgsg(debug): GLX_EXT_visual_info
:display:gsg:glgsg(debug): GLX_EXT_visual_rating
:display:gsg:glgsg(debug): GLX_MESA_swap_control
:display:gsg:glgsg(debug): GLX_MESA_swap_frame_usage
:display:gsg:glgsg(debug): GLX_OML_swap_method
:display:gsg:glgsg(debug): GLX_SGIS_multisample
:display:gsg:glgsg(debug): GLX_SGIX_fbconfig
:display:gsg:glgsg(debug): GLX_SGIX_visual_select_group
:display:gsg:glgsg(debug): GLX_SGI_swap_control
:display:gsg:glgsg(debug): GLX_SGI_video_sync
:display:gsg:glgsg(debug): GL_3DFX_texture_compression_FXT1
:display:gsg:glgsg(debug): GL_APPLE_client_storage
:display:gsg:glgsg(debug): GL_APPLE_packed_pixels
:display:gsg:glgsg(debug): GL_ARB_depth_texture
:display:gsg:glgsg(debug): GL_ARB_fragment_program
:display:gsg:glgsg(debug): GL_ARB_multisample
:display:gsg:glgsg(debug): GL_ARB_multitexture
:display:gsg:glgsg(debug): GL_ARB_point_parameters
:display:gsg:glgsg(debug): GL_ARB_shadow
:display:gsg:glgsg(debug): GL_ARB_texture_border_clamp
:display:gsg:glgsg(debug): GL_ARB_texture_compression
:display:gsg:glgsg(debug): GL_ARB_texture_cube_map
:display:gsg:glgsg(debug): GL_ARB_texture_env_add
:display:gsg:glgsg(debug): GL_ARB_texture_env_combine
:display:gsg:glgsg(debug): GL_ARB_texture_env_crossbar
:display:gsg:glgsg(debug): GL_ARB_texture_env_dot3
:display:gsg:glgsg(debug): GL_ARB_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_ARB_texture_non_power_of_two
:display:gsg:glgsg(debug): GL_ARB_texture_rectangle
:display:gsg:glgsg(debug): GL_ARB_transpose_matrix
:display:gsg:glgsg(debug): GL_ARB_vertex_buffer_object
:display:gsg:glgsg(debug): GL_ARB_vertex_program
:display:gsg:glgsg(debug): GL_ARB_window_pos
:display:gsg:glgsg(debug): GL_ATI_blend_equation_separate
:display:gsg:glgsg(debug): GL_ATI_separate_stencil
:display:gsg:glgsg(debug): GL_EXT_abgr
:display:gsg:glgsg(debug): GL_EXT_bgra
:display:gsg:glgsg(debug): GL_EXT_blend_color
:display:gsg:glgsg(debug): GL_EXT_blend_equation_separate
:display:gsg:glgsg(debug): GL_EXT_blend_func_separate
:display:gsg:glgsg(debug): GL_EXT_blend_logic_op
:display:gsg:glgsg(debug): GL_EXT_blend_minmax
:display:gsg:glgsg(debug): GL_EXT_blend_subtract
:display:gsg:glgsg(debug): GL_EXT_clip_volume_hint
:display:gsg:glgsg(debug): GL_EXT_compiled_vertex_array
:display:gsg:glgsg(debug): GL_EXT_copy_texture
:display:gsg:glgsg(debug): GL_EXT_cull_vertex
:display:gsg:glgsg(debug): GL_EXT_draw_range_elements
:display:gsg:glgsg(debug): GL_EXT_fog_coord
:display:gsg:glgsg(debug): GL_EXT_multi_draw_arrays
:display:gsg:glgsg(debug): GL_EXT_packed_depth_stencil
:display:gsg:glgsg(debug): GL_EXT_packed_pixels
:display:gsg:glgsg(debug): GL_EXT_point_parameters
:display:gsg:glgsg(debug): GL_EXT_polygon_offset
:display:gsg:glgsg(debug): GL_EXT_rescale_normal
:display:gsg:glgsg(debug): GL_EXT_secondary_color
:display:gsg:glgsg(debug): GL_EXT_separate_specular_color
:display:gsg:glgsg(debug): GL_EXT_shadow_funcs
:display:gsg:glgsg(debug): GL_EXT_stencil_wrap
:display:gsg:glgsg(debug): GL_EXT_subtexture
:display:gsg:glgsg(debug): GL_EXT_texture
:display:gsg:glgsg(debug): GL_EXT_texture3D
:display:gsg:glgsg(debug): GL_EXT_texture_edge_clamp
:display:gsg:glgsg(debug): GL_EXT_texture_env_add
:display:gsg:glgsg(debug): GL_EXT_texture_env_combine
:display:gsg:glgsg(debug): GL_EXT_texture_env_dot3
:display:gsg:glgsg(debug): GL_EXT_texture_filter_anisotropic
:display:gsg:glgsg(debug): GL_EXT_texture_lod_bias
:display:gsg:glgsg(debug): GL_EXT_texture_object
:display:gsg:glgsg(debug): GL_EXT_texture_rectangle
:display:gsg:glgsg(debug): GL_EXT_vertex_array
:display:gsg:glgsg(debug): GL_IBM_rasterpos_clip
:display:gsg:glgsg(debug): GL_IBM_texture_mirrored_repeat
:display:gsg:glgsg(debug): GL_INGR_blend_func_separate
:display:gsg:glgsg(debug): GL_MESA_pack_invert
:display:gsg:glgsg(debug): GL_MESA_window_pos
:display:gsg:glgsg(debug): GL_MESA_ycbcr_texture
:display:gsg:glgsg(debug): GL_NV_blend_square
:display:gsg:glgsg(debug): GL_NV_light_max_exponent
:display:gsg:glgsg(debug): GL_NV_point_sprite
:display:gsg:glgsg(debug): GL_NV_texgen_reflection
:display:gsg:glgsg(debug): GL_NV_texture_rectangle
:display:gsg:glgsg(debug): GL_NV_vertex_program
:display:gsg:glgsg(debug): GL_NV_vertex_program1_1
:display:gsg:glgsg(debug): GL_OES_read_format
:display:gsg:glgsg(debug): GL_SGIS_generate_mipmap
:display:gsg:glgsg(debug): GL_SGIS_texture_border_clamp
:display:gsg:glgsg(debug): GL_SGIS_texture_edge_clamp
:display:gsg:glgsg(debug): GL_SGIS_texture_lod
:display:gsg:glgsg(debug): GL_SGIX_depth_texture
:display:gsg:glgsg(debug): GL_SUN_multi_draw_arrays
:display:gsg:glgsg(debug): Getting run-time PointParameter pointers
:display:gsg:glgsg(debug): HAS EXT GLX_ARB_get_proc_address 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_point_sprite 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_blend 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_matrix_palette 0
:display:gsg:glgsg(debug): Getting run-time DrawRangeElements pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_packed_depth_stencil 1
:display:gsg:glgsg(debug): Getting run-time 3-D textures pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_cube_map 1
:display:gsg:glgsg(debug): Getting run-time compressed textures pointers
:display:gsg:glgsg(debug): HAS EXT GL_EXT_bgra 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_rescale_normal 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_multisample 1
:display:gsg:glgsg(debug): HAS EXT GL_SGIS_generate_mipmap 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_non_power_of_two 1
:display:gsg:glgsg(debug): Getting run-time multitexture pointers
:display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_shadow 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_fragment_program_shadow 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_combine 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_crossbar 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_dot3 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_buffer_object 1
:display:gsg:glgsg(debug): HAS EXT GL_ATI_draw_buffers 0
:display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_object 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_buffers 0
:display:gsg:glgsg(debug): HAS EXT GL_ARB_occlusion_query 0
:display:gsg:glgsg(debug): Getting run-time blend pointers
:display:gsg:glgsg(debug): Getting run-time BlendColor pointers
:display:gsg:glgsg(debug): HAS EXT GL_SGIS_texture_edge_clamp 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_border_clamp 1
:display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_mirrored_repeat 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_mirror_clamp 0
:display:gsg:glgsg(debug): max texture dimension = 2048, max 3d texture = 256, max cube map = 2048
:display:gsg:glgsg(debug): max_elements_vertices = 3000, max_elements_indices = 3000
:display:gsg:glgsg(debug): vertex buffer objects are supported.
:display:gsg:glgsg(debug): Supported compressed texture formats:
  GL_COMPRESSED_RGB_FXT1_3DFX
  GL_COMPRESSED_RGBA_FXT1_3DFX
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1
:display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 0
:display:gsg:glgsg(debug): max lights = 8
:display:gsg:glgsg(debug): max clip planes = 6
:display:gsg:glgsg(debug): max texture stages = 8
:display:gsg:glgsg(debug): 
Cg vertex profile = arbvp1  id = 6150
Cg pixel profile = arbfp1  id = 7000
shader model = 2
:display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1
:display:glxdisplay(debug): Raw mice not requested.
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display(debug): DisplayRegion::do_compute_pixels(800, 600)
:display: Unable to set window properties: !undecorated 
:display:gsg:glgsg(debug): loading uncompressed texture rock-floor.rgb
:display(debug): system_changed_properties(size=(800, 600) )
:display(debug): system_changed_size(800, 600)
:display(debug): system_changed_properties(size=(800, 600) )
:display(debug): system_changed_size(800, 600)
:display(debug): system_changed_properties(!minimized )
:display(debug): system_changed_properties(foreground )
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
:display(debug): system_changed_properties(!foreground )

Thanks for helping me with this,
nomb

I’m afraid I can’t help you much with this error, but I can help you actually with your audio errors. You’re running Panda3D with OpenAL, but the OpenAL support for Panda3D is not yet stable. You better use FMOD. You can switch by editing your /etc/Config.prc in a text editor, and search for the line “audio-library-name”. Change the value behind it to p3fmod_audio.

Good luck. :slight_smile:

Ok, I made that change and now I’m getting:

:audio(error): _system->init(): Error initializing output device.
:audio(error): _system->init(): Error initializing output device.

nomb

OK, from the output, I can see that you are indeed running the appropriate hardware driver. As to why you’re getting poor performance, then, it’s hard to guess. Maybe it has something to do with this:

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. 
Try adjusting the vblank_mode configuration parameter. 

That message isn’t generated by Panda; it must be coming from your graphics driver. I’ve never seen anything like it before. It suggests you should try adjusting vblank_mode, though, which means you should try putting:

sync-video 0

in your Config.prc file.

I don’t know about your audio issues, though. Maybe there are permissions issues on your audio hardware, or maybe there is another application running that’s keeping the hardware locked? Try shutting down any other audio applications. Or maybe you can enable software multiplexing in your system audio settings?

David