[vdr] flooded log when using status plugin
Hello everyone, when using the status plugin and tuning to a channel without an epg schedule, the syslog gets flooded with some hundreds of OsdProgramme messages: Nov 3 20:16:17 vdr vdr: [4676] status: cStatusTest::OsdChannel 2079 TechniSat Kanal 50 Nov 3 20:16:17 vdr vdr: [4676] status: cStatusTest::OsdProgramme Nov 3 20:16:17 vdr vdr: [4676] 01:00 (null) Nov 3 20:16:17 vdr vdr: [4676] (null) Nov 3 20:16:17 vdr vdr: [4676] 01:00 (null) Nov 3 20:16:17 vdr vdr: [4676] (null) Nov 3 20:16:17 vdr vdr: [4676] status: cStatusTest::OsdProgramme Nov 3 20:16:17 vdr vdr: [4676] 01:00 (null) Nov 3 20:16:17 vdr vdr: [4676] (null) Nov 3 20:16:17 vdr vdr: [4676] 01:00 (null) Nov 3 20:16:17 vdr vdr: [4676] (null) [...] These messages are caused by the else part in cDisplayChannel::DisplayInfo in menu.c: void cDisplayChannel::DisplayInfo(void) { if (withInfo && channel) { cSchedulesLock SchedulesLock; const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock); if (Schedules) { const cSchedule *Schedule = Schedules->GetSchedule(channel); if (Schedule) { const cEvent *Present = Schedule->GetPresentEvent(); const cEvent *Following = Schedule->GetFollowingEvent(); if (Present != lastPresent || Following != lastFollowing) { SetTrackDescriptions(channel->Number()); displayChannel->SetEvents(Present, Following); cStatus::MsgOsdProgramme(Present ? Present->StartTime() : 0, Present ? Present->Title() : NULL, Present ? Present->ShortText() lastPresent = Present; lastFollowing = Following; } } else cStatus::MsgOsdProgramme(0, NULL, NULL, 0, NULL, NULL); } } } I would suggest removing the else part, because this MsgOsdProgramme call provides no information. As an alternative it should be limited to one call, similar to the check "(Present != lastPresent || Following != lastFollowing)" some lines above. Regards, Joachim. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] softdevice and epia tv-out problem with Xorg
Hi Stefan, thanks for your patch!!. Now I can start and toggle between fullscreen and windowed modes without problems. This patch will be included in cvs version or I have to apply to every new release? But I still with black screen. Now the syslog says: Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: available ports 68 - 68 Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: format 0x30323449 is NOT in format list: Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32595559[YUY2] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32315659[YV12] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x434d5658[VIA] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x35315652[RV15] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x36315652[RV16] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32335652[RV32] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: (ERROR) could not grab any port! No video possible! I'm lost. I have reinstalled libavformat and recompiled softdevic plugins. What means this error? In osd I don't get any error and vdr not crashes. I use streamdev-client and in the server I see corrects attach and detach. Thanks in advance. Stefan Lucke escribió: On Donnerstag 02 November 2006 23:38, Stefan Lucke wrote: Quoting Leo Márquez: Hi again, Stefan Lucke escribió: / But after started it without problems now I get: />/ />/ [softdevice] A/V devices initialized, now initializing MPEG2 Decoder />/ X Error of failed request: BadValue (integer parameter out of range for />/ operation) />/ Major opcode of failed request: 145 (MIT-SHM) />/ Minor opcode of failed request: 3 (X_ShmPutImage) />/ Value in failed request: 0x3ff / Which are the startup options now ? 0x3ff = 1023 = 1024 - 11 My startup options are only "-vo xv:full" Did you changed your X resolution via "ALT"+"CTRL"+"Keypad +" ? No but I press the 'f' key to toggle between fullscreen and windowed vdr mode. The second time I run vdr with -vo xv:full don't work Ah, I should have mentioned that you _must_ not toggle full screen -> windowed mode, as windowed mode works with some default values which even did not work previously (thats why I ask for full screen mode). I'll send you a patch tomorrow that will restrict these values. Ok, here comes the patch. I tested it with 640x480 resolution and now I do not get these failed request any more. In contrast to your setup, mine worked fine when setting "softdevice.OSDalphablend = 1" in vdr's setup.conf even without the patch. Index: video-xv.c === RCS file: /cvsroot/softdevice/softdevice/video-xv.c,v retrieving revision 1.63 diff -U3 -r1.63 video-xv.c --- video-xv.c 29 Sep 2006 19:17:18 - 1.63 +++ video-xv.c 3 Nov 2006 18:29:54 - @@ -862,6 +862,23 @@ } } #endif + + /* - + * limit widht and height to screen dimensions + */ + { + int screen_width, screen_height; + +screen_width = DisplayWidth(dpy, scn_id); +screen_height = DisplayHeight(dpy, scn_id); + +if (height > screen_height) + old_dheight = lheight = dheight = height = screen_height; + +if (width > screen_width) + old_dwidth = lwidth = dwidth = width = screen_width; + } + /* - * default settings which allow arbitraray resizing of the window */ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr __ Información de NOD32, revisión 1.1832 (20061025) __ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] softdevice and epia tv-out problem with Xorg
Hi again, Probably caused by this problem softdevice always starts suspended but I can't change to playing. When I try it always kept the suspended state. Thanks. Leo Márquez escribió: Hi Stefan, thanks for your patch!!. Now I can start and toggle between fullscreen and windowed modes without problems. This patch will be included in cvs version or I have to apply to every new release? But I still with black screen. Now the syslog says: Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: available ports 68 - 68 Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: format 0x30323449 is NOT in format list: Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32595559[YUY2] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32315659[YV12] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x434d5658[VIA] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x35315652[RV15] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x36315652[RV16] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32335652[RV32] Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: (ERROR) could not grab any port! No video possible! I'm lost. I have reinstalled libavformat and recompiled softdevic plugins. What means this error? In osd I don't get any error and vdr not crashes. I use streamdev-client and in the server I see corrects attach and detach. Thanks in advance. Stefan Lucke escribió: On Donnerstag 02 November 2006 23:38, Stefan Lucke wrote: Quoting Leo Márquez: Hi again, Stefan Lucke escribió: / But after started it without problems now I get: />/ />/ [softdevice] A/V devices initialized, now initializing MPEG2 Decoder />/ X Error of failed request: BadValue (integer parameter out of range for />/ operation) />/ Major opcode of failed request: 145 (MIT-SHM) />/ Minor opcode of failed request: 3 (X_ShmPutImage) />/ Value in failed request: 0x3ff / Which are the startup options now ? 0x3ff = 1023 = 1024 - 11 My startup options are only "-vo xv:full" Did you changed your X resolution via "ALT"+"CTRL"+"Keypad +" ? No but I press the 'f' key to toggle between fullscreen and windowed vdr mode. The second time I run vdr with -vo xv:full don't work Ah, I should have mentioned that you _must_ not toggle full screen -> windowed mode, as windowed mode works with some default values which even did not work previously (thats why I ask for full screen mode). I'll send you a patch tomorrow that will restrict these values. Ok, here comes the patch. I tested it with 640x480 resolution and now I do not get these failed request any more. In contrast to your setup, mine worked fine when setting "softdevice.OSDalphablend = 1" in vdr's setup.conf even without the patch. Index: video-xv.c === RCS file: /cvsroot/softdevice/softdevice/video-xv.c,v retrieving revision 1.63 diff -U3 -r1.63 video-xv.c --- video-xv.c29 Sep 2006 19:17:18 -1.63 +++ video-xv.c3 Nov 2006 18:29:54 - @@ -862,6 +862,23 @@ } } #endif + + /* - + * limit widht and height to screen dimensions + */ + { + int screen_width, screen_height; + +screen_width = DisplayWidth(dpy, scn_id); +screen_height = DisplayHeight(dpy, scn_id); ++if (height > screen_height) + old_dheight = lheight = dheight = height = screen_height; + +if (width > screen_width) + old_dwidth = lwidth = dwidth = width = screen_width; + } + /* - * default settings which allow arbitraray resizing of the window */ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr __ Información de NOD32, revisión 1.1832 (20061025) __ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr __ Información de NOD32, revisión 1.1852 (20061103) __ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] softdevice and epia tv-out problem with Xorg
Quoting Leo Márquez <[EMAIL PROTECTED]>: > Hi Stefan, thanks for your patch!!. > Now I can start and toggle between fullscreen and windowed modes without > problems. > This patch will be included in cvs version or I have to apply to every > new release? This will be included in cvs soon. > But I still with black screen. Now the syslog says: > > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: available ports > 68 - 68 > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: XV_SWOV: format > 0x30323449 is NOT in format list: Ah, thats I420. So please select YV12 or YUY2 pixelformat via OSD, and you should get video too . > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32595559[YUY2] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32315659[YV12] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x434d5658[VIA] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x35315652[RV15] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x36315652[RV16] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: 0x32335652[RV32] > Nov 5 20:35:16 dori vdr: [4461] [XvVideoOut]: (ERROR) could not grab > any port! No video possible! > Stefan Lucke ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] [ANNOUNCE] vdr-softdevice-0.3.1
Hello, the softdevice team (Torgeir Veimo, Martin Wache and me, Stefan Lucke) is pleased to announce a new release of vdr's softdevice plugin. General info: Softdevice plugin enables vdr to run on your desktop with so called budget cards. You'll get vdr output via framebuffer or X11-Xv or DirectFB or vidix to your screen. Decoding is done via ffmpeg. This is just a maintance release for previous 0.3.0 version, as code for support of vdr version earlier than vdr-1.3.7 will be removed soon. Supported vdr versions: (1.2.x,) 1.3.x and 1.4.x Plugin's homepage is located at: http://softdevice.berlios.de/ Changelog since last release: 2006-11-05: softdevice-0.3.1 - xv-out: limit used width & height to screen dimensions. - audio: select alsa h/w-mixer for volume control via command line. 2006-10-11: - hopfull final color jump fix for odd "cut columns from left" values. - fix horizontal picture placement when YUY2 is selected for xv-out. 2006-10-10: - fix segfaults when YUY2 pixelformat is used for xv-out and cut lines from top is non zero. This fixes wrong colors and misplaced OSD drawing too, when cut colums from left is non zero. Stefan Lucke ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr