Are you using the multi-application DirectFB core? If you have the
Fusion module anyway, it might be easier to use the multi-application
core because it doesn't require you to shut down the display when
playing.

On Sat, Nov 15, 2003 at 07:38:29PM -0400, James Oakley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I went and upgraded everything on my standalone Freevo box.
> 
> I now have DirectFB 0.9.20 with Fusion enabled and SDL 1.2.6, but I'm having 
> an odd issue with Freevo. Mplayer works perfectly on it's own, but I have to 
> use -vo dfbmga:nospic. (I have MPLAYER_VO_DEV_OPTS = ':nospic' in my 
> local_conf)
> 
> The problem occurs when I try to play a file. I get:
> 
> (!) DirectFB/core/vt: Unable to disallocate VT!
>     --> Device or resource busy
> 
> All tv output disappears and I am unable to run anything under dfbmga until I 
> 'killall -9 python2.3'. I managed to track this down to 
> osd.OSD.stopdisplay(). I am able to reproduce the error with the following 
> code:
> 
> import pygame
> pygame.init()
> pygame.display.quit()
> 
> The equivalent C code also causes this error. I've found that if I put 
> pygame.display.set_mode((720, 480),0,32) before pygame.display.quit() it 
> executes fine. The odd thing is that a mode *is* set before 
> pygame.display.quit() is executed in Freevo.
> 
> I've tried acquiring the GIL and sleeping before and after, but it still 
> doesn't work.
> 
> Interestingly, if I simply pass in osd.OSD.stopdisplay() and 
> osd.OSD.restartdisplay(), Mplayer runs fine, except that the screen is black.
> 
> I'm going to delve deeper into this tomorrow, but I was wondering if anybody 
> knows more about this than I do.
> 
> - -- 
> James Oakley
> [EMAIL PROTECTED]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/trj5Ktn0F7+/lLMRAuU7AJwM7T2cADkMMMmbwquBYYp0VPKewQCbBkrA
> P+MnpoPbhzeQb8MMd2FTJR0=
> =12v1
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to