xbmc freezes when playing through wireless
#1
I have xbmc installed on a Revo Acer 3600 in my bedroom. My media is sitting on a Synology NAS in the lounge in the next room. My database and media both sit on the NAS (i.e. remote mysql database)

When playing media wirelessly, at first it works wonders, but it always ends up freezing and xbmc just seems to completely freeze.

I've checked the debug log, and this is what I'm seeing:

Code:
20:30:25 T:3078395776 M:619479040  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:30:25 T:3078395776 M:619606016  NOTICE: GL: NPOT texture support detected
20:30:25 T:3078395776 M:619606016  NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:31:12 T:2892065648 M:619679744 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:31:12 T:2881575792 M:619679744 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:31:33 T:2881575792 M:619720704   ERROR: Pause - pcm_pause, alsa error: -77 - File descriptor in bad state
20:31:33 T:2881575792 M:619720704 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
20:38:18 T:2892065648 M:619831296 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:38:18 T:2881575792 M:619831296 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:38:27 T:2881575792 M:619831296 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
20:50:10 T:2892065648 M:618541056 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:50:10 T:2881575792 M:618541056 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:52:06 T:2881575792 M:617766912 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
20:56:36 T:2892065648 M:617775104 WARNING: Previous line repeats 3 times.
20:56:36 T:2892065648 M:617775104 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:56:36 T:2881575792 M:617775104 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:56:46 T:2881575792 M:617783296 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
21:00:12 T:2892065648 M:617156608 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:00:12 T:2881575792 M:617156608 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
21:00:19 T:2881575792 M:617164800 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
21:14:42 T:2892065648 M:616681472 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:14:42 T:2881575792 M:616681472 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
21:14:46 T:2881575792 M:616681472 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames

It's pretty clear from the log that xbmc is complaining that it can't get any new data packets. However this ONLY happens when playing media. If I copy stuff wirelessly, it can copy for hours without fault.

I know you might say that media requires a certain amount of bits per second. Correct, but I get the same freezing whether I'm testing a 1080p file or a standard '320p' file. Also it ALWAYS seems to happen roughly 6 - 8 minutes after I start playback, no matter if it's HD or regular.

The wireless card on the Revo is a 54Mbps capable card and my router is a WRT-54GL with dd-wrt installed. I get anything between 24Mbps to 54Mbps
Acer Revo 3610
Acer Revo 3600
Synology 2TB Raid1 NAS
Reply
#2
No bites?

I've done some further testing. There is no problem with the actual wireless connection between my NAS (Synology ds210j) and my Revo. I've got iperf installed on the NAS and Revo and this is my results.

This is my actual wireless connection in Linux:
Code:
mellowd@XBMCLive:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"Cisco"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 68:7F:74:XX:XX:XX
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

TCP test:
NAS:
Code:
Simba> iperf -s -p 555  -i 10
------------------------------------------------------------
Server listening on TCP port 555
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
Revo:
Code:
mellowd@XBMCLive:~$ iperf -c 10.20.30.4 -p 555  -i 10 -t 600
------------------------------------------------------------
Client connecting to 10.20.30.4, TCP port 555
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 10.20.30.110 port 45553 connected with 10.20.30.4 port 555
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  19.2 MBytes  16.1 Mbits/sec
[  3] 10.0-20.0 sec  19.4 MBytes  16.3 Mbits/sec
[  3] 20.0-30.0 sec  18.6 MBytes  15.6 Mbits/sec
[  3] 30.0-40.0 sec  18.4 MBytes  15.4 Mbits/sec
[  3] 40.0-50.0 sec  18.5 MBytes  15.5 Mbits/sec
[  3] 50.0-60.0 sec  18.4 MBytes  15.4 Mbits/sec
[  3] 60.0-70.0 sec  15.7 MBytes  13.1 Mbits/sec
[  3] 70.0-80.0 sec  16.9 MBytes  14.2 Mbits/sec
.
.
.
.
.
.
[  3] 270.0-280.0 sec  18.7 MBytes  15.7 Mbits/sec
^C[  3]  0.0-285.7 sec    503 MBytes  14.8 Mbits/sec

Right, so I'm getting roughly 14Mbits/sec minimum average.
Let's now do a UDP test at that speed to see if there is any jitter or packet loss
UDP test:
NAS:
Code:
Simba> iperf -s -p 555 -u -i 10
------------------------------------------------------------
Server listening on UDP port 555
Receiving 1470 byte datagrams
UDP buffer size:   106 KByte (default)
------------------------------------------------------------
Revo:
Code:
mellowd@XBMCLive:~$ iperf -c 10.20.30.4 -p 555 -u -i 10 -t 420 -b 14000000
------------------------------------------------------------
Client connecting to 10.20.30.4, UDP port 555
Sending 1470 byte datagrams
UDP buffer size:   110 KByte (default)
------------------------------------------------------------
[  3] local 10.20.30.110 port 42693 connected with 10.20.30.4 port 555
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  15.5 MBytes  13.0 Mbits/sec
[  3] 10.0-20.0 sec  16.5 MBytes  13.9 Mbits/sec
[  3] 20.0-30.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 30.0-40.0 sec  16.5 MBytes  13.8 Mbits/sec
[  3] 40.0-50.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 50.0-60.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 60.0-70.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 70.0-80.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 80.0-90.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 90.0-100.0 sec  16.4 MBytes  13.8 Mbits/sec
[  3] 100.0-110.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 110.0-120.0 sec  14.6 MBytes  12.2 Mbits/sec
[  3] 120.0-130.0 sec  16.4 MBytes  13.8 Mbits/sec
[  3] 130.0-140.0 sec  16.5 MBytes  13.9 Mbits/sec
[  3] 140.0-150.0 sec  16.4 MBytes  13.8 Mbits/sec
[  3] 150.0-160.0 sec  16.2 MBytes  13.6 Mbits/sec
[  3] 160.0-170.0 sec  16.5 MBytes  13.8 Mbits/sec
[  3] 170.0-180.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 180.0-190.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 190.0-200.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 200.0-210.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 210.0-220.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 220.0-230.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 230.0-240.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 240.0-250.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 250.0-260.0 sec  16.2 MBytes  13.6 Mbits/sec
[  3] 260.0-270.0 sec  16.7 MBytes  14.0 Mbits/sec
[  3] 270.0-280.0 sec  16.0 MBytes  13.4 Mbits/sec
[  3] 280.0-290.0 sec  14.5 MBytes  12.2 Mbits/sec
[  3] 290.0-300.0 sec  16.6 MBytes  13.9 Mbits/sec
[  3] 300.0-310.0 sec  14.8 MBytes  12.4 Mbits/sec
[  3] 310.0-320.0 sec  14.8 MBytes  12.4 Mbits/sec
[  3] 320.0-330.0 sec  15.8 MBytes  13.2 Mbits/sec
[  3] 330.0-340.0 sec  14.5 MBytes  12.2 Mbits/sec
[  3] 340.0-350.0 sec  15.7 MBytes  13.2 Mbits/sec
[  3] 350.0-360.0 sec  14.9 MBytes  12.5 Mbits/sec
[  3] 360.0-370.0 sec  15.6 MBytes  13.1 Mbits/sec
[  3] 370.0-380.0 sec  16.4 MBytes  13.7 Mbits/sec
[  3] 380.0-390.0 sec  13.7 MBytes  11.5 Mbits/sec
[  3] 390.0-400.0 sec  13.4 MBytes  11.2 Mbits/sec
[  3] 400.0-410.0 sec  16.0 MBytes  13.4 Mbits/sec
[  3] 410.0-420.0 sec  14.8 MBytes  12.4 Mbits/sec
[  3]  0.0-420.0 sec    672 MBytes  13.4 Mbits/sec
[  3] Sent 479149 datagrams
[  3] Server Report:
[  3]  0.0-419.8 sec    672 MBytes  13.4 Mbits/sec  2.677 ms    0/479148 (0%)
[  3]  0.0-419.8 sec  1 datagrams received out-of-order

Not a bad result. 479148 datagrams sent with only 1 out of order. What does the server show?
NAS:
Code:
Simba> iperf -s -p 555 -u -i 10
------------------------------------------------------------
Server listening on UDP port 555
Receiving 1470 byte datagrams
UDP buffer size:   106 KByte (default)
------------------------------------------------------------
[  3] local 10.20.30.4 port 555 connected with 10.20.30.110 port 42693
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3]  0.0-10.0 sec  15.5 MBytes  13.0 Mbits/sec  0.675 ms    0/11027 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 10.0-20.0 sec  16.6 MBytes  13.9 Mbits/sec  0.369 ms    0/11836 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 20.0-30.0 sec  16.7 MBytes  14.0 Mbits/sec  0.618 ms    0/11909 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 30.0-40.0 sec  16.5 MBytes  13.8 Mbits/sec  0.432 ms    0/11770 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 40.0-50.0 sec  16.7 MBytes  14.0 Mbits/sec  0.364 ms    0/11912 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 50.0-60.0 sec  16.5 MBytes  13.9 Mbits/sec  0.571 ms    0/11800 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 60.0-70.0 sec  16.7 MBytes  14.0 Mbits/sec  0.424 ms    0/11900 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 70.0-80.0 sec  16.6 MBytes  13.9 Mbits/sec  0.290 ms    0/11853 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 80.0-90.0 sec  16.7 MBytes  14.0 Mbits/sec  1.921 ms    0/11878 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 90.0-100.0 sec  16.5 MBytes  13.8 Mbits/sec  1.038 ms    0/11739 (0%)
.
.
.
.
.
.
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3] 400.0-410.0 sec  16.1 MBytes  13.5 Mbits/sec  0.443 ms    0/11477 (0%)
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  3]  0.0-419.8 sec    672 MBytes  13.4 Mbits/sec  2.677 ms    0/479148 (0%)
[  3]  0.0-419.8 sec  1 datagrams received out-of-order

At 14Mb/s - there is 0% data loss. Jitter is also very good. In 7 minues it transfered 672MB

Why then can I not watch a 350Mb file which lasts 40 minutes over this SAME link?
Acer Revo 3610
Acer Revo 3600
Synology 2TB Raid1 NAS
Reply
#3
My REVO 3610 just started freezing up too. I've been using xbmcfreak-1000-beta2-t2 for 3+ months now without any issue (if it ain't broke don't fix it). As of lately it seems to freeze randomly while playing videos. The only thing I have changed recently was updating the Transparency Skin, but maybe the wireless is the culprit.

Not sure how to debug the issue too.
Reply
#4
Im having the same problem, I just installed the latest Live version to my revo r3610 and its constantly freezing or buffering, however the xbox sat next to it has no problems with the same content so I know its defiantly not a wireless issue
Reply
#5
Ohoy!

I have the same issue. Can post logs if needed, but they are identical to the one provided by mellowd. I have tried with two different WLAN-cards (Some Atheros, Intel Wifi Link 1000, both 802.11n), same problem. The issue occurs more or less randomly, after a few minutes or after a few hours.

Running XBMC 10 (Dharma stable) on Ubuntu 10.10, Asrock ION 330 with media on a FreeNAS-based NAS over SMB. Wifi via Netgear WNDR3700, other devices works flawlessly and throughput is about 50 Mbit/s.
Reply
#6
Hi,

I use my current XBMC for 4 months and disabled any updates in my ubuntu configuration. I just installed some new add-ons and updated them. Yesterday I has the same problem: The movie freezes and nothing happens anymore.

I do WiFi via WNDR3700 - copying the file and watch it from my disk solves the freeze.

What did happen?

Best regards
Bernd
Reply
#7
I just upgraded to the latest and it just started happening on my Mac Mini 2010 aluminum body (dual core with 8 gigs ram).

The Mac is 2 feet from my Router and i am conected at N with full signal strength. If i plug the Ethernet in, It is fine.

I'll test it later on my MSI nettop over WiFi and let you know.
Reply
#8
ugh it double posted....
Reply
#9
Seems a few people have these issues now. No-one else? No-one got any ideas whatsoever?
Acer Revo 3610
Acer Revo 3600
Synology 2TB Raid1 NAS
Reply
#10
I wonder.. Anyone else using a WNDR3700? Or just me and berndr?
Reply
#11
I'm experiencing a similar problem playing my DVD rips as well, which never happened until my recent upgrades of T3CH build on my XBOX. I also upgrade my router to gigabit. My playback keeps getting interrupted by the "Buffering..." dialog box. My log shows the same error message "Asked for new data packet, with nothing available".

If I play back my video files with MPlayer, it plays back perfectly with no interruptions. So it is obviously not a network issue for me. This is likely a DVDPlayer software bug that has crept in.

I also copied a video file to my XBOX hard drive, and it plays fine from there with no interruptions. This suggests the DVDPlayer app became inefficient or buggy lately, and that the network transfer combined with the app's slowness now combine to cause occasional interruptions.

Has anyone reverted to earlier builds to see if and when this bug crept in?
Reply
#12
As there were no responses by and dev's, I've just decided to stick a wire through a wall into my bedroom. Now the Revo's connected at a Gig.

But really, as my test proved earlier and echo'd by others replying to the thread, there is definitely an issue of some sort.
Acer Revo 3610
Acer Revo 3600
Synology 2TB Raid1 NAS
Reply
#13
Exactly same problem here.
Reply
#14
Same stuff here, going back to xbmc 9.11 fixes the issue.
So something is borked in xbmc 10.0.
Reply
#15
Has anyone figured out the solution? Im having the same exact problem streaming on my acer revo 3700. It freezes xbmc entirely i can still use ctrl+alt+f1 to reach terminal. Running xbmc live 10.1. below is the error ms:


09:28:45 T:2733935472 M:1782214656 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
09:28:46 T:2723445616 M:1782214656 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc freezes when playing through wireless0