r/TidalCycles • u/Ro__Bert • 2d ago
Sclang couldn't set realtime scheduling priority 1
I just installed TidalCycles. I already had Haskell installed and a lot of the other dependencies. So I think I only needed to install SuperCollider and the plugins for cabal, super dirt, and vim.
But I haven't yet been able to get it running. I think the first issue is probably to do with sclang?
Every time I type "sclang" into my terminal to open the shell, I get a large error.
compiling class library...
Found 867 primitives.
Compiling directory '/usr/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/share/SuperCollider/Extensions'
Compiling directory '/home/_user_/.local/share/SuperCollider/Extensions'
Compiling directory '/home/_user_/.local/share/SuperCollider/downloaded-quarks/Vowel'
Compiling directory '/home/_user_/.local/share/SuperCollider/downloaded-quarks/Dirt-Samples'
Compiling directory '/home/_user_/.local/share/SuperCollider/downloaded-quarks/SuperDirt'
[32565:32589:1124/174430.369668:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[32565:32589:1124/174430.369680:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[32565:32589:1124/174430.369682:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[32565:32589:1124/174430.369685:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
numentries = 1219932 / 19196916 = 0.064
5947 method selectors, 3228 classes
method table size 19921184 bytes, big table size 153575328
Number of Symbols 14992
Byte Code Size 438064
compiled 470 files in 0.21 seconds
Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Couldn't set realtime scheduling priority 1: Operation not permitted
Class tree inited in 0.0 seconds
*** Welcome to SuperCollider 3.13.0. *** For help type ctrl-c ctrl-h (Emacs) or :SChelp (vim) or ctrl-U (sced/gedit).
Couldn't set realtime scheduling priority 1: Operation not permittedI've already looked for solutions and someone suggested that the user is not a part of the audio group. But I am a part of the audio group.
UPDATE::
After some experimentation, I was able to see the soundwaves in the super collider scope. I just haven't been able to hear them.