SATPI icon indicating copy to clipboard operation
SATPI copied to clipboard

vuduo4kse with DVB-S2 and DVB-C tuners not working

Open alturismo opened this issue 1 year ago • 66 comments

Hi,

may a hint what im doing wrong, following the guides and actually im stuck ;)

base, vuduo4kse with dvb-c / dvb-s setup, tvheadend as satip client

dvb-s /unicable) tuners seems working so far only it looks like tvheadend has some small issues with micro stuttering with streams coming from the vu compared to the dvb-s card builded into the pc, wanted to try with dvbapi decryption, but looks like i also need a modified libdvbca.so ... abother time therefore ;)

major issue now, dvb-c wont work at all

  • tuners are detected
  • tuners are disabled in the vu (also tried while they are enabled)

image

  • no changes where done besides ticking enable in satpi

image

  • i tested (i guess all) combinations in tvheadend tuner setup

image

  • while tuning -C with satpi, i get no bandwith coming in

image

may i missed something ...

attached also a log where i actually dont get smarter ;)

log_satpi.txt

for any Tipps, thanks ahead

and of course, -C Tuners (1-4) are working fine directly on the VU, so reception is ok

alturismo avatar Dec 16 '23 05:12 alturismo

Hi @alturismo

First of all thanks for giving this a go!.

A few questions and things to do:

  • could you please enable these two options and zip and send syslog (probably /var/log/messages and messages.0) and do some things you try to do to get it working. image

  • What do you mean with this?

    only it looks like tvheadend has some small issues with micro stuttering with streams coming from the vu

  • From the log, seems that the tuners are locking to some signal (time 06:52:03.4460). Was this during scanning?

  Sat Dec 16 06:52:02.9448 2023  6  Frontend: 13, StreamClient with SessionID 0241484422 for dvbc
  Sat Dec 16 06:52:02.9449 2023  6  Frontend: 13, Parsing transport parameters...
  Sat Dec 16 06:52:02.9450 2023  6  Frontend: 13, New frequency requested (0.0000 -> 330.0000), clearing old channel data...
  Sat Dec 16 06:52:02.9452 2023  6  Frontend: 13, Updating frontend...
  Sat Dec 16 06:52:02.9452 2023  6  Frontend: 13, Closing all active PID filters...
  Sat Dec 16 06:52:02.9956 2023  6  Frontend: 13, Opened /dev/dvb/adapter0/frontend12 for Read/Write with fd: 9 (0 ms)
  Sat Dec 16 06:52:02.9956 2023  6  Frontend: 13, Start tuning process for DVB-C(2)...
  Sat Dec 16 06:52:02.9957 2023  6  Frontend: 13, Tuned, waiting on lock...
  Sat Dec 16 06:52:03.4460 2023  6  Frontend: 13, Tuned and locked (FE status 0x1F)  <*****************
  Sat Dec 16 06:52:03.4461 2023  6  Frontend: 13, Updating PID filters...
  Sat Dec 16 06:52:03.4462 2023  6  Frontend: 13, Opened /dev/dvb/adapter0/demux12 using fd: 10
  Sat Dec 16 06:52:03.4464 2023  6  Frontend: 13, Set DMX buffer size to 3145728 Bytes
  Sat Dec 16 06:52:03.4466 2023  6  Frontend: 13, Set DMX_SET_SOURCE with (Src: 12 - Offset: 32)
  Sat Dec 16 06:52:03.5685 2023  6  Frontend: 13, Updating frontend (Finished in 623 ms)
  Sat Dec 16 06:52:03.5685 2023  6  Frontend: 13, RTP/UDP set network buffer size: 160 KBytes
  Sat Dec 16 06:52:03.5686 2023  6  Frontend: 13, Start RTP/UDP stream to 192.168.1.80:51712
  Sat Dec 16 06:52:03.5686 2023  6  Frontend: 13, Start RTCP/UDP stream to 192.168.1.80:51713

Barracuda09 avatar Dec 16 '23 11:12 Barracuda09

  • What do you mean with this?

i see when using this solution some small "micro stuttering" on decoding channels, this compared to using the same channels from the same signal (satellite) on the same server (tvheadend) but with the DD pcie TV Card inside the Server instead the SatIP Stream coming from VU+.

But thats a different story and i ll debug this deeper once DVB-C is up and running, there i can compare to my other SatIP (Fritz) Solution which run flawlessly, so i can then rather say its a SatIP issue or not ...

no prio currently ;) but i ll probably return on this ;)

  • Was this during scanning?

nope, nothing to scan here, TVHeadend is already running with all channels, as you may see in my upper Post i already have DVB-C running (SatIP) from a fritz Tuner (4x), and DVB-S is also already all settled and running from the DVB Card (DD Max S8).

  • could you please enable these two options and zip and send syslog (probably /var/log/messages and messages.0) and do some things you try to do to get it working.

ok, log attached

messages.log

alturismo avatar Dec 16 '23 13:12 alturismo

First of all thanks for giving this a go!.

and forgot, thanks to you for providing this ;) only reason why i switched from VTi to OATV ...

and i just need some time to compile me a working libdvbca.so ... so i could try the oscam solution against the "micro stuttering" i mentioned above, but that will be another story / thread ;)

alturismo avatar Dec 16 '23 13:12 alturismo

Edit: I will look into further the logs, this evening

You probably do not need libdvbca, you need an SatPI with OSCam support compiled in. That is not standard in OpenATV or OpenPLi

Which SatPI version is current in this distro?

Barracuda09 avatar Dec 16 '23 17:12 Barracuda09

Which SatPI version is current in this distro?

root@vuduo4kse:~# satpi --version

"SatPI version: 1.6.2.161~ga9aab2c"

but i also tested with another version here from another thread, i think you provided it for debugging purposes

root@vuduo4kse:~# /usr/bin/satpi_debug_oscam --version "SatPI version: 1.6.2.161~ga9aab2c Enigma"

on this version i can also configure oscam, i see its connecting, i see it tries to descramble, but after a few seconds it quits, so my thought was as i readed

image

prolly some modified one ...

alturismo avatar Dec 16 '23 17:12 alturismo

No the libdvbca from OpenATV should work.. I expect.

Does OSCam quit giving reaction?

Barracuda09 avatar Dec 16 '23 17:12 Barracuda09

Could you give me a syslog of the DVB-S included?

Barracuda09 avatar Dec 16 '23 17:12 Barracuda09

Could you give me a syslog of the DVB-S included?

attached, and here some screens, looking all ok ... but screen stays black ;)

here from oscam log

image

also connection looking fine

image

tvheadend looking ok (besides the small contin errors ... but running now since a few minutes)

image

also frontend is ok

image

but it stays "black" ;)

image

attached the message from this testrun

messages2.log

alturismo avatar Dec 16 '23 19:12 alturismo

But FTA dvb-s(2) are working? Edit: Because it is getting data from the frontends.. But the frontends for DVB-C seems not to get any data

Barracuda09 avatar Dec 16 '23 19:12 Barracuda09

But FTA dvb-s(2) are working? Edit: Because it is getting data from the frontends.. But the frontends for DVB-C seems not to get any data

yes ;)

also working fine when i let the descrambling done in tvheadend (dvbapi) instead the satpi integration using the satpi tuners

image

image

image

so yes, Tuners are working (DVB-S), besides the "micro stutters" from time to time ... but not painful and i investigate this further once DVB-C is running ... ;)

about DVB-C ... well, i can say the VU is working with DVB-C ;) just as sample now ...

image image

alturismo avatar Dec 16 '23 19:12 alturismo

Yes I mean, that SatPI does not read any data. There is data (probably) because the tuner is locked. But probably there is a bug in SatPI how it handles DMX_SET_SOURCE?

Barracuda09 avatar Dec 16 '23 20:12 Barracuda09

There is data (probably) because the tuner is locked. But probably there is a bug in SatPI how it handles DMX_SET_SOURCE?

ok, so you dont see any missconfiguration here now, just doesnt work currently, thanks for taking a look.

about DMX_SET_SOURCE, wouldnt know how i could avoid it ;)

and yes, satpi tries to tune, i see tuner gets busy, but no data coming in, just a few bytes (like epg)

alturismo avatar Dec 16 '23 21:12 alturismo

Well I can not test this myself because I do not own a Vu+ duo 4kse.. I only have Uno's for DVB-S2 and DVB-C.

Could you attach SatPI.xml here? just do: http:://192.168.1.13:8875/SatPI.xml

Barracuda09 avatar Dec 16 '23 22:12 Barracuda09

Could you please try this in VLC (Open Network Stream): Is this FTA?

http://192.168.1.13:8875/?freq=450&sr=6900&msys=dvbc&mtype=256qam&fec=35&specinv=1&pids=0,21http,6100,6110,6120,6121,6123

Barracuda09 avatar Dec 16 '23 22:12 Barracuda09

Could you please try this in VLC (Open Network Stream):

i can open it, it stays open, but no pic ...

image

image

it should be one of these tuners ...

image

alturismo avatar Dec 17 '23 04:12 alturismo

Could you attach SatPI.xml here? just do:

attached (had to zip it, xml not supported ;))

SatPI.zip

alturismo avatar Dec 17 '23 06:12 alturismo

Hi @alturismo ,

Thanks for you input, and I think I know the problem(bug), thanks to your SatPI.xml.

The DVB-C tuners do not show to which Root tuner they are connected to, so they are not properly configured. I will try to fix this as soon as possible

Barracuda09 avatar Dec 17 '23 12:12 Barracuda09

Thanks for you input, and I think I know the problem(bug), thanks to your SatPI.xml.

thanks for looking into it, exited to see if its an "easy" fix ;)

The DVB-C tuners do not show to which Root tuner they are connected to, so they are not properly configured.

funny, once i looked into it to check if there is something i could set ... ;)


in the end, shell i open a seperate thread about the oscam dvbapi issue or wait until the next release.

btw. i also tried to start satpi like this (after copy the 2 files to /home/root/)

LD_LIBRARY_PATH=/home/root/ /usr/bin/satpi

while there is now

image

same results ... nothing coming out anymore

alturismo avatar Dec 17 '23 13:12 alturismo

Could you try this test version. Just replace it with the current one satpi_ARM_1.6.2.161~TEST_Enigma.zip

Barracuda09 avatar Dec 17 '23 20:12 Barracuda09

Could you try this test version. Just replace it with the current one

thanks alot for the testbuild, made a quick "run through", sadly same result, tested with A and B config, tested while tuners are activated /deactivated in VU Box, also tested with FBC linked tticked, unticked.

attached log and SatPI.xml

SatPI.zip messages3.log

alturismo avatar Dec 17 '23 21:12 alturismo

Could you try this test version. Just replace it with the current one

ok, i assume im 2 steps further now ...

1/ DVB-C is working, but ... ;) only if i start enabling from Tuner 1 up ... which then breaks the local playback while in use

image

i remembered, when i 1st started up satpi i had dvb-c working but no dvb-s, then i readed about disabling tuners in the box so satpi can access them ... thats why i disabled tuner 1-4 (-S && -C), -S worked then, -C stopped working then ...

but, this setup will then stop "dual" usage, stb nativ and satip ... either or ... either satpi uses the tuner 1+ ... or the stb is using the tuner 1+ ... ok, could be "workaround" by using the satpi as "leading" tuners also for local playback. the 1st "wins" ... either local stb playback is using dvb-c, then satpi stays like shown above, or satpi takes tuner 1+ and local is dead.

2/ oscam dvbapi, partly working and no smooth playback

  • partly, either icam is natively not supported in the oatv image libdvbcsa as i never manage to decode such a channel, or see next part and may my "conclusion"

  • no smooth playback, if oscam is working, i see alot of stuttering, pic errors, ... like a (really) bad signal ... and as 1+ tuners are active ... its worse and worse ... so may back to "partly", could be like icam channels are just way too slow and there is no picture coming up here ... as the "signal" is too weak, or just really not supported ;)

  • also, max 1 decode seems supported, as soon i start a 2nd stream the 1st stops to decode anyhow


back to the DVB-C "issue", so it was working before (not knowing the root Tuner) but needs a total control and all tuners binded to satpi (here at least).

alturismo avatar Dec 18 '23 05:12 alturismo

Could you send the syslog of this situation?

Barracuda09 avatar Dec 18 '23 07:12 Barracuda09

Ok now I understand you use ICAM? Did you compile libdvbcsa yourself?

Edit: I have never tested this myself. I do not have the hardware to do this. see for some info https://github.com/Barracuda09/SATPI/issues/184#issuecomment-1430349925

Barracuda09 avatar Dec 18 '23 08:12 Barracuda09

Ok now I understand you use ICAM? Did you compile libdvbcsa yourself?

nope, as mentioned above and you replied (may i missunderstood)

image

now, for syslog i prepared as followed

  • VU is in standby (no tuner activity from VU)
  • oscam dvbapi enabled in satpi (disabled in tvheadend )
  • logging enabled in satpi
  • tuners in satpi as follow

image

  • scenario, i zap through channels now, starting with FTA -C, then oscam -C, then oscam -S

FTA -C is quite ok, just really small stuttering oscam -C is not ok (even on only 1 tuned channel)

sample what i described upper

image

oscam -S is not ok (even on only 1 tuned channel)

sample what i described upper

image

finally i zap through some icam channels

i hope thats what you looking for to understand ? ;)

messages.zip

alturismo avatar Dec 18 '23 08:12 alturismo

Did you enable in TvHeadend the RTP/AVP/TCP transport supported option

image

Barracuda09 avatar Dec 18 '23 09:12 Barracuda09

Did you enable in TvHeadend the RTP/AVP/TCP transport supported option

nope, default its not ticked

alturismo avatar Dec 18 '23 10:12 alturismo

Did you enable in TvHeadend the RTP/AVP/TCP transport supported option

i would say this makes no difference here, it looks to me more like ... higher bandwith, more fails

image

this happens also on streaming only (decoding done in TVH), as higher the bandwith, as more dropouts ...

hard to describe ... seems my vuduo4kse is not so compatible ;)

alturismo avatar Dec 18 '23 10:12 alturismo

Stange... it is hard to debug, as here it seems not that bad and decrypted in SatPI. I have vuuno4k image

Barracuda09 avatar Dec 18 '23 10:12 Barracuda09

Stange... it is hard to debug, as here it seems not that bad and decrypted in SatPI. I have vuuno4k

definately looking better then here ;) at least we gave it a try and i know why DVB-C was so weird ...

alturismo avatar Dec 18 '23 10:12 alturismo

this Test is DVB-C as well

Barracuda09 avatar Dec 18 '23 10:12 Barracuda09