Re: [Community] [Gta04-owner] QtMoko v49

2012-11-18 Thread Neil Jerram
Radek Polak  writes:

> Hi,
> can you please try:
>
>   killall pulse.sh
>   killall pulseaudio
>   . /opt/qtmoko/qpe.env
>   pulseaudio
>
> Does it start? My output is like this:
>
> root@neo:/root# killall pulse.sh
> root@neo:/root# killall pulseaudio
> root@neo:/root# . /opt/qtmoko/qpe.env
> root@neo:/root# pulseaudio
> W: main.c: This program is not intended to be run as root (unless --system is 
> specified).
> W: main.c: Unable to contact D-Bus: 
> org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
> abnormally with the following error: Autolaunch error: X11 initialization 
> failed.
> W: ratelimit.c: 15 events suppressed

root@neo:~# /etc/init.d/sysklogd start
Starting system log daemon
root@neo:~# tail -f /var/log/messages 
Nov 18 15:11:43 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:43 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:43 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:43 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:44 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:45 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:45 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:45 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:46 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:46 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:46 neo pulse.sh: Starting pulseaudio
^C
root@neo:~# killall pulse.sh
root@neo:~# killall pulseaudio
pulseaudio: no process found
root@neo:~# ps wuax | grep pulse
root  2755  0.0  0.1   1864   580 pts/0S+   15:12   0:00 grep pulse
root@neo:~# . /opt/qtmoko/qpe.env 
root@neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
E: module-console-kit.c: GetSessionsForUnixUser() call failed: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
E: module.c: Failed to load  module "module-console-kit" (argument: ""): 
initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
root@neo:/root# 

> I see the difference is in "E: module-console-kit.c". Can you try comment out 
> the line "load-module module-console-kit" in /etc/pulse/default.pa?

root@neo:/root# nano /etc/pulse/default.pa 
root@neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
W: main.c: Unable to contact D-Bus: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
abnormally with the following error: Autolaunch error: X11 initialization 
failed.
W: ratelimit.c: 15 events suppressed

OK, this is looking better now.  After a reboot, responsiveness is back
to normal and I can play media.

Thanks,
Neil

_

Re: [Community] [Gta04-owner] QtMoko v49

2012-11-18 Thread Radek Polak
On Sunday, November 18, 2012 03:55:24 PM Neil Jerram wrote:

> Radek Polak  writes:
> > Hi,
> > QtMoko v49 for GTA04 is now available [1]. There have been really many
> > changes this time so be careful :)
> 
> For me, after installing this, pulseaudio fails to start up.  The log
> has repeating messages log this:
> 
> ...
> Jan  1 00:50:10 neo pulse.sh: Starting pulseaudio
> Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be
> run as root (unless --system is specified). Jan  1 00:50:11 neo pulse.sh:
> E: module-console-kit.c: GetSessionsForUnixUser() call failed:
> org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
> /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success Jan  1 00:50:11 neo
> pulse.sh: E: module.c: Failed to load  module "module-console-kit"
> (argument: ""): initialization failed. Jan  1 00:50:11 neo pulse.sh: E:
> main.c: Module load failed.
> Jan  1 00:50:11 neo pulse.sh: E: main.c: Failed to initialize daemon.
> Jan  1 00:50:11 neo pulse.sh: Starting pulseaudio
> Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be
> run as root (unless --system is specified). Jan  1 00:50:12 neo pulse.sh:
> E: module-console-kit.c: GetSessionsForUnixUser() call failed:
> org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
> /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success Jan  1 00:50:12 neo
> pulse.sh: E: module.c: Failed to load  module "module-console-kit"
> (argument: ""): initialization failed. Jan  1 00:50:12 neo pulse.sh: E:
> main.c: Module load failed.
> Jan  1 00:50:12 neo pulse.sh: E: main.c: Failed to initialize daemon.
> ...

Hi,
can you please try:

killall pulse.sh
killall pulseaudio
. /opt/qtmoko/qpe.env
pulseaudio

Does it start? My output is like this:

root@neo:/root# killall pulse.sh
root@neo:/root# killall pulseaudio
root@neo:/root# . /opt/qtmoko/qpe.env
root@neo:/root# pulseaudio
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
W: main.c: Unable to contact D-Bus: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
abnormally with the following error: Autolaunch error: X11 initialization 
failed.
W: ratelimit.c: 15 events suppressed


I see the difference is in "E: module-console-kit.c". Can you try comment out 
the line "load-module module-console-kit" in /etc/pulse/default.pa?

Regards

Radek





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Gta04-owner] QtMoko v49

2012-11-18 Thread Neil Jerram
Radek Polak  writes:

> Hi,
> QtMoko v49 for GTA04 is now available [1]. There have been really many 
> changes 
> this time so be careful :)

For me, after installing this, pulseaudio fails to start up.  The log
has repeating messages log this:

...
Jan  1 00:50:10 neo pulse.sh: Starting pulseaudio
Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Jan  1 00:50:11 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Jan  1 00:50:11 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Jan  1 00:50:11 neo pulse.sh: E: main.c: Module load failed.
Jan  1 00:50:11 neo pulse.sh: E: main.c: Failed to initialize daemon.
Jan  1 00:50:11 neo pulse.sh: Starting pulseaudio
Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Jan  1 00:50:12 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Jan  1 00:50:12 neo pulse.sh: E: module.c: Failed to load  module 
"module-console-kit" (argument: ""): initialization failed.
Jan  1 00:50:12 neo pulse.sh: E: main.c: Module load failed.
Jan  1 00:50:12 neo pulse.sh: E: main.c: Failed to initialize daemon.
...

and average load (according to top) is about 1.3, which makes other UI
operations on the phone sluggish.

This is after a real vanilla installation with a newly downloaded v49
tarball.  After unpacking the tarball I did restore a few things under
/etc/ssh and /home/root (per the backup/restore thread), but I doubt
that those would be the cause of this pulseaudio startup problem.

Regards,
Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community