NOSON fails to launch on new Raspberry pi 4

Hello. Noob here so please be gentle. I recently built a fresh “buster” installation on a new Raspberry Pi 4. All defaults, nothing special. I followed the simple doc to install snapd then SONOS on the pi but when I launch NOSON (Desktop>Run>noson) I see a window pop then immediately close with no errors in syslog or daemon log. There are two log entries that say it “started” and “succeeded” but nothing else. Nothing displays in a ps, either. The NOSON snap appears to have installed properly and does mount. Any thoughts on where to start here?

try running it from a terminal window and see if it spits out any errors when run interactively from there

EDIT: there also seems to be an error tracker where you could report the issue at https://github.com/janbar/noson-app/issues

Errors below. Repeated lines were clipped. First try was as user “pi”. Second was w/sudo. Same thing - a window opens and closes in less than a second then abort. Please advise if there is a better way to display this info. Thanks.

pi@piweather:~ $ noson
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

… clipped …

ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Signal handler is enabled.
“using file ':/i18n/noson_en.qm ’ for translations.”
thumbnailer: register API [LASTFM]
thumbnailer: register API [DEEZER]
installing thumbnails cache in folder “/home/pi/snap/noson/407/.local/share/janbar/io.github.janbar.noson/QML/OfflineStorage”
thumbnailer is initialized
qml: LANG=en_US
thumbnailer: configure API [DEEZER]
registerContent: 0xf09e28 ()
registerContent: 0xf08200 (FV:2)
registerContent: 0xf09538 ()
registerContent: 0xf04fd8 (SQ:)
registerContent: 0xf08c48 ()
registerContent: 0xdbff28 ()
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted

pi@piweather:~ $ sudo /snap/bin/noson
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
realpath: ‘’: No such file or directory

… clipped …

ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

… clipped …

Signal handler is enabled.
“using file ':/i18n/noson_en.qm ’ for translations.”
thumbnailer: register API [LASTFM]
thumbnailer: register API [DEEZER]
installing thumbnails cache in folder “/root/snap/noson/407/.local/share/janbar/io.github.janbar.noson/QML/OfflineStorage”
thumbnailer is initialized
qml: LANG=en_US
thumbnailer: configure API [DEEZER]
registerContent: 0x110c050 ()
registerContent: 0x110baa8 (FV:2)
registerContent: 0x110be68 ()
registerContent: 0x1109678 (SQ:)
registerContent: 0x110bc80 ()
registerContent: 0xfc8980 ()
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted
pi@piweather:~ $

I also opened issue #168 on janbar/noson-app github. Thanks. https://github.com/janbar/noson-app/issues/168

1 Like

you can ignore the libarmmem lines, they come from a rather awful LD_PRELOAD hack RaspiOS applies system wide, while noisy they are harmless and have no impact.

This is your error, looks like something is wrong with the graphics driver or the mesa libs …