Issues with first run (no sound, no webconfig...)


#21

speaker-test seems instructive :
speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
root@zynthian:~#
root@zynthian:~# Playback device is default
-bash: Playback: command not found
root@zynthian:~# Stream parameters are 48000Hz, S16_LE, 1 channels
-bash: Stream: command not found
root@zynthian:~# Using 16 octaves of pink noise
-bash: Using: command not found
root@zynthian:~# Playback open error: -16,Device or resource busy
-bash: Playback: command not found


#22

And now try alsamixer and pump up the volume


#23

maximum already reached i think :


#24

must precise that i tried some commands from this topic after my first amixer : http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/

surely Explain the volume up (but i thought didn’t have found correct parameters, it seems that indeed yes) i’m 100% now with amixer on L and R.

BUT ! … no sound… same message with speaker-test :
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
root@zynthian:~#

Same result with audio test from zynthian : nothing !


#25

Have you tried 44.1k?
Why is it at 48?
Maybe a screenshot of the webconf-audio page and a photo of the wiring could help us


#26

i’ll do this, for now i have mount volumio and => sound !!! cards fully working so.

Remount zynthian => still non sound

I’ll dig more in a couple of minutes


#27

what’s the command to modify stream parameters ? can’t find it :-/


#28

audio page :


#29

wiring (don’t really know which part is important) :


#30

erf… suppose it was THIS wiring :wink:


#31

for what it worth : another zynthian mounted on a brand new sd card, update included.

= Exactly same result.

Makes no sense.

a nightmare…


#32

may have missed it, but which software synth are you testing with in the menu? And what MIDI channel is it set to?


#33

I think, the AudioTest in the main menu doesn’t even work.


#34

Could you stop the Zynthian service, run it via SSH and start the audio test?
And post the log messages here?


#35

i’m sure it’s stupid question but my brain is melting… : how do i stop zynthian service ?!


#36

got it (i think), i’ll try. not sur of the command line for running audio test (not “speaker-test” i guess)


#37

systemctl stop zynthian

And then in the /zynthian/zynthian-sys/sbin
./zynthian.sh


#38

No command line…via zynthian-ui


#39

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux zynthian 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l
Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 11 November 2016 11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.33.3
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Tue Jan 29 21:46:48 2019
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
INFO:root:Wiring Layout MCP23017_ENCODERS
DEBUG:root:ZYNCODER A: [102, 105, 110, 113]
DEBUG:root:ZYNCODER B: [101, 104, 109, 112]
DEBUG:root:SWITCHES layout: [100, 103, 108, 111]
DEBUG:root:DISABLED_MIDI_IN = [’’]
DEBUG:root:ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’]
DEBUG:root:ENABLED_MIDI_FB = [’’]
ZynMidiRouter: MIDI tuning frequency set to 440 Hz (8192)
INFO:root:ZYNSWITCHES INIT…
INFO:root:SETUP ZYNSWITCH 0 => wpGPIO 100
INFO:root:SETUP ZYNSWITCH 1 => wpGPIO 103
INFO:root:SETUP ZYNSWITCH 2 => wpGPIO 108
INFO:root:SETUP ZYNSWITCH 3 => wpGPIO 111
INFO:root:STOPPING QMIDINET
DEBUG:root:ZCTRL ‘Layer’: 0 (0 -> 7), None, None
DEBUG:root:Snapshot ‘001’ => MIDI program 0.
DEBUG:root:ZCTRL ‘Snapshot’: 0 (0 -> 1), None, None
DEBUG:root:ZCTRL ‘Layer’: 0 (0 -> 7), None, None
INFO:root:Short Switch 1
DEBUG:root:BACK TO SCREEN => admin
DEBUG:root:ZCTRL ‘Action’: 0 (0 -> 19), None, None
INFO:root:Short Switch 3
INFO:root:TESTING AUDIO
INFO:root:Starting Command Sequence …
INFO:root:Executing Command: mpg123 /zynthian/zynthian-data/audio/test.mp3
INFO:root:Short Switch 1
DEBUG:root:CLOSE MODAL => info
INFO:root:Killing process 3894
DEBUG:root:BACK TO SCREEN => admin
ERROR:root:ERROR: b’Registered as JACK client mpg123-3894.\n[jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer.\nRegistered as JACK client mpg123-3894.\nHigh Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3\n\tversion 1.20.1; written and copyright by Michael Hipp and others\n\tfree software (LGPL) without any warranty but with best wishes\n\nDirectory: /zynthian/zynthian-data/audio/\nPlaying MPEG stream 1 of 1: test.mp3 …\n[jack.c:58] warning: FIXME: One needs to wait or write some silence here to prevent the last bits of audio to vanish out of the ringbuffer.\nRegistered as JACK client mpg123-3894.\n\nMPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo\nTitle: 2 Piste audio Artist: Abbilona\nComment: 00000000 00000210 00000B46 00000000011AFDAA 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000\nAlbum: Oya\nYear: Genre: Cuba\n’
DEBUG:root:ZCTRL ‘Action’: 12 (0 -> 17), None, None
DEBUG:root:ZCTRL ‘Action’: 12 (0 -> 19), None, None
^Cxinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 2


#40

This is the point where I tried a different sound module… hardware…but maybe somebody else has seen this before?