Moving to Xubuntu 16.04 for my personal items

Well my Home Theater PC is just about finished… I just installed samba, enabled openSSH via my SSH key, along with my other goodies. Just doing the final tweaks to smooth out video playback via xorg.conf hopefully all the settings will carry over perfectly as this the same exact GPU and such.
But my Nvidia driver is 361 instead of 358 which I was using when on 14.04.
I am just hoping I don’t have to recompile a kernel just for the “Intel Core 2 or Newer” CPU’s along with modifying the system timer from 250Hz to at least 300Hz to have a number more evenly divisible into 30FPS to equal US NTSC video vs European PAL at 25FPS, if that is the case I will bump it to a 1000Hz timer for faster responsiveness as it’s a desktop, as well as being divisible into 30 and 25 in case I take it over seas. If I have to recompile for the Home Theater I am merely going to recompile from the Ubuntu sources rather than directly from┬áMy laptop will be getting a custom kernel from though as it doesn’t have the proprietary GPU for smoother video playback

I opted for fresh reinstalls for my laptop and HTPC as I ran into issues with the upgrade and then merely reinstalled all my applications and such through my scripts, as I always keep my /home on a separate partition just in case I have to reinstall things.

I am working on upgrading my servers from 14.04LTS to 16.04LTS as well by Q2 of 2017 after lots of testing. Some servers will probably be rebuilt from scratch. However I am in no rush as we all have until 2019 for the end of life of Ubuntu 14.04 LTS to end.

Fixed Nvidia GPU settings for GNU/Linux Home Theater PC

Hello everyone, so I have a home theater PC I built myself that is running completely on GNU/Linux. So I ran into an issue at my Grandmothers house when I brought it with me, and xorg.conf would be deleted on each reboot. Plus the GPU would have significant tearing on video at 720p and 1080p. I had previously fixed the video tearing.

If you do not already have the nvidia drivers installed install them with the code below

sudo apt-get update
sudo apt-get remove nvidia-*
sudo apt-get install nvidia-361 nvidia-settings

It appears there was a bug in the Xubuntu 14.04.3 LTS I use (also applies to Ubuntu, Kubuntu, Lubuntu, and Linux Mint I believe as well) that it kept deleting it. I am pretty sure this is due to the fact I had it installed prior, so the nvidia-xconfig needed to be called again. This is easily remedied in machines with an Nvidia GPU, and the proprietary Nvidia driver by running

sudo nvidia-xconfig

This will create a barebones xorg.conf that will get it to do basic functions. Now the additions to the xorg.conf to fix video tearing for my Nvidia 720GT (1GB DDR3 by Gigabyte if wondering)

Now here is where we need to start editing xorg.conf. So bring up your favorite editor as root. In my case I like nano in terminal, notepadqq and emacs for GUI, and open xorg.conf

sudo nano /etc/X11/xorg.conf

This should now bring up your xorg.conf. So there is one section that needs two options added and two sections at the bottom that need to be added

Look for the “Device” section, and it should look similar to this with your GPU model instead of my Nvidia 720GT 1GB DDR3. Each of the “Option” additions, are one line each.

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce GT 720”
Option “RegistryDwords” “PowerMizerEnable=0x1; PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1”
Option “TripleBuffer” “True”

Add these two sections at the bottom

Section “DRI”
Mode 0666

Section “Extensions”
Option “Composite” “Enable”

After this your video should be tear free. Tested on Xubuntu GNU/Linux 14.04.3 LTS w/ custom 4.1.13 amd64 kernel, Nvidia-361 drivers, to a TV with HDMI