Streaming gets frozen after changing channel

Antworten
Nachricht
Autor
jotamartos
Beginners
Beginners
Beiträge: 2
Registriert: 11 Feb 2021 20:35

Streaming gets frozen after changing channel

#1

Beitrag von jotamartos »

Hi all,

First of all, thank you for all the help you can provide with regards of this issue. I have wide experience with Linux but I'm very new with Enigma2 and I'm still learning from this system.

I bought this JamesDonkey DUO receiver recently and managed to install a recent version of the OpenATV 6.4 image in the box (I used the nightly image from Feb 8th). I configured the OSCam settings and started watching the channels without problems. Then I started to play with the streaming functionality and that's where I found problems.

When I start to play a channel using VLC, everything works properly and I can watch that channel without problems. After that, I can change the channel and play other URLs (not at the same time) but after a limited number of changes (around 5), the connection can't be stablished. That means that no matter what URL I tried, VLC does not connect to the receiver anymore. If I restart the receiver, everything works fine again but after changing channels 5 times or so, the problem happens again. Do you know from where I can get more information? Do you know if I need to change something in the configuration to prevent this from happening?

Thanks
Benutzeravatar
Doctor Who
VIP
VIP
Beiträge: 4321
Registriert: 11 Aug 2020 17:33
Wohnort: OWL
Receiver 1: AX HD51 4k HDF7.3 + ATV 7.5
Receiver 2: Zgemma H7S HDF7.3 + ATV 7.5
Receiver 3: AXAS E4HD Ultra 4k
Receiver 4: Intel NUC + Raspi 3b mit KODI 21.1
Hat gedankt: 2334 Mal
Hat Dank erhalten: 2545 Mal
Kontaktdaten:

#2

Beitrag von Doctor Who »

If you buy cheap, you buy twice !
59,95 Euro !
Go out and buy a real, good receiver ....
Benutzeravatar
Papi2000
Super Moderator
Super Moderator
Beiträge: 26290
Registriert: 20 Apr 2013 20:09
Receiver 1: Viele GigaBlues
Receiver 2: DM und ZGemma
Receiver 3: bissl VU
Hat gedankt: 4517 Mal
Hat Dank erhalten: 8457 Mal

#3

Beitrag von Papi2000 »

Instead of VLC, you could try to use MediaPlayerClassicHD on your PC to play the streams. VLC tends to not close the stream connections the right way, when it stops.
Also beware: streaming is not intended to "KampfZapping" (switching many channels in short times).
Also supply a Swap to a usb-device at the box. But mount all devices at the box as fixed mounts via menue - you may find help in the HowTo section of the board. Many times discussed there.
Grüßle
Ralf
--------------------------------------------
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----




Bild
jotamartos
Beginners
Beginners
Beiträge: 2
Registriert: 11 Feb 2021 20:35

#4

Beitrag von jotamartos »

Hi again. Yes, I know this is a cheap receiver and I just wanted to have something cheap at home and take advantage of that streaming functionality. I just configured a SWAP memory but nothing changed. I still get errors after changing the channel around 5 times. No matter the time I spend watching the channels, after 5 changes, I can't connect to the receiver anymore. I found this info in the /var/log/messages file

Code: Alles auswählen

Feb 15 16:17:01 jdhdduo user.warn kernel: cma: cma area total:45056 pages
Feb 15 16:17:01 jdhdduo user.warn kernel: cma: alloc 1024 failed: -12
Feb 15 16:17:01 jdhdduo user.warn kernel: cma: bitmap: 0-20479
Feb 15 16:17:01 jdhdduo user.err kernel:  (null): Fail to allocate buffer
Feb 15 16:17:01 jdhdduo user.warn kernel: [HI_DRV_MMZ_AllocAndMap] Alloc DMX_RecBuf[3] failed
Feb 15 16:17:01 jdhdduo user.warn kernel: [06:51:25:521 ERROR-HI_DEMUX] :D mxAllocNonSecureRecBuf[15415]:rec memory allocate failed, BufSize=0x3ff970
Feb 15 16:17:01 jdhdduo user.warn kernel: [record_start - 220] HI_UNF_DMX_CreateRecChn failed 0x80150006
Feb 15 16:17:01 jdhdduo user.warn kernel: [06:51:25:639 ERROR-HI_DEMUX]:HI_DRV_DMX_AddRecPid[1410]:Invalid Rec Handle 0x0
Feb 15 16:17:01 jdhdduo user.warn kernel: record_add_pid failed with pid:18 hChannel -465825780 -2146107390


Is that helpful?
Testa123
Beginners
Beginners
Beiträge: 7
Registriert: 26 Mär 2020 16:55

#5

Beitrag von Testa123 »

Hello,

has someone a fix/workaround for this behaviour yet?
I also have one of this boxes as a streamserver in my network and have the same problem.
5 channel switches and then this error in dmesg. Problem seems to be a memory error in hi_demux.ko.
I already played with the module param DmxPoolBufSize (set to 4MB (4194304)) in /lib/modules/4.4.35/extra/load with the result, that 10 channels can be made.

Has someone probably tried to use the kernel modules of a AXAS HIS TWIN device? Afaik it should be the same hardware. Or has this box the same problem?

Thanks
Benutzeravatar
Papi2000
Super Moderator
Super Moderator
Beiträge: 26290
Registriert: 20 Apr 2013 20:09
Receiver 1: Viele GigaBlues
Receiver 2: DM und ZGemma
Receiver 3: bissl VU
Hat gedankt: 4517 Mal
Hat Dank erhalten: 8457 Mal

#6

Beitrag von Papi2000 »

You have set a swap of about 32-64MB on an USB Key in ext4 at the box?
Grüßle
Ralf
--------------------------------------------
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----




Bild
Testa123
Beginners
Beginners
Beiträge: 7
Registriert: 26 Mär 2020 16:55

#7

Beitrag von Testa123 »

Yes, swap is active. But doesn't help...
Testa123
Beginners
Beginners
Beiträge: 7
Registriert: 26 Mär 2020 16:55

#8

Beitrag von Testa123 »

Now bought an axis his twin receiver.
It has the same problem. After ten channel switches, memory error in kernel module.
Not amazing, it is the same hardware and even the same drivers. Is there a chance, that the kernel modules will be updated in future or the developers can be contacted?

Kr
Manuel
Testa123
Beginners
Beginners
Beiträge: 7
Registriert: 26 Mär 2020 16:55

#9

Beitrag von Testa123 »

Hi,

think i found sources of hisilicon kernel for dinobot kernel:
GitHub - leandrotsampa/hisilicon-kernel at dinobot-linux

There are the hi_demux sources in drivers/msp/demux/ and tuner sources for hi3136 frontend drivers/msp/drv/frontend/demod/hi3136 also.
Probably somebody else besides me wants to play with it ;-)
Benutzeravatar
Papi2000
Super Moderator
Super Moderator
Beiträge: 26290
Registriert: 20 Apr 2013 20:09
Receiver 1: Viele GigaBlues
Receiver 2: DM und ZGemma
Receiver 3: bissl VU
Hat gedankt: 4517 Mal
Hat Dank erhalten: 8457 Mal

#10

Beitrag von Papi2000 »

Nice, but you have seen, that it is an Android-GIT?
Absolutely useless for Enigma2.
Grüßle
Ralf
--------------------------------------------
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----




Bild
Testa123
Beginners
Beginners
Beiträge: 7
Registriert: 26 Mär 2020 16:55

#11

Beitrag von Testa123 »

Are you sure? That are the general kernel sources.
Default Kernel config for processor is in
hisilicon-kernel/hi3716mv410_defconfig at dinobot-linux . leandrotsampa/hisilicon-kernel . GitHub
Benutzeravatar
Papi2000
Super Moderator
Super Moderator
Beiträge: 26290
Registriert: 20 Apr 2013 20:09
Receiver 1: Viele GigaBlues
Receiver 2: DM und ZGemma
Receiver 3: bissl VU
Hat gedankt: 4517 Mal
Hat Dank erhalten: 8457 Mal

#12

Beitrag von Papi2000 »

Browse the GIT, and try to understand.
Grüßle
Ralf
--------------------------------------------
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----




Bild
Blackwood
Beginners
Beginners
Beiträge: 1
Registriert: 29 Nov 2024 11:53

Re: Streaming gets frozen after changing channel

#13

Beitrag von Blackwood »

I also bought some Axas HIS Twin bcoz of the price (45€) and i want to use it basicly for network-streaming only. My SD-channels were working fine, the HD-channels showed green-fragments in picture on one of the DVB-S tuners. After n-time zapping or watching too long HD-channel i got the very-same kernel errors and had to reboot to get DVB-S streaming back.

Code: Alles auswählen

(null): Fail to allocate buffer
[HI_DRV_MMZ_AllocAndMap] Alloc DMX_RecBuf[1] failed
[04:06:18:862 ERROR-HI_DEMUX]:DmxAllocNonSecureRecBuf[15415]:rec memory allocate failed, BufSize=0x3ff970
[record_start - 220] HI_UNF_DMX_CreateRecChn failed 0x80150006
[04:06:18:977 ERROR-HI_DEMUX]:HI_DRV_DMX_AddRecPid[1410]:Invalid Rec Handle 0x0
record_add_pid failed with pid:20 hChannel -1073342328 -2146107390
alloc_channel filterUnqId 49 pid:0x14 type:1
cma: cma area total:45056 pages
cma: alloc 1024 failed: -12
cma: bitmap: 0-20479
Since i know my way around in Linux I tried alot including different openatv-images, resizing the memory-kernel-parameter as mentioned here etc.. nothing helped. Meanwhile i found the culprit.

In my case this got triggered because the screwing nuts on the DVB-S-tuner where lose. After tighten both screwsnuts prober my problems where all gone and my device runs since weeks issue/boot free.(PowerUsage: 8W standby / 11W standby-active-stream). Probably some bad sat-cable could have alike effects.
Antworten

Zurück zu „JamesDonkey DUO HD“