Kodi media playback randomly stops

You didn’t select any logs in the uploader, so unsurprisingly, your link is blank…

Mount the SMB shares via fstab
Mount them without using host names and use an IP.

I suspect this will resolve your issue and the WiFi driver is fine

Login via ssh grab-logs -A and share the URL

Also did you tried Sams earlier recommendation

fzinken, that suggestion did not make any difference to the problem

Hi Sam,

I mounted the samba shares using an IP (mount -t cifs //192.168.1…) and the problem persists.

In this case, there isn’t much we can do. The log does not provide any clues unfortunately. You may need to use another dongle. The 8812AU modules do work for a lot of users, but it’s possible your environment or distance is also a factor here.

I have recommended an official dongle above.
I will see if I get some time in the near future to investigate the driver you linked to, but from a quick glance it looks like the version bumps have been made as support for new kernels have been added. We have of course made sure the driver is compatible with kernels we ship, but we have done this manually and have not been bumping the version as we did this.

Ok, thanks Sam.

What’s going on is WiFi traffic stalls intermittently for 10 or so seconds and then resumes. If I pause the video at the beginning and let minutes of video cache up then things are ok.

The question now is why is this happening?

Possibly, the 8812au module blocks when ConnMan does background scanning.

I’ve tried disabling background scanning and also bring the client beside the AP; still no fix to the problem.

I’ve been trying to compile the summer 2016 driver, maybe you can help me with this compilation error, any ideas?:

make ARCH=arm CROSS_COMPILE= -C /usr/src/rbp1-headers-4.4.27-4-osmc M=/home/osmc/rtl8812au_newest modules
make[1]: Entering directory ‘/usr/src/rbp1-headers-4.4.27-4-osmc’
CC [M] /home/osmc/rtl8812au_newest/core/rtw_cmd.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_security.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_debug.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_io.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_ioctl_query.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_ioctl_set.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_ieee80211.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_mlme.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_mlme_ext.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_wlan_util.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_vht.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_pwrctrl.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_rf.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_recv.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_sta_mgt.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_ap.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_xmit.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_p2p.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_tdls.o
CC [M] /home/osmc/rtl8812au_newest/core/rtw_br_ext.o
In file included from include/linux/filter.h:16:0,
from include/net/sock.h:62,
from include/net/inet_sock.h:27,
from include/net/ip.h:30,
from /home/osmc/rtl8812au_newest/core/rtw_br_ext.c:24:
include/net/sch_generic.h: In function ‘skb_at_tc_ingress’:
include/net/sch_generic.h:414:2: error: implicit declaration of function ‘G_TC_AT’ [-Werror=implicit-function-declaration]
return G_TC_AT(skb->tc_verd) & AT_INGRESS;
^
include/net/sch_generic.h:414:33: error: ‘AT_INGRESS’ undeclared (first use in this function)
return G_TC_AT(skb->tc_verd) & AT_INGRESS;
^
include/net/sch_generic.h:414:33: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target ‘/home/osmc/rtl8812au_newest/core/rtw_br_ext.o’ failed
make[2]: *** [/home/osmc/rtl8812au_newest/core/rtw_br_ext.o] Error 1
Makefile:1400: recipe for target ‘module/home/osmc/rtl8812au_newest’ failed
make[1]: *** [module/home/osmc/rtl8812au_newest] Error 2
make[1]: Leaving directory ‘/usr/src/rbp1-headers-4.4.27-4-osmc’
Makefile:1705: recipe for target ‘modules’ failed
make: *** [modules] Error 2

Remove the error on implicit function declaration from Makefile CFLAGS or make sure there is a prototype somewhere.

I don’t really have time to go fixing up other drivers

Using apt-get install linux-headers-4.4.0-1-rpi cleared up the compile error

Driver GitHub - diederikdehaas/rtl8812AU: Realtek 8812AU USB WiFi driver did not help
Disabling connman background scans did not help

@Lotus any chance you figured out a solution for this? I just started using the same Edimax adapter I had laying around. Playing content works well for a bit, and then stops cold, returns back to the last GUI screen. I’ve always fstab mounted my content drives. Maybe it’s time for a different adapter as well. Curious, as random googling landed me here.