monome / norns-image

79 stars 16 forks source link

fix up norns init scripts #67

Closed ranch-verdin closed 5 years ago

ranch-verdin commented 5 years ago

This is how I fixed the boot issues on my realtime-tuned config (backported to 2.0 land) sounds like the actual issues may have already been fixed with that call to sleep after booting jackd, but this is cleaner imo.

ranch-verdin commented 5 years ago

As mentioned to @simonvanderveldt on the slack channel, it seemed in the process of trying to 'fix' norns.target I managed to re-awaken some zombie bits of plymouth without explicitly enabling/unmasking them (don't think I did anything like that, anyway).

If this happens, it can totally muck up the system including doing something horrible to the USB serial debug terminal. Fix is to totally remove everything plymouth-related if your terminal goes crazy for some unexplained reason.

ranch-verdin commented 5 years ago

This PR as it stands appears to trigger a race condition whereby matron can start before encoder driver is ready. Currently I need to have to add dead time to the start of norns-matron.service otherwise matron boots with unresponsive encoders.

simonvanderveldt commented 5 years ago

Can we keep the plymouth changes out of this PR? Prefer to keep it small/focussed. P.S. This should be enough to get rid of plymouth for setup.sh, the update script will need a couple of rms as well.

ranch-verdin commented 5 years ago

yup, have dropped the plymouth change from this PR.

simonvanderveldt commented 5 years ago

@ranch-verdin at what volume do you end up after a restart with these changes? The volume as it was when shutting down or something else? Sorry, haven't been able to try it myself yet.

ranch-verdin commented 5 years ago

@simonvanderveldt it comes back with the volume at shutdown. Just double checked it's really working as I claim.