XBMC Community Forum
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux (/showthread.php?tid=45314)



- freezy - 2009-04-11 19:10

Updated, also updated direct link to the correct VDR extensions version (thanks semerchet).


Vdr-1.7.5 - decaturguy - 2009-04-12 15:40

VDR developer version 1.7.5 is out
ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.7.5.tar.bz2

Don't try it out yet, all we need is new Extensions-Patch for this version, not out yet. I have tested vdr-1.7.4-ext68-streamdev.patch it apply cleanly after Extensions-Patch version 70.

Changelog:
http://www.linuxtv.org/pipermail/vdr/2009-April/020042.html


- seal - 2009-04-13 21:28

Hi, i succesfully compiled XBMC with VDR patch as you described on first page. SD channels works well but im unable to watch any HD channel - i got errors:

Quote:X Error of failed request: BadValue (integer parameter out of range for operati
on)
Major opcode of failed request: 53 (X_CreatePixmap)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 53
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5fa27c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5fa296e]
#2 /usr/lib/libX11.so.6 [0xb743e619]
#3 /usr/lib/libGL.so.1 [0xb77c61d2]
#4 [(nil)]
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 22 (X_GLXCreatePixmap)
Resource id in failed request: 0x3000004
Serial number of failed request: 51
Current serial number in output stream: 54
The XBMC_HOME environment variable is not set.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e710]: Trying to enter destroyed section.
CRITSEC[0x8c601c0]: Trying to enter destroyed section.
CRITSEC[0x8c601c0]: Trying to leave destroyed section.
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5fa27c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5fa296e]
#2 /usr/lib/libX11.so.6 [0xb743e619]
#3 /usr/lib/libX11.so.6(XESetCloseDisplay+0x44) [0xb7420294]
#4 /usr/lib/libGL.so.1 [0xb77c2ef9]

im using:
Ubuntu 8.10
With NVIDIA drivers 180.41 and 185.19 the same results.

HD movies from MKV from disks works fine.
I suppose that is VDPAU problem? But HD movies from files works...

Any ideas?


VDR Extensions Patch v.71 - decaturguy - 2009-04-18 03:14

VDR Extensions Patch v.71 is out works with Vdr-1.7.5 and includes vdr-1.7.4-ext68-streamdev.patch
http://www.zulu-entertainment.de/page/klick.php?d=VDR+Extensions+Patch

Edit: if you are using old Make.config from version 1.7.4
ifdef STREAMDEVEXT
DEFINES += -DUSE_STREAMDEVEXTENSION

change it to:
ifdef STREAMDEVEXT
DEFINES += -DUSE_STREAMDEVEXT



- falcorn - 2009-04-18 14:09

i have a Sky It smart card. if i want to use my xbmc with vdr to read this card i need to set up a card reader (smartmouse/phoenix) and i need cccam and cccam sc plugin for vdr. can someone tell me how i can add cccam and cccam sc plugin to vdr and start it when i launch vdr from xbmc menu? how i have to edit runvdr file?
Many thanks


- decaturguy - 2009-04-18 15:05

falcorn Wrote:i have a Sky It smart card. if i want to use my xbmc with vdr to read this card i need to set up a card reader (smartmouse/phoenix) and i need cccam and cccam sc plugin for vdr. can someone tell me how i can add cccam and cccam sc plugin to vdr and start it when i launch vdr from xbmc menu? how i have to edit runvdr file?
Many thanks

I think you should try this forum http://dvbn.happysat.org/ after you setup cccam, sc-plugin and runvdr then you can ask xbmc-vdr related questions here.

How to install vdr-sc plugin:

Code:
cd /home/vdr/src/vdr/PLUGINS/src
hg clone http://85.17.209.13:6100/sc
sudo mkdir -p /etc/vdr/plugins/sc
sudo cp sc/examples/* /etc/vdr/plugins/sc
cd ../../
make plugins
If everything compiled OK, you can finally reinstall VDR with the plugins
Quote:sudo apt-get purge vdr
sudo sudo checkinstall --fstrans=no --install=yes --pkgname=vdr --pkgversion "1.7.4-5ubuntu2-1"

make sure to read this files in vdr-sc source directory.
README
README.CCcam


- freezy - 2009-04-23 13:04

Updated first and second post with latest patch.


- tmpdir - 2009-04-24 09:54

freezy Wrote:Updated first and second post with latest patch.

Freezy, thanks for this excellent guide. especially that you explain the why and how for each step is good practice. Wish all guides like this (saved me al lot of time Wink.

Would be great if you added this guide to the xbmc wiki... I think the wiki needs at least one good vdr guide.


- steveh80 - 2009-04-25 10:42

Hey freezy,

please add this command to your tutorial, it's neccesary for compiling vdr:

sudo apt-get install libcap-dev gettext

Thanks.


- freezy - 2009-04-25 12:51

Added, thanks for noticing!