[Simnibs-discuss] SimNIBS 4.0 on Ubuntu 22

Kristoffer Madsen kristofferm at drcmr.dk
Mon Jan 23 09:45:13 CET 2023


This is normally because pyQt has problems with binaries on the
Wayland backend. As mentioned in changelog for 4.0, you should try
preloading your system libstdc++.so.6 (from a terminal, prior to
running simnibs_gui):

simnibs_gui does not start on some linux systems, e.g. with wayland
(workaround: ld preloading of libstdc++.so.6 seems to help; example:
export LD_PRELOAD=/usr/lib/libstdc++.so.6 - path needs to be adjusted
according to library path on local system)

I would be nice if you could confirm if this works or not.

Best,
Kristoffer

On Mon, 23 Jan 2023 at 09:20, Hassan Yazdanian
<hassanyazdanian at gmail.com> wrote:
>
> Hi,
>
> I am trying to install SimNIBS 4.0 on Ubuntu 22. After installation is completed, I close the terminal and open a new terminal.  In the new terminal, I type simnibs_gui but unfortunately I only see a black screen. The error in terminal is
>
> composeAndFlush: makeCurrent() failed.
>
>
> I would be grateful for any possible solution.
>
>
> Best wishes,
>
> -Hassan
>
>
>
>
>
> --
> Hassan Yazdanian, PhD.
> Department of Biomedical Engineering
> Faculty of Electrical Engineering
> K.N.Toosi University of Technology
> _______________________________________________
> Simnibs-discuss mailing list
> Simnibs-discuss at drcmr.dk
> https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss


More information about the Simnibs-discuss mailing list