[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] problems with using video
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] problems with using video
- From: "Jake b" <ninmonkeys@xxxxxxxxx>
- Date: Mon, 29 Dec 2008 19:26:50 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 29 Dec 2008 20:26:54 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=F+dWFFJEl3MCbRvmlhkvfgUsI5QWBNwFUZNNcs02GIM=; b=O6Kn9k68/XR0pab4jk2txP4OspCAaVs4WHg0VvH6/WCBAGuKGhRc4IoAL5pdeyOfFb gmbcMUXcs8tuZMiT+Mf44uDm3XSS5fHviS+jidFaNCjgpyaknxLbzQfJ3pz26uZeAChp UY1HdA6j029i6iCMv5cobEvKpiZ4jTmxC130U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=K1AEy/wQ8p8ICUmyyHbUB/lS/d7lS9xl7mvpM9Nmqa0ksxuzOr9SHyYYZFveCDfJ0n T78jkjd3cO3CK+WXKUQnbTviEbWg+dU/NJmlpM6J6MRXPH73zDGv7+c8Xa1+7WNGB3Em ky1wvD5VmcVEtDqj5WzaiOLXwmC9co8/xfsMk=
- In-reply-to: <200812290707.17592.umeboshi3@xxxxxxxxx>
- References: <200812290707.17592.umeboshi3@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Mon, Dec 29, 2008 at 7:07 AM, Joseph Rawson <umeboshi3@xxxxxxxxx> wrote:
> python: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int)
> ((xcb_req) - (dpy->request)) >= 0)' failed.
Is there any more to the message? I would guess its a failed lock, (
but, it doesn't look like pygame specifically. )
>
> This only seems to happen when I'm testing on my local desktop, using
> windowed, instead of fullscreen mode. On my desktop, I get more xcb_lock
> errors, than I do freezes.
>
> The application is to be run on a dedicated machine, and the signal is to go
> through the tv-out of the video card and be split among several tv's. I am
> using debian/lenny for the OS of the machine, and X11 for the display (to be
> able to use the tv-out). I'm saying this, because I believe that the bug may
> be in X, or the way that X is being used by either sdl or pygame, although
> I'm not really sure. Since I'm new to programming with pygame, it's very
> possible that the bug is in my code, and I have overlooked something
> important.
>
> I test the system using virtualbox, and on the VM, the xcb_lock error never
> occurs, rather, the scene will freeze, and the cpu will be pegged at 100%.
Probably doesn't matter, but, you could try pygame.time.get_ticks()
for your getting ticks function.
(someone smarter will be along)
--
Jake