Il problema del blocco di pulseaudio non è risolto in Gslacky 2.24.1?
Ho appena verificato un blocco durante la riproduzione audio, risolto con uno stop e un restart di rc.pulseaudio.
Moderatore: Staff


....alcuni giorni fa ha testato per almeno due ore Pulseaudio senza problemi.
....non so se dipenda dal kernel perchè è il 2.6.24.7 o da qualche altro pacchetto aggiornato dalla 12.1, visto e lo ripeto che io gslacky l'ho installato sulla current non sulla 12.1, forse la differenza è tutta qui.
E: shm.c: shm_open() failed: Permission denied
ALSA lib pcm_pulse.c:629:(pulse_prepare) PulseAudio: Unable to create stream: Invalid argument
/usr/bin/pulseaudio -vv --system --daemonize --high-priority
D: main.c: Started as real root: yes, suid root: no
I: main.c: setrlimit(RLIMIT_RTTIME, (1000000, 1000000)) failed: Invalid argument
I: core-util.c: Successfully gained nice level -11.
D: main.c: Can realtime: yes, can high-priority: yes
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
E: main.c: Daemon startup failed.

killall pulseaudiopulseaudio -v
Sei sicuro di non avere il demone pulseaudio in esecuzione?
D: main.c: Started as real root: yes, suid root: no
I: main.c: setrlimit(RLIMIT_RTTIME, (1000000, 1000000)) failed: Invalid argument
I: core-util.c: Successfully gained nice level -11.
D: main.c: Can realtime: yes, can high-priority: yes
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
E: main.c: Daemon startup failed.
ps ax |grep pulse
2813 ? Ssl 0:09 /usr/bin/pulseaudio --log-target=syslog -Lmodule-esound-compat-spawnfd fd=19
2824 ? S 0:00 /usr/libexec/pulse/gconf-helper
3298 pts/0 S+ 0:00 tail -f /var/log/pulse.log
3416 pts/1 S+ 0:00 grep pulse
root@# /etc/rc.d/rc.pulseaudio stop
Stopping PulseAudio Daemon: /usr/bin/pulseaudio.
root@medusa:~# ps ax |grep pulse
3298 pts/0 S+ 0:00 tail -f /var/log/pulse.log
3428 pts/1 S+ 0:00 grep pulse
root@medusa:~# /etc/rc.d/rc.pulseaudio start
audacious
amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration
amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/Input/amidi-plug/ap-alsa.so'
amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/amidi-plug/ap-alsa.so (name 'alsa') successfully loaded
E: shm.c: shm_open() failed: Permission denied
ALSA lib pulse.c:266:(pulse_connect) PulseAudio: Unable to connect: Connection refused
** (audacious:3576): WARNING **: alsa_setup(): Failed to open pcm device (default): Connessione rifiutata
ERROR: libflacng.so: plugin.c:339 (flac_play_loop): Could not open output plugin!
Segmentation fault
/usr/bin/start-pulseaudio-x11pulseaudio[2829]: cpulimit.c: Recevied request to terminate due to CPU overload/usr/bin/start-pulseaudio-x11
I: caps.c: Dropping root priviliges.
W: main.c: High-priority scheduling enabled in configuration but not allowed by policy.
W: core-util.c: setpriority(): Permission denied
high-priority = no
log-target = syslog
log-level = errorauto_spawn=0pulseaudio[3962]: pid.c: Daemon already running.
pulseaudio[3962]: main.c: pa_pid_file_create() failed.no-cpu-limit = yesrealtime-scheduling = yes
high-priority = yes
no-cpu-limit = no
default-fragment-size-msec = 50pulseaudio[3329]: cpulimit.c: Recevied request to terminate due to CPU overload.
. http://cvs.fedoraproject.org/viewvc//de ... time.patch
Gohanz:
Dopo un po di ricerche ho trovato che il problema è generale e non riguarda solo PulseAudio di GSlacky
From Lennart Poettering 2008-10-23 23:00:03 EDT -------
OK, so I am one step further.
First, this issue has multiple different causes. I nailed at least one of them,
which was specific to 32bit machines which is the reason I was unable to
reproduce this on my 64bit machine. The fix is trivial:
http://git.0pointer.de/?p=pulseaudio.gi ... 1d6f0ce2c2
Brrr, I lost too much time on this one.
This patch is included in 0.9.13-4. So, everyone, please give it a try. It's in
koji right now.
This should hopefully fix the issue for the majority of people. Still there
seem to be some driver issues left. I know for sure that the Creative ALSA
drivers are borked. 0.9.13-4 includes some diagnostic code that will verify the
results of a couple of ALSA calls and log a warning if they are inconsistent or
have values that are suspicously high.
So, even if you have a Creative card, give this a try and watch your logs. It
will hopefully give us a hint what is wrong so we can inform the ALSA people
about this.

realtime-scheduling = yes
high-priority = yes
no-cpu-limit = no
log-target = syslog
log-level = error
default-fragment-size-msec = 50auto_spawn=0





Visitano il forum: Nessuno e 0 ospiti