No sound in snap when run?
by linuxuser371038 from LinuxQuestions.org on (#6QRXQ)
I just installed snap via the archiki instructions.
I installed star ruler 2 from snapcraft and run it with:
Code:snap run starruler2It opens but I get no sound.
There is some error output on the command line related to audio but didn't find a conclusive answer when I looked up the error. Didn't look for long yet though as it was the end of the night and was about done.
Here is the output:
Code:$ snap run starruler2
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
chmod: changing permissions of './bin/lin64/StarRuler2.bin': Read-only file system
Initializing sound
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (WW) alc_initconfig: Failed to initialize backend "alsa"
AL lib: (EE) ALCplaybackOSS_open: Could not open /dev/dsp: No such file or directory
Sound Error: Could not initialize sound system
Initializing window system
Loading engine settings
Initializing OpenGL Engine
Registering mods
Starting 5 threads on 4 processors.
Loading mod(s)
OpenGL vendor 'Intel Open Source Technology Center', renderer 'Mesa DRI Intel(R) HD Graphics 505 (Broxton) '
version '3.0 Mesa 18.0.5'
Loaded in 18.9 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Shadow scripts: 4082ms load, 19587ms compile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Client scripts: 7864ms load, 33206ms compile
Server scripts: 2714ms load, 41682ms compile
Loaded in 44.5 seconds
Finished computing hulls in 61341ms
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
I installed star ruler 2 from snapcraft and run it with:
Code:snap run starruler2It opens but I get no sound.
There is some error output on the command line related to audio but didn't find a conclusive answer when I looked up the error. Didn't look for long yet though as it was the end of the night and was about done.
Here is the output:
Code:$ snap run starruler2
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
chmod: changing permissions of './bin/lin64/StarRuler2.bin': Read-only file system
Initializing sound
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (WW) alc_initconfig: Failed to initialize backend "alsa"
AL lib: (EE) ALCplaybackOSS_open: Could not open /dev/dsp: No such file or directory
Sound Error: Could not initialize sound system
Initializing window system
Loading engine settings
Initializing OpenGL Engine
Registering mods
Starting 5 threads on 4 processors.
Loading mod(s)
OpenGL vendor 'Intel Open Source Technology Center', renderer 'Mesa DRI Intel(R) HD Graphics 505 (Broxton) '
version '3.0 Mesa 18.0.5'
Loaded in 18.9 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Shadow scripts: 4082ms load, 19587ms compile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Client scripts: 7864ms load, 33206ms compile
Server scripts: 2714ms load, 41682ms compile
Loaded in 44.5 seconds
Finished computing hulls in 61341ms
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile