Zyratastic - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
(→To Do) |
|||
(41 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
== Configuration Files == |
== Configuration Files == |
||
All configuration files can be found [[{{PAGENAME}} - Files|here]]. |
All configuration files can be found [[{{PAGENAME}} - Files|here]]. |
||
== Repositories == |
|||
To be completed. |
|||
== Installed Applications == |
== Installed Applications == |
||
Line 16: | Line 13: | ||
{| class="install_simple_log" |
{| class="install_simple_log" |
||
|- |
|- |
||
|'''Metacity''' (<tt>metacity</tt>)|| |
|||
|'''Application''' (<tt>package</tt>)||<small>[YYYY-MM-DD]</small> Update<br/>Additional configuration settings |
|||
* To replace ''compiz'' when running games |
|||
|- |
|||
|'''Oracle JDK 7''' (<tt>oracle-java7-installer</tt>, repo ''webupd8team'')||See [[Linux_Software#Oracle / Sun Java]] |
|||
|- |
|||
|'''ack-grep''' (<tt>ack-grep</tt>)|| |
|||
|- |
|||
|'''acpi''' (<tt>acpi</tt>)|| |
|||
|- |
|||
|'''nvidia''' (<tt>bumblebee-nvidia nvidia-331 nvidia-settings-331</tt>)||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''' (<tt>unity-tweak-tool</tt>)||from ''Software Center'' |
|||
|- |
|||
|'''skype''' (<tt>skype</tt>)|| |
|||
|- |
|||
|'''SSH''' (<tt>ssh</tt>)|| |
|||
Enable GNOME Keyring at startup such that SSH key is cached at login. In ''Startup Application'', create launcher: |
|||
{| |
|||
|- |
|||
|Name||SSH Key Agent |
|||
|- |
|||
|Command||<code>/usr/bin/gnome-keyring-daemon --start --components=ssh</code> |
|||
|- |
|||
|Comment||GNOME Keyring: SSH Agent |
|||
|} |
|||
|- |
|||
|'''LTS Enablement Stacks''' |
|||
| |
|||
Upgrade to Kernel 3.19 and new X server. See [https://wiki.ubuntu.com/Kernel/LTSEnablementStack]: |
|||
<source lang=bash> |
|||
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> |
|||
|- |
|||
|'''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: |
|||
<source lang=bash> |
|||
# 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 |
|||
</source> |
|||
Then enable modules ''i915'' and ''bbswitch'' (necessary to switch on/off the nvidia card): |
|||
<source lang=bash> |
|||
sudo vi /etc/modules |
|||
# Add the lines: |
|||
# |
|||
# i915 |
|||
# bbswitch |
|||
</source> |
|||
Edit bumblebee configuration file: |
|||
<source lang=bash> |
|||
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 |
|||
</source> |
|||
If not done yet, blacklist the nvidia module: |
|||
<source lang=bash> |
|||
# sudo vi /etc/modprobe.d/bumblebee.conf # Not necessary, already done |
|||
# Add the below lines to the end: |
|||
# #349 |
|||
# blacklist nvidia-349 |
|||
</source> |
|||
Reboot and check that nvidia driver is in use: |
|||
<source lang=bash> |
|||
sudo apt-get install mesa-utils |
|||
primusrun glxinfo | grep OpenGL |
|||
</source> |
|||
|} |
|} |
||
=== Local |
=== Local === |
||
{| class="install_simple_log" |
{| class="install_simple_log" |
||
Line 33: | Line 131: | ||
|} |
|} |
||
== |
== System Settings == |
||
* [<tt>YYYY-MM-DD</tt>] - SETTING |
|||
{| class="install_simple_log" |
|||
== Detailed System Settings == |
|||
|- |
|||
=== 1st install === |
|||
|1st install|| |
|||
* INSTALL LOG |
|||
* TBC |
|||
|- |
|||
=== File System === |
|||
|File system|| |
|||
* To be completed |
|||
* TBC |
|||
|- |
|||
=== Network === |
|||
|Network|| |
|||
* To be completed |
|||
* TBC |
|||
|- |
|||
=== Preferences === |
|||
|Preferences|| |
|||
* To be completed |
|||
* '''Appearance''' — Look — Launcher Icon Size = 32 |
|||
* '''Appearance''' — behavior — Auto-hide the launcher |
|||
=== Users === |
|||
* '''Appearance''' — behavior — Enable workspaces |
|||
To be completed |
|||
* '''Compiz''' — switcher — Disable show desktop in the switcher |
|||
|- |
|||
|Miscellaneous|| |
|||
* TBC |
|||
|} |
|||
== To Do == |
== To Do == |
||
=== References === |
|||
* Install guide '''[https://help.ubuntu.com/community/AsusZenbookPrime AsusZenbookPrime]''' |
|||
* Install guide '''[https://wiki.debian.org/InstallingDebianOn/Asus/N750JV/Jessie N750JV]''' |
|||
* Install guide '''[http://5thpeephole.blogspot.be/2013/10/install-ubuntu-1310-in-asus-n550jv.html N550JV]''' |
|||
<source lang=bash> |
|||
# 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 |
|||
</source> |
|||
* Google query "''ubuntu asus n550jv''" |
|||
* Ubuntu 13.10 guide '''[http://smiuchin.wordpress.com/2013/10/16/top-things-to-do-after-installing-ubuntu-13-10-saucy-salamander/ top things]''' |
|||
* Ubuntu 13.10 guide '''[http://www.noobslab.com/2013/10/tweaksthings-to-do-after-install-of.html tweak things]''' |
|||
* Ubuntu 13.10 guide '''[http://www.techdrivein.com/2013/10/15-things-i-did-after-installing-ubuntu1310-saucy-salamander.html 15 things]''' |
|||
* [http://rajat-osgyan.blogspot.be/2015/05/how-to-install-latest-nvidia-driver-in.html Osgyan — How to Install the latest Nvidia Driver in Ubuntu 14.04.2/14.10/15/04 via Bumblebee] |
|||
* [http://rajat-osgyan.blogspot.in/2015/03/p-margin-bottom-0.html 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 === |
=== Issues === |
||
See [[Common Issues]]. |
|||
<ul> |
|||
<li> '''{{red|Issue}}''' — Fn-F5 and Fn-F6 for screen brightness do not work.</li> |
|||
<li> '''{{red|Issue}}''' — NVidia GT750M card not detected.</li> |
|||
* Install [https://launchpad.net/~xorg-edgers/+archive/ppa xorg-edgers] (see [http://ubuntuforums.org/showthread.php?t=2189994]) |
|||
sudo apt-add-repository ppa:xorg-edgers/ppa |
|||
sudo apt-get update |
|||
sudo apt-get install nvidia-331 nvidia-settings-331 nvidia-prime |
|||
* Reboot. Multiple issues from ''apport'' (→ disabled now) |
|||
* Nvidia card works with accelerated OpenGL, but keyboard is stuck to US layout, and Bluetooth is lost. Fonts are not rendered as usual it seems. |
|||
<li> '''{{red|To Do}}''' — Check BIOS version and upgrade if necessary (see [http://support.asus.com/download.aspx?SLanguage=en&p=3&s=529&m=N550JV&os=&hashedid=dad5aYI8mC6sfoNV])</li> |
|||
</ul> |
|||
=== Done & Fixed === |
|||
* '''{{green|Fixed}}''' — Issue description<br/>Fix description |
|||
* '''{{green|Done}}''' — Description |
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.