[XBMC3.3.x] HTTP Streaming fails & remote polling too slow

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

[XBMC3.3.x] HTTP Streaming fails & remote polling too slow

Post by Guillaume »

1) Since XBMC 3.x, I get the following problem every time I try to stream any (!) x264 HTTP stream:

Code: Select all

01:52:17 M: 15962112 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 56
01:56:11 M: 18194432 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Previous line repeats 1 times.
01:56:12 M: 18280448 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
01:56:29 M: 13639680  NOTICE: HDD: SMART is supported.
01:56:29 M: 13639680  NOTICE: HDD: SMART is enabled.
01:57:42 M: 18219008 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Previous line repeats 12 times.
01:59:31 M: 17596416 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
01:59:35 M: 17567744 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Previous line repeats 8 times.
(I don't know why the HDD info is in between, it isn't there every time and I did not set the HDD to spin down automatically.)

With an older 2010 XBMC build, there are no problems at all with the same streams.

But there's more relating to the network Furthermore, with SMB files I seem to run into the same problems at times and even the FTP connection speed is slow as hell. The connection remains 100Mbit Full Duplex and, again, the problems do not occur in an older build.

2) I have my receiver's remote linked to my XBOX and in earlier builds this worked perfectly fine. With the 3.x builds, though, the polling seems to be way too slow, which results in XBMC missing out on a lot of my keypresses.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Dan Dar3 »

You can highlight any part you think it might be of interest in your post, but you need to provide and entire debug log:
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Dan Dar3 »

User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

I think there is something else at play. with the user saying the samba / ftp speeds are poor, I suspect something else like hardware?. There is nothing I know of in the newer build that should affect ftp/smb speeds. If there was a major problem regarding the newer builds and network speed here we would have more people reporting it I think. The other thing would be if it was a specific file, and something in the newer ffmpeg code not liking it, but lines like "asked for new data packet, with nothing available" point to data not coming in quick enough.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by byron »

Just a thought, but I have a logitec wireless controller that has ben thrown, dropped from decent heights, chewed on, drooled on etc...point is that the right thumbstick gets stuck on seeking or on turning the volume up or down. When that happens the program doesn't really respond very well and starts doing strange stuff...
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

interesting and I think you are onto something. I just looked at the full log and it shows lots of seek requests - I wonder if that is cased by a controller - so next test is to unplug controller while playing.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

First, thanks for all the replies, really appreciate it!

I tested the advancedsettings.xml tweak AND took out the IR receiver (so NO controllers connected), but it did not help. It doesn't seem like the seeking in the debug log is anything else than just trying to get . Another log file: http://dl.dropboxusercontent.com/u/2606980/xbmc2.log (with debugging).

Once again, both of these problems do not occur in an old (and crippled with regard to features) 2010 build I still have on my XBOX parallel to the latest 3.3.3 build. It should be noted that this version uses MPlayer for playback of the same streams.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Dan Dar3 »

I'd say that is about right - you can find quite a few similar forum threads and blog posts on XBMC, DVDPlayer and "Get - asked for new data packet, with nothing available" type of messages in the log.

Might be worth following these in mainline XBMC and see if they got fixed meanwhile - might be a matter of pulling those changes back into XBMC4Xbox, although I'm sure if it those were fixed or staring in the face Buzz would've done that already.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

mplayer is unsupported, and completely different code, so it is no comparison really. It might just be that this stream does not work on dvdplayer. Is it something I can test ? the fact you are saying ftp/smb is slow though still makes me think there could be something else at play - there is no bug I am aware of with network speeds, and I have no such problem on my lan with xbmc4xbox as an example. I'd like to rule out something like that first. can you give me an example of that ?
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

Dan Dar3 wrote:I'd say that is about right - you can find quite a few similar forum threads and blog posts on XBMC, DVDPlayer and "Get - asked for new data packet, with nothing available" type of messages in the log.
yes but I believe all the previous reports have always pointed to something else like wireless speed etc. in this case there is an access violation early on in the log which could be something. User seems to have all network services enabled, so Id like to start by trying a fresh install with default settings for that stuff.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

does look like this install was done over an older install, so do need that sorted first (for example there is an old keymap file left that is no longer used)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Dan Dar3 »

That is a good point Buzz - there is a chance it's either installed on top of an older deployment or XBMC4Xbox Installer (XBMC SVN Installer) plugin was used to copy over the old q:\UserData, if this is the line that caught your eye:
20:23:27 M: 56324096 INFO: CButtonTranslator::Load - old Keymap.xml in userdata found (special://profile/Keymap.xml). Please consider moving it to the "keymaps/" folder
@Guillaume, can you try a clean install (in a separate folder is fine, no need to loose your current one) and retry your test.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

Will do as soon as I get home. Thank you all!
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

Sorry for the late response. When using a completely clean v3.3.3 installation, in a separate folder, with no UserData migrated and no settings touched (so everything default) I have the exact same problems, with the exact same entries in the debug log as before.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

For my first problem, I have made myself a workaround by adding the following line to system/playercorefactory.xml:
<rule name="streams" internetstream="true">
<rule name="x264fix" mimetypes="video/mp4" player="MPlayer" />
</rule>
As for the polling of my remote, it still is much worse in the newer versions (now on v3.5 beta2) than in the 2010 build.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

you have no controllers/gamepads connected at all ?

what do you mean the polling of the remote is worse ? Please try with latest beta, and post a full debug log after, thanks.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

I'm using the latest beta.

No controllers connected.

Response is very sloppy during playback: only half the time XBMC responds to my first button press on my remote. It's not hardware-related, as the 2010 XBMC build doesn't have this issue.

Nothing can be found in the debug logs.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by BuZz »

Well, I'd still like to see it please, if you want me to try and help you further that is.
Guillaume
Posts: 16
Joined: Thu Sep 19, 2013 10:39 am

Re: [XBMC3.3.x] HTTP Streaming fails & remote polling too sl

Post by Guillaume »

Debug log in XBMC4XBOX 3.5 beta2, clean install: https://db.tt/OfS65O2A

I tried using the back button on my remote for like 25-30 times throughout the 20 minutes I played an x264 720x404 file (CPU usage 50%~70%), and in all XBMC didn't respond about 6 times.

I used new batteries in the remote.

I never experienced this issue while not playing back video (i.e. while in an XBMC menu).
Post Reply