Screen Issue with v4 build

Hi,

I just assembled the v4 kit, and I must have overlooked something (or broke something), because I’ve never seen the screen come up (yet…).

Despite the advice to use RC-2 of the image I picked a fairly recent one (and to make matters worse, I succesfully updated it in webconf and ran a dist-upgrade, so I should be in a known “current” state.

I applied “Kit v4”

I able to access webconf and login:

There are errors in the UI log:

– Logs begin at Thu 2019-02-14 10:11:58 GMT. –
Aug 04 19:47:46 zynthian systemd[1]: Started Zynthian User Interface (DEBUG).
Aug 04 19:47:46 zynthian startx[2325]: X. Org X Server 1.20.4
Aug 04 19:47:46 zynthian startx[2325]: X Protocol Version 11, Revision 0
Aug 04 19:47:46 zynthian startx[2325]: Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
Aug 04 19:47:46 zynthian startx[2325]: Current Operating System: Linux zynthian 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l
Aug 04 19:47:46 zynthian startx[2325]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:B6:20:39 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
Aug 04 19:47:46 zynthian startx[2325]: Build Date: 07 July 2020 09:38:51PM
Aug 04 19:47:46 zynthian startx[2325]: xorg-server 2:1.20.4-1+rpt2
Aug 04 19:47:46 zynthian startx[2325]: Current version of pixman: 0.36.0

Aug 04 19:47:46 zynthian startx[2325]: to make sure that you have the latest version.
Aug 04 19:47:46 zynthian startx[2325]: Markers: (–) probed, (**) from config file, (==) default setting,
Aug 04 19:47:46 zynthian startx[2325]: (++) from command line, (!!) notice, (II) informational,
Aug 04 19:47:46 zynthian startx[2325]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 04 19:47:46 zynthian startx[2325]: (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Aug 4 19:47:46 2020
Aug 04 19:47:46 zynthian startx[2325]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Aug 04 19:47:46 zynthian startx[2325]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Aug 04 19:47:47 zynthian startx[2325]: ./zynthian.sh: line 55: /sys/class/backlight//bl_power: No such file or directory
Aug 04 19:47:47 zynthian startx[2325]: INFO:zynthian_gui_config.: ZYNTHIAN-UI CONFIG …
Aug 04 19:47:47 zynthian startx[2325]: INFO:zynthian_gui_config.: Wiring Layout MCP23017_ZynScreen
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.: ZYNCODER A: [102, 105, 110, 113]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.: ZYNCODER B: [101, 104, 109, 112]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.: SWITCHES layout: [100, 103, 108, 111, 106, 107, 114, 115]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_config.get_disabled_midi_in_ports: DISABLED_MIDI_IN = [’’]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_config.get_enabled_midi_out_ports: ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_config.get_enabled_midi_fb_ports: ENABLED_MIDI_FB = [’’]
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change CCNum: 0
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change UP: None
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.set_midi_config: MMC Bank Change DOWN: None
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change UP: None
Aug 04 19:47:47 zynthian startx[2325]: DEBUG:zynthian_gui_config.set_midi_config: MMC Program Change DOWN: None
Aug 04 19:47:48 zynthian startx[2325]: error: failed to open file /zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl (No such file or directory)
Aug 04 19:47:48 zynthian startx[2325]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl' Aug 04 19:47:48 zynthian startx[2325]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl Aug 04 19:47:48 zynthian startx[2325]: error: failed to open file /zynthian/zynthian-plugins/lv2/*.lv2/manifest.ttl (No such file or directory) Aug 04 19:47:48 zynthian startx[2325]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/
.lv2/manifest.ttl’
Aug 04 19:47:48 zynthian startx[2325]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/*.lv2/manifest.ttl
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.: STARTING ZYNTHIAN-UI …
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui_keybinding.load: Loading key binding from keybinding.yaml
Aug 04 19:47:49 zynthian startx[2325]: DEBUG:zynthian_gui_keybinding.load: Loading default keyboard bindings.
Aug 04 19:47:49 zynthian startx[2325]: libjackpeak registering as ‘jackpeak’.
Aug 04 19:47:49 zynthian startx[2325]: libjackpeak created input ports
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SWITCHES INIT…
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 0 => wpGPIO 100
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 1 => wpGPIO 103
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 2 => wpGPIO 108
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 3 => wpGPIO 111
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 4 => wpGPIO 106
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 5 => wpGPIO 107
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 6 => wpGPIO 114
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_init: SETUP ZYNSWITCH 7 => wpGPIO 115
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_gui.zynswitches_midi_setup: MIDI SWITCHES SETUP…
Aug 04 19:47:49 zynthian startx[2325]: INFO:zynthian_engine.start: Starting Engine JackTransport
Aug 04 19:47:49 zynthian startx[2325]: DEBUG:zynthian_engine.start: Command: /usr/local/bin/jack_transport
Aug 04 19:47:50 zynthian startx[2325]: DEBUG:zynthian_engine_mixer.get_controllers_dict: MIXER CTRL LIST: [‘Digital’, ‘ADC’, ‘ADC Left Input’, ‘ADC Right Input’]
Aug 04 19:47:50 zynthian startx[2325]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set ‘Digital’ ‘Playback’ 100% unmute
Aug 04 19:47:50 zynthian startx[2325]: ERROR: PatternManager failed to open file for load /zynthian/zynthian-my-data/sequences/patterns.zynseq
Aug 04 19:47:50 zynthian startx[2325]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set ‘ADC’ ‘Capture’ 9% unmute
Aug 04 19:47:50 zynthian startx[2325]: INFO:zynthian_gui.osc_init: ZYNTHIAN-UI OSC server running in port 1370
Aug 04 19:47:50 zynthian startx[2325]: INFO:zynthian_gui_admin.stop_midi_clock: STOPPING MIDI CLOCK
Aug 04 19:47:50 zynthian startx[2325]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set ‘ADC Left Input’ ‘VINL1[SE]’
Aug 04 19:47:50 zynthian startx[2325]: DEBUG:zynthian_engine_mixer._send_controller_value: amixer -M -c sndrpihifiberry set ‘ADC Right Input’ ‘VINR1[SE]’
Aug 04 19:47:50 zynthian startx[2325]: INFO:zynthian_gui_admin.stop_rtpmidi: STOPPING RTP-MIDI
Aug 04 19:47:50 zynthian startx[2325]: INFO:zynthian_gui_admin.stop_qmidinet: STOPPING QMIDINET
Aug 04 19:47:51 zynthian startx[2325]: INFO:zynthian_gui_admin.stop_touchosc2midi: STOPPING touchosc2midi
Aug 04 19:47:51 zynthian startx[2325]: INFO:zynthian_gui_admin.stop_aubionotes: STOPPING aubionotes
Aug 04 19:47:51 zynthian startx[2325]: DEBUG:zynthian_gui_controller.config: ZCTRL ‘Main’: 0 (0 -> 9), None, None

Most worryingly it seems that

./zynthian.sh: line 55: /sys/class/backlight/*/bl_power: No such file or directory

if I login into the system as root, indeed, that does not exist:
root@zynthian:/sys/class# ls backlight
ls: cannot access ‘backlight’: No such file or directory

I always connected the screen with the red ribbon to pin 1, so I hope that the screen itself isn’t the issue…

Any tips to recover and proceed ? (Oh, if really need be I can install rc2 but os.zynthian.org seems to be down.)

You shouldn’t try with a recent image until your zynthian it’s fully working with the stable release (buster RC-2),. The stable release is tested on official kits and should work out the box. If it doesn’t work out-the-box, probably you have a hardware problem.

I recommend you to check carefully the hardware, including disconnect and connect again, checking the connector pins, etc. If you send some detailed photos, it could help …

You don’t need to use the webconf. The stable (buster RC-2) release should work out-the box. The kit v4 work perfectly if configured as v3. It’s the same hardware configuration.

Regards,

Ok, I was able to flash RC meanwhile and the screen does come on now, I’m booting into the menu.
It shows briefly “error” (*) in red on the splash screen but continues to the menu.

However, none of the encoders seems to work (no movement or activity at all).
I’ve updated the software via webconfig (working) and set the kit to V4, but that didn’t help.
I’ll recheck all the wiring again…

(*) UI Log shows these errors, which I hope aren’t critical:
Aug 05 04:11:43 zynthian startx[3137]: error: failed to open file /zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl (No such file or directory)
Aug 05 04:11:43 zynthian startx[3137]: lilv_world_load_file(): error: Error loading file `file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl’
Aug 05 04:11:43 zynthian startx[3137]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl
Aug 05 04:11:46 zynthian startx[3137]: libjackpeak registering as ‘jackpeak’.
Aug 05 04:11:46 zynthian startx[3137]: libjackpeak created input ports
Aug 05 04:11:46 zynthian startx[3137]: ERROR: PatternManager failed to open file for load /zynthian/zynthian-my-data/sequences/patterns.zynseq

Hi, after reading Kit V3: Encoders not working [SOLVED] and squinting on the picture shown on the wiki, I think it could be that the reason that the rotary encoders don’t work are the 2 jumpers that are missing on the 2x4 hat on the zynscreen labeled JP-1? I don’t have any…

Another question: having opened and closed this box already I few times, I notice that the ic’s from the 3542 and the screen bus wire head are bending the metal tails from the leds down, which could damage them? Any way to avoid this?

… and this is the current config (RC2)

Ok, while I’m waiting for the missing jumpers to arrive that will hopefully do the trick to enable the buttons, and being impatient to get some sound out of the Zynthian I was able to get something done before closing the box with an external computer keyboard and an USB Midi keyboard :slight_smile:

And behold: I was able to make the Zynthian produce some sound already!

Even though it makes me uncomfortable not being able to update software to the last stable version, running apt upgrade at this point turned out to be a really bad idea: I ran into the same issues as with the newer image, and had to flash back the RC-2 image again. I hope at some point something can be found to do this more safely (maybe apt pin the sensitive packages to a specific version?)

3 Likes

Yep! Avoid doing manual Linux updates using apt. This tends to break things. We use some customised / optimised versions of software and apt update probably overwrites some libraries, etc. You are right we should pin these libraries and software so that we can upgrade the system. I have tended to leave it to @jofemodo to deal with ensuring patching occurs at appropriate times. There was a tendency to see this as a synthesizer and not a computer but if it is connected to the network then it has potential to be consumed by virus, Trojan, etc. so we should be mindful of security.

Had the same problem after building a V4: no screen response at all. Used a SD I had tinkered with in a generic RPi (just had put Kit to V4 before last shutdown).
Flashing a fresh RC2 fixed it. No trying a nightly on a faster and bigger SD

Meanwhile I installed the missing jumpers, confirmed that the rotary encoders now work,
and was able to finally(?) close down the box (for now at least…).

Yay!

Thank you to the creators of what looks to be a wonderfull project and a marvelous musicbox !

2 Likes

We couldn’t actually have a proof of that …?
:face_with_monocle:

Well, here is a sample that I was able to record while playing around with OBXD, in true musicbox style…
But nothing too musical, I have limited musical talents :slight_smile:

OBXD and a dumkit beating and snaring away :slight_smile:

3 Likes