John Molohan wrote: > Duncan Webb wrote: > >> John Molohan wrote: >> >> >>> John Molohan wrote: >>> >>> >>>> Duncan Webb wrote: >>>> >>>> >>>> >>>>> SourceForge.net wrote: >>>>> >>>>> >>>>> >>>>>> Bugs item #1568856, was opened at 2006-10-01 18:59 >>>>>> Message generated for change (Tracker Item Submitted) made by Item >>>>>> Submitter >>>>>> 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: None >>>>>> Group: None >>>>>> Status: Open >>>>>> Resolution: None >>>>>> Priority: 5 >>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>> Which version of directfb? >>>>> >>>>> >>>>> >>>> DirectFB-1.0.0-rc1 & DirectFB-extra-0.9.25. DirectFB failed at first >>>> with a compilation error relating to avifile. I didn't have time to >>>> debug this so I just removed avifile and then the install ran fine. >>>> >>>> >>>> >>>>> John, would you mind sending me some of the files that you have used to >>>>> set-up directfb on the G400. I've one too and last time I tried none of >>>>> the applications that used directfb exited they just hung. Since then >>>>> I've upgraded glibc and they run. I just don't have the time to figure >>>>> this out again. >>>>> >>>>> >>>>> >>>>> >>>> Will do. I only set all this up again yesterday and I wasn't looking >>>> forward to it as I had a nasty time getting df_xine working the last >>>> time but all went perfectly smoothly and I had a lovely looking >>>> freevo svn on my tv in no time. I'll send you on my files this evening. >>>> >>>> >>>> >>>>> I'd like to set it up again so that I can test freevo in the different >>>>> environments. What would be helpful is /etc/fb.modes /etc/directfbrc >>>>> and >>>>> the stuff in local_conf that controls SDL and VO. May be this is in the >>>>> wiki? >>>>> >>>>> >>>>> >>>> I don't think it's in the wiki but it really should be. A noob can't >>>> be expected to figure all the settings for this out themselves. I'm >>>> trying to keep some sort of notes on my install this time so some >>>> time in the future when things are quite I might have time to do a >>>> write up on the wiki. >>>> >>>> >>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> >>>>> >>>> No problem. >>>> >>>> >>>> >>>> >>> Hi Duncan, >>> >>> See attached. Strangely there's no fb.modes in my /etc but there's one >>> in /usr/local/src/DirectFB-1.0.0-rc1/fb.modes so I've included that. >>> Hope they help, let me know how you get on. >>> >>> John >>> ------------------------------------------------------------------------ >>> >>> matrox-crtc2 >>> matrox-tv-standard=pal >>> matrox-cable-type=composite >>> primary-layer=02 >>> bg-color=FF000000 >>> mode=720x576 >>> depth=32 >>> sync >>> matrox-cable-type=composite >>> >>> ------------------------------------------------------------------------ >>> >>> # >>> # DirectFB video modes, should be placed into "/etc" >>> # >>> >>> mode "640x480 75Hz 16bit" >>> # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz >>> geometry 640 480 640 480 16 >>> timings 31747 120 16 16 1 64 3 >>> endmode >>> >>> mode "720x576 50Hz 16bit" >>> geometry 720 576 720 576 16 >>> timings 31208 144 40 32 10 128 3 >>> endmode >>> >>> mode "768x576 75Hz 16bit" >>> # D: 49.188 MHz, H: 46.580 kHz, V: 75.008 Hz >>> geometry 768 576 768 576 16 >>> timings 20330 128 32 32 8 128 5 >>> endmode >>> >>> >>> mode "800x600 75Hz 16bit" >>> # D: 49.50 MHz, H: 46.875 kHz, V: 75.00 Hz >>> geometry 800 600 800 600 16 >>> timings 20203 160 16 21 1 80 3 >>> hsync high >>> vsync high >>> endmode >>> >>> >>> mode "1024x768 72Hz 16bit" >>> # D: 75.00 MHz, H: 58.230 kHz, V: 72.245 Hz >>> geometry 1024 768 1024 768 16 >>> timings 13334 104 24 29 3 136 6 >>> endmode >>> >>> >>> mode "1280x1024-75" >>> # D: 134.880 MHz, H: 79.905 kHz, V: 74.958 Hz >>> geometry 1280 1024 1280 3264 16 >>> timings 7414 232 64 38 1 112 3 >>> hsync high >>> vsync high >>> endmode >>> >>> mode "1280x1024 60Hz 16bit" >>> # D: 108.00 MHz, H: 63.981 kHz, V: 60.02 Hz >>> geometry 1280 1024 1280 1024 16 >>> timings 9260 248 48 38 1 112 3 >>> hsync high >>> vsync high >>> endmode >>> >>> >>> mode "1600x1200 60Hz 16bit" >>> # D: 156.00 MHz, H: 76.200 kHz, V: 60.00 Hz >>> geometry 1600 1200 1600 1200 16 >>> timings 6411 256 32 52 10 160 8 >>> endmode >>> >>> >>> mode "640x400 93Hz 16bit" >>> geometry 640 400 640 400 16 >>> timings 28272 48 32 17 22 128 12 >>> endmode >>> >>> mode "400x300 100Hz 16bit" >>> geometry 400 300 400 300 16 >>> timings 31747 40 16 16 1 40 3 >>> double true >>> endmode >>> >>> >>> mode "320x240 85Hz 16bit" >>> geometry 320 240 320 240 16 >>> timings 51383 32 32 20 4 48 1 >>> double true >>> endmode >>> >>> mode "320x200 85Hz 16bit" >>> geometry 320 200 320 200 16 >>> timings 60440 32 32 20 4 48 1 >>> double true >>> endmode >>> >>> ------------------------------------------------------------------------ >>> >>> # /etc/modprobe.preload: kernel modules to load at boot time. >>> # >>> # This file should contain the names of kernel modules that are >>> # to be loaded at boot time, one per line. Comments begin with >>> # a `#', and everything on the line after them are ignored. >>> # this file is for module-init-tools (kernel 2.5 and above) ONLY >>> # for old kernel use /etc/modules >>> >>> >>> psmouse >>> >>> pcspkr >>> >>> capability >>> i2c-matroxfb >>> matroxfb_crtc2 >>> mga_vid >>> ivtv >>> via-agp >>> >>> >> John, >> A really big thank you. >> >> > No worries. > >> One think that you didn't say is what you have in >> /etc/freevo/freevo.conf and /etc/freevo/local_conf.py to tell freevo to >> use the matrox card's TV output. >> >> > Woops, forgot to include those, I'll send them on this evening. > >> A long long time ago I wrote this wiki page >> http://directfb.org/wiki/index.php/Matrox_G400_Dual_Head getting the >> info from all over the internet. I never got the matroxset stuff to work >> properly but since then I upgraded the Matrox firmware which may make a >> difference. >> >> > I'm running the same version firmware that came with the card 5 - 7 > years ago! I should probably upgrade too but it works fine, just missing > tvout on boot. > >> BTW the /etc/fb.modes, the first entry is the default entry for DirectFB >> programs, but you have most of this in the /etc/directdbrc. It mostly >> sets up the timings, position on the screen etc. >> >> Cheers, >> Duncan >> >> >> Here's a quick overview of the changes to /etc/freevo/freevo.conf df_xine = /usr/local/bin/df_xine display = dfbmga geometry = 720x576
And in local_config.py the only changed needed was XINE_ARGS_DEF = '-l 0 -d' ------------------------------------------------------------------------- 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
