Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187719 - media-sound/sound-juicer-2.16.4 cannot rip nor playback audio.
Summary: media-sound/sound-juicer-2.16.4 cannot rip nor playback audio.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-04 12:15 UTC by Fredrik Blom
Modified: 2008-04-26 22:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Blom 2007-08-04 12:15:51 UTC
media-sound/sound-juicer-2.16.4 cannot rip nor play back any CD:s. Might be a problem with gstreamer; as it gives an error message saying "Sound juicer could not extract this CD. Reason: Error starting ripping pipeline".

I'll try to upgrade every gstreamer plugin one by one and see if makes any difference.


These are the currently installed gstreamer packages on my system that might somehow affect sound-juicer:

media-libs/gst-plugins-base (0.10.11(0.10)@2007-01-22)
media-libs/gst-plugins-good (0.10.4(0.10)@2007-01-20)
media-libs/gst-plugins-ugly (0.10.4(0.10)@2007-06-25)
media-libs/gstreamer (0.10.11(0.10)@2007-01-20)
media-plugins/gst-plugins-a52dec (0.10.4-r1(0.10)@2007-06-25)
media-plugins/gst-plugins-alsa (0.10.11(0.10)@2007-02-13)
media-plugins/gst-plugins-cdparanoia (0.10.11(0.10)@2007-02-13)
media-plugins/gst-plugins-dvdread (0.10.4(0.10)@2007-06-25)
media-plugins/gst-plugins-ffmpeg (0.10.1-r1(0.10)@2007-01-20)
media-plugins/gst-plugins-flac (0.10.3(0.10)@2007-01-20)
media-plugins/gst-plugins-gconf (0.10.3(0.10)@2007-01-20)
media-plugins/gst-plugins-gnomevfs (0.10.11(0.10)@2007-02-13)
media-plugins/gst-plugins-mad (0.10.4-r1(0.10)@2007-03-18)
media-plugins/gst-plugins-mpeg2dec (0.10.4(0.10)@2007-06-25)
media-plugins/gst-plugins-ogg (0.10.11(0.10)@2007-01-20)
media-plugins/gst-plugins-pango (0.10.11(0.10)@2007-06-25)
media-plugins/gst-plugins-speex (0.10.5(0.10)@2007-03-10)
media-plugins/gst-plugins-theora (0.10.11(0.10)@2007-06-25)
media-plugins/gst-plugins-vorbis (0.10.11(0.10)@2007-01-20)
media-plugins/gst-plugins-x (0.10.11(0.10)@2007-02-13)
media-plugins/gst-plugins-xvideo (0.10.11(0.10)@2007-02-13)

By the way, I've already looked over the device permissions and groups. Here's the device permissions:

$ ls -la /dev/cdr*
lrwxrwxrwx 1 root root 3  3 aug 18.07 /dev/cdrom2 -> sr0
lrwxrwxrwx 1 root root 3  3 aug 18.07 /dev/cdrw2 -> sr0
$ ls -la /dev/dvd*
lrwxrwxrwx 1 root root 3  3 aug 18.07 /dev/dvd2 -> sr0
lrwxrwxrwx 1 root root 3  3 aug 18.07 /dev/dvdrw2 -> sr0
$ ls -la /dev/sr0 
brw-rw---- 1 root cdrom 11, 0  3 aug 18.07 /dev/sr0

I'm already in the cdrom group, and have been so for a very long time now. It shouldn't be a problem.

Reproducible: Always

Steps to Reproduce:
1. Install media-sound/sound-juicer-2.16.4.
2. Start it.
3. Insert a CD and try to listen to it, or try to rip it.

Actual Results:  
Neither ripping nor audio playback works. Sound juicer just complains about not being able to open the device for reading or not being able to open up ripping pipeline.

Expected Results:  
It should be able to rip and playback any inserted CD:s.

$ emerge --info
Portage 2.1.2.11 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.21-hardened-r3 i686)
=================================================================
System uname: 2.6.21-hardened-r3 i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System release 2.0.0_alpha4
Timestamp of tree: Sat, 04 Aug 2007 10:30:10 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=i686 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -mtune=i686 -pipe -g"
DISTDIR="/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg distlocks fixpackages metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="sv_SE.UTF-8"
LINGUAS="sv_SE sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 aac acl alsa avahi bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread flac gdbm gnome gnutls gpm hal iconv ipv6 isdnlog jpeg lcms libg++ libnotify lirc mad mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf pic png ppds pppd python readline reflection sdl session speex spell spl sse sse2 ssl startup-notification svg tcpd theora tiff truetype-fonts type1-fonts unicode usb vcd vorbis x86 xattr xcb xinerama xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv_SE sv" USERLAND="GNU" VIDEO_CARDS="nv i810"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fredrik Blom 2007-08-04 13:01:57 UTC
I've upgraded to the following packages, and there's no difference in the way Sound Juicer works.

media-libs/gstreamer-0.10.13
media-libs/gst-plugins-base-0.10.13
media-plugins/gst-plugins-ogg-0.10.12
media-plugins/gst-plugins-vorbis-0.10.12
media-plugins/gst-plugins-cdparanoia-0.10.13
media-plugins/gst-plugins-flac-0.10.5
media-libs/gst-plugins-good-0.10.5

The wierd thing is that Sound Juicer is perfectly able to read the contents of the CD and retrieve the track listings, but is unable to rip it or playback the audio.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2007-08-06 22:12:11 UTC
Does gnome-cd (yes I know, it's ugly ...) work on your system with the same CD?

Thanks
Comment 3 Fredrik Blom 2007-08-07 19:40:52 UTC
(In reply to comment #2)
> Does gnome-cd (yes I know, it's ugly ...) work on your system with the same CD?
> 
> Thanks
> 

No, it doesn't work (actually, it has never worked on any of my computers).

I also tried starting Sound juicer in a terminal to see if there were any error messages that I had missed. This is what it said:

"** (sound-juicer:6284): WARNING **: Could not lock drive: Extrahera ljud från cd-skiva"

Roughly translated to "Could not lock drive: Extract audio from CD".

Could it be related to gnome-volume-manager or similar? I'm currently running gnome-base/gnome-volume-manager-2.17.0. I could always try downgrading, just to see if it makes any difference.
Comment 4 Fredrik Blom 2007-08-07 20:04:15 UTC
> I could always try downgrading, just to see if it makes any difference.

It didn't. Neither downgrading nor disabling it made any difference.

Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2007-08-08 06:26:43 UTC
I could reproduce (and fix) the bug on one of my boxes. Did you disable media polling in hal by any chance?
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2007-08-08 06:31:13 UTC
@Doug,

Following all the hype about powertop and all, I had added this bit to my hal setup :

<deviceinfo version="0.2">
  <device>
    <match key="info.udi" string="/org/freedesktop/Hal/devices/storage_model_CD/DVDW_TS_L532R">
      <merge key="storage.media_check_enabled" type="bool">false</merge>
    </match>
  </device>
</deviceinfo>

This bit does work, gnome doesn't know when a cd/dvd is popped in, the drive barely spins when I do pop one in.

But it also prevents gnome-cd and sound-juicer, both of which use cdparanoia, from reading track names and extracting anything (error being about a lock that could not be set).

Should I report this upstream?
Comment 7 Fredrik Blom 2007-08-10 18:08:48 UTC
(In reply to comment #6)
> @Doug,
> 
> Following all the hype about powertop and all, I had added this bit to my hal
> setup :

I don't understand. Who are you addressing? I shall try what you wrote anyway and see if it makes any difference.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-08-14 13:27:36 UTC
could you try with gst-plugins-cdio ?
Comment 9 Fredrik Blom 2007-08-14 20:17:05 UTC
(In reply to comment #8)
> could you try with gst-plugins-cdio ?
> 

Not to sound stupid, but do you mean anything other than installing it? ;) I installed media-plugins/gst-plugins-cdio-0.10.5, but there's no difference when trying to use Sound juicer. Anything else I need to do?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-08-14 23:16:26 UTC
nono, just installing should be fine. It's just that I remember seeing a bug requiring gst-plugins-cdio but I cannot find it right now.
Comment 11 Fredrik Blom 2007-08-15 07:23:58 UTC
(In reply to comment #10)
> nono, just installing should be fine. It's just that I remember seeing a bug
> requiring gst-plugins-cdio but I cannot find it right now.
> 

Unfortunately, installing it didn't make Sound juicer work. It's still not being able to playback audio nor rip anything.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2007-08-15 23:25:36 UTC
You haven't answered my question back from comment #5. That's what fixed the bug for me.
Comment 13 Fredrik Blom 2007-08-16 06:45:52 UTC
(In reply to comment #5)
> I could reproduce (and fix) the bug on one of my boxes. Did you disable media
> polling in hal by any chance?
> 

If I had, or if I should? No, I haven't done anything with hal at all. I could try within a few hours from now.
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2007-08-16 12:28:57 UTC
PowerTop can disable it for you too, have you used it? If so, you will have a file called /etc/hal/fdi/information/media-check-disable-*.fdi
Comment 15 Fredrik Blom 2007-08-17 11:52:00 UTC
(In reply to comment #14)
> PowerTop can disable it for you too, have you used it? If so, you will have a
> file called /etc/hal/fdi/information/media-check-disable-*.fdi
> 

Yes, I have used PowerTop before, but I don't ever remembering using it for disabling media polling.

# ls -la /etc/hal/fdi/information/
totalt 0
drwxr-xr-x 2 root root 33 27 apr 23.08 .
drwxr-xr-x 5 root root 52 27 apr 23.08 ..
-rw-r--r-- 1 root root  0 14 aug 14.32 .keep_sys-apps_hal-0
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-28 10:28:58 UTC
Actually I found out recently (with a crashy sound-juicer release) that sound-juicer was putting some kind of lock on the cdrom reader that wouldn't be release thereafter and even across reboot (probably something similar to comment #14). I had to wait for a recent 2.20 release to get it working again.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-12-27 10:37:14 UTC
Does it work w/ 2.20.1 now?
Comment 18 Tango 2008-03-05 01:44:46 UTC
(In reply to comment #17)
> Does it work w/ 2.20.1 now?
> 
I don't know how long I have had this problem with version 2.20.1-r1 as I don't use sound-juicer that often but before recent updates the program worked fine.  Now it won't rip an entire CD without locking up solid.  Rips between 6 and 8 tracks then just stops.  I have to force quit or kill the program.  According to the Gentoo Forums others are having the same problems.  I can't go back and rip the tracks it didn't the first time.  Its like it refuses to rip the last few tracks of CD's
Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-03 09:17:29 UTC
hey there, I had the same problem in a recently installed machine. I recompiled gst-plugins-cdparanoia because I thought that somehow -O2 was too much for it and then it started to work. What's strange though is that after recompiling it with my regular use flags it keeps working.
Comment 20 Tango 2008-04-06 20:34:37 UTC
(In reply to comment #19)
> hey there, I had the same problem in a recently installed machine. I recompiled
> gst-plugins-cdparanoia because I thought that somehow -O2 was too much for it
> and then it started to work. What's strange though is that after recompiling it
> with my regular use flags it keeps working.
> 

Rebuilding gst-plugins-cdparanoia seems to have solved this problem on my amd64 as well.  Maybe there should be a warning about this problem in the ebuild.  Would make things much easier for folks.
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-26 22:01:26 UTC
needinfo from original reporter, appears to be fixed for others.