Page 2 of 2

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Mon May 20, 2019 7:03 pm
by cata
@9000h, do you see the same issue?

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Tue May 21, 2019 5:40 am
by 9000h
Hi,

I do have 3 Panasonic's AX,CX,DX Series, minisatip is working here.
Check the divers for bugs in regards to mess up UDP packets, this was happen to me some time ago with a Intel eth.
Check with "nstat | grep -i udp" for dops, errors eth.
What need to be considered is tuning the network stack on the Server where minisatip runs and checking the network devices for duplex mismatches or if there are AVM Fritzboxes in the path (then disable "green mode" on the ports).

Code: Select all

net.core.wmem_max=20491520
net.core.rmem_max=20491520
#net.ipv4.tcp_rmem= 10240 87380 125829120
#net.ipv4.tcp_wmem= 10240 87380 125829120
net.ipv4.tcp_mem = 65536 131072 262144
net.ipv4.udp_mem = 65536 131072 262144
Wireless and Powerline should also avoided.

If artifacts showing up try adding "-H5:50" to the minisatip cmdline an check again, it helps here for my Pana AX and a small delay behind a MOCA bridge.
If there CI modules in the TV then try without, or if the CI module is a Diablo CAM increase the delay option in the config menu of the cam.

the only real issue I see atm is "Panasonic no signal after manual scan" https://github.com/catalinii/minisatip/issues/502

with this patch it works better for me but it's probably not the right way to solve it, so use it at your own risk.

Code: Select all

--- socketworks.c.orig  2018-12-15 13:47:34.460292591 +0100
+++ socketworks.c       2018-12-15 13:47:14.553130183 +0100
@@ -864,7 +864,7 @@
                                                else
                                                        err_str = strerror(err);

-                                               if (ss->type == TYPE_RTCP || ss->sock == SOCK_TIMEOUT)
+                                               if (ss->type == TYPE_RTCP || ss->sock == SOCK_TIMEOUT || ss->type == TYPE_UDP)
                                                {
                                                        LOG(
                                                                "ignoring error on sock_id %d handle %d type %d error %d : %s",
~
there are some other issues but they are not specific to Panasonic TV's.

CU
9000h

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Tue May 21, 2019 6:27 am
by vad
Hi,
Recompiled with the patch. I will test.
thank.

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Thu May 23, 2019 6:48 pm
by 9000h
Hi,

will you report your test results?

CU
9000h

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Fri May 24, 2019 2:00 pm
by vad
9000h wrote: Thu May 23, 2019 6:48 pm Hi,

will you report your test results?

CU
9000h
Hi,
I continue the test. While the signal was not lost once. But since this problem was not constantly manifested, I was in no hurry to answer. But I think that there is a positive result. Thanks again for the quick response and real help.
vad

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Mon Sep 16, 2019 8:44 am
by 9000h
Hi,

did it fix your issue with the Panasonic?

CU
9000h

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Tue Feb 25, 2020 6:43 am
by vad
Hi,
The latter build did not compile with this patch

Code: Select all

root@MPD:/usr/local/src/minisatip# make -j3
make -C src
make[1]: вход в каталог «/usr/local/src/minisatip/src»
gcc -Wall -Wno-switch -ggdb -fPIC   -DVERSION=\"1.0.2-49290af\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI  -c minisatip.c -o ../build/minisatip.o
gcc -Wall -Wno-switch -ggdb -fPIC   -DVERSION=\"1.0.2-49290af\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI  -c socketworks.c -o ../build/socketworks.o
gcc -Wall -Wno-switch -ggdb -fPIC   -DVERSION=\"1.0.2-49290af\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI  -c stream.c -o ../build/stream.o
socketworks.c:1577:6: error: conflicting types for ‘set_socket_dscp’
 void set_socket_dscp(int id, int dscp)
      ^~~~~~~~~~~~~~~
In file included from stream.h:5:0,
                 from minisatip.h:6,
                 from socketworks.c:42:
socketworks.h:123:6: note: previous declaration of ‘set_socket_dscp’ was here
 void set_socket_dscp(int id, int dscp, int prio);
      ^~~~~~~~~~~~~~~
Makefile:156: ошибка выполнения рецепта для цели «../build/socketworks.o»
make[1]: *** [../build/socketworks.o] Ошибка 1
make[1]: *** Ожидание завершения заданий…
make[1]: выход из каталога «/usr/local/src/minisatip/src»
Makefile:11: ошибка выполнения рецепта для цели «minisatip»
make: *** [minisatip] Ошибка 2
Download source again. Everything compiled.

Re: [Solved] Minisatip works fine with VDR but Panasonic TV does not

Posted: Tue Feb 25, 2020 11:13 am
by 9000h
Hi,
the patch is not needed anymore, the latest git version should be fine.
CU
9000h