Background:
Video playback(with audio) has always been working OK but audio playback (mp3 files) over wireless samba connection causes ‘seemingly’ random audio dropouts… I’ve read from this forum as well as other forums of similar problems other people have had. And i’ve tried every possible suggested change to remedy this but without any luck so far.
(two) Setups:
RPI2 → HDMI to TV (RPI has wireless 2.4g connection to NAS, , USB WIFI adapter with Realtek chipset, lsmod → 8192cu driver in use)
RPI3 → HDMI to AVR → TV (RPI has wireless 2.4g connection to NAS, USB WIFI adapter with Realtek chipset, lsmod → 8192cu driver in use)
Both RPIs are running the latest OSMC April 2019 SW
Problem:
I’ve been following dmesg logs from shell (ssh connection) (dmesg -w -T)
As an example this is seen every 5 minutes:
[Thu Apr 25 21:46:04 2019] IW_SCAN_THIS_ESSID, ssid=xx, len=16
[Thu Apr 25 21:46:05 2019] survey done event(7) band:0 for wlan0
[Thu Apr 25 21:51:05 2019] IW_SCAN_THIS_ESSID, ssid=xx, len=16
[Thu Apr 25 21:51:07 2019] survey done event(6) band:0 for wlan0
[Thu Apr 25 21:56:07 2019] IW_SCAN_THIS_ESSID, ssid=xx, len=16
[Thu Apr 25 21:56:08 2019] survey done event(5) band:0 for wlan0
(similar like these: 8192cu debug messages)
But every time survey scan runs mp3 playback freezes the audio + ssh connection for about 1 second thus causing audio dropout. The same happens with both setups.
NOTE! This only happens when playing audio mp3 files (doesnt matter if paplayer or dvdplayer is used). Video files play without problems just as other users have experienced. I havent tried other audio file formats than mp3.
Is this possibly 8192cu driver problem or something with OSMC ?
There’s interesting discussion about survey lags here even its about another chipset driver (rtl8812au driver) Network lags every 2 minutes · Issue #2 · austinmarton/rtl8812au_linux · GitHub
PS. The best way to see this freezing effect is to play mp3 audio file on the background → navigate to My OSMC → Network → Choose wireless
And wait… Survey messages happen more often and freezing also.