Graphicdaemon - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "== Introduction == This is the configuration page for the '''Ubuntu''' partition on '''Graphicdaemon'''. == Configuration Files == All configuration files can be found ...")
 
 
(10 intermediate revisions by the same user not shown)
Line 22: Line 22:
|'''acpi''' (<tt>acpi</tt>)||
|'''acpi''' (<tt>acpi</tt>)||
|-
|-
|'''nvidia''' (<tt>bumblebee nvidia-337 wine</tt>)||
|'''nvidia''' (<tt>bumblebee-nvidia nvidia-346 nvidia-libopencl1-346 nvidia-prime</tt>)||New attempt using repo <tt>http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/</tt>
* Installed packages:
$ dpkg -l | egrep "nvidia|bumble"
ii bumblebee
ii bumblebee-nvidia
ii nvidia-346
ii nvidia-346-uvm
ii nvidia-libopencl1-346
ii nvidia-opencl-icd-346
ii nvidia-prime
ii nvidia-settings
* Make sure that prime use ''intel'':
sudo prime-select intel
|-
|-
|'''unity tweak tool''' (<tt>unity-tweak-tool</tt>)||from ''Software Center''
|'''unity tweak tool''' (<tt>unity-tweak-tool</tt>)||from ''Software Center''
|-
|-
|'''skype''' (<tt>skype</tt>)||
|'''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
|}
|}
|}


Line 61: Line 84:
* '''Appearance''' &mdash; behavior &mdash; Enable workspaces
* '''Appearance''' &mdash; behavior &mdash; Enable workspaces
* '''Compiz''' &mdash; switcher &mdash; Disable show desktop in the switcher
* '''Compiz''' &mdash; switcher &mdash; Disable show desktop in the switcher
* '''Compiz''' &mdash; Unity &mdash; Disable ''Key to show the menu bar while pressed''
* '''Compiz''' &mdash; Unity &mdash; Disable ''Key to show the HUD when tapped''
* '''Compiz''' &mdash; Unity &mdash; Disable ''Key to show the Dash, Launcher and Help Overlay''
* '''Compiz''' &mdash; Enable ''Static Application Switcher'' (disable unity switcher)
* '''Unity Tweak''' &mdash; Enable top right hot corners = ''Spread all windows''
|-
|-
|Miscellaneous||
|Miscellaneous||
Line 89: Line 117:


=== Issues ===
=== Issues ===
See [[Common Issues]].
<ul>
<li> '''Issue''' — Fn-F2 (WLAN / Bluetooth switch) and Fn-F5/Fn-F6 (screen brightness) do not work.</li>
* ('''NOK''') Add <code>acpi_osi='!Windows 2012'</code> to ''/etc/default/grub'' (see [https://help.ubuntu.com/community/AsusZenbookPrime], and also [https://bbs.archlinux.org/viewtopic.php?id=147804], [https://bugs.freedesktop.org/show_bug.cgi?id=45452], [http://msdn.microsoft.com/en-us/library/windows/hardware/jj159305.aspx]) &mdash; Fn-F5/F6 still do not work, but Fn-F2 does work now!!!
* ('''NOK''') Add <code>acpi=</code> to ''/etc/default/grub'' (as per [https://wiki.debian.org/InstallingDebianOn/Asus/N750JV/Jessie]) &mdash; Does not work either (even got '''black screen''' &rarr; {{kb|Ctrl-Alt-BS}} to get out)
* ({{green|'''Solved'''}}) Add <code>acpi_osi=</code> to ''/etc/default/grub'' (see guide N550JV)

<li> '''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-337 bumblebee wine
* Reboot. Multiple issues from ''apport'' (&rarr; 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.
* Purge xorg-edgers to see if we can revert back to previous situation:
sudo ppa-purge xorg-edgers
sudo apt-get autoremove nvidia-prime
* ({{green|'''Solved'''}}) Install ''bumblebee'' and ''nvidia drivers v319'' (see guide N550JV)

<li> '''Issue''' — '''Minecraft''' &mdash; Graphics glitches, missing limbs on intel card.</li>
* (NOK) Changing settings, to no avail: Graphics: Fast / Fancy, View Bobbing: ON / OFF: Advanced OpenGL: OFF/Fast/Fancy
* (NOK) Tried these VM, and they have glitches: OpenJDK 7 64, Oracle JDK 7 64.
* (NOK) From [http://www.mpgh.net/forum/422-minecraft-tutorials/716970-optifine-ubuntu-linux.html].
** Run MC with <code>-Xmx512M</code>
** Run in fullscreen
** OpenGL / Multicore settings: Smooth FPS: On, Load Far: Off, Chunk UpF: 2, Lazy CL: On, Smooth World: On, Preload Chunks: Off, Dynamic Updates: On
** Setting priority of proSeems to workcess ''java'' to ''high'' (aka <code>sudo -k nice -n -5 su -c "..." -USER</code>, see [http://askubuntu.com/questions/178491/nice-command-without-root-privileges])
* (NOK) Disable ''compiz'' before launching minecraft (see [http://ubuntuforums.org/showthread.php?t=1741768])
sudo apt-get install metacity
metacity --replace && ./launch-minecraft-now && unity --replace &
* Check more solution from google query "''optifine missing limbs''" &mdash; ...
* ({{green|Alt. solution}}) Disable '''OptiFine'''
* ({{green|'''Solved'''}}) &mdash; use '''NVIDIA''' OpenGL (via ''bumblebee'')

<li> '''{{red|Issue}}''' — Image really dark</li>
* Use <code>xrandr</code> (see [http://askubuntu.com/questions/371630/change-contrast-gamma-in-external-monitor]):
<source lang=bash>
xrandr --output eDP1 --gamma 1.4:1.4:1.4
xrandr --verbose
</source>
* '''Q?''' &mdash; How to make that settings permanent (setting is lost after quit / restart)?
** I could make a custom script per seat, that is run right before launching minecraft.

<li> '''Issue''' — '''Minecraft''' &mdash; FPS stuck at 60 FPS.</li>
* {{green|'''Solved'''}} &mdash; This is due to vsync. Disable it with env. var ''vblank_mode'' ([http://stackoverflow.com/questions/17196117/disable-vertical-sync-for-glxgears]):
vblank_mode=0 java ... # Only for one app
echo "0/SyncToVBlank=0" >> ~/.nvidia-settings-rc # ... or for all apps
* (or uncheck the ''nvidia-settings'' option at ''X Screen 0 / OpenGL Settings / Sync to VBlank'')

<li> '''{{red|Issue}}''' — '''Bluetooth''' &mdash; Bluetooth sometimes not active, even with nvidia disabled</li>
[ 13.663135] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
[ 13.663173] Bluetooth: Loading patch file failed
[ 13.663198] ath3k: probe of 3-5:1.0 failed with error -110
* Filed bug [https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1260825 1260825] in Launchpad (see also [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1102622 1102622], [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884 1024884], [https://bugs.launchpad.net/bugs/1237296 1237296]).
* Work-around: unload / reload ''ath3k''
sudo modprobe -r aht3k; sleep 1; sudo modprobe ath3k # work-around - NOT WORKING

<li> '''{{red|Issue}}''' — '''Keyboard layout''' &mdash; BE layout not applied on login</li>
* Adding ''.xinitrc'' to setxkbmap be (to fix keepassx issue) &mdash; this might fix the problem, or more precisely hide the problem.

<li> '''{{red|Issue}}''' — '''Boot''' &mdash; Boot stuck right after grub. empty screen. no disk activity.</li>
* We can trigger disk activity 2x by pressing ''return'' key.

<li> '''Done''' — 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>
* We have version '''204'''. Updated to version '''207'''

<li> '''{{red|To Do}}''' — Many errors in '''dmesg'''.</li>
[ 12.493360] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 12.493374] lpc_ich: Resource conflict(s) found affecting gpio_ich
...

<li> '''{{red|To Do}}''' — '''Minecraft''' &mdash; Do we get more FPS if we disable compiz (or any compositor, like ''metacity'')?</li>

<li> '''{{red|To Do}}''' — Check install guides above.</li>

<li> '''{{red|To Do}}''' — Try latest nvidia drivers from xorg-edgers.</li>

<li> '''{{red|To Do}}''' — Backup</li>
* Backup Windows Rescue / System Image DVD (to mnemosyne)
* Backup Restore / Recovery partition (to mnemosyne)
* Backup current windows partition (locally)
* Backup partition table, EFI partition, etc.
<li> '''{{red|To Do}}''' — Install better temperature management from Intel, see [http://www.webupd8.org/2014/04/prevent-your-laptop-from-overheating.html]</li>
<li> '''{{red|Issue}}''' &mdash; The battery led is blinking orange. This usually indicates an issue with the Power Management unit in the laptop. See this post [http://ubuntuforums.org/showthread.php?t=2176915&page=3]. One solution apparently is to press the power button for at least 5-7 seconds until the PM unit is reset (led stops blinking). Another solution is to remove the battery, wait 10-20 second, and reinsert the battery; but this requires opening the laptop case.
<li> '''{{red|Issue}}''' &mdash; XBMC touch interface does not work in v13 Gotham RC1. Filed as bug [http://trac.xbmc.org/ticket/15184 15184].
</ul>

Latest revision as of 19:20, 30 June 2015

Introduction

This is the configuration page for the Ubuntu partition on Graphicdaemon.

Configuration Files

All configuration files can be found here.

Installed Applications

Common applications

See Common configuration for Linux.

Essential

Metacity (metacity)
  • To replace compiz when running games
Oracle JDK 7 (oracle-java7-installer, repo webupd8team) See Linux_Software#Oracle / Sun Java
ack-grep (ack-grep)
acpi (acpi)
nvidia (bumblebee-nvidia nvidia-346 nvidia-libopencl1-346 nvidia-prime) New attempt using repo http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/
  • Installed packages:
$ dpkg -l | egrep "nvidia|bumble"
ii  bumblebee
ii  bumblebee-nvidia
ii  nvidia-346
ii  nvidia-346-uvm
ii  nvidia-libopencl1-346
ii  nvidia-opencl-icd-346
ii  nvidia-prime
ii  nvidia-settings
  • Make sure that prime use intel:

sudo prime-select intel

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:

Name SSH Key Agent
Command /usr/bin/gnome-keyring-daemon --start --components=ssh
Comment GNOME Keyring: SSH Agent

Local

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Uninstalled

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

System Settings

1st install
  • TBC
File system
  • TBC
Network
  • TBC
Preferences
  • Appearance — Look — Launcher Icon Size = 32
  • Appearance — behavior — Auto-hide the launcher
  • Appearance — behavior — Enable workspaces
  • Compiz — switcher — Disable show desktop in the switcher
  • Compiz — Unity — Disable Key to show the menu bar while pressed
  • Compiz — Unity — Disable Key to show the HUD when tapped
  • Compiz — Unity — Disable Key to show the Dash, Launcher and Help Overlay
  • Compiz — Enable Static Application Switcher (disable unity switcher)
  • Unity Tweak — Enable top right hot corners = Spread all windows
Miscellaneous
  • TBC

To Do

References

# 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)
# --- below, not done yet
# 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

Issues

See Common Issues.