Hello,

On Thursday, November 7, 2013 6:56:56 PM UTC+1, John Ladasky wrote:
>
> Hi folks,
>
> I don't know whether anyone saw my update post from three days ago.  I'm 
> making one last request for additional insight.  Thanks.
>


 I was playing with Pyglet and have got this hang problem as well on Mageia 
3 Linux, also with Nvidia driver. I have run the events.py demo through 
debugger and got a stack trace for when it hangs:

#0  0x00007ffff75389f0 in __poll_nocancel () from /lib64/libc.so.6
#1  0x00007ffff3c9053d in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#2  0x00007ffff294db03 in ?? () from 
/usr/lib64/nvidia-current/libnvidia-glcore.so.319.17
#3  0x00007ffff3c62316 in glXWaitVideoSyncSGI () from 
/usr/lib64/nvidia-current/libGL.so.1
#4  0x00007ffff65bce68 in ffi_call_unix64 () from /lib64/libffi.so.6
#5  0x00007ffff65bc870 in ffi_call () from /lib64/libffi.so.6
#6  0x00007ffff67cfd70 in _ctypes_callproc () from 
/usr/lib64/python2.7/lib-dynload/_ctypes.so
#7  0x00007ffff67c958d in PyCFuncPtr_call () from 
/usr/lib64/python2.7/lib-dynload/_ctypes.so
#8  0x00007ffff7a6b36e in PyObject_Call () from /lib64/libpython2.7.so.1.0
#9  0x00007ffff7afb9b9 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#10 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#11 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#12 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#13 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#14 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#15 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#16 0x00007ffff7afe8d3 in PyEval_EvalFrameEx () from 
/lib64/libpython2.7.so.1.0
#17 0x00007ffff7affd2d in PyEval_EvalCodeEx () from 
/lib64/libpython2.7.so.1.0
#18 0x00007ffff7affe02 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
#19 0x00007ffff7b18d4a in run_mod () from /lib64/libpython2.7.so.1.0
#20 0x00007ffff7b19b92 in PyRun_FileExFlags () from 
/lib64/libpython2.7.so.1.0
#21 0x00007ffff7b1a5bd in PyRun_SimpleFileExFlags () from 
/lib64/libpython2.7.so.1.0
#22 0x00007ffff7b2ba92 in Py_Main () from /lib64/libpython2.7.so.1.0
#23 0x00007ffff7473ba5 in __libc_start_main () from /lib64/libc.so.6
#24 0x0000000000400781 in _start ()

The problem occurs because the program is blocked waiting for vsync. If you 
put vsync=False in the Window constructor, it works fine. Nvidia has a 
history of fudging with the vsync functionality, so it is possible that you 
are either triggering a driver bug or trying to do something they don't 
support. 

For the record, I am running the 319.17 driver. 

Regards, 

Jan


-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to