Zyratastic - Ubuntu

From miki
Revision as of 18:33, 13 December 2013 by Mip (talk | contribs) (→‎Issues)
Jump to navigation Jump to search

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)
  • 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-319 nvidia-settings-319)
unity tweak tool (unity-tweak-tool) from Software Center
skype (skype)

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
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)
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

  • Issue — Fn-F2 (WLAN / Bluetooth switch) and Fn-F5/Fn-F6 (screen brightness) do not work.
    • (NOK) Add acpi_osi='!Windows 2012' to /etc/default/grub (see [1], and also [2], [3], [4]) — Fn-F5/F6 still do not work, but Fn-F2 does work now!!!
    • (NOK) Add acpi= to /etc/default/grub (as per [5]) — Does not work either (even got black screenCtrl-Alt-BS to get out)
    • (Solved) Add acpi_osi= to /etc/default/grub (see guide N550JV)
  • Issue — NVidia GT750M card not detected.
  • 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.
    • Purge xorg-edgers to see if we can revert back to previous situation:
    sudo ppa-purge xorg-edgers sudo apt-get autoremove nvidia-prime
    • (Solved) Install bumblebee and nvidia drivers v319 (see guide N550JV)
  • IssueMinecraft — Graphics glitches, missing limbs on intel card.
    • (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 [7].
      • Run MC with -Xmx512M
      • 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 sudo -k nice -n -5 su -c "..." -USER, see [8])
    • (NOK) Disable compiz before launching minecraft (see [9])
    sudo apt-get install metacity metacity --replace && ./launch-minecraft-now && unity --replace &
    • Check more solution from google query "optifine missing limbs" — ...
    • (Alt. solution) Disable OptiFine
    • (Solved) — use NVIDIA OpenGL (via bumblebee)
  • Issue — Image really dark
    • Use xrandr (see [10]):
    xrandr --output eDP1 --gamma 1.4:1.4:1.4
    xrandr --verbose
    
    • Q? — 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.
  • IssueMinecraft — FPS stuck at 60 FPS.
    • Solved — This is due to vsync. Disable it with env. var vblank_mode ([11]):
    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)
  • IssueBluetooth — Bluetooth sometimes not active, even with nvidia disabled
  • [ 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 1260825 in Launchpad, same as bug 1102622 in launchpad (similar: bug 1024884).
    • Work-around: unload / reload ath3k
    sudo modprobe -r aht3k; sleep 1; sudo modprobe ath3k # work-around - NOT WORKING
  • IssueKeyboard layout — BE layout not applied on login
  • IssueBoot — Boot stuck right after grub. empty screen. no disk activity.
    • We can trigger disk activity 2x by pressing return key.
  • Done — Check BIOS version and upgrade if necessary (see [12])
    • We have version 204. Updated to version 207
  • To Do — Many errors in dmesg.
  • [ 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 ...
  • To DoMinecraft — Do we get more FPS if we disable compiz (or any compositor, like metacity)?
  • To Do — Check install guides above.
  • To Do — Try latest nvidia drivers from xorg-edgers.
  • To Do — Backup
    • 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.