[Pyo / Jackd / PulseAudio]:杰克错误:无法创建JACK客户端(CromeOS / CROUTON / Precise)

时间:2015-12-31 19:49:39

标签: python arm chroot google-chrome-os pulseaudio

尝试将PYO音乐模块用于我的Chromebook(Chroot Dev)(ARM7处理器)(Precise Penguin / ubuntu 12.04)

杓:

>>>import pyo
pyo version 0.7.7 (uses single precision)
>>>pyo.Server(audio='jack').boot()

由于ARM处理器和Precise,必须对依赖项进行一些小的修改:

1] ARM根据Jackd2更改为/ proc / cpuinfo,错误:

FATAL: cannot locate cpu MHz in /proc/cpuinfo

solution?之后错误发生了变化,但知之甚少,知道是否更好。

2] xwPython3.0不适用于Precise:

solution,不应该是一个问题,因为这是UI依赖性正确吗?

现在这就是错误所在:

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2015 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
/usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_driver_params_parse
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jack error: Unable to create JACK client
jack_client_close called with a NULL client

Server not booted.
<pyolib.server.Server object at 0x1671150>

我设法在Google上找到的任何错误消息的解决方案都没有更改此错误消息。 (google用Google搜索其他内容,但你不关心我凌乱的网络历史)

的pulseaudio:

>pulseaudio --start

E: [pulseaudio] main.c: Daemon startup failed.

这可能是主要问题,因为Precise和ChromeOS正在运行sidebyside,这会导致对Deamon的锁定?

>pulseaudio --kill

E: [pulseaudio] main.c: Failed to kill daemon: No such process
>sudo pulseaudio --kill

E: [pulseaudio] core-util.c: Home directory /home/USERNAME not ours. 
E: [pulseaudio] main.c: Failed to kill daemon: Permission denied

sudo权限被拒绝??? PulseAudio在ChromeOS中运行???

jackd:

>jack_control start

Traceback (most recent call last):
  File "/usr/local/bin/jack_control", line 399, in <module>
    main()
  File "/usr/local/bin/jack_control", line 158, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__ 
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

这不起作用因为我没有显示器&#34;为杰克打开了吗?

1 个答案:

答案 0 :(得分:1)

Solution 1:将JACK连接到CRAS而不是ALSA,可能是您想要的,除非您想要将ChromeOS与音频断开连接(来自解决方案2的开放链接以获取更多信息)

Solution 2:通过关闭CRAS将ALSA和JACK直接连接到硬件