Fixing Recordmydesktop on Ubuntu
Video related problem:
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [[0xb79db767]]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [[0xb79db8b1]]
#2 /usr/lib/libX11.so.6 [[0xb7e34421]]
#3 /usr/lib/libX11.so.6(XNextEvent+0x74) [[0xb7e1c734]]
#4 recordmydesktop [[0x8051776]]
#5 /lib/tls/i686/cmov/libpthread.so.0 [[0xb7cfa4fb]]
#6 /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [[0xb7ab3e5e]]
...
After while it cannot be finished with Ctrl+C (which alias to kill -s INT PID.)
Audio/sound related problem:
Broken pipe: Underrun occurred.
Broken pipe: Underrun occurred.
Broken pipe: Underrun occurred.
...
This problem disappears, if sound is not recorded using no-sound switch.
Video error workaround
Workaround to solve this is downgrading libx11-6 package.
Do following steps:
As root user first check package update status, command should return following:
# dpkg --get-selections | grep libx11-6
libx11-6 installconfigure apt, to hold package version:
# echo "libx11-6 hold" | dpkg --set-selectionsCan check again:
# dpkg --get-selections | grep libx11-6
libx11-6 hold- Download previous package version from http://packages.ubuntu.com/hardy/libs/libx11-6 choose i386 OR amd64
Install previous version:
# dpkg -i libx11-6_1.1.1-1ubuntu4_i386.debor
# dpkg -i libx11-6_1.1.1-1ubuntu4_amd64.debaccording to the OS version.
Check that apt is working correctly:
# apt-get update
...
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libx11-6
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Sound error workaround
Check, that Intel sound card is used. Following command should return like this:
# lsmod|grep snd_hda_intel
snd_hda_intel 440408 5
snd_pcm 92168 3 snd_hda_intel,snd_pcm_oss
snd_page_alloc 13200 2 snd_hda_intel,snd_pcm
snd_hwdep 12552 1 snd_hda_intel
snd 70856 20 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_deviceOpen file /etc/modprobe.d/alsa-base.conf and add following line:
options snd-hda-intel position_fix=1what worked for desktop with ASUS motherboard and Dell Studio 17 laptop, or
options snd-hda-intel index=0 probe_mask=3 position_fix=3 model=laptopwhat worked on HP Compaq 6510b laptop. See more options in links.
- Reboot computer, to be sure libraries are loaded, and check.
Links
- http://forum.tuxx-home.at/viewtopic.php?f=10&t=565
- https://sourceforge.net/forum/forum.php?thread_id=1804915&forum_id=590957
- https://jira.secondlife.com/browse/VWR-2793
- https://bugs.launchpad.net/ubuntu/+source/recordmydesktop/+bug/570133