Rythmbox and Flac

Alf-Ivar Holm alfh at student.matnat.uio.no
Thu Mar 3 19:07:57 UTC 2005


Sean Kelley <sean.sweng at gmail.com> writes:

> Solved it.  My problem had to do with polypaudio upgrade.  Once, I
> followed these steps I got audio working again....
>>>>>>>>>>>>>>>>>>>
> Oliver and I (among others) have experienced the Rhythmbox-not-working-
> with-Polypaudio issue: to see if you reach the same conclusion we did
> regarding default.pa being ignored, try these steps:
>
> 1) Set all apps to use EsounD output;

And how do you specify that?

> 2) polypaudio -k
> 3) polypaudio -nF /etc/polypaudio/default.pa

    affi at shuttle:~$ polypaudio -k
    affi at shuttle:~$ polypaudio -nF /etc/polypaudio/default.pa
    source.c: created 0 "null_monitor" with sample spec "S16LE 2ch 44100Hz"
    sink.c: created 0 "null" with sample spec "S16LE 2ch 44100Hz"
    module.c: Loaded "module-null-sink" (index: #0; argument: "").
    module-protocol-stub.c: Failed to create secure socket directory.
    module.c: Failed to load  module "module-esound-protocol-unix" (argument: ""): initialization failed.
    protocol-native.c: loading cookie from disk.
    module.c: Loaded "module-native-protocol-unix" (index: #1; argument: "").
    client.c: created 0 "STDIN/STDOUT client"
    module.c: Loaded "module-cli" (index: #2; argument: "").
    module.c: Loaded "module-x11-bell" (index: #3; argument: "sample=x11-bell sink=output").
    module-x11-publish.c: using already loaded auth cookie.
    module.c: Loaded "module-x11-publish" (index: #4; argument: "").
    Module load failed.
    main.c: Daemon startup complete.
    Welcome to polypaudio! Use "help" for usage information.

The 'Failed to load module "module-esound-protocol-unix"' comment
isn't too encouraging, but that may be because I didn't manage step 1?

> 4) Desktop>Preferences>Multimedia Systems Selector>Default Sink>ESD>Test
>   should now work
> <<<<<<<<<<<<<<<<<<

My reason for trying this is because I think I got the #6741 bug:

	https://bugzilla.ubuntu.com/show_bug.cgi?id=6741

and here is the output of "rhythmbox -d" when I try to play a song (as
it is made by sound-juicer) by clicking on the play button:

[0x80d34c0] [rb_shell_player_playpause] rb-shell-player.c:1319 (19:25:39): no playing source, using selected source
[0x80d34c0] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:1764 (19:25:39): setting playing source to 0x8250608
[0x80d34c0] [rb_shell_player_sync_with_source] rb-shell-player.c:1621 (19:25:39): playing source: 0x8250608, active entry: (nil)
[0x80d34c0] [rb_shell_set_window_title] rb-shell.c:2050 (19:25:39): clearing title
[0x80d34c0] [rb_header_sync] rb-header.c:489 (19:25:39): syncing with node = (nil)
[0x80d34c0] [rb_header_sync] rb-header.c:580 (19:25:39): not playing
[0x80d34c0] [rb_shell_player_sync_buttons] rb-shell-player.c:1684 (19:25:39): syncing with source 0x8250608
[0x80d34c0] [rb_linear_play_order_get_next] rb-play-order-linear.c:95 (19:25:39): choosing next linked entry
[0x80d34c0] [rb_linear_play_order_get_next] rb-play-order-linear.c:100 (19:25:39): Player is stopped, picking first entry
[0x80d34c0] [rb_shell_player_set_play_button] rb-shell-player.c:1577 (19:25:39): setting play button
[0x80d34c0] [rb_shell_player_playpause] rb-shell-player.c:1329 (19:25:39): choosing first selected entry
[0x80d34c0] [rb_shell_player_open_location] rb-shell-player.c:848 (19:25:39): Opening file:///home/affi/Rammstein/Reise, Reise/07 - Moskau.ogg...
[0x80d34c0] [rb_player_construct] rb-player-gst.c:457 (19:25:39): constructing element "pipeline"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:506 (19:25:39): constructing queue
[0x80d34c0] [rb_player_construct] rb-player-gst.c:519 (19:25:39): constructing element "typefind"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:522 (19:25:39): constructing element "decoder"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:525 (19:25:39): constructing element "volume"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:534 (19:25:39): constructing element "audioconvert"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:537 (19:25:39): constructing element "audioscale"
[0x80d34c0] [rb_player_construct] rb-player-gst.c:576 (19:25:39): pipeline construction complete
[0x80d34c0] [rb_player_sync_pipeline] rb-player-gst.c:627 (19:25:39): syncing pipeline
[0x80d34c0] [rb_player_sync_pipeline] rb-player-gst.c:658 (19:25:39): decoding gst version to check if we may free the audio sink
[0x80d34c0] [rb_player_sync_pipeline] rb-player-gst.c:669 (19:25:39): PAUSING pipeline
Got error opening "file:///home/affi/Rammstein/Reise%2C%20Reise/07%20-%20Moskau.ogg": Could not pause playback
[0x80d34c0] [rb_shell_player_sync_with_source] rb-shell-player.c:1621 (19:25:40): playing source: 0x8250608, active entry: (nil)
[0x80d34c0] [rb_shell_set_window_title] rb-shell.c:2050 (19:25:40): clearing title
[0x80d34c0] [rb_header_sync] rb-header.c:489 (19:25:40): syncing with node = (nil)
[0x80d34c0] [rb_header_sync] rb-header.c:580 (19:25:40): not playing
[0x80d34c0] [rb_shell_player_sync_buttons] rb-shell-player.c:1684 (19:25:40): syncing with source 0x8250608
[0x80d34c0] [rb_linear_play_order_get_next] rb-play-order-linear.c:95 (19:25:40): choosing next linked entry
[0x80d34c0] [rb_linear_play_order_get_next] rb-play-order-linear.c:100 (19:25:40): Player is stopped, picking first entry
[0x80d34c0] [rb_shell_player_set_play_button] rb-shell-player.c:1577 (19:25:40): setting play button
[0x80d34c0] [rb_shell_player_error] rb-shell-player.c:1941 (19:25:40): error: Could not open resource for writing.
[0x80d34c0] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:1764 (19:25:40): setting playing source to (nil)
[0x80d34c0] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:1770 (19:25:40): source is already playing, stopping it
[0x80d34c0] [rb_shell_entry_changed_cb] rb-shell.c:1339 (19:25:40): no song info returned!
[0x80d34c0] [rb_shell_player_stop] rb-shell-player.c:1809 (19:25:40): stopping
[0x80d34c0] [rb_shell_player_sync_with_source] rb-shell-player.c:1621 (19:25:40): playing source: (nil), active entry: (nil)
[0x80d34c0] [rb_shell_set_window_title] rb-shell.c:2050 (19:25:40): clearing title
[0x80d34c0] [rb_header_sync] rb-header.c:489 (19:25:4): syncing with node = (nil)
[0x80d34c0] [rb_header_sync] rb-header.c:580 (19:25:40): not playing
[0x80d34c0] [rb_shell_player_sync_buttons] rb-shell-player.c:1684 (19:25:40): syncing with source 0x8250608
[0x80d34c0] [rb_shell_player_set_play_button] rb-shell-player.c:1577 (19:25:40): setting play button
[0x80d34c0] [rb_shell_player_error] rb-shell-player.c:1946 (19:25:40): exiting error hander
b_header_sync] rb-header.c:489 (19:25:40): syncing with node = (nil)
[0x80d34c0] [rb_header_sync] rb-header.c:580 (19:25:40): not playing
[0x80d34c0] [rb_shell_player_sync_buttons] rb-shell-player.c:1684 (19:25:40): syncing with source 0x8250608
[0x80d34c0] [rb_shell_player_set_play_button] rb-shell-player.c:1577 (19:25:40): setting play button
[0x80d34c0] [rb_shell_player_error] rb-shell-player.c:1946 (19:25:40): exiting error hander

As shown in the debug I first get an error pop-up with "Could not
pause playback" which is then obscured by a new one with "Could not
open resource for writing.".

The Ubuntu is Hoary (Array 5) with updated packages of today, without
the esound package.  I got system sound (occasional «plings» and
«plongs») so all sound is not broken - is that the "module-x11-bell"
module BTW?

One thing that might be related is that for every new user I have to
run gst-register-0.8 to use any of the multimedia stuff, but I guess
that is because I got an error with GStreamer during install (the only
error I got).

	Affi




More information about the ubuntu-users mailing list