Xorg Intel Video

Turns out, Xorg is now using modesetting driver by default. I’ve been trying to get VAAPI to work for ages but could not figure out why it was not working! All I needed to do was to switch to intel driver. I was hoping that the xorg.conf-less configuration would pick it up automatically but it does not. Give it a hint:

Manually create /usr/share/X11/xorg.conf.d/20-intel.conf

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "TearFree" "true"


apt-get install i965-va-driver libvdpau-va-gl1

VLC and mpv take advantage of VAAPI accelerated decoding, but mplayer does not seem to do that even though it reports VDPAU/VAAPI is active. Anyway, video play back is much better and there is no tear at all. Also might be a good idea to add the following kernel boot parameters (worked fine on Dell E6420):

i915.enable_fbc=1 i915.enable_psr=1 i915.disable_power_well=0

I also have another laptop, a Dell E6440, and had to enable_fbc only because of stability problems with other parameters:


Verify changes with systool -va -m i915 after reboot. Scrolling should become much smoother and there should be no video tearing at all. For really smooth video playback of 23.976 or 24 fps video on a 60Hz screen, use MPV:

mpv --video-sync=display-resample --interpolation --tscale=oversample video.mkv

Have a play with tscale parameter as well. My favourite is --tscale=catmull_rom as I find it more realistic. Also, the following parameters seem to give slightly better results (or might as well be placebo):

comments powered by Disqus