can't stop GE (&sequencer when loading sound)

hi!
am running on ubuntu 8.04 (hardy), and can’t seem to stop GE after pressing P.
the only way out is to “kill” blender.

these are the last things on the console

Compiled with Python version 2.5.2.
Checking for installed Python... got it!
Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Enabled GL_ARB_multitexture
Enabled GL_ARB_shader_objects
Enabled GL_ARB_vertex_shader
Detected GL_ARB_fragment_shader
Enabled GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
GL_VERSION: 2.1 (2.1.2 NVIDIA 169.12)
Killed

that happens even with the default cube in the scene… both with compiz on and off.

i have Nvidia drivers intalled, 3G ram, turion 64x2, ubuntu 8.04.

just tell me what more info you need… thanks!

edit:
it seems stopable if i make sure no keys are pressed (or no mouse movements at all) in between the pressing of P and Esc. weird :frowning:

Most likely you have a custom key linked the the “Esc” key, Esc being the normal way to kill the GE. If that doesn’t solve your problem, try uploading the .Blend so we can take a gander.

i don’t think, i’ve assigned a custom link to ESC… tried removing the .B.blend, tried other blend files, result is the same… can’t still stop the GE…
here is my .B.blend.

Your B.blend isn’t the problem; it’ll be the game .Blend you’ve been working on.

Your B.blend isn’t the problem; it’ll be the game .Blend you’ve been working on.

i’m not sure about that… i’ve tried starting the game engine with other blend files (even with the default cube), i still can’t stop the GE.
like i’ve said, there are times it can be stopped, but no other keys should be pressed aside from ESC, nor the mouse be moved.
thanks…
edit: the console gives nothing helpful, i think, are there any log files that i can check?

is it the latest official release (2.46) or a build of experimental code (apricot, SVN, etc)?

Your B.blend’s fine on my client. I can only recommend you reinstall your client; assuming the fault is indeed with Blender.

i tried my files with blender under vista, they worked fine… blender went in and out of GE without any problem (a bit slow, though).
am worried there’s something wrong with my Xserver… how do i start checking on that?

glxinfo | grep direct

says direct rendering (hardware acceleration) is enabled.

i tried installing blender from synaptic. (the one i’m using was downloaded from blender.org).
it crashes at start up! looking at the console… it says

guessing 'blender-bin' == '/usr/bin/blender-bin'
Compiled with Python version 2.5.2.
Checking for installed Python... got it!
Segmentation fault

is that the possible culprit? how do i solve that?

@sim88: yes, i used the official 2.46 release, and this time, i tried the one from synaptic (ubuntu hardy), but can’t start the one from synaptic.

edit: the version from synaptic is 2.45

It’ll be a problem with the way synaptic installed Blender; I’m assuming you can’t install from the stand-alone pre-compiled on your OS?

I don’t use X myself; but I’d assume that would be the cause of your input problems; However as I don’t use X the resolution alludes me.

tried playing with the values in nvidia-settings, but nothing’s changed…still that dreaded lockup after starting the game engine!

while in game engine, just before i attempt to stop GE, processor monitor goes 100%, and after pressing ESC, it continues to use processor power (50% of it – i have dual core). odd thing is, only a cube is in the scene!

i’m not sure if that’s normal…

the ge will use 100% no matter what is in the scene. except it will only use one core, so if you have a dual core it will only use one core which will show as 50% cpu and a quad core would show as 25% and so on.

Try adding some logic bricks to stop the engine, like space -> and -> end game
and see if that works. The esc quitting should work unless blender isn’t getting the input or the game is freezing as soon as the game engine starts or something… asfar as I know.

Try adding some logic bricks to stop the engine, like space -> and -> end game
and see if that works. The esc quitting should work unless blender isn’t getting the input or the game is freezing as soon as the game engine starts or something… asfar as I know.

i already did that… assigned a key to end the game… doesn’t work :frowning:
what’s weird is in vista, everything works well… i can’t seem to find what’s wrong :frowning:

EDIT: even after pressing ESC, blender continues to use an entire cpu core…so BGE is still running right?

aaaarrrgghhhh!!!
killing Pulseaudio SOLVED the problem! ubuntu 8.04 uses pulseaudio as the soundserver…
i wouldn’t want my sound killed while in the BGE… am still searching for ways to make blender work with pulseaudio.

EDIT:
found my way here… (though i’ve already set my pulseaudio to work using a similar instruction from a different thread, all i have to do is add “export SDL_AUDIODRIVER=pulse” to ~/.profile)
http://ubuntuforums.org/showthread.php?t=776739

thanks for everyone’s help!!

Thanks a lot dear…

am sorry to open this thread up again… it really seems the alsa-plugin in blender and pulseaudio of ubuntu are not getting well enough in my system.

i’ve managed to clear a bit the GE stopping problem using the above posts, but its not STABLE enough! i mean, there are still times that it won’t stop… i still need to “kill” blender. (though this case is better than unable to entirely stop at all … but not stable enough)

i found out that loading a sound in sequencer also freezes blender, and the only way out is to “kill” it.

any help? pleeease? :smiley:

is there any place where i could post this as a possible bug? or is it just me who experience this?
what possible log files do i need to check? anyone?
thanks!

I’m using Blender 2.46 on Ubuntu 8.04.1 and I’m having no issues. Except for the fact that it can be kinda glitchy graphics-wise.

am also on ubuntu 8.04.1!
@moguri: are you still using the default pulseaudio soundserver? or you changed yours?