[Simnibs-discuss] SimNIBS 4.0 on Ubuntu 22
Hassan Yazdanian
hassanyazdanian at gmail.com
Tue Jan 24 06:21:55 CET 2023
Dear Kristoffer,
Thank you for the solution. It works.
I think I should run the gui by the following command every time:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 simnibs_gui
Best wishes,
-Hassan
On Mon, Jan 23, 2023 at 12:15 PM Kristoffer Madsen <kristofferm at drcmr.dk>
wrote:
> 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
>
--
Hassan Yazdanian, PhD.
Department of Biomedical Engineering
Faculty of Electrical Engineering
K.N.Toosi University of Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20230124/b34e84b7/attachment.html>
More information about the Simnibs-discuss
mailing list