On Tue, Oct 10, 2006 at 07:50:14AM +0200, Stefan Lucke wrote:
> Quoting Herbert Poetzl <[EMAIL PROTECTED]>:
>
> > On Mon, Oct 09, 2006 at 01:25:18AM +0200, Stefan Lucke wrote:
> > > 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.
> > >
> > > Supported vdr versions: (1.2.x,) 1.3.x and 1.4.x
> >
> > segfaults here (100% reproducible) with or without
> > alpha blending (i.e. pseudo and software). the only
> > difference is the backtrace (CopyPicBuf vs *AlphaBlend)
> >
> > # ./vdr -D1 -c/opt/CONFIG-1/ -P"softdevice -vo xv:"
> > [softdevice] processing args
> > [softdevice] argv [0] = softdevice
> > [softdevice] argv [1] = -vo
> > vo_argv: xv:
> > [setup-softdevice] alsa ac3Mode set to: 0
> > [setup-softdevice] alsa AC3 device set to: hw:0,1
> > [setup-softdevice] alsa device set to: default
> > [setup-softdevice] A/V Offset set to (0)
> > [setup-softdevice] Cropping 2 lines from bottom
> > [setup-softdevice] Cropping 2 columns from left
> > [setup-softdevice] cropping mode set to 0 (none)
> > [setup-softdevice] cropping mode toggle key set to 0 (none)
> > [setup-softdevice] Cropping 2 columns from right
> > [setup-softdevice] Cropping 2 lines from top
>
> Does it make a difference when setting crop line /coloumns to 0 ?
that was indeed a good hint, I completely removed the
configuration entries for the softdevice, and suddenly
it started working. after analyzing the differences,
here is the culprit:
softdevice.AC3Mode = 0
softdevice.AlsaAC3Device = hw:0,1
softdevice.AlsaDevice = default
softdevice.avOffset = 0
softdevice.bufferMode = 0
softdevice.CropBottomLines = 2
softdevice.CropLeftCols = 2
softdevice.CropMode = 0
softdevice.CropModeToggleKey = 0
softdevice.CropRightCols = 2
softdevice.CropTopLines = 2
softdevice.Deinterlace Method = 0
softdevice.mainMenu = 1
softdevice.OSDalphablend = 1
softdevice.Picture mirroring = 0
softdevice.PixelAspect = 0
softdevice.PixelFormat = 2
~~~
softdevice.Postprocess Method = 0
softdevice.Postprocess Quality = 0
softdevice.Suspend = 0
softdevice.syncTimerMode = 2
softdevice.UseStretchBlit = 0
softdevice.vidBrightness = -1
softdevice.vidContrast = -1
softdevice.vidHue = -1
softdevice.vidSaturation = -1
softdevice.Xv-Aspect = 1
changing the PixelFormat to 0 or 1 makes it work with
correct colors, while 2 causes the segfault
HTH,
Herbert
> > [setup-softdevice] deinterlace method set to 1 lavc
> > [setup-softdevice] mainMenu: 1
> > [setup-softdevice] setting alpha blend mode to software
> > [softdevice] picture mirroring set to 0 (off)
> > [setup-softdevice] pixel format set to (YUY2)
> > [setup-softdevice] shouldSuspend to: 0
> > [setup-softdevice] syncTimerMode: sig
> > [softdevice] UseStretchBlitset to on
> > [setup-softdevice] vidBrightness: 50
> > [setup-softdevice] vidContrast: 50
> > [setup-softdevice] vidHue: 0
> > [setup-softdevice] vidSaturation: 50
> > [setup-softdevice] startup aspect set to (4:3 normal)
> > [softdevice] initializing Plugin
> > [softdevice] Initializing Video Out
> > [softdevice] ffmpeg build(3345152)
> > [XvVideoOut]: osd_image shmid = 24051722
> > [XvVideoOut]: got osd_image: width 1600 height 1200, bytes per line 3200
>
> Does it make a difference when choosing a lower resolution than 1600x1200 ?
>
> > [XvVideoOut]: max area size 2046 x 2046
> > [XvVideoOut]: using area size 736 x 576
> > [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
> > DeinitXv
> > [XvVideoOut]: max area size 2046 x 2046
> > [XvVideoOut]: using area size 736 x 576
> > vout_pic[2304]:CopyPicBufAlphaBlend_YUV420P_YUY2 width 736 height 576
> > Segmentation fault (core dumped)
> >
> >
> > with the following backtrace
> >
> > #0 yv12_to_yuy2_il_mmx2_line (dest1=0xb4723a34
> > "\020\200\020\200\020\200\020\200\020",
> > dest2=0xb4723ff4 "\020\200\020\200\020\200\020\200", chromaWidth=368,
> > yc1=0xb6103ef8 '\020' <repeats 200 times>..., yc2=0xb61041d8
> > "\020\020\020\020",
> > uc=0xb6103a9c "\200\200", vc=0xb61037ac "\200\200") at utils.c:133
> > 133 movntq(mm6,*(dest2 + 8));
> >
> > (gdb) where
> > #0 yv12_to_yuy2_il_mmx2_line (dest1=0xb4723a34
> > "\020\200\020\200\020\200\020\200\020",
> > dest2=0xb4723ff4 "\020\200\020\200\020\200\020\200", chromaWidth=368,
> > yc1=0xb6103ef8 '\020' <repeats 200 times>..., yc2=0xb61041d8
> > "\020\020\020\020",
> > uc=0xb6103a9c "\200\200", vc=0xb61037ac "\200\200") at utils.c:133
> > #1 0xb675503a in CopyPicBufAlphaBlend_YUV420P_YUY2 (dst=0x8383ce8,
> > src=0xb61043c0, width=736,
> > height=576, OsdPy=0xb65ca008 '\020' <repeats 200 times>...,
> > OsdPu=0x8bc6338 '\200' <repeats 200 times>..., OsdPv=0x8be0148 '\200'
> > <repeats 200 times>...,
> > OsdPAlphaY=0xb6562008 "", OsdPAlphaUV=0x8bf9f58 "", OsdStride=736,
> > cutTop=2, cutBottom=2, cutLeft=2, cutRight=2) at PicBuffer.c:570
> > #2 0xb6755591 in CopyPicBufAlphaBlend (dst=0x8383ce8, src=0xb61043c0,
> > OsdPy=0xb65ca008 '\020'
> > <repeats 200 times>..., OsdPu=0x8bc6338 '\200' <repeats 200 times>...,
> > OsdPv=0x8be0148 '\200' <repeats 200 times>..., OsdPAlphaY=0xb6562008 "",
> > OsdPAlphaUV=0x8bf9f58 "", OsdStride=736, cutTop=2, cutBottom=2, cutLeft=2,
> > cutRight=2)
> > at PicBuffer.c:700
> > #3 0xb6752874 in cXvVideoOut::YUV (this=0x8383680, buf=0xb61043c0) at
> > video-xv.c:1820
> > #4 0xb674e1c9 in cVideoOut::DrawStill_420pl (this=0x8383680,
> > buf=0xb61043c0) at video.c:468
> > #5 0xb674d79a in cVideoOut::Action (this=0x8383680) at video.c:133
> > #6 0x080ea83a in cThread::StartThread (Thread=0x8383adc) at thread.c:244
> > #7 0xb7f37c40 in start_thread () from /lib/tls/libpthread.so.0
> > #8 0xb7dbb0ee in clone () from /lib/tls/libc.so.6
> >
> >
> > note: the softdevice-cvs20060623 version I used before
> > works perfectly fine in the same vdr/setup (although I h
> > ad to #define the FFMPEG_VERSION to make it work)
> >
> > any ideas?
> >
>
> Stefan Lucke
> _______________________________________________
> Softdevice-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/softdevice-devel
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel