The latest Xorg 1.19 has been released and it is said to solve the tearing issues with Nvidia + Intel Optimus setups. I have been struggling with that a lot and can't wait to try it.

I wonder: Are there any update guides on how to update xserver + kernel for the new Xorg release? I failed to find any documentation on that. I realize I can download the Xorg 1.19 and execute the install, however not knowing the documentation, I am not sure how to roll back in case of catastrophic failure.

Additionally, I am on kernel 4.4 - I realize that the new Optimus support needs (I believe) kernel 4.5 or higher. If wanting to install it on my local machine, I believe that the download compiles it on that machine before installing it. Does that mean that I should install the kernel before installing Xorg so that the compilation would be against the kernel that I am running?

| improve this question | | | | |
  • As soon as it is in the repos, sudo apt-get dist-upgrade and sudo apt-get upgrade will install the new xserver and kernel. – You'reAGitForNotUsingGit Nov 25 '16 at 12:41
  • 17.04 will have it, maybe. – fkraiem Nov 25 '16 at 13:15
  • Are you on Kernel 4.4.0-47? It has no chrome screen tearing for me using the Intel setting in Optimus. – WinEunuuchs2Unix Nov 25 '16 at 13:19
  • Yes - 47, intel is not the problem. But i can't use the nvidia card at all. I would just like to get it working. 17.04 is a long way to go for an update that is technically available now. And who knows if/when it will be added to the repos. – pandaadb Nov 25 '16 at 16:36
  • 1
    There is a solution finally here on how to install xorg 1.19 in ubuntu: ubuntuforums.org/… – vikram99 Jan 14 '17 at 18:55

Update: Now available for 16.04.2 users.

You need to enable this repository for latest xserver:


It will give you xserver 1.19.3 assuming you were already using 16.04.2 (HWE)

You also need an nvidia driver with the May bug fixes. I'm using the 375.66 driver from here


Do a complete purge and reinstall of the nvidia drivers. e.g.

sudo apt purge nvidia*

and then reinstall, perhaps by the GUI additional drivers tool. Then make a file /etc/modprobe.d/zz-nvidia-modeset.conf with contents:

options nvidia_375_drm modeset=1

make sure you have Optimus enabled in Bios (it's "Hybrid" in my Thinkpad P50), and off you go. Definitely no more flicker. I don't know how stable it is yet, time will tell.

Long and detailed answer here: Screen tearing on Nvidia GTX960m

| improve this answer | | | | |
  • the hope is that it'll all just work in April for 17.04 – pandaadb Mar 22 '17 at 17:26
  • Currently, the nvidia drivers, PRIME sync and kernel 4.10 don't work, according to the linux dev forum at nvidia – Tim Richardson Mar 28 '17 at 0:28
  • Still interesting. I remember that the forum mentioned a few custom configurations for that. I ordered a new laptop and will check this hopefully in the next 2-3 weeks to see if i can get it working with a fresh install – pandaadb Apr 6 '17 at 15:54
  • as of today, everything you need is in 17.04 although you still need to made a change to modprobe.d . Instructions are in that nvidia forum. Some users say it crashes and that it uses more CPU than before so there are perhaps some kinks to iron out. But there is definitely no tearing; it works. – Tim Richardson Apr 8 '17 at 5:35
  • 1
    So the first round of patches regarding Prime Sync is released to the May 2016 LTS driver (375) and the updated package is in the graphics PPA: good news for 17.04 users. – Tim Richardson May 10 '17 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.