Raydium 3D Game Engine
https://memak.raydium.org/

bug with refresh (the screen is always black)
https://memak.raydium.org/viewtopic.php?f=10&t=420
Page 1 of 1

Author:  CTAF [ Mon May 29, 2006 7:53 pm ]
Post subject:  bug with refresh (the screen is always black)

je suis debian, avec une carte graphique i810. J'utilise xorg 7.0 fourni par debian, et une version cvs de libgl1-mesa-dri (sinon la 3d marche pas)

la version precedente de maniadrive annoncé sur linuxfr, marchait trés bien, mais depuis ca ne marche plus, l'ecran affiche quasiment que du noir, c'est a dire que a chaque refresh on voit ce qu'il faut, mais qu'il colle directement une page noir par dessus. C'est comme si une fois sur deux l'image dessiné étais noir, c'est donc quasiment injouable. J'espere avoir été clair.

Pour info, quake3 et d'autre jeux fonctionne trés bien.

Si vous avez besoin d'aide, ou de faire des test avec gdb ou je ne sais quoi n'hesitez pas a me demandé "goctaf <attt> gmail.com".
En esperant vous aidez. Trés bonne continuation pour ce jeux trés prometteur, qui m'amuse bps.

Author:  Xfennec [ Mon May 29, 2006 8:07 pm ]
Post subject: 

Salut,

Le contenu de la console, derrière le jeu nous aiderait à comprendre le problème, particulièrement la partie haute.

Author:  CTAF [ Mon May 29, 2006 9:45 pm ]
Post subject: 

ctaf@CTAF-DEB [0] [/shared/bin/ManiaDrive-1.01-linux-i386.static-data]
z$ ./mania_drive.sh [06-05-29 23:40]
Raydium: Using Raydium 0.700
Raydium: command line args: OK
Raydium: chdir to 'game/': OK
Raydium: Requesting 1024x768:32 mode
Raydium: no Xinerama on this display
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
Raydium: Found 1024x768 with 24 bpp color and 24 bits zbuffer (stencil is 1)
Raydium: using Mesa DRI Intel(R) 852GM/855GM 20050225 x86/MMX/SSE2, from Tungsten Graphics, Inc (version 1.3 Mesa 6.5)
Raydium: Signal Handlers: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 2048x2048
Raydium: OpenGL hardware providing 4 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: joy: FAILED
ERROR opening /dev/js0
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'default device'
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 1 iterations: diff: 3 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.003 ms (333333.34 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (333333 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
-----------------------------------------------------------
Raydium: sound: Loaded murcielago.wav, size 107686 bytes
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: sound: Loaded touched.wav, size 103714 bytes
Raydium: sound: Loaded owww.wav, size 8900 bytes
Raydium: sound: Loaded wizz.wav, size 28212 bytes
Raydium: Texture num 1 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 2 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 3 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 4 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 5 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 6 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 7 (theme-maniadrive.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 8 (font3.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: timecall: softcall 2: 1 Hz (1000000 clocks interval)
Raydium: Changing game state to 1
Raydium: timecall: WARNING ! 0 Hz callback (num 1)
Raydium: Texture num 9 (video) FAKED: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: live: texture 'video' created
Raydium: video: mania_menu_v1.jpgs (0) as live texture video (0), 256x256 20.00 fps (703 frames)
Raydium: Texture num 10 (BOXmania_cursor.tga) loaded: 32x32, 4 Bpp (b1 lm0 hdr0)
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Texture num 11 (mania_logo2.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 12 (BOXmania_music_popup.tga) loaded: 512x128, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 13 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: Changing game state to 2
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: GUI: Error: Cannot delete window: invalid window
Raydium: sound: Tried to set negative Gain , clipped to 0
Raydium: Using Raydium 0.700
Raydium: command line args: OK
Raydium: chdir to './': OK
Raydium: Signal Handlers: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 0x0
Raydium: OpenGL hardware providing 0 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: joy: FAILED
ERROR opening /dev/js0
open /dev/[sound/]dsp: Device or resource busy
Raydium: ERROR: Cannot open Sound System
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 1 iterations: diff: 3 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.003 ms (333333

Author:  Xfennec [ Tue May 30, 2006 11:19 am ]
Post subject: 

Merci. Rien de spécial ici. Essaye de lancer le jeu en mode fenêtré, en ajoutant --window sur la ligne de commande, et en modifiant les params Generic-WindowSizeX et Y dans le fichier "raydium.db" (par exemple pour faire du 640x480). La sortie de la commande "glxinfo" m'intéresse aussi pour comprendre les avertissements de ta libGL.

Author:  CTAF [ Tue May 30, 2006 12:02 pm ]
Post subject: 

en fenetre ca fais pareil.

les avertissement de ma libgl y sont sur tous les jeux mais n'empeche pas de les faire marcher.

sortie de glxinfo:
ctaf@CTAF-DEB [0] [/shared/bin/ManiaDrive-1.01-linux-i386.static-data]
z$ glxinfo [06-05-30 14:01]
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20050225 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_point_parameters, 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_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, 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_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_client_storage, GL_APPLE_packed_pixels,
GL_ATI_blend_equation_separate, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x4b 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

Author:  CTAF [ Tue May 30, 2006 3:20 pm ]
Post subject: 

PS: quelquesoit la resolution ca fais toujours le meme probleme.

Author:  Xfennec [ Wed May 31, 2006 7:41 pm ]
Post subject: 

Merci de l'info. Je n'ai pas de solution à ton problème pour l'heure, je vais fouiller le SVN pour retrouver les modifs effectuées depuis la beta LinuxFr qui pourraient expliquer le problème. Si tu as moyen de relancer cette beta et de me donner la sortie de la console de cette version, ca peut aider.

(PS : je suis pour ainsi dire away jusqu'a ce week end, donc patience :) )

Author:  CTAF [ Thu Jun 15, 2006 6:45 pm ]
Post subject: 

ca devait etre un probleme d'os, je viens de passer sous ubuntu, avec a peu prés les meme version de logiciel (xorg/mesa) et ca marche parfaitement :--)

Author:  Xfennec [ Fri Jun 16, 2006 11:11 am ]
Post subject: 

Très étrange. Merci beaucoup d'avoir raporté l'évolution de la situation ici !

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