Community discussions

MikroTik App
 
fishe
just joined
Topic Author
Posts: 3
Joined: Sat Feb 27, 2010 5:30 pm

Raspberry Pi buffering video problem on RB750GL

Thu Apr 04, 2013 10:43 pm

I have a strange problem which I can only assume is a networking problem. I have an RB750GL running RouterOS 5.24 which is configured as a basic router with 1 WAN port (eth1) and the rest are set up as a switch. On this switch is a Mac Mini sharing videos over AFP and a Raspberry Pi running Openelec 3. The Mac has a gigabit NIC while the Raspberry Pi has a 100Mbit NIC. When I playback high bandwidth 1080p videos on the Raspberry Pi, I get a lot of bufferring, resulting in unwatchable video. If I connect a Mikrotik RB250GS switch and connect both devices on it, then playback is perfect. Because of how things are physically, I usually connect the Mac to the switch which is in turn connected to router on which the Raspberry Pi is connected.

I think that I can go around the problem by getting a second switch, but I'd really like to learn what the actual problem is. Cabling is fine, as I'm using same exact cabling in all configurations.

Anyone can point me in the right direction?
 
User avatar
patrikg
Member
Member
Posts: 362
Joined: Thu Feb 07, 2013 6:38 pm
Location: Stockholm, Sweden

Re: Raspberry Pi buffering video problem on RB750GL

Fri Apr 05, 2013 12:25 pm

Wy not try to set the ethernet speed manually on the port to 100 on the 750GL.
Namnlös.png
You do not have the required permissions to view the files attached to this post.
 
fishe
just joined
Topic Author
Posts: 3
Joined: Sat Feb 27, 2010 5:30 pm

Re: Raspberry Pi buffering video problem on RB750GL

Fri Apr 05, 2013 12:33 pm

I have already tried setting the speed manually, and it did not solve the problem. In fact, it made matters worse even though I would expect it to at least keep the same performance. Thank you for your help though.
 
rjickity
Member Candidate
Member Candidate
Posts: 212
Joined: Sat Jul 17, 2010 10:40 am
Location: Perth, Australia

Re: Raspberry Pi buffering video problem on RB750GL

Fri Apr 05, 2013 1:18 pm

Is it switching or on a bridge ? If bridge then set the master/slave to use the switch chip

Sent from my GT-I9100 using Tapatalk 2
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Re: Raspberry Pi buffering video problem on RB750GL

Fri Apr 05, 2013 10:51 pm

You sure it is not just the raspberry PI not having enough of its own resources?
 
fishe
just joined
Topic Author
Posts: 3
Joined: Sat Feb 27, 2010 5:30 pm

Raspberry Pi buffering video problem on RB750GL

Sat Apr 06, 2013 8:49 am

@rjickity Yes it's already in switch mode

@tgrand Swapping ports and putting both mac and rpi on Rb250gs works fine... which makes me think it must be the switching or at least some incompatability between rpi and switch on rb750gl


Sent from my iPad using Tapatalk HD
 
DynStatic
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Thu Feb 18, 2010 3:11 am

Raspberry Pi buffering video problem on RB750GL

Mon Apr 08, 2013 7:56 pm

Change the port queue type from hardware queue only to Ethernet default and give that a try.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Raspberry Pi buffering video problem on RB750GL

Tue Apr 09, 2013 3:47 pm

please list everything - what software on the mac, what software on the router, exact configuration, what software of RPI (raspbmc?), stream size (video size and encoding and sound qualiy should siffice)
 
User avatar
Raf
Member Candidate
Member Candidate
Posts: 172
Joined: Thu May 07, 2009 4:26 pm
Location: Olesnica, Poland
Contact:

Re: Raspberry Pi buffering video problem on RB750GL

Tue Apr 09, 2013 4:31 pm

what software of RPI (raspbmc?)
He's using Openelec 3 (written in 1st post).
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Raspberry Pi buffering video problem on RB750GL

Tue Apr 09, 2013 4:41 pm

ok, my bad, somehow missed that. Anyway, gathering hardware to see this first hand.
 
frankie
Member Candidate
Member Candidate
Posts: 116
Joined: Thu May 08, 2008 9:45 pm

Re: Raspberry Pi buffering video problem on RB750GL

Tue Apr 09, 2013 11:45 pm

RB250GS and RB750GL has different switch chips. Once I had similar problem with Dune Smart H1 network player with RB750GL. Instead of using hardware capabilities of Switch chip I used software bridge and it worked. It's worth a try.
 
krisjanis
MikroTik Support
MikroTik Support
Posts: 432
Joined: Tue Feb 05, 2013 5:00 pm

Re: Raspberry Pi buffering video problem on RB750GL

Fri Apr 12, 2013 11:35 am

We tried to replicate this problem, however unsuccessfully. Please generate supout file while your raspberry pi and mac is connected to RB750GL and send it to us.

our test setup was:
Raspberry pi and Linux test machine connected to RB750GL with ether2-ether5 switched. Raspberry pi installed with Openelec 3 and RB750GL installed with v5.24. For sharing purpose we used samba share on Linux machine, it took a while for 1080p video file to load(~5-10s) after that it did stream/play it without a glitch.

If we had supout file from your router we could check if there is something in RouterOS configuration that might affect video streaming through this unit.
 
Arkadiy
just joined
Posts: 1
Joined: Sun Mar 09, 2014 2:13 pm

Re: Raspberry Pi buffering video problem on RB750GL

Sun Mar 09, 2014 2:24 pm

Hi all! I have exactly the same problem on my new RB915G-2HnD and Raspberry Pi model B. Setup is: Windows Server 2008R2 on HP Proliant microserver N36l as NAS (samba, 1Gbps), raspbmc on raspberry pi model B (100 Mbps). If i change mikrotik to my old linksys wag320n or ZTE ZXV10 W300 - everything work perfect. But on mikrotik - buffering every 10-40 seconds.
https://www.dropbox.com/s/rl0hmik7dxnas8x/supout.rif
 
agiz10
just joined
Posts: 8
Joined: Sun Jun 10, 2012 8:45 pm

Re: Raspberry Pi buffering video problem on RB750GL

Mon Mar 12, 2018 6:44 pm

I am sorry to resurrect an old thread, but i have exactly the same issue and did not find any solution googling around.
Let me draw it out to be clearer:
Buffering every 10-40s:
SMB (Windows 10 share) <--cable--> RB750G <--cable--> RB915G-2HnD <--cable--> RPi3 with Kodi (OSMC to be exact), connecting to SMB on Windows

It works perfectly if i connect it directly to RB750G:
SMB (Windows 10 share) <--cable--> RB750G <--cable--> RPi3 with Kodi (OSMC to be exact), connecting to SMB on Windows

I tried transferring a big file to laptop:
SMB (Windows 10 share) <--cable--> RB750G <--cable--> RB915G-2HnD <--cable--> Laptop
download from SMB: ~90MB/s

RB750G and RB915G-2HnD are on 6.41.
If anyone has any suggestions or if i should provide some additional info, just say/ask.
 
agiz10
just joined
Posts: 8
Joined: Sun Jun 10, 2012 8:45 pm

Re: Raspberry Pi buffering video problem on RB750GL

Sat Mar 17, 2018 11:18 am

Another user found a solution to our problem:
viewtopic.php?f=3&t=130061
To recap, solution is to disable Bridge -> Ports -> raspberry pi interface -> hardware offload

Finally, i can enjoy RPi at its fullest :D

Who is online

Users browsing this forum: No registered users and 1 guest