Common Issues: Difference between revisions

From miki
Jump to navigation Jump to search
Line 3: Line 3:
:* {{green|'''Fix'''}} Go to <tt>about:config</tt>, and set <tt>dom.event.clipboardevents.enabled</tt> to '''false''', [https://support.mozilla.org/en-US/questions/1080597]
:* {{green|'''Fix'''}} Go to <tt>about:config</tt>, and set <tt>dom.event.clipboardevents.enabled</tt> to '''false''', [https://support.mozilla.org/en-US/questions/1080597]


* '''Issue''' &mdash; Proxy does not work in Thunderbird 38 when connecting to localhost (see [[Thunderbird]]).
* {{red|'''Issue'''}} &mdash; Proxy does not work in Thunderbird 38 with IMAP when connecting to localhost (see [[Thunderbird]]).
:* Workaround is to disable the proxy. Proxy works for add-on though.


== Issues on Trusty (ALL) ==
== Issues on Trusty (ALL) ==

Revision as of 22:07, 11 June 2016

Issues on ALL (ALL)

  • Issue — Cannot paste text in Youtube comment
  • Fix Go to about:config, and set dom.event.clipboardevents.enabled to false, [1]
  • Issue — Proxy does not work in Thunderbird 38 with IMAP when connecting to localhost (see Thunderbird).
  • Workaround is to disable the proxy. Proxy works for add-on though.

Issues on Trusty (ALL)

  • Issue — Garbage tilde characters when copy-pasting in Terminator. This happens due to bracked paste mode, triggered by Midnight Commander. See my bug report bug 1350334.
    • Work-around — Run printf "\e[?2004l" in the terminal [2]
    • Fixed — See patch in referenced bug report. Waiting official update. Build locally, and update packages (need reboot, or force reload vte lib, dunno how to do)
sudo dpkg -i libvte-common_0.28.2-5ubuntu1foo2_all.deb libvte9_0.28.2-5ubuntu1foo2_amd64.deb python-vte_0.28.2-5ubuntu1foo2_amd64.deb
  • Issue — GTK warning when launching i386 applications (like acroread):
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
(acroread:5353): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(acroread:5353): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
  • Fixed — Install the following GTK libraries for i386 arch:
sudo apt-get install libcanberra-gtk-module:i386 unity-gtk2-module:i386 gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386
apt-get download overlay-scrollbar-gtk2:i386
sudo dpkg --ignore-depends overlay-scrollbar -i overlay-scrollbar-gtk*.deb
sudo vi /var/lib/dpkg/status
# Search 'Package: overlay-scrollbar-gtk2', then for the i386 package, delete 'overlay-scrollbar, ' on line 'Depends:'.
sudo apt-get install -f
  • Issue — Fonts like Calibri not rendered correctly at small size. In particular normal letter appears aliased, but ligatures are anti-aliased.
  • Fixed — The solution is to disable embedded bitmaps. See Fonts.
  • Issue — Meta-key (Alt) not working and Midnight Commander displays Press any key... after each command when in tmux session:
  • Fixed — Add the following to ~/.bash_profile and ~/.profile [3]:
# This fix meta-key support and stop mc displaying "Press any key..."
if [ $TERM = "screen" ]; then
    export TERM=xterm
fi
if [ -n "$TMUX" ]; then
    export COLORTERM=rxvt
fi

Issues on Precise (nxl67170ux)

  • IssueGit — Cannot install tileqt (tcl theme) to beautify gitk.
  • IssueTeX Live still old version (2009) — This may be the cause of errors LaTeX Font Warning: Some font shapes were not available, defaults substituted. (see [4])
    • fixed — install TeX Live 2012 from backports repository.
  • Issue — Annoying file C:\nppdf32Log\debuglog.txt. Caused by acroread plugin (see [5], [6], [7]). A solution would be to edit nppdf.so with hex editor.
  • Issue — Acrobat reader leaves ghost process SynchronizerApp-binary. Disable it!
  • Issue — Opera fonts too small, not as good as windows.
  • Issue — Touchpad scroll not working, detected as ps/2 mouse.
    • partial fix — Install Kevin Cernekee's DKMS package (see below and bug 606238). See also [8] for more solutions.
sudo -s
add-apt-repository ppa:cernekee/ppa
apt-get update
apt-get install psmouse-dkms
reboot
  • Issue — Annoying popup failure to download extra data files flashplugin-installer. See bug 977178 and bug 982684.
    Pop-up is from update-notified. Might be related to sudo ignoring some environment variables / profile.
    • tentative fixsudo apt-get --reinstall install flashplugin-installer
  • IssueSynergy, still heavy keyboard corruption issue (v.1.4.10), in particular ctrl stuck key (must reboot to fix), and custom layout not honored (my custom belgian on us layout).
  • Issue — Virtualbox module not recompiling (broken DKMS)
  • Issue — Can't reconnect to Bluetooth Microsoft Sculpt Mouse.
    • Solved — Install Bluetooth manager (package blueman). See [9], bug 1094744.
  • Issueanimated gifs do not work.
    • Solved — This is a feature of privoxy, to ban ads using such animation. It can be disabled (via setting deanimate_gifs), or better yet, temporarily disable privoxy, and clear cache/reload the page.
  • Issue — Acrobat reader, errant tooltips
    • Solved — Click on the document area. Tooltips appears when the focus is on the document tab.
    • Other solution, see Banishing errant tooltips (using Xlib and Python)

Issues on Trusty (nxl67170ux)

  • Issue — Controlling laptop brightness via brightness keys is very slow (small delta, long latency). See bug 847001 (and possibly related kernel bug. See also X page for work-arounds.
    • Solved — Enable vendor acpi in grub and use the 20-intel.conf script as explained on X page.
  • Issue — Fonts in Opera look really ugly. Note that Opera did not upgrade (still v12.16). Other applications do not seem affected.
  • Issue — xdotool can no longer move (unmaximized) windows to top left corner (see bug 1312412)
  • Issue — lots of failure due to pcscd in /var/log/syslog (see below). apt-get remove pcscd as temporary fix.
Apr 29 14:28:22 nxl67170ux pcscd: ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612
Apr 29 14:28:22 nxl67170ux pcscd: eventhandler.c:313:EHStatusHandlerThread() Error communicating to: O2 Micro Oz776 00 00
Apr 29 14:28:22 nxl67170ux kernel: [  754.501492] usb 1-1.3.2: usbfs: process 1883 (pcscd) did not claim interface 0 before use
Apr 29 14:28:22 nxl67170ux kernel: [  754.501546] usb 1-1.3.2: usbfs: process 1883 (pcscd) did not claim interface 0 before use
Apr 29 14:28:22 nxl67170ux pcscd: pcscdaemon.c:684:at_exit() write() failed: Connection refused
  • Issue — XBMC Frodo 12.3 cannot read DVD (from disc media or from hdd). Filed as bug 1315873.
    • Work around — Install XBMC Gotham 13.0 from xbmc ppa (see XBMC).
  • Issue — GPU hangs stuck on render ring + dmesg error - see bug 76956 and bug 77104, launchpad bug #1274779
  • Issue — keyboard shortcut for Indicator-synapse does not work.
  • Issue — auto-completion works badly with command starting with sudo (lots of false positive).
    • Partial fix — This is due to doing complete -cF sudo in bash profile, which was necessary since u12.04 or so. However in u14.04 is no longer necessary. Removing it fixes the problem.
    • Doing partial fix above however the auto-completion is mostly inactive when using sudo.
  • Issue — Unity hot corners not working anymore after reboot. See bugs +1305438, +1128041 and +858845.
    • Partial fix — Open up Unity Tweak app, then off/on the hot corners.
Wireless
  • Wireless deauthentication code from [12]:
  • About syslog wlan0: deauthenticated from 00:1d:7e:0c:24:5e (Reason: 14), see [13]:
    That means that the WPA encryption code is failing and the packet is corrupt. I would worry about that corrupt beacon from the AP.
  • Troubleshooting WiFi (opensuse post)
  • Getting info on WiFi (opensuse post)
3 Deauthenticated because sending station is leaving (or has left) IBSS or ESS.
14 MIC failure.
  • Issue — Unstable Wi-Fi connection. Frequent disconnect. See syslog below.
  • Fix? (Done, no obvious effect, maybe less spam in syslog) Edit wireless connection, click the down arrow next to BSSID which is blank, select the mac address that was hidden before. [14]
  • Fix? Done, no obvious effect Disable IPv6? Edit wireless connection, click IPv6 settings, Click on drop-down list for method, and select Ignore.
  • Fix? Several fixes from [15]
  • (Done, no obvious effect, but less spam in syslog) Set regulatory agency for wireless
iw reg get            # Get agency. '00' means unset
sudo iw reg set US    # Or pick country code (eg. 'BE' for Belgium)
  • (Reverted. See if manual IP is sufficient)Disable 802.11n protocol. Edit /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=1
  • (Not tested yet) Disable ipv6 protocol. Edit /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1 
net.ipv6.conf.lo.disable_ipv6 = 1 
  • (Done, more stable, but reverted because link downgraded to 1Mb/s) Make sure the router is not set not to use QOS/WWN
  • Fix? (Done, more stable?) Deal with message wlan0: deauthenticating from 00:1d:7e:0c:24:5e by local choice (reason=3) [16], bug 548992.
  • Message might be due to DHCP (timeout...). See [17], [18]. As a fix, use manual IP in wireless config (don't use DHCP). See dhclient.leases to know which value to use for gateway, domain...
  • Kill wpa_supplicant [19] with sudo killall wpa_supplicant. NetworkManager will respawn it automatically.

Issues on Trusty (griffin)

  • Issue — v-sync tearing during DVD playback in XBMC 13.0 Gotham (see XBMC)
  • Add to /etc/profile:
    # Fix vsync tearing - http://askubuntu.com/questions/456355/have-tearing-no-vsync-in-movies-nvidia-proprietary-driver
    export __GL_YIELD="USLEEP"
    export __GL_THREADED_OPTIMIZATIONS=1
    
  • IssueEvolution continuously reporting error TCP connetion reset by peer or similar
    • Possible fix — Change gandi account to use STARTTLS on port 587 for sending mail (see [20], [21])

Issues on Precise (griffin)

  • Issue — Can't map Super-Space for Gnome-Do
    • solved? — open ccsmUbuntu Plugin → temporarily change the shortcut for the launcher. Change gnome-do shortcut again, and then restore the launcher shortcut to super.
    • solved — Use Synapse instead with Alt-Space as mapping.
  • Issue — Current openjdk-6-jdk does not print file full path in error message, but only basename, which breaks vim "goto bug" feature.
    • partially solved — This is solved in openjdk-7-sdk, but can't install 32_bit version though. So for 32-bit, we need to refer to openjdk-6 libraries.
  • IssueSuper-Space does not work. Also cannot bind to Alt-Space either (get error (Do:6011): libdo-WARNING **: Binding '<Alt>space' failed!). See bug 988699, [22] (Bugs: Do)
    • temporary fix — killing and restarting gnome-do in a shell (gnome-do&) to re-enable Super-Space
    • solved — Use Synapse instead with Alt-Space as mapping.
  • Issue — Compiz Ring Switch requires pressing Enter to select a window.
    • solved — Change Key to show the launcher to Shift-Super in Ubuntu Unity Plugin. Also, changed Key to show the HUD to Ctrl-Super
  • Issue — Compiz Scale plugin Initiate Window Picker for All Windows does not work (show windows for current workspace only)
    • See bug 933776
    • A patch can be found in this ppa (sudo add-apt-repository ppa:mc3man/fixing-scale)

Issues on Maverick (griffin)

  • Issue — No Configuration Editor link in the menu. Must be added by hand?
    • Solved — Enable it by editing Gnome menu, right click on menu → Edit MenuSystem Tools → Enable icon for Configuration Editor.
  • Issue — Known issues documented in Maverick release manifest & Release Notes:
    • Connected DisplayPort monitors may prevent booting. (655795)
    • 802.11n support for the iwlagn driver has been temporarily disabled. Intel is actively working to get this properly fixed up in the firmware. This workaround should be reverted once updated firmware is available. (630748, 654152). See also Ubuntu Forums thread, Bug 16691 kernel.org, Intel WiFi driver for linux and official Linux Wireless wiki.
    • cfr file /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf
      dmesg | grep -i iwl
      sudo modprobe -r iwlagn
      sudo modprobe iwlagn 11n_disable=1
      iwconfig                                           # Check that 11n is disabled
      # ...
      # wlan0     IEEE 802.11abg  ESSID:off/any
      # 
      # ...
      
    • The logo will not display during boot when using the Nvidia proprietary driver. (653274)
  • Issue — [arrandale] Integrated intel graphics GMA HD doesn't work (590504). See also [23]
  • This relates to kernel message at boot:
    dmesg | grep i915
    # ... intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
    
  • IssueSuspend does not work; pc goes suspend but then restart immediately it seems in login screen. Related bug: 570604.
    • Solved — Problem is linked with xhci_hcd that prevents suspend when loaded (this is because sleep/suspend is not implemented yet in that module). Unloading it will allow suspend (workaround). Bug is fixed in Ubuntu 11.04. Launchpad bug 522998
    echo 'SUSPEND_MODULES="xhci_hcd"' >> /etc/pm/config.d/unload_modules   # As root
    
  • IssueWindow Manager does not display window decorators after Macbuntu install. Temporary fix:
  • compiz --replace&
    
  • To Do — Setup BEH (backend error handler) for CUPS

Hardware issues (nxl67002ux)

  • Issue — Heavy HW interrupts related to intel graphic card, power saving (sleep), and use of DVI/HDMI interface (module i915, drm, drm_kms_helper).
    • 2.6.32 kernel — udevd eats CPU resource! Launchpad bug 440411, talked on forum 1356215. There was a partial workaround, but it does not work anymore on 2.6.32.28:
    sudo service udevd stop
    sudo service udevd start     # After this unfortunately there is no battery state icon anymore (unless reboot, or maybe suspend)
    udevadm monitor              # Check that there is no events triggered
    
    • 2.6.35 kernel (Maverick) — Install a newer version of the kernel, like 2.6.35. But then we have issues with the processes [kslowd001] ... [kslowd004] that hog the cpu even more, and make mouse movements jerky. Launchpad bug 662946, 661012 (dup). See fix in forum 1594239 (Install latest kernel 2.6.37 with partial fix with module drm_kms_helper / i915..., or install kernel 2.6.34). Other links [24]. Workaround:
    echo N > /sys/module/drm_kms_helper/parameters/poll
    # OR...
    echo "options drm_kms_helper poll=N">/etc/modprobe.d/local.conf   # As root.
    
    • Some issues seem to be fixed in the latest kernel 2.6.33 for Lucid. See [25] (drm/i915: Disable FBC on 915GM and 945GM...)
    • Workarounds to investigate
      • Install kernel 2.6.34 as suggested at [26]
      • Install latest kernel 2.6.33 for Lucid from Ubuntu Kernel ([27])
  • Issue — Frequent wireless disconnect.
    • Reference HW info on this machine
    • My other bugs in launchpad.
    • Related to intel 5300 chipset (module iwlagn) and 802.11n networks.
    • Done — Installed a linux-backports-modules-wireless package (linux-backports-modules-wireless-2.6.37-lucid-generic-pae).
      • Brought some improvements, in particular with kernel 2.6.32-32. Not disconnection, max ssh connect 1.2s, but still some drop to 1Mb/s. Still old firmware version 8.24.2.12 (file iwlwifi-5000-2.ucode)
    • Done — Installed a compat-wireless package from compat-wireless project (linux-backports-modules-wireless-lucid-generic-pae).
      • Not sure it does anything better. Still stuck with the old firmware version 8.24.2.12 (file iwlwifi-5000-2.ucode)
    • SOLVED — Force upgrade the iwlagn driver as indicated on this forum (see also bug 794291, and post on tech drive-in where I first learned about this solution):
    #Remove any linux backports modules
    sudo apt-get autoremove linux-backports-modules-wireless*
    
    #Download and install the compat-wireless iwlagn driver
    wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.38/compat-wireless-2.6.38.2-2-ns.tar.bz2
    sudo apt-get install build-essential linux-headers-$(uname -r)
    sudo apt-get remove lsh-server
    tar jxvf compat-wireless-2.6.38.2-2-ns.tar.bz2 
    cd compat-wireless-2.6.38.2-2-ns/
    make
    sudo make install
    
    #Now reboot... or you can try reload the module:
    
    sudo make unload
    sudo modprobe iwlagn
    sudo modprobe bnep
    sudo modprobe btusb
    sudo modprobe rfcomm
    sudo modprobe sco
    sudo /etc/init.d/networking restart
    
    #Check driver:
    lshw -C network
    # ...
    # configuration: broadcast=yes driver=iwlagn driverversion=2.6.32-32-generic-pae firmware=8.83.5.1 build 33692 ip=134.27.182.162 latency=0 multicast=yes wireless=IEEE 802.11abgn
    modinfo iwlagn
    # filename:       /lib/modules/2.6.32-32-generic-pae/updates/drivers/net/wireless/iwlwifi/iwlagn.ko
    # ...
    # firmware:       iwlwifi-5000-5.ucode
    

    Running my ssh tests over WiFi show a very steady connection, without drop of connection speed (however it's capped at 54 Mb/s)

Hardware issues (griffin)

  • Issue — Smartcard reader (Ricoh Co Ltd RL5c476 II) does not work. No available drivers [28].
sudo lspci | grep CardBus
# 46:06.4 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev bb)

VirtualBox issues (nxl67002ux)

  • IssueVirtualBox - UE slower gui refresh since update to VirtualBox 3.2.4 (previous version was 3.2.0)
  • IssueVirtualBox - ksoftirqd/0 taking 10-20% CPU. Possible work-around is to add nohz=off to kernel command line, i.e. in /boot/grub/menu.list) (see [29] and [30])
  • IssueVirtualBox - BT dongle not reconnecting after suspend. It used to work correctly in the past. Is it due to an update?
  • IssueVirtualBox - Cygwin very slow in VirtualBox (while (true); do date --utc; done | uniq -c gives me ~4 fork / second. As an alternative, try MSYS (MGWin), UWIN or Interix. Some other causes: [31]
    • SOLVED? — The speed issue seems to be solved in the last version (1.7.9). Fork is still slow though, but rxvt is blazing fast. rxvt still much slower.
  • IssueVirtualBox - Can't go to synergy client when VB guest is in fullscreen. See X#Synergy.
    • SOLVED? — Press host key (ctrl) before/after going to synergy client.

Other issues (nxl67002ux)

  • Issuessh disconnects after some time, autossh can't reconnect. Even doing a simple ssh does not work anymore. Might be due to broken ssh-agent
    • Disable auto-run of Gnome ssh-agent, enabled back my ssh-agent script
  • Issuesynergy unstable. Sometimes CTRL key does not work anymore in the client...
    • Look for alternatives: Synergy+ (SynergyPlus), or x2x (see Synergy page on wikipedia).
  • IssueMidnight Commander does not colorize different file types. Check here.
    • SOLVED — Use mc official repository instead. See MC page
  • Issues — Serious interferences from Privoxy:
    • Reject URL like .../advies/... and .../ADV_AUTH.CAB (work-around: disable Privoxy AdBlocking via http://p.p).
    • Interference with Altran Timesheet. ActiveX / ASP.NET controls do not work in (Wine) Internet Explorer 6.
  • IssueOpera 11 - v11 does not support my autoproxy .pac file anymore.
  • IssueEvince, error in console EggSMClient-WARNING **: Failed to connect to the session manager.... It seems related to apparmor.
    • SOLVED — To solve it [32]:
    cd /etc/apparmor.d/disable
    sudo ln -s /etc/apparmor.d/usr.bin.evince usr.bin.evince
    sudo /etc/init.d/apparmor restart
    
  • Issueufw user[6].rules files should be stored in /etc/ufw instead of /lib/ufw so that they can be tracked by etckeeper (filed a bug in launchpad, 728128)
  • Issue — Kernel panic when updating to kernel 2.6.32-29, due to trailing dots in /boot/initrd file (bug submitted on launchpad 728430)
    • SOLVED — No problem with 2.6.32-30, but again same problem with 2.6.32-32. Problem gone after formatting /boot in Ext3.
  • 'IssueOpera 11 → shaky (at best) clipboard support! Copy & paste to/from utility xsel, or to/from virtualbox guest/host is broken. The best is to pass through an intermediate editor, like gedit.

Issues on Precise (nxl67063ux)

  • Issue — When connecting to Host's Cygwin via SSH, there network drive shares are not visible.

opengl / hdmi / optimus Issues (Reddragon)

Issues on Precise/Trusty (Reddragon)

  • Issue — External headphone (jack) does not work
  • (see bug 978880)
    • Broken solution — See [37]. Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf (and similar ...-2.conf files if any) (more links [38], [39], [40]). Change the lines:
     [Element Speaker]
    -switch = off
    +switch = on
    -volume = off
    +volume = ignore
    
    Update — this does not work. Settings are reverted after pulseaudio update. Moreover the bass speaker is not correctly handled.
    • Solved The solution is to install the latest Realtek codec from here, v5.18 (more information [41], [42], [43], [44]). To install, just un-tar and run given ./install script:
    tar -jxvzf ...
    cd ...
    vi install                   # install script has a bug, fetch exec at wrong place after untar
    sudo ./install
    
  • To Do — Setup BEH (backend error handler) for CUPS
  • Issue — Cannot read movies from DVD-RW
    • Solved — Require patch on udisks (see Udisks).
    • Ubuntu 14.04 LTS — Require patch on udisks2 (see Udisks).
  • Issue — Sometimes keyboard in US layout
    • Temp fix: Add bin/setkbmap.sh and run it at startup:
    #! /bin/bash setxkbmap be
  • Issue — Flash instability
    • Temp fix: Uninstall all nvidia drivers
    • Temp fix: Uninstall flashplugin-installer
    • Temp fix: Install dansguardian & privoxy to prevent access to underground/unstable sites
      • Setup local network proxy: localhost:8080
      • Idem in firefox
      • ! for thunderbird, select no proxy (if proxy configured in system parameters → network... incredible but true [45])
    Other issues after upgrade to Trusty Tahr
    • System still thinks the DVD is present after pressing the eject button. One must select eject DVD in the launcher.
    • DVD-RW still un-readable (but now package udisks2)

Issues on Trusty (Zyratastic)

  • 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 [46], and also [47], [48], [49]) — Fn-F5/F6 still do not work, but Fn-F2 does work now!!!
    • (NOK) Add acpi= to /etc/default/grub (as per [50]) — 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)
  • Issue — Black screen after package update
    • Cause is either update to a new kernel, and/or updating nvidia-331 to nvidia-340.
    • (Solved) See Osgyan's guide to fix the problem. This requires updating to nvidia-349 drivers and whitelisting/blacklisting a few modules.
  • 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 [52].
      • 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 [53])
    • (NOK) Disable compiz before launching minecraft (see [54])
    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 [55]):
    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 ([56]):
    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 sudo modprobe -r aht3k; sleep 1; sudo modprobe ath3k # work-around - NOT WORKING
    • Might be due to interaction with libmtp [57]. But uninstalling libmtp-common as no effect.
  • IssueKeyboard layout — BE layout not applied on login
    • Adding .xinitrc to setxkbmap be (to fix keepassx issue) — this might fix the problem, or more precisely hide the problem.
  • 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 [58])
    • 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.
  • To Do — Install better temperature management from Intel, see [59]
  • Issue — The battery led is blinking orange. This usually indicates an issue with the Power Management unit in the laptop. See this post [60]. 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.
  • Issue — XBMC touch interface does not work in v13 Gotham RC1. Filed as bug 15184.

Issues on Trusty (Graphicdaemon)

  • 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 [61], and also [62], [63], [64]) — Fn-F5/F6 still do not work, but Fn-F2 does work now!!!
    • (NOK) Add acpi= to /etc/default/grub (as per [65]) — 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-337 bumblebee wine
    • 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 [67].
      • 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 [68])
    • (NOK) Disable compiz before launching minecraft (see [69])
    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 [70]):
    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 ([71]):
    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 sudo modprobe -r aht3k; sleep 1; sudo modprobe ath3k # work-around - NOT WORKING
  • IssueKeyboard layout — BE layout not applied on login
    • Adding .xinitrc to setxkbmap be (to fix keepassx issue) — this might fix the problem, or more precisely hide the problem.
  • 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 [72])
    • 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.
    • First make sure that bumblebee and nvidia is uninstalled
    sudo apt-get purge "nvidia*" "bumblebee*" sudo apt-get install nvidia-346 nvidia-libopencl1-346
    • The following packages should be installed:
    nvidia-346 nvidia-346-uvm nvidia-libopencl1-346 nvidia-opencl-icd-346 nvidia-prime nvidia-settings
    • Probem, blank login screen. Some links: [73] [74]
    • To recover login screen, switching to intel works. From a console:
    sudo service lightdm stop sudo prime-select intel sudo service lightdm start
    • Now, let's see if we can use bumblebee again (along with nvidia prime):
    sudo apt-get install optirun-nvidia sudo shutdown -r now
    • Login screen visible. Check that it works:
    $ optirun /opt/VirtualGL/bin/glxspheres64 Polygons in scene: 62464 Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce GTX 850M/PCIe/SSE2 281.837052 frames/sec - 314.530150 Mpixels/sec
    • Why does bumblebee works, and not nvidia-prime? Could it be that the device id in /etc/X11/xorg.conf was incorrect? We have
    $ sudo lspci | grep -i nvidia
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev ff)
    
    Content of /etc/bumblebee/xorg.conf.nvidia:
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
        BusID "PCI:01:00:0"
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    
    Content of /etc/X11/xorg.conf:
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "nvidia"
        Inactive "intel"
    EndSection
    
    Section "Device"
        Identifier "intel"
        Driver "intel"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "SNA"
    EndSection
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection
    
    Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "PCI:1@0:0:0"
        Option "ConstrainCursor" "off"
    EndSection
    
    Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
    EndSection
    
  • Done — Backup, done on 20140701
    • 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.
  • To Do — Install better temperature management from Intel, see [75]
  • Issue — The battery led is blinking orange. This usually indicates an issue with the Power Management unit in the laptop. See this post [76]. 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.
  • Issue — XBMC touch interface does not work in v13 Gotham RC1. Filed as bug 15184.
  • Issue — Minecraft FPS not going higher than 45fps for 1.7.2, and not higher than 55fps for 1.5.2 (with nvidia-331-updates). Is nvidia driver really running?
    • Todo: start minecraft with optirun

Issues on Trusty (ZAVCWL0005)

  • Issuepcscd crash at boot — pcscd crashed with SIGSEGV in __efl_set__libc_thread_subfreeres_element___rpc_thread_destroy__(), package pcscd 1.8.10-1ubuntu1.
  • Issue — regular kernel panic after several days (with standby/resume cycles, though not sure it is related).
  • No traces in /var/log. Enable netconsole. Collected this trace:
[36421.360837] ata1.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x6 frozen
[36421.360853] ata1.00: failed command: WRITE FPDMA QUEUED
[36421.360858] ata1.00: cmd 61/08:00:f0:56:0d/00:00:00:00:00/40 tag 0 ncq 4096 out
[36421.360858]          res 40/00:ff:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[36421.360861] ata1.00: status: { DRDY }
[36421.361022] ata1.00: failed command: WRITE FPDMA QUEUED
...
[36426.726787] ata1: link is slow to respond, please be patient (ready=0)
[36431.387945] ata1: COMRESET failed (errno=-16)
[36431.387956] ata1: hard resetting link
...
[36481.495600] ata1: reset failed, giving up
[36481.495604] ata1.00: disabled
[36481.495609] ata1.00: device reported invalid CHS sector 0
...
[36481.495688] ata1: EH complete
[36481.495711] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[36481.495714] sd 0:0:0:0: [sda] CDB: 
[36481.495716] Write(10): 2a 00 00 0d 56 d8 00 00 08 00
[36481.495728] blk_update_request: I/O error, dev sda, sector 874200
[36481.495736] Buffer I/O error on dev dm-1, logical block 45787, lost async page write
[36481.495748] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[36481.495750] sd 0:0:0:0: [sda] CDB: 
[36481.495752] Write(10): 2a 00 00 0d 56 d0 00 00 08[36481.497838] EXT4-fs warning (device dm-3): ext4_end_bio:317: I/O error -5 writing to inode 5505588 (offset 0 size 4096 starting block 22100526)
[36481.497849] Buffer I/O error on device dm-3, logical block 22100526
[36481.497864] Write-error on swap-device (252:2:6137680)
...
[36481.513686] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[36481.513686] 
[36481.513751] CPU: 1 PID: 1 Comm: init Tainted: G        W  OE  3.19.0-37-generic #42~14.04.1-Ubuntu
[36481.513798] Hardware name: Hewlett-Packard HP EliteBook 840 G1/198F, BIOS L71 Ver. 01.31 03/24/2015
[36481.513845]  ffff880234a66c80 ffff880235223c88 ffffffff817af92b[36481.514034]  [<ffffffff817af92b>] dump_stack+0x45/0x57
[36481.514077]  [<ffffffff817a976b>] panic+0xc1/0x1f5
[36481.514114]  [<ffffffff81077b61>] do_exit+0xa11/0xb00
[36481.514144]  [<ffffffff81077cdf>] do_group_exit+0x3f/0xa0
[36481.514182]  [<ffffffff81083bc0>] get_signal+0x1e0/0x710
[36481.514220]  [<ffffffff81014e70>] do_signal+0x20/0x120
[36481.514255]  [<ffffffff811a0000>] ? generic_file_remap_pages+0x250/0x2c0
[36481.514295]  [<ffffffff81690652>] ? __sys_sendmsg+0x42/0x80
[36481.514329]  [<ffffffff81014fd9>] do_notify_resume+0x69/0xb0
[36481.514371]  [<ffffffff817b82a2>] retint_signal+0x48/0x86
[36481.514412] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[36481.514446] drm_kms_helper: panic occurred, switching back to text console
  • Check for badblock
sudo badblocks -v /dev/sda          # Or anything else?
  • comment #32 - disable AHCI in BIOS
  • libata.force=noncq to grub line
cat /sys/block/sda/device/queue_depth
# if returns 31 means NCQ enabled, 1 means disabled
  • Kernel options like "libata.noacpi=1", "libata.force=noncq" or "sata_nv.adma=0"
  • "pci=noacpi" or "irqpoll"
  • Add 'ifconfig eth0 down' to /etc/rc.local.shutdown
  • or disable Wake-On-LAN in BIOS
Procedure to debug hard disk issues. No link to my problem there.
  • Not read yet:
Looking for "WRITE FPDMA QUEUED":
  • [77] and [78] - Report a possible ext4 bug --> WRONG. Very unlikely.
  • [79] — Relate to "5184 hours" bug on micron SSDs. Propose to do a firmware update.
  • [80] — Refers to a program that can reproduce the error
  • Issue — Very high CPU usage on screen dimming triggered by the screen saver, with high probability of crash.
Happens with kernel 3.19.0-58-generic.
Reverting to 3.19.0-56-generic: no difference.
Enabling vendor acpi in grub. Edit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
Then update grub and reboot:
sudo update-grub
  • Issue — X.org vivid backport leaks like hell when using some applications (for instance when Thunderbird is busy waiting, or with the Prisma Puzzle Timer).
workaround — Revert back to trusty x.org:
sudo apt-get install xserver-xorg