Kodi Community Forum
VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169)
+---- Thread: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? (/showthread.php?tid=146050)

Pages: 1 2 3


VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Me again, I didnt want to post in the same thread as before as this is (I believe a separate issues) and anyone searching may not find it if I dump it in a thread about installing the plugin.




Ok I have VDR 1.2.72

Code:
$ vdr --version
Nov 23 08:18:45.972 [general.debug] using new 1.7.11+ capture code
vdr (1.7.27/1.7.27) - The Video Disk Recorder

vdr-plugin-vnsiserver built from here

Code:
https://github.com/FernetMenta/xbmc-pvr-addons.git

and the plugin from here

Code:
http://www.dotnetdevelopers.net/XBMC/pvrbuilds/20121110/Linux64/pvr.vdr.vnsi-linux-x86_64.zip


XBMC built from git yesterday.

Code:
(12.0-BETA1 Git:20121121-61f39b0), Platform: Linux (Ubuntu 12.04.1 LTS, 3.2.0-33-generic x86_64). Built on Nov 22 201
and I am getting appalling frame drops on LiveTV. vdr with xine, softhd or sxfe all play HD channels without missing a beat so I dont think its the machine.

But to be sure.

Code:
$ cat /proc/cpuinfo | grep "model name"
model name      : AMD Phenom(tm) II X4 840 Processor
model name      : AMD Phenom(tm) II X4 840 Processor
model name      : AMD Phenom(tm) II X4 840 Processor
model name      : AMD Phenom(tm) II X4 840 Processor
vandl@VandL-MC:/media/XBMC/XBMC/TV$

Code:
$ lspci | grep "video"
01:06.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
vandl@VandL-MC:/media/XBMC/XBMC/TV$

Code:
V$ lspci | grep "VGA"
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
vandl@VandL-MC:/media/XBMC/XBMC/TV$

Code:
top - 08:33:52 up 3 days, 16:07,  1 user,  load average: 0.65, 0.90, 0.93
Tasks: 160 total,   2 running, 133 sleeping,   0 stopped,  25 zombie
Cpu(s):  5.7%us,  6.9%sy,  0.1%ni, 87.2%id,  0.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   4048512k total,  3665980k used,   382532k free,   226020k buffers
Swap: 19534844k total,   110644k used, 19424200k free,  2410788k cached



Apologies for the background noise

Debug Log.

http://paste.ubuntu.com/1378935/


Thanks in advance for any pointers..

S.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

You should build XBMC from my repo: https://github.com/FernetMenta/xbmc
I contains many improvements for playback which are not in mainline yet.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Will give it a go and see.

Thank you.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

Let me know the results. I use a gt520m and have zero drops on 1080i50 with best de-interlacing (temporal spatial). With gt210 you might need to set de-interlacing to temporal for 1080i channels.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Your build wont even start Sad

http://paste.ubuntu.com/1379095/


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

Code:
CXRandR::Query - unable to open xrandr xml

Are you sure it built correctly? What happens when you run xbmc-xrandr? Does it produce any output?


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Code:
AR      xbmc/cores/paplayer/paplayer.a
LD      xbmc.bin
-----------------------
XBMC built successfully
-----------------------

Code:
vandl@VandL-MC:~/xbmc/xbmcpvr/xbmc$ sudo make install prefix=/usr
[sudo] password for vandl:
Copying XBMC binary to /usr/lib/xbmc/
You can run XBMC with the command 'xbmc'
Copying support and legal files...
Done!
Copying system files to /usr/share/xbmc
vandl@VandL-MC:~/xbmc/xbmcpvr/xbmc$

xbmc-xrandr
sudo: xbmc-xrandr: command not found

bmcpvr/xbmc$ xbmc-xrandr
-bash: xbmc-xrandr: command not found



urgh, this is because its on a yaVDR backbone isnt it ?


I want in the end to switch to XBMC (with a VDR backend) now the PVR stuff is mainline, but last time I used it I found the PVR side too unstable, so I am a little apprehensive of losing the VDR frontend and setup I already have :/ Confused


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

Quote:urgh, this is because its on a yaVDR backbone isnt it ?

I don't think so. You need full path, e.g. /usr/lib/xbmc/xbmc-xrandr

You also can just install xbmc + pvr clients from wsnipex xvba-testing repo.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

It might be a good idea to uninstall and purge any previous XBMC binaries. Maybe you have xbmc-xrandr multiple times on your system.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Code:
vandl@VandL-MC:~/xbmc/xbmcpvr/xbmc$ sudo make uninstall
[sudo] password for vandl:
Removing XBMC...
Done!
vandl@VandL-MC:~/xbmc/xbmcpvr/xbmc$ cd ..
vandl@VandL-MC:~/xbmc/xbmcpvr$ ls
xbmc
vandl@VandL-MC:~/xbmc/xbmcpvr$ cd ..
vandl@VandL-MC:~/xbmc$ cd xbmc
vandl@VandL-MC:~/xbmc/xbmc$ sudo make uninstall
Removing XBMC...
Done!
vandl@VandL-MC:~/xbmc/xbmc$ cd ..
vandl@VandL-MC:~/xbmc$ cd xbmcpvr/
vandl@VandL-MC:~/xbmc/xbmcpvr$  /usr/lib/xbmc/xbmc-xrandr
-bash: /usr/lib/xbmc/xbmc-xrandr: No such file or directory
vandl@VandL-MC:~/xbmc/xbmcpvr$ sudo apt-get remove xbmc xbmc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-bluez ttf-liberation python-central python-qt3 python-sip python-simplejson libqt3-mt
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  xbmc xbmc-bin
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
After this operation, 69.0 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 132923 files and directories currently installed.)
Removing xbmc ...
Removing xbmc-bin ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
vandl@VandL-MC:~/xbmc/xbmcpvr$

Code:
vandl@VandL-MC:~/xbmc/xbmcpvr/xbmc$ sudo make install prefix=/usr
Copying XBMC binary to /usr/lib/xbmc/
You can run XBMC with the command 'xbmc'
Copying support and legal files...
Done!
Copying system files to /usr/share/xbmc

Still fails

http://paste.ubuntu.com/1379188/



Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
  <output name="DVI-I-0" connected="false">
  </output>
  <output name="VGA-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="930" hmm="523">
    <mode id="0x1c4" name="1920x1080" w="1920" h="1080" hz="59.98581" current="true" preferred="true"/>
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="59.93388" current="false" preferred="false"/>
    <mode id="0x1c5" name="1920x1200" w="1920" h="1200" hz="59.95017" current="false" preferred="false"/>
    <mode id="0x1c7" name="1680x1050" w="1680" h="1050" hz="59.95425" current="false" preferred="false"/>
    <mode id="0x1c8" name="1680x1050" w="1680" h="1050" hz="59.88325" current="false" preferred="false"/>
    <mode id="0x1c9" name="1600x1200" w="1600" h="1200" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1ca" name="1440x900" w="1440" h="900" hz="59.88745" current="false" preferred="false"/>
    <mode id="0x1cb" name="1400x1050" w="1400" h="1050" hz="59.97844" current="false" preferred="false"/>
    <mode id="0x1cc" name="1400x1050" w="1400" h="1050" hz="59.97562" current="false" preferred="false"/>
    <mode id="0x1cd" name="1360x768" w="1360" h="768" hz="59.96003" current="false" preferred="false"/>
    <mode id="0x1ce" name="1360x768" w="1360" h="768" hz="59.79899" current="false" preferred="false"/>
    <mode id="0x1cf" name="1360x768" w="1360" h="768" hz="59.76371" current="false" preferred="false"/>
    <mode id="0x1d0" name="1280x1024" w="1280" h="1024" hz="60.01974" current="false" preferred="false"/>
    <mode id="0x1d1" name="1280x960" w="1280" h="960" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1d2" name="1152x864" w="1152" h="864" hz="59.99706" current="false" preferred="false"/>
    <mode id="0x1d3" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1d4" name="960x600" w="960" h="600" hz="119.99751" current="false" preferred="false"/>
    <mode id="0x1d5" name="960x540" w="960" h="540" hz="119.97574" current="false" preferred="false"/>
    <mode id="0x1d6" name="840x525" w="840" h="525" hz="120.01871" current="false" preferred="false"/>
    <mode id="0x1d7" name="840x525" w="840" h="525" hz="119.76651" current="false" preferred="false"/>
    <mode id="0x1d8" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1d9" name="720x450" w="720" h="450" hz="119.77489" current="false" preferred="false"/>
    <mode id="0x1da" name="700x525" w="700" h="525" hz="119.95123" current="false" preferred="false"/>
    <mode id="0x1db" name="680x384" w="680" h="384" hz="119.92005" current="false" preferred="false"/>
    <mode id="0x1dc" name="680x384" w="680" h="384" hz="119.59798" current="false" preferred="false"/>
    <mode id="0x1dd" name="640x480" w="640" h="480" hz="59.95238" current="false" preferred="false"/>
    <mode id="0x1de" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x1df" name="512x384" w="512" h="384" hz="120.00768" current="false" preferred="false"/>
    <mode id="0x1e0" name="320x240" w="320" h="240" hz="120.10496" current="false" preferred="false"/>
  </output>
  <output name="DVI-I-1" connected="false">
  </output>



RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Same error from ppa.


http://paste.ubuntu.com/1379229/


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

Please check if you have set those environment variable somewhere from your previous installations:
XBMC_BIN_HOME
XBMC_HOME

Let them point to the correct folder or remove.


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - Saner - 2012-11-23

Is there an easy way to check that ?

Its not something I am familiar with


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

I have put in some debug code and pushed to branch saner. Do
git fetch <my repo>
git reset --hard <my repo>/saner

The last commit should be "debug"

compile, run, and post log


RE: VNSI + FrodoB1 + VDR 1.7.27 = Dropped frames ? - FernetMenta - 2012-11-23

I pushed again, did not compile. Sorry.