App "Bluetooth Low Energy" crashes in "nRF Connect for Desktop" on Ubuntu 24.04

Dear lovely people from Nordic Seminconductor,

I have the nRF52840 dongle.

I installed the software ""nRF Connect for Desktop" on my Ubuntu 24.04

For that I ensured all dependencies mentioned here are installed: 

https://docs.nordicsemi.com/bundle/nrf-connect-desktop/page/download_cfd.html

sudo dpkg -i JLink_Linux_V798b_x86_64.deb

sudo dpkg -i nrf-udev_1.0.1-all.deb

sudo apt-get install libusb-1.0-0

After inserting the dongle into my machine, I start the app with:

./nrfconnect-5.0.2-x86_64.AppImage --no-sandbox

It starts up and I can see the list of apps.

However, when I click on "Open" next to "Bluetooth Low Energy", for a second a white window pops up and immediately disappears.

This is reproducable.

There are no error messages in the terminal except for:

[11408:0802/213516.937876:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[11408:0802/213518.371565:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[11408:0802/213522.451264:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

However, those appeared before I clicked the "Open" button.

I also checked that the app is at the latest level, which it is: v4.0.4-patch1

Can you help me to fix this, please?

Thank you,

Helga

Parents Reply
  • I faced the same issue today in Ubuntu 22. For me the followoing workaround worked:

    1) Download older version of libstdc++ and extract it (it is a .deb package but the regular unzip should work fine for it). I downloaded older version here

    2) run nrf connect for desktop BLE using the following command to use downloaded library instead of default one:
    LD_PRELOAD=<folder_where_downloaded_file_is_unzipped>usr/lib/aarch64-linux-gnu/libstdc++.so.6 ~/opt/nrfconnect-bluetooth-low-energy/nrfconnect-bluetooth-low-energy-4.0.4-x86_64.AppImage


    It is hacky but it works fine, and also this approach doesn't require downgrading the libstdc++ library in the whole system.

    Also, the AppImage can be downloaded from here probably. Not sure why you don't have ~/opt/nrfconnect-bluetooth-low-energy/ subfolder. Maybe in Ubuntu 24 the folder is created somewhere else...

Children
Related