Visual tearing, stutter jerky video, Intel video card, linux, ubuntu 15.10, i915

Hmm, so your getting bad video playback fullscreen using an onboard Intel GPU. Maybe yor using something like Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller?

hwinfo --gfx

you might need to install hwinfo, it is in the repo

sudo apt-get install hwinfo

Get the Intel Linux drivers from the official Intel open source drivers center here

Follow the instructions on that page, especially the part about the signatures.

once installed, and rebooted, try adding the line

Option "TearFree" "true"

to your /etc/X11/xorg.conf file and reboot.

If your still having playback issues, then that will be due to the default video player ‘Video’ (totem).


sudo apt-get install mplayer smplayer

Right click your video and ‘Open with’ smplayer.

now enjoy smooth full screen video playback.

Some people prefer VLC.

Also of note is the GPU’s I mention above do not have any hardware video decoding so might still struggle with full on HD video. There’s nothing you can really do about that.

Please do leave a comment if you find a better solution, or this works for you on different hardware.

Wine 1.7, WoW, Warcraft, Battlenet, white screen, performance, Linux

The current 5.x release of Battlenet launcher has given many linux wine users a headache with some suffering a white or blank/black screen.


  1. Under the Applications tab click ‘Add application’
  2. Browse to ‘program files (x86)\’, or wherever you have battlenet launcher installed, select ‘’ and click ‘Open’.
  3. Back in the main window ‘applications’ tab, select the new entry ‘’.
  4. Below, in the ‘Windows version’ dropdown menu select ‘Windows XP’
  5. Click ‘Apply’.

Blank screen problem should now be fixed.

For better performance of WoW, there are 2 methods, one is to use opengl and the other is to use D3D9 but using a small trick to provide much better performance. Opengl works fine and provides much improved frame rate without any further messing about, but you might not like the visuals. Regardless, the first step to either method is to first switch WoW to using opengl mode.

Using gedit or notepad open the ‘WTF\configure.wft’ file in the World of Warcraft folder and change the line
SET gxApi "D3D9"
SET gxApi "opengl"
and save.

Try WoW now. You might need to set your resolution and full screen mode again. Your frame rate should be much improved, as good, if not better than if you were using windows.

if you don’t like the changed visuals you get in opengl mode and want the nice shiny D3D9 look without sacrificing too much performance.

After first making the change above,

  1. Set your in game video options as you like.
  2. Restart the game.
  3. Use the in game system menu -> Advanced and set the Graphics API to ‘DirectX 9’.
  4. Restart WoW.

Now you will have slightly lower frame rate than opengl mode, but much better frame rate and the improved visuals of D3D9 mode than you did before the switch to opengl.


Apart from setting your resolution and window/fullscreen mode DO NOT change any other video settings. If you do your frame rate will drop substantially and you will have to repeat the switch to opengl and back again.

To get the best visuals V performance you may have to change video settings then switch to opengl and back to directx 9 untill you find the best settings for you.

Also worth a try is replacing Wine 1.7 with Wine-staging. This offers better performance out of the box and the above works for even better frame rates. However; this version of wine is aimed at gaming so may well break any other applications you are using wine for. If you are going to try it out, once installed use winecfg and go to the staging tab. Tick everything.

Before doing your first winecfg it might be worth making sure you already have:

sudo apt-get install winbind libp11-kit-gnome-keyring:i386 p11-kit-modules:i386

Stuttery, jerky video, Totem, Ubuntu, Mint 17.x, AMD, 64 bit.

This guide is for people getting stuttery or jerky playback of videos, full screen or not, using Ubunutu 14.x or derivatives ( Linux Mint 17.x etc ) and using an AMD video card

Firstly make sure you are using the propriety drivers:

sudo apt-get install fglrx-updates fglrx-amdcccle-updates

and reboot

Install vainfo:

sudo apt-get install vainfo

Now look at the vainfo output, it will probably look like:

# sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

So your missing the link to the acceleration driver. Do:

sudo ln -s /usr/lib/ /usr/lib/x86_64-linux-gnu/dri/

Now your vainfo should look like:

# sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: AMD MMD 1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileMPEG4Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD

Your all set. Video should now play smoothly. IF your still experiencing poor video and you are using Totem player – read on.

I don’t find Totem enough for my needs as a video player so I suggest installing mplayer/smplayer:

sudo apt-get install mplayer smplayer

You can make this your default player for video files from the right click menu of any of your videos.

Some also prefer VLC player.