VLC 3.0.21 slow on network-mounted filesystems

Hi everyone,

I wanted to share an issue I noticed with VLC on Manjaro and check whether others can reproduce it.

Since the latest update, VLC has become much slower when opening movie files from a network-mounted filesystem on my systems.

What I observed:

  • local media files still open quickly as usual
  • files on a mounted network share take much longer to start
  • opening the same file a second time is much faster
  • mpv opens the same files from the same mount without the delay
  • I can reproduce this on two different Manjaro systems

Versions I tested:

  • Manjaro repo package: VLC 3.0.21 Vetinari
  • Flatpak: VLC 3.0.23 Vetinari

What I already checked:

  • this does not seem to be a general network or mount issue, because mpv is unaffected
  • the problem appears to be specific to VLC
  • I also tested the Flatpak version of VLC 3.0.23, and there the issue does not occur

So at the moment it looks like the problem may be related specifically to the Manjaro-packaged VLC 3.0.21 rather than the CIFS/network mount itself.

Has anyone else seen similar behavior with VLC 3.0.21 on Manjaro, especially with CIFS or other network-mounted filesystems?

If needed, I can also share verbose VLC logs.

Thanks.

1 Like

That sounds to me like a buffering problem. The fact that your network mounted file starts quicker the second time is probably because your OS is cacheing it in memory, whereas the first time it has to be read from the disc across the network.

I’d suggest digging around in VLC’s settings for buffering and experimenting with lowering the values. At a guess it’ll probably be hidden in the advanced settings.

1 Like

i have already reduced the default buffering from 1000ms to 300ms, but did not notice any difference.
i am not sure if a setting is the issue, since this worked fine on both systems before i did the recent system update. unless the update chenged defaults - then again no issue on flatpak.

That you called it “share” I assume this a CIFS/SMB share? Very chatty protocol.

All my media is done over NFS, and I never have to worry about it. (If you have a choice in that.)

Otherwise..

You did do file caching, and not network caching, correct?

sorry for the delay. work got in the way.

yes it is a CIFS/SMB share on my unraid server.

yes i decreased the file caching.
i now alos did the same thing to network caching, unfortunatley the results did not change

edit:
i have confirmed with the flatpak version, that network caching is set to 300ms in 3.0.23 flatpak by default. while it is set to 1000ms on 3.0.21 installed from repo.

What is the network between the two?

I realise WiFi should be more than adequate for this, but maybe there’s a problem there. (If so, how many walls/floors? Forcing 2.5 GHz, and other optimisations.)


Also..

I always found VLC clunky, and I have ever only used it if I was forced on to a Windows workstation. It was kind of the only option for Windows back way when.

For Linux, my go-to was always, no X11 needed: mplayer.

And I still use it. But if you want a GUI around it, you will want the package smplayer.

You have a few options other than VLC that might be worth trying. Some people swear by mpv (or mpv based players), but I have nothing but problems with them.

I may go to smplayer out of habit, but I miss it if I switch! And it is definitely faster than VLC!

Some may not be as feature rich, but many have their advantages.

Might be worth a try..

1 Like

As mentioned elsewhere on the Forum, for me, it’s VLC for DVDs and their .ISOs since the menus and features are handled correctly; smplayer for everything else. :cat_face:

For DVDs, I personally prefer to rip them to my hard drive so I can avoid having to sit through all the rubbish the manufacturers insist on forcing on viewers before the interesting stuff. It also means I can easily make backup copies too.

MakeMKV does a lovely job for DVDs as well as Bluerays. Proprietary, but currently free. Then Smplayer (using mpv) is great for playing the results.

1 Like

thank you all for the suggestions.
i will give smplayer a try. For me good subtitle handling is very important, i was always happy with VLC in this regard so i never considered switching.

my network setup is a bit difficul to explain without drawing a network diagram :sweat_smile:
however, i know this is not an issue. since one of clients is connected to the same switch with gigabit ethernet ports.

1 Like

Same!

Key Shortcut
J Next subtitle
Shift+J Previous subtitle
V Subtitle visibility
Z Subtitle delay decrease
X Subtitle delay increase
R Move subtitle up
T Move subtitle down
Shift+R Decrease subtitle size
Shift+T Increase subtitle size
G Previous line in subtitles
Y Next line in subtlites
Ctrl+ Seek to next subtitle
Ctrl+ Seek to previous subtitle

Or use the GUI.

1 Like

I have also the same issue starting with the last stable update. I have a SMB and NFS shares, but the problem appears only with the files of the SMB share. I also tried with mplayer and it works ok.