New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minisatip won't start - AXE - cannot open /dev/axe/frontend-0 ; TS continuity errors #2
Comments
It seems that the tuners are not initialized properly. You should turn off the box and wait about 5-30 minutes and retry. I don't know why, but sometimes the fast on/off sequence causes these errors. You may use 'dmesg' to check for these errors - they're described in README or you may also use 'logread' - minisatip will also print tuner initialiazation errors. |
Release second build.. It contains mainly minisatip fixes, but I changed the inverto DVB-S2 tuner driver load order which may help. EDIT: I released also third build. I hope that the main issues with the input selection are fixed now. |
I believe that this issue is mostly eliminated now. |
Yes i have tested your v7 firmware. There are only problems concerning continuity errors when i stress all 4 tuners e.g. by tvh and 4 vlc clients. |
@mrarel : Do you have this problem also with the original firmware ? I am experiencing this issue with it, too, so it really seems like an error in the driver (I hope that it's not a problem with the hardware design). The problem is also that this issue rises under different conditions. Anyway, I'll track it in issue #6 . |
I will test with the same environment, which means i will stress 4 tuners under 1.16 gssbox firmware. I realy never tested this under original fw , so i ll be back with results. And yes, i hope it will not be a hardware dedign issue .... |
back again and tested....the original fw ! there are also "continuity errors" when you stress the 4 tuners of an gss.box with tvh (vlc as a frontend showing 4 different channels on different transponders ) :-(. |
@mrarel Hello! :) Please can you test with 3 tuners instead? It would be nice to know at least when 3 tuners there are no continuity errors. Also:
I am an IDL-400S owner. It would be nice to know these things. |
Unfortunately, inverto does not respond. I use e-mails info@inverto.tv and stb.support@inverto.tv . Perhaps, if more people will bomb their support, they'll do something. I sent another e-mail there. Actually, I'm learning more about the used chips - tuner STV6120 and demodulator STV0900. I have a partial datasheet for STV6120 - I can reduce the input gain (on amplifier) in STV6120 - the range is from 0dB to 16dB (inverto sets the 16dB of course). It seems that it helps a little but not much. The errors are before the STi7108 chip, so the minisatip or any other software in the user space cannot do much to improve the situation. For STV0900 - there is a Linux driver in the standard kernel, but appearently, this hardware uses the demodulator in a little different modes. And the full datasheet is available under NDA only. I'm trying to do some dumps of the status registers and compare them when it's working correctly and when not using a lot guessing. But it's a bit difficult without the full datasheet. |
Also another note: The another "weird" issue is that the fullmux tuning/subscription fails in some situations on different tuners (a stream which provides only few kb/s is grabbed using the STi7108). I will also try to track it, perhaps, these two things are related. EDIT: Because the discussion is related, I reopened it.. |
I belive @jollyjinx had contact with inverto back in the days to get the kernel sources, maybe he had a different contact |
Otherwise tell us, what we should write (roughly). And we will SPAM them. :) |
I'live about 45 km away from Inverto.
If somebody prepares for me a list with the issues that need to be discussed, I could try to get Inverto's attention. |
A little bit off topic: |
As I called GSS they said something that the driver devs are at poland. _ul. Poznanska 62/98 |
+352 is the country code of Luxembourg. So all calls and faxes to Poland actually will end up in Luxembourg. |
By the way: Inverto's Headquater is about 6 km away from SES Astra's headquarter in Luxembourg. |
The STV6120 amplifier settings can be modified in build 8 which I released right now. The "chip" default value is 6dB. |
Good news: I have a little Inverto feedback - they asked for more details. Let see... |
@dreamcat4 But I fear it does not "only" have something in common with the amount of tuners which are in use (also not related "firmware version"...stock FW or not..) I ´ll try to reproduce the "continuity" errors by testing : I think that there wont be "continuity" errors at scenario b ! this at least would proof that "tvheadend" is not the reason for it, but the amaount of tuners "in use" is for sure a problem.... I´ll give feedback as soon as I´ve tested both... |
@mrarel : v8 firmware can change the gain, but by default it is kept to 16dB like the original firmware. You need to edit /etc/sysconfig/config to change the appropriate variable. Also, I changed the tuner initialization sequence in v8 again + I2C bus speed - so far, I've not seen any I2C init error with it using fast physical on/off and soft reboots with v8. So I think that I may hit the problem. |
@perexg Great. I have finally installed it today. After finding an old 256MB sd card (+ $1 usb micro SD card reader). Thank you for this. Quick question: It says in the |
@dreamcat4 : Yes, the renaming of idl4k.scr is sufficient. The USB stick should be mounted already in /media tree in the satip-axe firmware. |
@perexg Thanks! |
any news to the problem? have you received more feedback from inverto? Regards X23 |
No, Inverto is silent. I sent a new query today. |
Quick notes: The second firmware improved the overall bandwidth - I can stream two full muxes with two standard services (all four tuners are used) which was not possible with previous versions. It appears that Inverto moved RTP packet handling from the user-space to the kernel space (they send RTP packets directly to the network layer in the kernel module). For all other features - I'll ask when we will have a stable firmware public version which works without massive MPEG-TS dropouts. It's the highest priority - all other features are optional. Before few minutes, I found the culprit why the updated kernel modules/drivers do not work inside the satip-axe firmware, so I'll probably release new (test) version soon. The only drawback is that I don't know the structures for new ioctls for the MPEG-TS demuxer, so I have to use the old demuxer kernel module without the kernel RTP packet handling support at the time. I'll keep the one old kernel module. It seems that it works with the updated other kernel modules. Firmware sharing - I'll ask. |
The satip-axe firmware satip-axe-201507310907-10 with latest Inverto drivers (except the demuxts driver which is used from the public firmware): http://s000.tinyupload.com/index.php?file_id=06657646212112139027 |
I'm testing the above firmware (number 10) cca 2.5 hours now. The full mux subscriptions are ok for all four tuners and I've not got a single MPEG-TS packet loss (except for few continuity errors on start - which is fine). So, it seems that Inverto guys finally fixed the driver issue. Anyway, report your behaviour here. Thanks. EDIT: My test envorinment: one fullmux subscription, two HD channels, one SD channel (all different muxes). CPU usage between 50%-60%, total bandwidth reported by tvh - cca 52mbit/sec. EDIT2: Changed fullmux from 35mbit/sec (DVB-S) to 75mbit/sec (DVB-S2), CPU usage is now 90%, total bandwidth cca 90mbit/sec . |
Any chance you could share the vanilla firmware as well? |
Very Good News overall, community works! |
Doesnt seem to be any improvement for me regarding Continuity counter errors, non stop with only one tuner enabled. Box might be faulty. |
gss.box ? |
Telestar Digibit R1 |
@Keysersose12 |
Did you have issue with Telestar Digibit R1? if so, did you deal with Telestar or through the seller? |
@Keysersose12 |
Thanks, bad luck then, only purchased it a few weeks ago from amazon.de. Might not be straightforward in my case to RMA as I'm in Ireland. Will contact telestar and see what there response is; will have to try and get a refund otherwise from amazon. |
Sorry to be a pain. But are there any clear instructions where I can locally try to reporoduce these continuity errors? It sounds like a dumb question. But so many users have had problems. It would be nice to have a dirt-simple set of steps to follow that let me know if there is any remaining hardware error (dud box). I don't think that's the case for our box. Just want to verify / make sure within the first 2 years, which is it's warranty window. |
@dreamcat4: The fast way is to use all four tuners, at least one fullmux subscription (if you use tvh - use the 'play' link from the mux grid). I was able to reproduce the massive continuity errors within one hour on my two boxes (gss.box and telestar) with this config. I'm unable to trigger this with the new inverto drivers. |
Ok @perexg. I think I will really should try that too. Before upgrading my firmware. (to know how it was before on the old one). So step:
Browser says: "You have chosen to open: MP3 audio (streamed) (122 bytes)" It opens Video Play app... "error Unauthorized". Also another problem: I only have 3 cables connected to the inputs of my Inverto Box. And then minisatip is linked to the 3+4 together. (for same frequency). So I'm not sure if I can fully stress it so much. Perhaps the thing to do is to record programs on 4 different muxes simultaneously. But then where to I see / find the "Continuity Error" messages? Is it the output of axe-debug? Or the tvheadend logfile? Or somewhere else (the satip box's dmesg, somewhere else)? It is the |
@dreamcat4 : Use 'wget -O /dev/null URL' for the play url in the mux grid (on command line). Just copy the URL and paste it to the wget command line. If you require authentization, use --user and --password wget arguments. You may use all linked tuners. Just ensure that the used muxes are from the same h/v/lo/hi config for these tuners. So the combinations are:
All muxes which match the config (frequency range, polarization) can be used simultaneously on the linked tuners. I also suggest to use wget for normal channel streaming to not waste CPU time for the decoding. I talk about the continuity errors which are displayed in the Status / Stream grid in tvh. |
@dreamcat4 after that start !! A NEW INSTANCE OF VLC !! in the same way, but choose an other channel from an other transponder....go on like that until you have choosen 4 different transponder to be streamed to at least 4 different VLC instances on your PC. At the same time open the tvh configuration *:9981 in your browser and monitor what happens...there shouldn´t be any continuity errors for the streams... I will do that procedure here at home during the next few days based on this new firmware.... good luck and please be so kind to leave a message here with your results... regards |
Thanks @perexg @mrarel. That is very clear. Now find the place to check the Continuity errors. Like @perexg says, my computer is indeed too slow to decode multiple channels in vlc / video player. It's just not powerful enough. So to do properly I should use wget like you have explained. Right now I just manually started 4 simultaneous HD quality streams (not wget), with the previous axe firmware. And to begin with it's 0-3 very low number. I shall check back later. But my computer is so very slow with the vlc decoding. So I might just kill it and start again clean another time with wget. |
I tested satip-axe firmware with updated drivers on both boxes very intensively through weekend and I've not detected any problem. Really, it appears rock solid now - comparable to my satellite TV STB. BTW: The Inverto has IDL 400c now, too (cable variant). I received the API specification for new demuxts from Inverto, so when I find a little time, I'll try to use the new demuxts module which should increase the total throughput. |
Does this mean/imply that its possible to get more than 4 different muxes/transponders (instead of 1mux per individual tuner) with a linked quattro LNB, as long as the gigabit ethernet on the idl400s is not saturated and you stay on the right frequency/polarisation for the specific tuner? |
@walterav1984 : Nope. You can always use only 4 different muxes at maximum. There are only 4 demodulators and tuners which are tuned to the mux frequency. The table is only restriction based on the LNB configuration for physically linked inputs. It means that you can use less cables and use all tuners in the device anyway, because the hardware has integrated hardware input selector/switch, so you can share an input from any tuner with any other tuner. But the physical coaxial wiring restrictions must be kept. |
Ok thanks for clearing that up so 4 muxes max because of the 4 modulators. Maybe a little bit offtopic but does the new inverto firmware will halt changes for the (thought to be similar) IDLI-8CHE20-OOPOE-OSP ip-LNB? |
No feedback, but for me this issue is fixed. I released build 10 which used also new demuxts interface which reduces CPU usage dramatically - streaming of one full mux with 75mbit/sec bandwidth only consume about 20% of CPU. |
Ok @perexg better late then never? I'm sorry it took so long to get around to this. Here are my findings from a basic testing:
Result A:
Then I upgraded to the axe Result B:
Many thanks perexg. It's merely just a confirmation of what you already know. This seems to have fixed the previous known issue(s). Although it's only been running my test for about 10 minutes so far. Yet the difference already seems quite clear. No reason to thing that this good performance will not just continue. It seem to behaving very well now. Rock solid. Once again. Really appreciate all of your help. And also to the relevant people (whichever guys who I don't know who they are) in Inverto and/or ST Group. Who all contributed to helping and made the necessary driver code rewrites and fixes. Now I would not hesitate to recommend this product to others. Of course with either your axe |
@dreamcat4 : Thanks for the feedback. |
hi perexg,
great job this first approach to enhance the firmware by minisatip ... it is not working so far with vdr plugin-satip or tvh, but i'm convinced there is not a lot whats missing...
Current problem:
A) after booting the gss.box with usb stick minisatip does not provide a desc.xml url to e.g. tvheadend or other server/client software. In tvh or vdr there are no tuners available...from minisatip.
B) login by telnet/ssh is working fine, but the enviroment for the shell e.g. for the /sbin path is not set. In /sbin there are several tools like minisatip etc.
by the way ... a nfs server and usb kernel driver would help too :-) e.g. for mounting additional space on usb port 2 or to setup shares....maybe a rootfilesystem on usb could be an option too ?
Sorry...maybe to many wishes at once ;-)
if you need further support for testing, just drop a message....
Regards mrarel
The text was updated successfully, but these errors were encountered: