Common Issues: Difference between revisions

From miki
Jump to navigation Jump to search
Line 215: Line 215:
* '''{{red|Issue}}''' — When connecting to Host's Cygwin via SSH, there network drive shares are not visible.
* '''{{red|Issue}}''' — When connecting to Host's Cygwin via SSH, there network drive shares are not visible.
** Know issue, see [[Cygwin#SSHD]]
** Know issue, see [[Cygwin#SSHD]]

== opengl / hdmi / optimus Issues (Reddragon) ==
<ul>
<li> '''{{red|Issue}}''' — No OpenGL support with nvidia. Check the links [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/810647], [http://ubuntuforums.org/showthread.php?t=1125400]. This is needed for ''XBMC''. See [http://wiki.xbmc.org/index.php?title=XBMC_for_Linux_specific_FAQ#Graphic.2Fvideo_issues this page] to test availability of OpenGL:</li>
<source lang="bash">
glxinfo | grep -i direct
# The result should be:
# direct rendering: Yes
</source>
Some useful commands:
<source lang=bash>
# Should display which card is active and which driver is in use
# (The line 'driver=nvidia' does not appear though for RedDragon
lshw -c display | grep driver
# configuration: driver=nvidia latency=0
# configuration: driver=i915 latency=0

# Display information on the nvidia card
# (from https://github.com/Bumblebee-Project/Bumblebee/issues/21)
/usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info --nvidia-cfg-path=/usr/lib/nvidia-current
</source>
Potential solutions:
* [https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/807209 Lost glx after first upgrade from oneiric alpha 2 install (bug 807209)]
* [http://www.ivegotavirus.com/blog/2011/11/06/how-to-get-optimus-working-on-ubuntu-11-10-oneiric/ How To Get Optimus Working On Ubuntu 11.10 (Oneiric)]
* Install [http://bumblebee-project.org/ Bumblebee]
* Report information to [http://comments.gmane.org/gmane.comp.freedesktop.xorg.nouveau/9183 Nouveau Devs]
The bug is actually due to lack of support of new [http://www.nvidia.com/object/optimus_technology.html NVidia's Optimus Technology]:
<source lang=bash>
sudo apt-get remove nvidia-common nvidia-current nvidia-current-updates nvidia-settings nvidia-settings-updates
</source>
'''Some links to look at''':
*https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting
from Googling "bumblebee external monitor hdmi":
*http://askubuntu.com/questions/103564/external-displays-with-bumblebee
*http://askubuntu.com/questions/113886/trying-to-use-an-external-monitor-with-bumblebee-geforce-gt-525m
*https://github.com/Bumblebee-Project/Bumblebee/issues/106
*https://github.com/Bumblebee-Project/Bumblebee-old/issues/40
*https://github.com/Bumblebee-Project/Bumblebee/issues/72
*http://zachstechnotes.blogspot.be/2012/04/post-title.html

;Since upgrade to Ubuntu Trusty Tahr 14.04 LTS
* HDMI still does not work out of the box
* Install {{deb|nvidia-331-updates}}
* Install bumblebee [https://wiki.ubuntu.com/Bumblebee#Installation]
<source lang=bash>
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install virtualgl # for glxspheres64
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
</source>
* Fix bug when starting see [http://www.webupd8.org/2013/10/fix-bumblebee-libturbojpegso-issue-in.html]:
sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so
* We get different benchmark when using <code>primusrun</code> and when using <code>optirun</code>:
optirun glxspheres64 # 150.254538 frames/sec - 157.995651 Mpixels/sec
primusrun glxspheres64 # 60.295114 frames/sec - 63.401518 Mpixels/sec
:maybe this is due to frame sync when using <code>primusrun</code>? (60Hz)
* <code>bbswtich</code> is a bumblebee module that can be used to switch on / off the nvidia card. When running, there should be a file {{file|/proc/acpi/bbswitch}}:
cat /proc/acpi/bbswitch
0000:01:00.0 ON
:If not available, load the module manually:
sudo modprobe bbswitch
dmesg | tail -n 1
</ul>

== Issues on Precise/Trusty (Reddragon) ==

<ul>
<li> '''Issue''' — External headphone (jack) does not work</li> (see bug [https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/978880 978880])
* '''Broken solution''' &mdash; See [http://pricklytech.wordpress.com/2012/05/26/ubuntu-12-04-dell-vostro-3750-no-sound-when-headphones-are-plugged-in/]. Edit <tt>/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf</tt> (and similar <tt>...-2.conf</tt> files if any) (more links [https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/978880], [http://askubuntu.com/questions/132440/headphone-jack-not-working], [http://playingwithsid.blogspot.be/2010/06/headphone-jack-sense-problem-in-ubuntu.html]). Change the lines:
<source lang=diff>
[Element Speaker]
-switch = off
+switch = on
-volume = off
+volume = ignore
</source>
:{{red|Update}} &mdash; this does not work. Settings are reverted after ''pulseaudio'' update. Moreover the bass speaker is not correctly handled.
* {{green|'''Solved'''}} The solution is to install the latest Realtek codec from [http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false#High%20Definition%20Audio%20Codecs here], v5.18 (more information [http://doc.ubuntu-fr.org/dell_vostro_1014], [http://doc.ubuntu-fr.org/audio_intel_hda], [https://help.ubuntu.com/community/HdaIntelSoundHowto], [http://lxr.linux.no/#linux+v3.2.19/Documentation/sound/alsa/HD-Audio-Models.txt]). To install, just un-tar and run given <code>./install</code> script:
<source lang=bash>
tar -jxvzf ...
cd ...
vi install # install script has a bug, fetch exec at wrong place after untar
sudo ./install
</source>
<li> '''{{red|To Do}}''' — Setup BEH (backend error handler) for CUPS</li>
<li> '''Issue''' — Cannot read movies from DVD-RW</li>
* '''{{green|Solved}}''' &mdash; Require patch on {{deb|udisks}} (see [[Linux Admin#Udisks|Udisks]]).
* '''{{blue|Ubuntu 14.04 LTS}}''' &mdash; Require patch on '''{{deb|udisks2}}''' (see [[Linux Admin#Udisks|Udisks]]).
<li> '''{{red|Issue}}''' — Sometimes keyboard in '''US''' layout</li>
* Temp fix: Add <code>bin/setkbmap.sh</code> and run it at startup:
#! /bin/bash
setxkbmap be
<li> '''{{red|Issue}}''' — Flash instability</li>
* 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 &rarr; network... incredible but true [http://forums.mozillazine.org/viewtopic.php?f=31&t=2449619])

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

</ul>

Revision as of 10:04, 24 July 2014

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 [1])
    • fixed — install TeX Live 2012 from backports repository.
  • Issue — Annoying file C:\nppdf32Log\debuglog.txt. Caused by acroread plugin (see [2], [3], [4]). 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 [5] 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 [6], 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
  • Issue — keyboard shortcut for Indicator-synapse does not work.
  • Issue — auto-completion works badly with command starting with sudo (lots of false positive).
    • 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.

Issues on Trusty (griffin)

  • Issue — v-sync tearing during DVD playback in XBMC 13.0 Gotham (see XBMC

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, [9] (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 [10]
  • 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&
    <li> '''{{red|To Do}}'''  Setup BEH (backend error handler) for CUPS</li>
    

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 [11]. 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 [12] (drm/i915: Disable FBC on 915GM and 945GM...)
    • Workarounds to investigate
      • Install kernel 2.6.34 as suggested at [13]
      • Install latest kernel 2.6.33 for Lucid from Ubuntu Kernel ([14])
  • 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)

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 [15] and [16])
  • 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: [17]
    • 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 [18]:
    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 [23]. Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf (and similar ...-2.conf files if any) (more links [24], [25], [26]). 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 [27], [28], [29], [30]). 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 [31])
    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)