I'm coming from Windows where I was using Media Player Classic + EVR render + Reclock, a combination that works flawlessly. I had to spend some time on Linux until I had everything working so I want to share with you. I hope you can get everything working too.

---Mpv + SMPlayer---
We need to pick a good player that syncs the FPS of the video file with the refresh rate of the display, so Mpv (a fork of MPlayer) is the answer -- up to this moment MPlayer can't handle this. You can download Mpv xzm package here. Although it's an excellent player, it lacks a good GUI, but we can use SMPlayer as a front-end. Here's a link to SMPlayer xzm package.
After installing both, open SMPlayer and go to Options -> Preferences -> General -> Multimedia engine and select 'mpv'. In Advanced -> MPlayer/mpv -> Options you should put this: --video-sync=display-resample (a really good explanation here: https://github.com/mpv-player/mpv/wiki/ ... ronization). In my experience (i7 860 + GTX 650 Ti) I noticed that audio is a little bit out of sync with this configuration, so I also put this: --audio-delay=0.08
Also, we need to disable XFCE display compositor on 'Window Manager Tweaks' settings.
---Nvidia driver---
You can skip this section if everything works for you. But if you still can't get rid of tearing, try to put this command on Section "Screen" inside the file /etc/X11/xorg.conf (or usb stick/porteus/rootcopy/etc/X11/xorg.conf if you want to persist after boot):
Code: Select all
Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
In my experience the native XFCE compositor doesn't run on fullscreen even using Mpv parameter --x11-bypass-compositor=never, which is a pity once outside fullscreen everything works flawlessly. So I had to pick another compositor called Compton.
After installing Compton you need to create an empty file /home/guest/.config/compton.conf (if you're not using 'guest' as your current user, change the path accordingly), and put this inside:
Code: Select all
backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl-swc";
If you still notice some tearing, try this on SMPlayer -> Options -> Preferences -> Advanced -> MPlayer/mpv -> Options: --x11-bypass-compositor=never
---Notes---
Of course, before opening a video you should set your display refresh rate to a value that is a multiple (or at least as close as possible) of the video file. Ex.: your video file has 23.976 FPS so you should set your display to 24 Hz, or you have a video file with 25 FPS so you should set your display to 50 Hz.
If you have an old machine you can try a different Mpv render. To change it you have to open SMPlayer and go to Options -> Preferences -> General -> Output driver and finally select the render you want ('opengl' is Mpv's default). I did some quick testing on and old machine with a Intel Pentium dual-core + IntelHD graphics and 'vaapi' seems to be the best render.
---Future upgrades---
If someone finds a way to keep XFCE compositor on during fullscreen, it would be great to add this information here.
