Zyratastic - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
(Update to vivid kernel (3.19) and nvidia-352 drivers (solve black screen issue)) |
|||
(One intermediate revision by the same user not shown) | |||
Line 50: | Line 50: | ||
Upgrade to Kernel 3.19 and new X server. See [https://wiki.ubuntu.com/Kernel/LTSEnablementStack]: |
Upgrade to Kernel 3.19 and new X server. See [https://wiki.ubuntu.com/Kernel/LTSEnablementStack]: |
||
<source lang=bash> |
<source lang=bash> |
||
sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid |
sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid \ |
||
xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid |
|||
</source> |
</source> |
||
|- |
|- |
||
|'''Nvidia |
|'''Nvidia''' |
||
| |
| |
||
'''Update to Ubuntu 16.04 Xenial''' |
|||
* Again the release update breaks nvidia. |
|||
* This time we install the default nvidia driver, no bumblebee: |
|||
<source lang=bash> |
|||
sudo apt-get purge nvidia* bumblebee |
|||
sudo apt-get install nvidia-361 nvidia-prime |
|||
# reboot |
|||
glxinfo |
|||
glxgears |
|||
</source> |
|||
;Old release (14.04): |
|||
Recent update broke the nvidia installation. Instead of installing back again nvidia-331, I followed Osgyan's guide (see below) to install latest nvidia drivers: |
Recent update broke the nvidia installation. Instead of installing back again nvidia-331, I followed Osgyan's guide (see below) to install latest nvidia drivers: |
||
<source lang=bash> |
<source lang=bash> |
Latest revision as of 21:36, 5 September 2016
Introduction
This is the configuration page for the Ubuntu partition on Zyratastic.
Configuration Files
All configuration files can be found here.
Installed Applications
Common applications
See Common configuration for Linux.
Essential
Metacity (metacity) |
| ||||||
Oracle JDK 7 (oracle-java7-installer, repo webupd8team) | See Linux_Software#Oracle / Sun Java | ||||||
ack-grep (ack-grep) | |||||||
acpi (acpi) | |||||||
nvidia (bumblebee-nvidia nvidia-331 nvidia-settings-331) | Packages installed as 2015/02/19
bumblebee 3.2.1-5 bumblebee-nvidia 3.2.1-5 nvidia-331-updates 331.113-0ubuntu0.0.4 nvidia-libopencl1-331-updates 331.38-0ubuntu7.1 nvidia-opencl-icd-331-updates 331.113-0ubuntu0.0.4 nvidia-settings 331.20-0ubuntu8 | ||||||
unity tweak tool (unity-tweak-tool) | from Software Center | ||||||
skype (skype) | |||||||
SSH (ssh) |
Enable GNOME Keyring at startup such that SSH key is cached at login. In Startup Application, create launcher:
| ||||||
LTS Enablement Stacks |
Upgrade to Kernel 3.19 and new X server. See [1]: sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid \
xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid
| ||||||
Nvidia |
Update to Ubuntu 16.04 Xenial
sudo apt-get purge nvidia* bumblebee
sudo apt-get install nvidia-361 nvidia-prime
# reboot
glxinfo
glxgears
Recent update broke the nvidia installation. Instead of installing back again nvidia-331, I followed Osgyan's guide (see below) to install latest nvidia drivers: # First purge current installation
sudo apt-get remove --auto-remove bumblebee* nvidia*
sudo apt-get purge --auto-remove bumblebee* nvidia*
# Add ppa for latest nvidia drivers
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-add-repository ppa:graphics-drivers/ppa
sudo apt-get update
# Update current installation
sudo apt-get upgrade && sudo apt-get dist-upgrade
# Install nvidia-352
sudo apt-get install bumblebee bumblebee-nvidia primus nvidia-352
sudo gpasswd -a $USER bumblebee
#sudo systemctl enable bumblebeed # U15.04 only - not necessary here
Then enable modules i915 and bbswitch (necessary to switch on/off the nvidia card): sudo vi /etc/modules
# Add the lines:
#
# i915
# bbswitch
Edit bumblebee configuration file: sudo vi /etc/bumblebee/bumblebee.conf
# Line 22:
# Driver=nvidia
# line 55:
# KernelDriver=nvidia-352
# line 58:
# LibraryPath=/usr/lib/nvidia-352:/usr/lib32/nvidia-352
# line 61:
# XorgModulePath=/usr/lib/nvidia-349/xorg,/usr/lib/xorg/modules
If not done yet, blacklist the nvidia module: # sudo vi /etc/modprobe.d/bumblebee.conf # Not necessary, already done
# Add the below lines to the end:
# #349
# blacklist nvidia-349
Reboot and check that nvidia driver is in use: sudo apt-get install mesa-utils
primusrun glxinfo | grep OpenGL
|
Local
Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
Uninstalled
Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
System Settings
1st install |
|
File system |
|
Network |
|
Preferences |
|
Miscellaneous |
|
To Do
References
- Install guide AsusZenbookPrime
- Install guide N750JV
- Install guide N550JV
# DONE
sudo apt-get install acpi # acpi util, to access acpi info from command line
sudo vi /etc/default/grub # GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="
sudo update-grub
sudo apt-get install bumblebee-nvidia nvidia-319 nvidia-settings-319
# Hopefully the following will fix our bluetooth issues (patch failure)
sudo vi /etc/bluetooth/main.conf # EnableGatt = true
sudo vi /etc/modprobe.d/ath9k.conf # options ath9k btcoex_enable=1
sudo apt-get install bluetooth
- Google query "ubuntu asus n550jv"
- Ubuntu 13.10 guide top things
- Ubuntu 13.10 guide tweak things
- Ubuntu 13.10 guide 15 things
- Osgyan — How to Install the latest Nvidia Driver in Ubuntu 14.04.2/14.10/15/04 via Bumblebee
- Osgyan — How does Bumblebee work with Optimus NVIDIA GPU
- This guide explains the reasons of the whitelisting of modules i915 and bbswitch, and why the nvidia module must be blacklisted.
Issues
See Common Issues.