настроил звук — без проблем
no valid sound card driver found
Настроил, ага. xD
По moc ничего не скажу, а конфиг mpd в студию.
mord0d ★★★★★
(09.07.21 08:41:58 MSK)
Последнее исправление: mord0d 09.07.21 08:42:34 MSK
(всего
исправлений: 1)
- Показать ответы
- Ссылка
Ответ на:
комментарий
от mord0d 09.07.21 08:41:58 MSK
Доступа к компу пока нету (этот тред я писал с телефона) но позже напишу
- Ссылка
Ответ на:
комментарий
от mord0d 09.07.21 08:41:58 MSK
Ответ на:
комментарий
от Dumppper001 09.07.21 09:00:30 MSK
Ответ на:
комментарий
от Qathos 09.07.21 09:06:48 MSK
Ответ на:
комментарий
от Dumppper001 09.07.21 09:10:38 MSK
Тогда не знаю, я только с альсой чистой знаю как сделать
burato ★★★★★
(09.07.21 09:11:30 MSK)
- Ссылка
Ответ на:
комментарий
от burato 09.07.21 09:10:28 MSK
Ответ на:
комментарий
от Dumppper001 09.07.21 09:10:38 MSK
Для Пульсы в конфиг ~/.config/mpd/mpd.conf это:
audio_output {
type "pulse"
name "My Pulse Output"
## server "remote_server" # optional
## sink "remote_server_sink" # optional
}
Qathos ★
(09.07.21 09:25:02 MSK)
- Ссылка
Ответ на:
комментарий
от Dumppper001 09.07.21 09:22:32 MSK
Я не знаю как в пульсе это делать, на чистой альсе надо было вписать в графе конфига название аудиомикшера
burato ★★★★★
(09.07.21 09:25:43 MSK)
- Показать ответ
- Ссылка
Ответ на:
комментарий
от Dumppper001 09.07.21 09:00:30 MSK
У разных приложений может быть разный аудиовыход. У mpd по умолчанию может вообще не быть аудиовывода (зависит от мейнтейнера пакета и дефолтного конфига).
mord0d ★★★★★
(09.07.21 10:12:56 MSK)
- Ссылка
Ответ на:
комментарий
от Dumppper001 09.07.21 09:10:38 MSK
Pulse audio альсы нету
PulseAudio работает поверх ALSA, без ALSA оно в принципе работать не может.
mord0d ★★★★★
(09.07.21 10:14:05 MSK)
- Показать ответ
- Ссылка
Ответ на:
комментарий
от mord0d 09.07.21 10:14:05 MSK
Поставил голый пакет pulseaudio alas как зависимость не ставилась но пульса работает без нареканий
- Ссылка
Ответ на:
комментарий
от burato 09.07.21 09:25:43 MSK
Ответ на:
комментарий
от Dumppper001 09.07.21 10:44:40 MSK
Ответ на:
комментарий
от burato 09.07.21 11:05:10 MSK
Ответ на:
комментарий
от Dumppper001 09.07.21 12:44:51 MSK
В большинстве дистрибутивов Linux он лежит по пути /etc/asound.conf
, или что-то типа того, точно не помню (не пользователь Linux, не пользователь ALSA, не пользователь PulseAudio).
mord0d ★★★★★
(09.07.21 13:11:41 MSK)
- Показать ответы
- Ссылка
Ответ на:
комментарий
от mord0d 09.07.21 13:11:41 MSK
Ответ на:
комментарий
от mord0d 09.07.21 13:11:41 MSK
Ответ на:
комментарий
от burato 09.07.21 13:14:53 MSK
На винфаке меня примут хотя бы за TCP-стек, который в Windows перекочевал как раз из той ОС, которую я использую.
Ну и да, линуксоид мне не товарищ. :3
mord0d ★★★★★
(09.07.21 20:48:37 MSK)
Последнее исправление: mord0d 09.07.21 20:50:43 MSK
(всего
исправлений: 1)
- Ссылка
Ответ на:
комментарий
от Dumppper001 09.07.21 13:16:07 MSK
Во FreeBSD всегда был OSS, который просто работает.
В Linux его очень давно выкинули за некошерную 2-Clause_BSD/CDDL-лицензию и вместо этого сотворили кривой ALSA, а чтобы сгладить кривизну сотворили не менее кривую надстройку в виде PulseAudio.
Надеюсь, с приходом PipeWire в Linux станет чуть лучше.
mord0d ★★★★★
(09.07.21 20:57:20 MSK)
- Показать ответ
- Ссылка
Ответ на:
комментарий
от burato 09.07.21 09:10:28 MSK
- у меня почему то нет конфига moc
- alsa не хочет распознаваться в moc
- конфига mpd тоже нету (по дефолту)
ошибка:
Trying JACK…
Trying alsa…
Alsa lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
FATAL_ERROR: No valid sound driver!
Server exited!
- Показать ответ
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 10:27:00 MSK
FATAL_ERROR
https://mpd.readthedocs.io/en/stable/user.html#the-configuration-file
If you built MPD from sources, please recompile with Meson option “--buildtype=debug -Db_ndebug=false
”, because this will add more helpful information to the backtrace.
You can extract the backtrace from a core dump, or by running MPD in a debugger, e.g.:
gdb --args mpd --stderr --no-daemon --verbose
run
anonymous
(10.07.21 10:37:25 MSK)
- Ссылка
Ответ на:
комментарий
от burato 09.07.21 09:10:28 MSK
moc работает всегда и везде.
что за дистрибутив то?
поди опять выеживался и пульс не ставил
- Показать ответ
- Ссылка
Ответ на:
комментарий
от darkenshvein 10.07.21 11:26:46 MSK
Archlinux x86-64
Стоит pulseaudio последней версии
Alsa нету
Ошибку при запуске видите вверху
- Показать ответ
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 11:28:32 MSK
Ответ на:
комментарий
от darkenshvein 10.07.21 11:34:02 MSK
Во-первых, я позлорадствую. Во-вторых, отправлю тебя в арчвики, там есть решение твоей проблемы.
anonymous
(10.07.21 11:36:38 MSK)
- Показать ответ
- Ссылка
Ответ на:
комментарий
от anonymous 10.07.21 11:36:38 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 11:37:34 MSK
Ответ на:
комментарий
от anonymous 10.07.21 11:38:46 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 11:39:53 MSK
О, да!!
О, нет!! Пульса без libasound
? Ну это как линь без ядра.
anonymous
(10.07.21 11:46:01 MSK)
- Показать ответы
- Ссылка
Ответ на:
комментарий
от anonymous 10.07.21 11:46:01 MSK
Ответ на:
комментарий
от anonymous 10.07.21 11:46:01 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 11:47:04 MSK
Ответ на:
комментарий
от anonymous 10.07.21 11:48:09 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 11:50:51 MSK
У меня она
Покажи! Думать и прочей хренатнёй будешь потом заниматься.
anonymous
(10.07.21 11:54:11 MSK)
- Показать ответ
- Ссылка
Ответ на:
комментарий
от anonymous 10.07.21 11:54:11 MSK
Я же сказал что она ставилась без зависимостей
Сейчас опять написал Sudo pacman -S pulseaudio и он просто переустановился без зависимостей вовсе
- Показать ответы
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 11:57:25 MSK
Ответ на:
комментарий
от anonymous 10.07.21 11:58:28 MSK
Щас далеко от компа сделать скрин не смогу
Я написал:
Sudo pacman -S pulseaudio
Разрешение зависимостей…
Pulseaudio 14.2-3 не устарел –переустанавливается
Дальше все и так понятно
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 11:57:25 MSK
Ответ на:
комментарий
от anonymous 10.07.21 11:58:28 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 12:03:37 MSK
Я же сказал
Покажи!
anonymous
(10.07.21 12:04:13 MSK)
- Ссылка
Ответ на:
комментарий
от anonymous 10.07.21 12:03:37 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 12:04:33 MSK
Пока я
Подождём. Не гордые.
anonymous
(10.07.21 12:06:45 MSK)
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 11:47:04 MSK
Ответ на:
комментарий
от Dumppper001 10.07.21 11:36:04 MSK
Хз но я запускал браузер включал музон и…. Оно работает
кароче, тебе наврали, что арч это kiss, сноси его
- Ссылка
Ответ на:
комментарий
от Dumppper001 10.07.21 12:03:37 MSK
Я же сказал pacman не выдал никаких зависимостей pulseaudio
так это не дебиан же))
- Показать ответ
- Ссылка
Ответ на:
комментарий
от darkenshvein 10.07.21 14:33:37 MSK
Ну вот я с самого начала написал Archlinux x86-64
- Ссылка
View previous topic :: View next topic | |||||||||||||||
Author | Message | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
Tefrem34 Guru Joined: 14 Sep 2014 |
|
||||||||||||||
Back to top |
|
||||||||||||||
|
You cannot post new topics in this forum |
- Index
- » Newbie Corner
- » [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
Pages: 1
#1 2014-02-11 06:53:29
- wootsgoinon
- Member
- Registered: 2013-10-30
- Posts: 44
[SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
mocp
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_hw.c:1741:(_snd_pcm_hw_open) Unknown field mmap_emulation
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
so some time ago i messed up the sound badly and now i’m clueless on what to do. i have alsa, oss and pulseaudio (re-re-re-re-re)installed (i know i shouldn’t). i’m a total noob when it comes to the audio department so i can’t really add way too much to it.
audacious drops the following when i try to play something:
ALSA error: snd_pcm_open failed: Invalid argument.
there is audio, however (some games/web) if i pulseaudio —start.
pls ask for outputs to give you the necessary info
Last edited by wootsgoinon (2014-02-11 23:37:15)
#2 2014-02-11 17:57:16
- ooo
- Member
- Registered: 2013-04-10
- Posts: 1,637
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
did you have working audio before you did something that messed it up?
alsa is pretty much all you need for working audio. You could run pulseaudio on top of it if you want, but usually it doesn’t benefit you in any way unless you have some specific issues with alsa, like audio only playing from one application at the time.
You can safely remove everything OSS related, unless you actually want to configure your system to use OSS for some reason.
If you want to revert to default your alsa configuration you could just remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration so that your alsa-only applications work with pulse.
#3 2014-02-11 23:36:39
- wootsgoinon
- Member
- Registered: 2013-10-30
- Posts: 44
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
«remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration»
thank you, that did it!
Last edited by wootsgoinon (2014-02-11 23:38:28)
#4 2014-05-28 18:06:05
- regressionfree
- Member
- Registered: 2013-05-09
- Posts: 2
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
thanks for this
I installed alsaequal messing about and it screwed up flash in firefox, and moc with the same «FATAL_ERROR: No valid sound driver!» error since alsaequal created an ~/.asoundrc file. Once removed everything was back to awesome.
Last edited by regressionfree (2014-05-28 18:08:26)
I had to hard-reboot my Raspberry Pi (unplug the power) running Ubuntu Server 20.04 and since then I cannot run the console music playermocp
anymore.
The program runs through the initialization of OSS and ALSA drivers, then fails with the message FATAL_ERROR: No valid sound driver!
I have tried purging the package (via apt-get purge mocp
) and reinstalling it, but the error message remains. Googling around this question brings up a few very old threads (here and here) on MOC’s own discussion boards, suggesting this to be either an ALSA issue or with the sound card, but I’m not sure about this since when I run alsamixer
it starts and I can do things like change the volume of it. Plus, if run other programs that use audio like mpg123 the audio is fine.
Detailed error log extracted with mocp -F
is shown below, sorry if it’s a little verbose. Does anybody know what might be causing this?
Many thanks!
Aug 31 15:34:23.139072: main.c:1191 main(): This is Music On Console (version 2.6-alpha3)
Aug 31 15:34:23.139216: main.c:1195 main(): Configured: '--build=arm-linux-gnueabihf' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/moc-NiZ4Xl/moc-2.6.0~svn-r2994=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/moc-NiZ4Xl/moc-2.6.0~svn-r2994=. -fstack-protector-strong -Wformat -Werror=format-security'
Aug 31 15:34:23.139240: main.c:1205 main(): Running on: Linux 5.4.0-1015-raspi armv7l
Aug 31 15:34:23.140180: main.c:1157 log_command_line(): mocp -F
Aug 31 15:34:23.140265: main.c:1171 log_popt_command_line(): mocp --foreground
Aug 31 15:34:23.159074: decoder.c:700 load_plugins(): Loaded 11 decoders: aac flac modplug mp3 musepack opus sidplay2 sndfile speex vorbis wavpack
Aug 31 15:34:23.159160: server.c:360 server_init(): Starting MOC Server
Aug 31 15:34:23.159210: log.c:233 log_init_stream(): Writing log to: stdout
Aug 31 15:34:23.159384: server.c:300 log_process_stack_size(): Process's stack size: 8388608
Aug 31 15:34:23.159402: server.c:317 log_pthread_stack_size(): PThread's stack size: 8388608
Trying JACK...
Aug 31 15:34:23.160789: jack.c:121 error_cb(): ERROR: JACK: Cannot connect to server socket err = No such file or directory
Aug 31 15:34:23.160809: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.160847: jack.c:121 error_cb(): ERROR: JACK: Cannot connect to server request channel
Aug 31 15:34:23.160861: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.163010: jack.c:121 error_cb(): ERROR: JACK: jack server is not running or cannot be started
Aug 31 15:34:23.163028: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.163298: jack.c:121 error_cb(): ERROR: JACK: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Aug 31 15:34:23.163317: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.163332: jack.c:121 error_cb(): ERROR: JACK: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Aug 31 15:34:23.163344: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.163369: jack.c:148 moc_jack_init(): ERROR: jack_client_open() failed, status = 0x11
Aug 31 15:34:23.163381: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.163393: jack.c:150 moc_jack_init(): ERROR: Unable to connect to JACK server
Aug 31 15:34:23.163404: server.c:672 add_event_all(): No events have been added because there are no clients
Trying ALSA...
Aug 31 15:34:23.163423: alsa.c:477 alsa_init(): Initialising ALSA device: default
Aug 31 15:34:23.165678: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can't find mixer PCM
Aug 31 15:34:23.165710: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.165733: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can't find mixer Master
Aug 31 15:34:23.165751: server.c:672 add_event_all(): No events have been added because there are no clients
Trying OSS...
Aug 31 15:34:23.165829: oss.c:206 oss_init(): ERROR: Can't open mixer device /dev/mixer: No such file or directory
Aug 31 15:34:23.165851: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.165899: oss.c:71 open_dev(): ERROR: Can't open /dev/dsp: No such file or directory
Aug 31 15:34:23.165918: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.165939: oss.c:87 set_capabilities(): ERROR: Can't open the device.
Aug 31 15:34:23.165956: server.c:672 add_event_all(): No events have been added because there are no clients
Aug 31 15:34:23.166034: audio.c:926 find_working_driver(): FATAL ERROR: No valid sound driver!
Содержание
- Arch Linux
- #1 2014-02-11 06:53:29
- [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
- #2 2014-02-11 17:57:16
- Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
- #3 2014-02-11 23:36:39
- Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
- #4 2014-05-28 18:06:05
- Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
- moc FATAL_ERROR: Server exited!
- Forums:
- Difficult. Very Difficult
- Thank you very much for your
- Missing «cpu MHz»
- On Foreign Threads
- Yes, about the libraries
- So Ditch The JACK
- Right now I love you
- The Meaning of Life
- New purpose
- Give Yourself Permission
- Success
- Glad I Could Help
- Also See.
- Jack package patch
- JACK running on RPI
- Thanks for looking into
- emctl start dbconsole fails
- Answers
Arch Linux
You are not logged in.
#1 2014-02-11 06:53:29
[SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
so some time ago i messed up the sound badly and now i’m clueless on what to do. i have alsa, oss and pulseaudio (re-re-re-re-re)installed (i know i shouldn’t). i’m a total noob when it comes to the audio department so i can’t really add way too much to it.
audacious drops the following when i try to play something:
ALSA error: snd_pcm_open failed: Invalid argument.
there is audio, however (some games/web) if i pulseaudio —start.
pls ask for outputs to give you the necessary info
Last edited by wootsgoinon (2014-02-11 23:37:15)
#2 2014-02-11 17:57:16
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
did you have working audio before you did something that messed it up?
alsa is pretty much all you need for working audio. You could run pulseaudio on top of it if you want, but usually it doesn’t benefit you in any way unless you have some specific issues with alsa, like audio only playing from one application at the time.
You can safely remove everything OSS related, unless you actually want to configure your system to use OSS for some reason.
If you want to revert to default your alsa configuration you could just remove your
/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration so that your alsa-only applications work with pulse.
#3 2014-02-11 23:36:39
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration»
thank you, that did it!
Last edited by wootsgoinon (2014-02-11 23:38:28)
#4 2014-05-28 18:06:05
Re: [SOLVED] moc: «FATAL_ERROR: No valid sound driver! Server exited!»
thanks for this
I installed alsaequal messing about and it screwed up flash in firefox, and moc with the same «FATAL_ERROR: No valid sound driver!» error since alsaequal created an
/.asoundrc file. Once removed everything was back to awesome.
Last edited by regressionfree (2014-05-28 18:08:26)
Источник
moc FATAL_ERROR: Server exited!
Forums:
Thanks for your player, I’m enjoying it very much. However, I’m having a problem on the Raspberry Pi.
I’m running Archlinux Arm, Linux 3.12.19-3-ARCH armv6l
mocp -V
This is : Music On Console
Version : 2.5.0-beta2
Revision : 2604
Built : Feb 6 2014 14:24:27
Compiled with : OSS ALSA JACK Network streams resample
Running on : Linux 3.12.19-3-ARCH armv6l
Author : Damian Pietras
Homepage : http://moc.daper.net/
E-Mail : mocmaint@daper.net
Copyright : (C) 2003-2014 Damian Pietras and others
License : GNU General Public License, version 2 or later
Already pasted output on ArchlinuxArm, without answer, which I did not expect perse.
Running the server.
Trying JACK.
FATAL_ERROR: Server exited!
Removed the cache, reinstalled, without success.
A strace shows a SIGCHLD,
) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
1556 — SIGCHLD —
1556 futex(0xb6b5546c, FUTEX_WAIT_PRIVATE, 1, NULL
1555 «/dev/shmn», 4096) = 9
1555 close(9) = 0
1555 wait4(1557, [], 0, NULL) = 1557
1555 munmap(0xb6f0e000, 4096) = 0
1555 open(«/proc/cpuinfo», O_RDONLY) = 9
1555 fstat64(9, ) = 0
1555 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f0e000
1555 read(9, «processort: 0nmodel namet: ARMv6-compatible proces». 1024) = 278
1555 read(9, «», 1024) = 0
1555 close(3) = 0
1555 exit_group(1) = ?
1556 +++ exited with 1 +++
1554 «», 4) = 0
1554 write(2, «nFATAL_ERROR: Server exited!nn», 30) = 30
1554 close(3
1555 +++ exited with 1 +++
1554 ) = 0
1554 — SIGCHLD —
1554 exit_group(2) = ?
1554 +++ exited with 2 +++
Thanks for any help, qinohe
Sun, 2014-05-18 23:43
Difficult. Very Difficult
It’s very difficult to determine what is happening here. It may or may not be related to the SIGCHLD or some problem connecting to JACK. Unfortunately, your MOC was not built with logging enabled, so that avenue of evidence gathering is denied to us.
However, we have recently committed r2635 which might provide a solution (but it’s a long shot).
You may want the check that your JACK server is behaving as intended because I’m not in a position to test or debug the MOC JACK sound driver at this time.
You might also want to check any external commands run using the On. options in your MOC configuration file.
If you are able, then rebuilding MOC (preferably at the current SVN HEAD) configured with —enable-debug , running with the -D option and sending mocmaint the compressed mocp_server_log file would enable further investigation.
Tue, 2014-05-20 10:40
Thank you very much for your
Thank you very much for your answer.
Have tried to start jack as follows, which gives me an error.
I also tried to build the svn, it failed with the following build file and next the error
PKGBUILD;
Thanks again for any help, or pointers on what to do next
Tue, 2014-05-20 10:48
Missing «cpu MHz»
The line starting with the word «FATAL» when launching JACK is probably the clue you need. I think you need to ask the Raspberry Pi community about that. It’s now clear why there is one more process in your original posting’s strace output than expected (it’s the JACK server), and I’ll have a look and see if MOC is reporting on the failure to launch JACK appropriately.
The line preceeding the final «ERROR» during the MOC build suggests you may need to be doing that as root.
There are several additional problems apparant in your build which the Raspberry Pi MOC package maintainer can take up with me if he wishes to e-mail mocmaint.
Tue, 2014-05-20 22:59
On Foreign Threads
I’m also tracking the thread you mentioned above. The libraries mentioned in the messages are not required otherwise JACK would not have started at all. They will no doubt be optional and are dynamically loaded at run time.
It might be useful for you to post the output of cat /proc/cpuinfo . There should be a line there «cpu MHz» for which JACK is looking. If there is no file /proc/cpuinfo then you need to look at whether procfs is enabled in your kernel and the /proc filesystem is mounted (check using the mount command without any arguments).
Wed, 2014-05-21 09:41
Yes, about the libraries
Yes, about the libraries being optional, I thought so.
Cpuinfo does show output, but no Mhz.
Mount shows the following output
I’m very glad with the help I get, as MOC was playing 24/7 on the RPI (literately), I definitely miss that.
Wed, 2014-05-21 10:04
So Ditch The JACK
That then is the source of your problem: JACK needs it, /proc/cpuinfo doesn’t have it, game over!
It’s something you’ll need to take up with the Raspberry Pi package maintainers, but I’m a little surprised they’ve let such an obvious problem through.
But do you actually have a need for JACK? MOC should run fine with just ALSA. Try running MOC with the -O «SoundDriver=ALSA» option. If that works you can set that option up permanently in your
Wed, 2014-05-21 11:16
Right now I love you
MOC is playing again, that’s solved. 😉
You mean the Archlinux ARM packagers I guess, or specifically the Raspberry Pi package maintainers?
Would be nice to see JACK is patched.
Do I need JACK? No, I don’t need JACK, ALSA is installed, I immediately changed the config, working OOTB.
What I don’t understand, why it has been playing for the last 5 months’ with the same config.
Thank you very much jcf, helping me troubleshoot this .
Wed, 2014-05-21 19:38
The Meaning of Life
You mean the Archlinux ARM packagers I guess.
What I don’t understand, why it has been playing for the last 5 months with the same config.
The answer to that is simple: something changed. Your purpose in this life is to figure out what.
Thu, 2014-05-22 12:39
New purpose
Ah right, I already left a comment at ARCHlinux ARM about that.
Yeah, I have found ‘My meaning of life’, I’m now gonna look for the Holy Grail
The reason, not being able to configure without root rights, was simply a security problem.
mount showed;
So I changed to my /data partition, which doesn’t have these options set.
Now the configure part runs smoothly, only make fails.
My PKGBUILD looks like this right now;
Maybe you have some pointers?
I have a log file at http://pastebin.com/vRkKAd9z
Thanks,
qinohe
Thu, 2014-05-22 20:00
Give Yourself Permission
Well, this is another permissions problem which has probably arisen after having had repeated build attempts as different users. It should be easily solved by setting the directory ownership and permissions correctly and consistantly. (See the -R option of chown (1) and chmod (1).)
But if you need to, start over with a fresh source tree and build as a single user having appropriate permissions.
Thu, 2014-05-22 20:48
Success
All works well, the change to another build partition, and a few minor adjustments to the PKGBUILD.
I tried the PKGBUILD from the other maintainer, and that also works on that partition.
I’ll keep svn version running as it does all it should, and more.
This little problem learned me a lot. Thanks for your patience jcf
Regards, qinohe
Thu, 2014-05-22 22:35
Glad I Could Help
This little problem learned me a lot.
Yes, between the two threads I could almost see you learning as we went along. Very rewarding.
Tue, 2014-06-10 22:15
Also See.
Also see this thread and this thread for further information.
(Thanks to user «trpost» for spotting these.)
Wed, 2014-06-11 11:45
Jack package patch
Thank you for this information, and trpost for finding this.
I have updated ArchLinuxArm
The idea is, patching Arm package with code provided on Jack audio forum by Fernando Lopez-Lez, until a fix is submitted, although, I don’t know if this is appropriate?, but we would be able to use Jack.
Thu, 2014-06-12 18:27
JACK running on RPI
After learning how to patch, I did it, JACK is running on the PI, need to solve some issues, though.
When all is done, I will make a package with the patch available, for ArchLinuxArm (armv6h)
Wed, 2014-05-21 09:43
Thanks for looking into
Thanks for looking into JACK.
I reported to Mr.Elendig, the maintainer of the AUR (Arch user repository)package about this, now I can only hope he’ll contact you.
The package can be found here https://aur.archlinux.org/packages/moc-svn/
I tried to create a package myself, without success at the moment, I’ll try some more, first time, so could take a while.
Источник
emctl start dbconsole fails
Hi,
The command «emctl start dbconsole» fails on a system where the dbconsole was working at one time. For some reason, I cannot get it restarted. I believe one of the underlying processes that is necessary for the console has died. but I don’t know what the prerequisites for emctl are.
The output for the command is here:
emctl start dbconsole
TZ set to Asia/India
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://oel5.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control . failed.
——————————————————————
Logs are generated in directory /opt/oracle/product/11.1.0/db_4/oel5.localdomain_uware/sysman/log
Logs are generated in directory
At the same time, the emdctl.trc file gives this output:
https://oel5.localdomain:1158/em/upload/: retStatus=-32
2010-09-20 09:04:02 Thread-116018064 WARN http: snmehl_connect: connect failed to (oel5.localdomain:1158): Connection refused (error = 111)
2010-09-20 09:04:02 Thread-116018064 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://oel5.localdomain:1158/em/upload/: retStatus=-32
And the file emdb.nohup has this output:
/opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml, Fatal error at line 1 offset 1 in file:/opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml: .
: XML-20108: (Fatal Error) Start of root element expected.
10/09/20 09:03:49 Fatal error: server exiting
—— Mon Sep 20 09:03:50 2010::Checking status of DBConsole : 8182 ——
—— Mon Sep 20 09:03:50 2010::DBConsole exited at Mon Sep 20 09:03:50 2010 with return value 1. ——
—— Mon Sep 20 09:03:50 2010::Restarting DBConsole. ——
—— Mon Sep 20 09:03:50 2010::Console Launched with PID 8202 at time Mon Sep 20 09:03:50 2010 ——
10/09/20 09:03:52 Error initializing server: /opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml, Fatal error at line 1 offset 1 in file:/opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml: .
: XML-20108: (Fatal Error) Start of root element expected.
10/09/20 09:03:52 Fatal error: server exiting
—— Mon Sep 20 09:03:53 2010::Checking status of DBConsole : 8202 ——
—— Mon Sep 20 09:03:53 2010::DBConsole exited at Mon Sep 20 09:03:53 2010 with return value 1. ——
—— Mon Sep 20 09:03:53 2010::Restarting DBConsole. ——
—— Mon Sep 20 09:03:53 2010::Console Launched with PID 8218 at time Mon Sep 20 09:03:53 2010 ——
10/09/20 09:03:56 Error initializing server: /opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml, Fatal error at line 1 offset 1 in file:/opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml: .
: XML-20108: (Fatal Error) Start of root element expected.
10/09/20 09:03:56 Fatal error: server exiting
—— Mon Sep 20 09:03:56 2010::Checking status of DBConsole : 8218 ——
—— Mon Sep 20 09:04:00 2010::Checking status of DBConsole : 8218 ——
—— Mon Sep 20 09:04:00 2010::DBConsole exited at Mon Sep 20 09:04:00 2010 with return value 1. ——
—— Mon Sep 20 09:04:00 2010::Restarting DBConsole. ——
—— Mon Sep 20 09:04:00 2010::Console Launched with PID 8246 at time Mon Sep 20 09:04:00 2010 ——
10/09/20 09:04:03 Error initializing server: /opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml, Fatal error at line 1 offset 1 in file:/opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_uware/config/server.xml: .
: XML-20108: (Fatal Error) Start of root element expected.
10/09/20 09:04:03 Fatal error: server exiting
This last block of messages keeps repeating over and over again.
Please forgive the length of this post but I wanted to give complete information on my problem.
Thanks in advance for your time.
srikar.
Answers
Thanx for ur reply
I executed above two commands.After executing i try to start dbconsole,i got following error.
]$ $ORACLE_HOME/bin/emctl start dbconsole
OC4J Configuration issue. /opt/oracle/product/11.1.0/db_4/oc4j/j2ee/OC4J_DBConsole_oel5.localdomain_data not found.
Hi,
Please paste output of following
also paste output of when you deconfig and config the dbconsole, did everything finish successfully?
How may oracle installations are on this server and did you set your environment properly before deconfig and config ?
]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 oel5.localdomain oel5 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
————————————————————————————————————————————
2.output of deconfig and config.
]$ emca -deconfig dbcontrol db
STARTED EMCA at Sep 20, 2010 11:27:17 AM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: data
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2010 11:28:31 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/data/emca_2010_09_20_11_27_17.log.
Sep 20, 2010 11:28:32 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) .
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 20, 2010 11:29:02 AM
[[email protected]
]$ emca -config dbcontrol db
STARTED EMCA at Sep 20, 2010 11:34:41 AM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: data
Listener port number: 1158
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional): [email protected]
Outgoing Mail (SMTP) server for notifications (optional):
——————————————————————
You have specified the following settings
Database ORACLE_HOME . /opt/oracle/product/11.1.0/db_4
Local hostname . oel5.localdomain
Listener port number . 1158
Database SID . data
Email address for notifications . [email protected]
Outgoing Mail (SMTP) server for notifications .
——————————————————————
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2010 11:36:16 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/data/emca_2010_09_20_11_34_41.log.
Sep 20, 2010 11:36:22 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up. Start the Listener and run EM Configuration Assistant again .
Refer to the log file at /opt/oracle/cfgtoollogs/emca/data/emca_2010_09_20_11_34_41.log for more details.
Could not complete the configuration. Refer to the log file at /opt/oracle/cfgtoollogs/emca/data/emca_2010_09_20_11_34_41.log for more details.
[[email protected]
3.How may oracle installations are on this server and did you set your environment properly before deconfig and config ?
I installed only one time on this server.
I am new to this field.i dont know wat ur asking(i.e,did you set your environment properly??).i am a beginner.
Thanks in advance for your time.
srikar.
Thank you very much for reply.
i try to start listener but it is already started .
]$ lsnrctl start listener
LSNRCTL for Linux: Version 11.1.0.6.0 — Production on 20-SEP-2010 12:11:11
Copyright (c) 1991, 2007, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
Log file contains the following error message//
Sep 20, 2010 12:19:55 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Listener is not up. Start the Listener and run EM Configuration Assistant again .
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2705)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:368)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:147)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:221)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)
thanx for ur response,
again i got a problem.i am posting what i did.
]$ emca -config dbcontrol db
STARTED EMCA at Sep 20, 2010 2:08:37 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: data
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
——————————————————————
You have specified the following settings
Database ORACLE_HOME . /opt/oracle/product/11.1.0/db_4
Local hostname . oel5.localdomain
Listener port number . 1521
Database SID . data
Email address for notifications .
Outgoing Mail (SMTP) server for notifications .
——————————————————————
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 20, 2010 2:09:35 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/data/emca_2010_09_20_14_08_37.log.
Sep 20, 2010 2:09:40 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) .
Sep 20, 2010 2:11:23 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 20, 2010 2:11:29 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library is already configured.
Sep 20, 2010 2:11:29 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: EM_SWLIB_STAGE_LOC (value) will be ignored.
Sep 20, 2010 2:11:29 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) .
Sep 20, 2010 2:11:35 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /opt/oracle/product/11.1.0/db_4/bin/emctl config emkey -repos
Sep 20, 2010 2:11:35 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
WARNING: Configuring EM-Key failed.
Sep 20, 2010 2:11:35 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
WARNING: Error securing Database control.
Sep 20, 2010 2:11:35 PM oracle.sysman.emcp.EMDBPostConfig setWarnMsg
INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s):
1) Set the environment variable ORACLE_SID to data
2) /opt/oracle/product/11.1.0/db_4/bin/emctl stop dbconsole
3) /opt/oracle/product/11.1.0/db_4/bin/emctl config emkey -repos -sysman_pwd
4) /opt/oracle/product/11.1.0/db_4/bin/emctl secure dbconsole -sysman_pwd
5) /opt/oracle/product/11.1.0/db_4/bin/emctl start dbconsole
To secure Em Key, run /opt/oracle/product/11.1.0/db_4/bin/emctl config emkey -remove_from_repos -sysman_pwd
Sep 20, 2010 2:11:35 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) .
Sep 20, 2010 2:12:48 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 20, 2010 2:12:49 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://oel5.localdomain:1158/em
4) /opt/oracle/product/11.1.0/db_4/bin/emctl secure dbconsole -sysman_pwd
5) /opt/oracle/product/11.1.0/db_4/bin/emctl start dbconsole
To secure Em Key, run /opt/oracle/product/11.1.0/db_4/bin/emctl config emkey -remove_from_repos -sysman_pwd
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://oel5.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control .
. Stopped.
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl stop dbconsole xxxxxxxx
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://oel5.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control .
Cannot determine Oracle Enterprise Manager 11g Database Control process. /opt/oracle/product/11.1.0/db_4/oel5.localdomain_data/emctl.pid does not exist.
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl secure dbconsole -sysman_pwd xxxxxxxx
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://oel5.localdomain:1158/em/console/aboutApplication
DBCONSOLE already stopped. Done.
Agent is already stopped. Done.
Securing dbconsole. Started.
Securing dbconsole. Failed.
EMKey is misconfigured.
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl secure dbconsole -sysman_pwd xxxxxxxx
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://oel5.localdomain:1158/em/console/aboutApplication
DBCONSOLE already stopped. Done.
Agent is already stopped. Done.
Securing dbconsole. Started.
Securing dbconsole. Failed.
EMKey is misconfigured.
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://oel5.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control . started.
——————————————————————
Logs are generated in directory /opt/oracle/product/11.1.0/db_4/oel5.localdomain_data/sysman/log
[[email protected]
]$ /opt/oracle/product/11.1.0/db_4/bin/emctl config emkey -repos -sysman_pwd xxxxxxxxx
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
The Em Key could not be configured. The Em Key was not found in Management Repository.
[[email protected]
]$ The Em Key could not be configured. The Em Key was not found in Management Repository.
bash: The: command not found
[[email protected]
]$ Emctl secure dbconsole
bash: Emctl: command not found
[[email protected]
Источник
#
11 лет, 1 месяц назад
Темы:
7
Сообщения:
19
Участник с: 18 декабря 2011
Running the server…
Trying JACK…
Trying ALSA…
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Trying OSS…FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
Что делать???
sleepycat
#
11 лет, 1 месяц назад
Участник с: 19 июля 2011
Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)
lampslave
#
11 лет, 1 месяц назад
Участник с: 05 июля 2011
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moc (Ubuntu)
|
Fix Released |
Undecided |
|
Bug Description
Linux: Kubuntu 19.04
Desktop: Plasma
$ mocp
Running the server…
Trying JACK…
Trying ALSA…
Trying OSS…
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
Revision history for this message
Download full text (4.4 KiB)
Apr 16 02:15:11.836793: main.c:1191 main(): This is Music On Console (version 2.6-alpha3)
Apr 16 02:15:11.836847: main.c:1195 main(): Configured: ‘—build=x86_64-linux-gnu’ ‘—prefix=/usr’ ‘—includedir=${prefix}/include’ ‘—mandir=${prefix}/share/man’ ‘—infodir=${prefix}/share/info’ ‘—sysconfdir=/etc’ ‘—localstatedir=/var’ ‘—disable-silent-rules’ ‘—libdir=${prefix}/lib/x86_64-linux-gnu’ ‘—runstatedir=/run’ ‘—disable-maintainer-mode’ ‘—disable-dependency-tracking’ ‘build_alias=x86_64-linux-gnu’ ‘CFLAGS=-g -O2 -fdebug-prefix-map=/build/moc-6NWnnP/moc-2.6.0~svn-r2994=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic’ ‘LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,—as-needed’ ‘CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2’ ‘CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/moc-6NWnnP/moc-2.6.0~svn-r2994=. -fstack-protector-strong -Wformat -Werror=format-security’
Apr 16 02:15:11.836856: main.c:1205 main(): Running on: Linux 5.1.0-rc4-medve x86_64
ápr 16 02:15:11.837030: main.c:1157 log_command_line(): mocp -D
ápr 16 02:15:11.837064: main.c:1171 log_popt_command_line(): mocp —debug
ápr 16 02:15:11.837163: options.c:1043 options_parse(): Can’t open config file: Nincs ilyen fájl vagy könyvtár
ápr 16 02:15:11.895225: decoder.c:700 load_plugins(): Loaded 12 decoders: aac ffmpeg flac modplug mp3 musepack opus sidplay2 sndfile speex vorbis wavpack
ápr 16 02:15:11.896266: server.c:360 server_init(): Starting MOC Server
ápr 16 02:15:11.896439: log.c:233 log_init_stream(): Writing log to: mocp_server_log
ápr 16 02:15:11.896546: server.c:300 log_process_stack_size(): Process’s stack size: 8388608
ápr 16 02:15:11.896559: server.c:317 log_pthread_stack_size(): PThread’s stack size: 8388608
ápr 16 02:15:11.897939: jack.c:121 error_cb(): ERROR: JACK: Cannot connect to server socket err = Nincs ilyen fájl vagy könyvtár
ápr 16 02:15:11.897956: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.897971: jack.c:121 error_cb(): ERROR: JACK: Cannot connect to server request channel
ápr 16 02:15:11.897977: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.900127: jack.c:121 error_cb(): ERROR: JACK: jack server is not running or cannot be started
ápr 16 02:15:11.900153: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.900425: jack.c:121 error_cb(): ERROR: JACK: JackShmReadWritePtr::~JackShmReadWritePtr — Init not done for -1, skipping unlock
ápr 16 02:15:11.900453: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.900463: jack.c:121 error_cb(): ERROR: JACK: JackShmReadWritePtr::~JackShmReadWritePtr — Init not done for -1, skipping unlock
ápr 16 02:15:11.900472: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.900486: jack.c:148 moc_jack_init(): ERROR: jack_client_open() failed, status = 0x11
ápr 16 02:15:11.900494: server.c:672 add_event_all(): No events have been added because there are no clients
ápr 16 02:15:11.900501: jack.c:150 moc_jack_init(): ERROR: Unable to connect to J…
Read more…
Revision history for this message
* Richard Baka <email address hidden> [2019-04-16 00:16 -0000]:
…
> ápr 16 02:15:11.900528: alsa.c:477 alsa_init(): Initialising ALSA device: default
> ápr 16 02:15:11.901818: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can’t find mixer PCM
[…]
>
> $ pulseaudio
> E: [pulseaudio] pid.c: Daemon already running.
moc sofar hasn’t native pulseaudio support. But you can use alsa as
as a sound front end. What tells:
$ dpkg -l | egrep «(alsa|libasound)»
Elimar
Revision history for this message
Thanks, so we can say this is not a bug but a feature request?
Revision history for this message
* Richard Baka <email address hidden> [2019-04-19 00:36 -0000]:
> Thanks, so we can say this is not a bug but a feature request?
No. moc runs fine with alsa and therefor doesn’t need a «pulse
plugin»..
Which version of moc do have installed:
$ dpkg -l | grep moc
Which soundcards are you using?
$ cat /proc/asound/cards
The error message appears also if your volumecontrol in pavucontrol
is more than 100%.
Is there a customized asoundrc flowing around?
Elimar
—
.~.
/V L I N U X
/( ) >Phear the Penguin<
^^-^^
Revision history for this message
$ dpkg -l | grep moc
ii moc 1:2.6.0~svn-r2994-3 amd64 ncurses based console audio player
ii moc-ffmpeg-plugin:amd64 1:2.6.0~svn-r2994-3 amd64 ncurses based console audio player — ffmpeg plugin
ii ruby-minitest 5.11.3-1 all Ruby test tools supporting TDD, BDD, mocking, and benchmarking
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel — HD-Audio Generic
HD-Audio Generic at 0xe0888000 irq 62
1 [Generic_1 ]: HDA-Intel — HD-Audio Generic
HD-Audio Generic at 0xe0880000 irq 63
Volume is under 100%.
Unfortunately I don’t know what is asoundrc and how can it flow :
Revision history for this message
* Richard Baka <email address hidden> [2019-04-16 00:16 -0000]:
> ápr 16 02:15:11.900528: alsa.c:477 alsa_init(): Initialising ALSA device: default
> ápr 16 02:15:11.901818: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can’t find mixer PCM
> ápr 16 02:15:11.901837: server.c:672 add_event_all(): No events have been added because there are no clients
> ápr 16 02:15:11.901845: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can’t find mixer Master
> ápr 16 02:15:11.901850: server.c:672 add_event_all(): No events have been added because there are no clients
moc doesn’t find a usable mixer device. Whereas Master should be avail
in both pulseaudio and alsa once alsa-utils and libasound2-plugins
are installed. Please post the output of:
$ amixer
$ ls -al /etc/alsa/conf.d
$ ls -al /etc/asound.conf
$ ls -al $HOME/.asoundrc
Elimar
—
Never make anything simple and efficient when a way
can be found to make it complex and wonderful
Revision history for this message
* Richard Baka <email address hidden> [2019-04-19 23:42 -0000]:
> $ dpkg -l | grep moc
> ii moc 1:2.6.0~svn-r2994-3 amd64 ncurses based console audio player
> ii moc-ffmpeg-plugin:amd64 1:2.6.0~svn-r2994-3 amd64 ncurses based console audio player — ffmpeg plugin
> ii ruby-minitest 5.11.3-1 all Ruby test tools supporting TDD, BDD, mocking, and benchmarking
>
>
> $ cat /proc/asound/cards
> 0 [Generic ]: HDA-Intel — HD-Audio Generic
> HD-Audio Generic at 0xe0888000 irq 62
> 1 [Generic_1 ]: HDA-Intel — HD-Audio Generic
> HD-Audio Generic at 0xe0880000 irq 63
Something messed up your soundcard. Why Generic and Generic_1?
Elimar
—
Learned men are the cisterns of knowledge,
not the fountainheads
Revision history for this message
$ ls -al /etc/alsa/conf.d
összesen 12
drwxr-xr-x 2 root root 4096 ápr 16 23:50 .
drwxr-xr-x 3 root root 4096 márc 29 00:14 ..
lrwxrwxrwx 1 root root 46 febr 20 16:09 10-samplerate.conf -> /usr/share/alsa/alsa.conf.d/10-samplerate.conf
lrwxrwxrwx 1 root root 45 febr 20 16:09 10-speexrate.conf -> /usr/share/alsa/alsa.conf.d/10-speexrate.conf
lrwxrwxrwx 1 root root 48 febr 20 16:09 50-arcam-av-ctl.conf -> /usr/share/alsa/alsa.conf.d/50-arcam-av-ctl.conf
lrwxrwxrwx 1 root root 40 febr 20 16:09 50-jack.conf -> /usr/share/alsa/alsa.conf.d/50-jack.conf
lrwxrwxrwx 1 root root 39 febr 20 16:09 50-oss.conf -> /usr/share/alsa/alsa.conf.d/50-oss.conf
lrwxrwxrwx 1 root root 46 febr 20 16:09 50-pulseaudio.conf -> /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
lrwxrwxrwx 1 root root 41 febr 20 16:09 60-upmix.conf -> /usr/share/alsa/alsa.conf.d/60-upmix.conf
lrwxrwxrwx 1 root root 44 febr 20 16:09 60-vdownmix.conf -> /usr/share/alsa/alsa.conf.d/60-vdownmix.conf
lrwxrwxrwx 1 root root 46 febr 20 16:09 98-usb-stream.conf -> /usr/share/alsa/alsa.conf.d/98-usb-stream.conf
-rw-r—r— 1 root root 201 febr 20 16:09 99-pulseaudio-default.conf.example
lrwxrwxrwx 1 root root 38 ápr 16 15:54 99-pulse.conf -> /usr/share/alsa/alsa.conf.d/pulse.conf
$ ls -al /etc/asound.conf
…no such file…
$ls -al $HOME/.asoundrc
…no such file…
This is a fancy (everything integrated) notebook. That is a good question how many sound cards or sound devices are in it and why.
I haven’t customized my alsa config but my pulseaudio config
Revision history for this message
* Richard Baka <email address hidden> [2019-04-20 11:28 -0000]:
> $ ls -al /etc/alsa/conf.d
> összesen 12
> drwxr-xr-x 2 root root 4096 ápr 16 23:50 .
> drwxr-xr-x 3 root root 4096 márc 29 00:14 ..
> lrwxrwxrwx 1 root root 46 febr 20 16:09 10-samplerate.conf -> /usr/share/alsa/alsa.conf.d/10-samplerate.conf
> lrwxrwxrwx 1 root root 45 febr 20 16:09 10-speexrate.conf -> /usr/share/alsa/alsa.conf.d/10-speexrate.conf
> lrwxrwxrwx 1 root root 48 febr 20 16:09 50-arcam-av-ctl.conf -> /usr/share/alsa/alsa.conf.d/50-arcam-av-ctl.conf
> lrwxrwxrwx 1 root root 40 febr 20 16:09 50-jack.conf -> /usr/share/alsa/alsa.conf.d/50-jack.conf
> lrwxrwxrwx 1 root root 39 febr 20 16:09 50-oss.conf -> /usr/share/alsa/alsa.conf.d/50-oss.conf
> lrwxrwxrwx 1 root root 46 febr 20 16:09 50-pulseaudio.conf -> /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
> lrwxrwxrwx 1 root root 41 febr 20 16:09 60-upmix.conf -> /usr/share/alsa/alsa.conf.d/60-upmix.conf
> lrwxrwxrwx 1 root root 44 febr 20 16:09 60-vdownmix.conf -> /usr/share/alsa/alsa.conf.d/60-vdownmix.conf
> lrwxrwxrwx 1 root root 46 febr 20 16:09 98-usb-stream.conf -> /usr/share/alsa/alsa.conf.d/98-usb-stream.conf
> -rw-r—r— 1 root root 201 febr 20 16:09 99-pulseaudio-default.conf.example
> lrwxrwxrwx 1 root root 38 ápr 16 15:54 99-pulse.conf -> /usr/share/alsa/alsa.conf.d/pulse.conf
Looks reasonable
>
> $ ls -al /etc/asound.conf
> …no such file…
>
> $ls -al $HOME/.asoundrc
> …no such file…
>
> This is a fancy (everything integrated) notebook. That is a good question how many sound cards or sound devices are in it and why.
> I haven’t customized my alsa config but my pulseaudio config
How did you customise your pulseaudio config?
Elimar
—
On the keyboard of life you have always
to keep a finger at the escape key;-)
Revision history for this message
* Richard Baka <email address hidden> [2019-04-20 17:14 -0000]:
> ; daemonize = no
> ; fail = yes
> ; allow-module-loading = yes
…
What are those settings useful for?
I’ve put those to my $HOME/.config/pulse/daemon.conf, restarted
pulseaudio and ran mocp successful, though.
Please post the output of:
$ alsamixer
Elimar
—
On the keyboard of life you have always
to keep a finger at the escape key;-)
Revision history for this message
Thanks for the guidance, this did the trick:
$ alsamixer
I found the proper soundcard (which has mixers)
then I have added to /etc/pulse/daemon.conf
this:
defaults.pcm.card 1
defaults.ctl.card 1
The number is the number of the correct sound device/card.
Elimar:
…
default-sample-format = float32le
default-sample-rate = 192000
alternate-sample-rate = 192000
default-sample-channels = 2
resample-method = speex-float-10
avoid-resampling = false
enable-remixing = yes
remixing-use-all-sink-channels = yes
enable-lfe-remixing = yes
lfe-crossover-freq =100
…
These make the sound quality better in pulse I think. The default settings were very awful.
Revision history for this message
No, I’ve copied the wrong line.
/etc/asound.conf this is the file for these lines:
defaults.pcm.card 1
defaults.ctl.card 1
Why I can not edit my comment? :
Then pulseaudio -k && sudo alsa force-reload
Revision history for this message
* Richard Baka <email address hidden> [2019-04-21 00:27 -0000]:
> No, I’ve copied the wrong line.
>
> /etc/asound.conf this is the file for these lines:
> defaults.pcm.card 1
> defaults.ctl.card 1
Remove that file or try:
defaults.pcm.card 0
defaults.ctl.card 0
Elimar
—
355/113: Not the famous irrational number pi,
but an incredible simulation!
-unknown
Revision history for this message
I replaced these:
> defaults.pcm.card 1
> defaults.ctl.card 1
to these
> defaults.pcm.card 0
> defaults.ctl.card 0
Then i did $ pulseaudio -k && sudo alsa force-reload
And mocp works
Why?
Revision history for this message
Failure came from a missconfiguration of users soundcard.
Changed in moc (Ubuntu): | |
assignee: | nobody → Elimar Riesebieter (riesebie) |
status: | New → Fix Released |
To post a comment you must log in.
-
Report a bug
This report contains
Public
information
Everyone can see this information.
Other bug subscribers
Remote bug watches
Bug watches keep track of this bug in other bug trackers.