Roku App not direct playing when plex uses CIFS shares for media?

Server Version#: 1.21.1.3876
Player Version#: 6.7.4.6764
Roku version 4400X - Roku 4 (9.4.0 build 4200-17)
Synology DS920 DSM 6.2.3-25426 Update 3

So i have an interesting issue. i have been running plex on a single synology unit for years without issues. i have however recently expanded to a total of three synology units. I still have the original synolgy unit (ds920 + DX517) running PLEX server but now i also have a DVA3219 NVR + DX517, and a second DS920.

i have moved the PLEX server to the entirely new DS920 to offload the resources off the original DS920+DX517 as i have the original unit doing quite a lot of stuff. I still have all of my media on the original DS920+DX517 but i have added more storage to the DVA3219 using the DX517 as the original DS920 is full with 60TB of data on it.

the data move seems to be working fine as all of my library metadata is working.

as such i have PLEX on a dedicate DS920, and the media files are on two other synology units (DVS3219 and a DS920). i have used CIFS shared mounted in DSM so plex can access the files on the other synology units. i have no issues with that, and everything seemed to be working.

the issue first popped up when i tried playing 4k files. they would not play as i would get messages about the server not being powerful enough. i looked and the server was trying to transcode it when it always direct played perfectly fine before.

i then started looking at what the server was doing when playing any media file. the roku plex app was set to direct play “AUTO” and direct stream was enabled. it seems that since i have moved to the new DS920 all files are direct stream and not direct play.

if i try forcing direct play, the media file will buffer at 13%, and either crash back to the main roku menu, cause the roku to reboot, or cause a message saying there is an error in playback.

again previously all files previously direct played fine.

i reinstalled plex on the original DS920, and shutdown Plex on the new DS920. i then tried playing my files on ROKU and they all direct play perfectly FINE!

switched the operational plex server again back to the new DS920 and now i cannot direct play.

so it does not seem to be an issue with the roku itself, it seems to be an issue with the server.

the only difference really was that the media was on a CIFS share, and not actually on the plex server DS920.

i tried putting a couple of files directly on the drives on the new DS920 and they were able to direct play fine.

based on this, it seems to be an issue with files on the CIFS network share?

the network is a 1GBE network, the switch is a 10GBE switch. the three synology units each have a dedicated ethernet port connected to a dedicated VLAN configured on the switch. only those three ports are on the VLAN and the three synology units have those ethernet ports set to static using IPS 192.168.101.2, 192.168.101.3, and 192.168.102.4.
each synology units also have a second ethernet port that runs off my normal network on the 192.168.1.0 subnet

the CIFS network shares use this dedicated 192.168.101.x vlan to ensure full bandwidth is available between units regardless of what i am doing on my main network.

i have logs that i will be attaching later tonight.

An alternative to try, which I find works better on Synology is mounting with NFS
(you need to enable the NFS service in the File Services applet)

I’ve had trouble with CIFS between Linux machines (it’s not the native file sharing protocol). NFS, since it is native, has always been better.

Using CIFS for NAS<->Computer is fine but for NAS<->NAS, I think you’ll find NFS gives both better performance and is more reliable/stable.

Don’t forget to have the remote shared folders mount at system boot when you recreate the mount.

Also make certain to not change the MTU from the default (1500)

i can try that.
i definitely make sure they are remounted during boot.

wooooo!!!

that fixed it., changing from CIFS to NFS shares fixed the issue. all media properly plays direct stream now :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.