SourceForge.net wrote: > Bugs item #1568856, was opened at 2006-10-01 20:59 > Message generated for change (Comment added) made by duncanwebb > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568856&group_id=46652 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: players > Group: 1.5.x svn >> Status: Open > Resolution: Accepted >> Priority: 7 > Submitted By: John Molohan (johnmolohan) > Assigned to: Nobody/Anonymous (nobody) > Summary: Pygame error: traceback with ivtv_xine_tv and directfb > > Initial Comment: > Hi, > > Just got this one after installing directfb. Freevo ran > fine and so did tv. I watched, changed channels and > paused no problem the on pressing stop on the remote > got this: > > SDL DirectFB_SetVideoMode: [EMAIL PROTECTED], flags: 0x00000000 > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/freevo/main.py", line > 520, in ? > osd.clearscreen(color=osd.COL_BLACK) > File > "/usr/lib/python2.4/site-packages/freevo/osd.py", line > 611, in clearscreen > self.screen.fill(self._sdlcol(color)) > error: display Surface quit > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/freevo/main.py", line > 539, in ? > shutdown() > File > "/usr/lib/python2.4/site-packages/freevo/plugins/shutdown.py", > line 76, in shutdown > osd.clearscreen(color=osd.COL_BLACK) > File > "/usr/lib/python2.4/site-packages/freevo/osd.py", line > 611, in clearscreen > self.screen.fill(self._sdlcol(color)) > pygame.error: display Surface quit > ivtv_xine_tv.py (430): XineThread: Stopped > > > ---------------------------------------------------------------------- > >> Comment By: Duncan Webb (duncanwebb) > Date: 2006-10-10 18:27 > > Message: > Logged In: YES > user_id=104395 > > I think we have a bit of a mess with this plug-in. > > The current plug-in in svn generates: > /usr/bin/xine --hide-gui -pq -g -B --geometry 720x576+0+0 > --no-splash -V --no-splash --no-lirc --stdctl --no-lirc > --post=pp:quality=10;expand pvr:///home/livetv > > This looks completely incorrect, no argument to -V > >>From what I see from the patches that have been sent the > correct version doesn't work for John using fbxine and the > current version doesn't work for xine. > > Richard, will you tell me what you think the current status is? > > John, what it the correct command line when using df_xine? I > don't think that the current modules gives you the correct > command line either.
Should have been a bit clearer. What have you got for: config.CONF.xine from /etc/freevo/freevo.conf config.XINE_COMMAND from /etc/freevo/local_conf.py config.XINE_ARGS_DEF config.XINE_TV_VO_DEV config.XINE_TV_AO_DEV Thanks Duncan > > > > ---------------------------------------------------------------------- > > Comment By: Duncan Webb (duncanwebb) > Date: 2006-10-06 12:05 > > Message: > Logged In: YES > user_id=104395 > > Thanks John for this information. I'll close this bug report > and if you figure out a fix then please create a new one. > > ---------------------------------------------------------------------- > > Comment By: John Molohan (johnmolohan) > Date: 2006-10-06 10:44 > > Message: > Logged In: YES > user_id=774680 > > Thanks for the input Richard. I'm away in the next few hours > until next Tuesday but I'll try figure out a fix for this > next week (might use Richard's version but add some checking > for directfb and if so use old kill method). > > ---------------------------------------------------------------------- > > Comment By: John Molohan (johnmolohan) > Date: 2006-10-06 10:36 > > Message: > Logged In: YES > user_id=774680 > > svn now seems to be working as expected > > ---------------------------------------------------------------------- > > Comment By: Richard van Paasen (rvpaasen) > Date: 2006-10-05 22:39 > > Message: > Logged In: YES > user_id=182311 > > The difference between the two modules is that the old one > uses the kill command on xine to stop it. The new one uses > the "quit" command via stdctl. The latter gives a better > response, the freevo tvguide reappears faster. > > After quiting xine, it cleans up the buffer files for live > tv and that takes some time. Xine thus keeps running for a > while when the tvguide has already been displayed (the video > device is closed so another xine instance can be started if > needed). > > Unfortunately I don't have directfb on my machine to test. > You could try to replace the new quit call with the old kill > call and see if that works. Adding an extra sleep after the > quit may also help. Ideally, ivtv_xine_tv should wait for > the child proces to finish; but then a delay between stop > and tvguide is introduced again. > > I don't know why this porblem occurs with directfb and not > with x11. > > > > ---------------------------------------------------------------------- > > Comment By: Duncan Webb (duncanwebb) > Date: 2006-10-04 06:46 > > Message: > Logged In: YES > user_id=104395 > > Reverted to old source as you have suggested. There may be > some benfits with newer version. I see that player start and > stop messages are sent. > > Changed in r8314 and I've fixed the tabs in r8315. > > Will you check the svn version? > Maybe Richard will fix this? > > ---------------------------------------------------------------------- > > Comment By: John Molohan (johnmolohan) > Date: 2006-10-04 00:44 > > Message: > Logged In: YES > user_id=774680 > > I just tested this with the original version of the > ivtv_xine plugin that I had and it does not crash. See > attached files. The updated version of the plugin uses a > different method to try and close xine and this appears to > be the root of the problem. In fact the updated plugin gives > me no OSD either so I'm not really seeing any benifits from > it at the moment. > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568856&group_id=46652 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Freevo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
