Hi,
I have self-compiled VDR 1.7.14 and xineliboutput, see http://kuparinen.org/martti/comp/vdr/ if you want to know the details.
Both my server and client are running 64-bit Ubuntu 10.04. The client has an integrated ATI Radeon HD 3200 graphics adapter and I use the fglrx driver.
When I start my client, I'll see this on the server
May 2 15:04:00 a18o2 vdr: [1479] [xine..put] Data connection (TCP) requested May 2 15:04:00 a18o2 vdr: [1479] [xine..put] cBackgroundWriterI initialized (buffer 512 kb) May 2 15:04:00 a18o2 vdr: [1479] [xine..put] cTcpWriter initialized (buffer 512 kb) May 2 15:04:02 a18o2 vdr: [1484] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) May 2 15:04:02 a18o2 vdr: last message repeated 64 times May 2 15:04:02 a18o2 vdr: [1479] [xine..put] Client 1 disconnected
and on the client
(gdb) run --post=tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 xvdr://a18o2:37890 ... Press Esc to exit
[New Thread 0x7fffdab44710 (LWP 2603)] [2602] [demux_vdr] PMT changed [2602] [input_vdr] SCR jump: +40 ms (live=1, tuning=2)
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffed55e710 (LWP 2594)] rle_scale_nearest (old_rle=<value>, rle_elems=<value>, w=<value>, h=<value>, new_w=<value>, new_h=4294967295) at tools/rle.c:144 144 *new_rle++ = *prevline++; (gdb) p prevline $1 = (xine_rle_elem_t *) 0x7fff36ffda1c (gdb) p *prevline Cannot access memory at address 0x7fff36ffda1c (gdb) p new_rle $2 = (xine_rle_elem_t *) 0x7fff36ffdcfc (gdb) p *new_rle Cannot access memory at address 0x7fff36ffdcfc (gdb) p n $3 = <value> (gdb) p elems_current_line $4 = 184 (gdb) bt #0 rle_scale_nearest (old_rle=<value>, rle_elems=<value>, w=<value>, h=<value>, new_w=<value>, new_h=4294967295) at tools/rle.c:144 #1 0x0000000000410744 in osd_data_init (self=0xadbd70, frame=0xada2a0, overlay=0xae4ff0) at xine/vo_osdscaler.c:148 #2 scale_overlay (self=0xadbd70, frame=0xada2a0, overlay=0xae4ff0) at xine/vo_osdscaler.c:322 #3 osdscaler_overlay_blend (self=0xadbd70, frame=0xada2a0, overlay=0xae4ff0) at xine/vo_osdscaler.c:347 #4 0x0000000000410c71 in osdreorder_overlay_end (self=0xadbe10, vo_img=0xada2a0) at xine/vo_osdreorder.c:78 #5 0x00007ffff6dca261 in ?? () from /usr/lib/libxine.so.1 #6 0x00007ffff6dc2767 in ?? () from /usr/lib/libxine.so.1 #7 0x00007ffff6dc2bb3 in ?? () from /usr/lib/libxine.so.1 #8 0x00007ffff65e39ca in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff68e069d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? ()
Any ideas what's going on here? This happens every time, about 1 or 2 seconds after starting the vdr-sxfe.
This is an emergency situation, wife acceptance factor is going down day by day so I'll have hard time to get any new hardware in the future if I don't fix this soon :-)
Martti
Hi, Which video output driver are you using for sxfe? When you use xv the problem is in most cases the fglrx driver. If your card works with the opensource radeon driver you should use it. run the xvinfo to see if xv works correctly. You can also test other output drivers for sxfe: e. G. opengl. HtH. Halim
02.05.2010 16:23, Halim Sahin wrote:
Which video output driver are you using for sxfe?
xv
When you use xv the problem is in most cases the fglrx driver. If your card works with the opensource radeon driver you should use it.
I removed /etc/X11/xorg.conf and rebooted so now I have the opensource radeon driver in use. Unfortunately vdr-sxfe doesn't start with the xv driver:
# grep RADEON: /var/log/Xorg.0.log (II) RADEON: Driver for ATI Radeon chipsets:
# # /usr/local/vdr/bin/vdr-sxfe --verbose --post=tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 xvdr://a18o2:37890 ... video_out_xv: Xv extension is present but I couldn't find a usable yuv12 port. Looks like your graphics hardware driver doesn't support Xv?! video_out_opengl: Testing for hardware accelerated direct rendering visual Segmentation fault
run the xvinfo to see if xv works correctly.
# xvinfo X-Video Extension version 2.2 screen #0 no adaptors present
You can also test other output drivers for sxfe: e. G. opengl.
# /usr/local/vdr/bin/vdr-sxfe --verbose --video=opengl --post=tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 xvdr://a18o2:37890 ... video_out_opengl: Testing for hardware accelerated direct rendering visual Segmentation fault
Interesting, --video=sdl worked for 30 seconds, then it froze. I changed to TCP and it seems to work better. xvmc does not work at all even though I see
# grep -i xv /var/log/Xorg.0.log (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation
02.05.2010 21:55, Halim Sahin kirjoitti:
Hi, Try the opengl driver with fglrx (not xv!).
It starts but I don't see the OSD and I noticed this warning
vdr-sxfe 1.0.90-cvs (build with xine-lib 1.1.17, using xine-lib 1.1.17)
Width: 1280 Height: 720 Protocol: TCP Audio driver: alsa Video driver: opengl Post plugins: tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 VDR Server: xvdr://a18o2:37890
[2712] [vdr-fe] Detected 2 CPUs [2712] [vdr-fe] Enabling FFmpeg multithreaded video decoding [2712] [input_vdr] Connecting (control) to tcp://a18o2:37890 ... [2712] [input_vdr] Server greeting: VDR-1.7.14 xineliboutput-1.0.90-cvs READY [2712] [input_vdr] Connected (control) to tcp://a18o2:37890 [2712] [input_vdr] Connecting (data) to tcp://a18o2:37890 ... [2712] [input_vdr] Data stream connected (TCP) [2712] [input_vdr] WARNING: Video output driver reports it does not support unscaled overlays ! [2712] [demux_vdr] Using decoder "libmpeg2" for mpeg2 video [2712] [demux_vdr] Using decoder "FFmpeg" for H.264 video
Press Esc to exit