Home page of this blog

Friday, September 6, 2013

How I fixed nvidia kepler video tearing in Ubuntu 12.04 Unity

Introduction


Here is  my previous rant on video tearing of GTX 650 card in linux

Tearing


With default nouveau driver in Ubuntu videos teared badly. After installing proprietary nvidia driver videos teared badly. 

I guess the reason of tearing is graphics card is way faster in delivering frames which monitor can't match to display. In technical terms it is called a sync issue or whatever. See Screen Tearing in Wikipedia to know more

The Fix

You should be running proprietary nvidia driver in linux, nouveau won't help

It is simple fix asking the window manager to request fullscreen repainting whenever some repaint is required. With KDE 4.11 this option is there.

In Unity this is done as follows in screenshots

Install Compiz settings


sudo apt-get install compizconfig-settings-manager


Search Compiz in unity dash



Launch Compiz and select Utility --> Workarounds


Tick "Force fullscreen redraws (buffer swap) on repaint"


By default vsync is enabled in nvidia-settings, if not enable it



Now reboot and enjoy (hopefully it works for you like it did for me)

Custom 64bit Kernel 3.11 optimized for i7

Introduction


After long time, I am using Ubuntu 12.04.3 for a weeks time. Was stuck in different OS and back to Ubuntu and using Kernel 3.10 optimized for i7

Kernel 3.11

Hearing some driver improvements for open source radeon driver. Could not test it as I dont own AMD Radeon card anymore. But here I have built the kernel for someone to give it a try

For more changes about kernel 3.11 see here

I based my kernel compilation based on my earlier article with some modifications

Here is the script I used as a text file

Here are the binaries for testing 



Here is the SHA256SUMS of the above

68415b5dc7d07897dc742b84d286071b7798ea14e9a612ad7232f0515d93f467  linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb
f75e109a856bcbc14710dcf5fcb5d97d7018f72e0915342ac26a3e2e808197e5  linux-headers-3.11.0-031100-i7_3.11.0-031100.201309021735_amd64.deb
9ed16a8dfba297c30b5d4bd46d351bc8c31fa5f0bcbac1edd5cd4a2a90f6f7a5  linux-image-3.11.0-031100-i7_3.11.0-031100.201309021735_amd64.deb
c7afa0bae884231b114a517838dd1699815a478c4e6aa5fe99427aee121f2bfb  Kernel3.11Build.txt

The script is self explanatory (and boring to explain)

Screenshot