I need help figuring out how to run Sonic Pi on my chromebook

So, I’m unsure if it’s even possible to run Sonic Pi on my chromebook’s linux but I figured I’d try.
But it just keeps on crashing.
Can I fix this?

Screenshot 2021-07-13 7.27.13 PM

19:18:40.718 Statistics reset.

Cannot connect to server socket err = Connection refused

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

19:18:42.019 ALSA connection graph change.

19:18:54.233 JACK is starting…

19:18:54.239 /usr/bin/jackd -r -dalsa -dhw:0 -r48000 -p1024 -n2

Cannot connect to server socket err = Connection refused

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

Cannot create RT messagebuffer thread: Operation not permitted (1)

Retrying messagebuffer thread without RT scheduling

Messagebuffer not realtime; consider enabling RT scheduling for user

no message buffer overruns

Cannot create RT messagebuffer thread: Operation not permitted (1)

Retrying messagebuffer thread without RT scheduling

Messagebuffer not realtime; consider enabling RT scheduling for user

no message buffer overruns

Cannot create RT messagebuffer thread: Operation not permitted (1)

Retrying messagebuffer thread without RT scheduling

Messagebuffer not realtime; consider enabling RT scheduling for user

no message buffer overruns

jackdmp 1.9.12

Copyright 2001-2005 Paul Davis and others.

Copyright 2004-2016 Grame.

Copyright 2016-2017 Filipe Coelho.

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

JACK server starting in non-realtime mode

self-connect-mode is “Don’t restrict self connect requests”

19:18:55.165 JACK was started with PID=6042.

audio_reservation_init

Acquire audio card Audio0

creating alsa driver … hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit

configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods

ALSA: final selected sample format for capture: 16bit little-endian

ALSA: use 2 periods for capture

ALSA: final selected sample format for playback: 16bit little-endian

ALSA: use 2 periods for playback

19:19:02.482 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.

JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out

Driver is not running

Cannot create new client

Cannot open qjackctl client

Cannot read socket fd = 19 err = Success

CheckRes error

JackSocketClientChannel read fail

JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Unknown request 4294967295

CheckSize error size = 0 Size() = 12

CheckRead error

19:19:10.995 JACK is stopping…

Jack main caught signal 15

@aeos - I know next to nothing about Chromebooks, so pardon my ignorance. Is your setup using Crouton?

To me, it looks like getting Jack to start up successfully is the main issue here, so I did a quick search and saw this:
https://member.keymusician.com/Member/ConfiguringJackAndQsynthOnChromebook.html

The first few sentences discussing the process of setting up the audio group might help? :crossed_fingers:

Try that, (including the logging out and restarting the desktop) and then see if Sonic Pi starts up.

1 Like

Sadly, my chromebook linux runs on crostini. I did try it anyways though, but the very first step failed. I will try switching to crouton though. Thanks!