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
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. -- Stefan Lucke 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
Re: [vdr] softdevice and epia tv-out problem with Xorg
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 can you show us the output of command xdpyinfo ? My xdpyinfo output command Is here: name of display::0.0 version number:11.0 vendor string:The X.Org Foundation vendor release number:70101000 X.Org version: 7.1.1 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x6e, revert to Parent number of extensions:29 BIG-REQUESTS DAMAGE DPMS Extended-Visual-Information GLX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RANDR RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP X-Resource XC-APPGROUP XC-MISC XFIXES XFree86-Bigfont XFree86-DGA XFree86-DRI XFree86-Misc XFree86-VidModeExtension XInputExtension XKEYBOARD XTEST XVideo XVideo-MotionCompensation default screen number:0 number of screens:1 screen #0: dimensions:720x576 pixels (183x146 millimeters) resolution:100x100 dots per inch depths (7):24, 1, 4, 8, 15, 16, 32 root window id:0x47 depth of root window:24 planes number of colormaps:minimum 1, maximum 1 default colormap:0x20 default number of colormap cells:256 preallocated pixels:black 0, white 16777215 options:backing-store NO, save-unders NO largest cursor:32x32 current input event mask:0x58007f KeyPressMask KeyReleaseMask ButtonPressMask ButtonReleaseMaskEnterWindowMask LeaveWindowMask PointerMotionMaskSubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask number of visuals:12 default visual id: 0x22 visual: visual id:0x22 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x23 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x24 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x25 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x26 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x27 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x28 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x29 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x2a class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x2b class:
Re: [vdr] softdevice and epia tv-out problem with Xorg
Quoting Leo Márquez [EMAIL PROTECTED]: Hi Stefan and thanks for your answer. I have solved the problem starting softdevice in full screen. So -vo xv:full worked. 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 Did you changed your X resolution via ALT+CTRL+Keypad + ? can you show us the output of command xdpyinfo ? Which osd_image size was reported in that case ? Serial number of failed request: 250 Current serial number in output stream: 251 I have seen that is another value in failed request: 0x33ff. I have tried with OSDAlphablend value to 1 without luck. What is the 0x33ff value related to? Thanks. Stefan Lucke escribió: Quoting Leo Márquez [EMAIL PROTECTED]: Hi!, Recently I have connected my vdr box to my CRT 16:9 TV. I use the s-video(I want to use the rca tv-out for digital audio) connector of my epia M.1. I have followed some instructions to configure xorg with s-video out from this page: http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html I don't know if this url is up to date. I have got see my wmaker desktop in my tv but when I start vdr with softdevice I get: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg build(3345920) [XvVideoOut]: osd_image shmid = 2686978 [XvVideoOut]: got osd_image: width 720 height 576, bytes per line 2880 [softdevice] Subplugin successfully opend [softdevice] Video Out seems to be OK [softdevice] Initializing Audio Out [softdevice] Audio out seems to be OK [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: 0x2ff 0x2ff = 767 = 768 - 1 768 is the default startup width. So you can try to: a. start in full screen mode -vo xv:full, which adjusts width and height to available max values (720 width in your case I guess). b. choose software OSD blending (via OSD :-( ) or via setup.conf: softdevice.OSDalphablend = 1 Serial number of failed request: 337 Current serial number in output stream: 338 Stefan Lucke ___ 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, I have found this topic in vdrportal that I have translated with google to english. But I don't understand yet what is the problem. I'll try to recompile softdevice. I'm using debian, softdevice cvs and vdr 1.4.3. Thanks. Leo Mrquez wrote: Hi!, Recently I have connected my vdr box to my CRT 16:9 TV. I use the s-video(I want to use the rca tv-out for digital audio) connector of my epia M.1. I have followed some instructions to configure xorg with s-video out from this page: http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html I don't know if this url is up to date. I have got see my wmaker desktop in my tv but when I start vdr with softdevice I get: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg build(3345920) [XvVideoOut]: osd_image shmid = 2686978 [XvVideoOut]: got osd_image: width 720 height 576, bytes per line 2880 [softdevice] Subplugin successfully opend [softdevice] Video Out seems to be OK [softdevice] Initializing Audio Out [softdevice] Audio out seems to be OK [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: 0x2ff Serial number of failed request: 337 Current serial number in output stream: 338 I hope anyone could help me to solve this problem. Another question... Do you know any url to learn about epia-m1 s-video out and xorg? Thanks. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr -- Leo Mrquez [ Enginyeria del Software - Internet ] [ Calidae - www.calidae.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!, Recently I have connected my vdr box to my CRT 16:9 TV. I use the s-video(I want to use the rca tv-out for digital audio) connector of my epia M.1. I have followed some instructions to configure xorg with s-video out from this page: http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html I don't know if this url is up to date. I have got see my wmaker desktop in my tv but when I start vdr with softdevice I get: [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg build(3345920) [XvVideoOut]: osd_image shmid = 2686978 [XvVideoOut]: got osd_image: width 720 height 576, bytes per line 2880 [softdevice] Subplugin successfully opend [softdevice] Video Out seems to be OK [softdevice] Initializing Audio Out [softdevice] Audio out seems to be OK [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: 0x2ff 0x2ff = 767 = 768 - 1 768 is the default startup width. So you can try to: a. start in full screen mode -vo xv:full, which adjusts width and height to available max values (720 width in your case I guess). b. choose software OSD blending (via OSD :-( ) or via setup.conf: softdevice.OSDalphablend = 1 Serial number of failed request: 337 Current serial number in output stream: 338 Stefan Lucke ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr