We're having this same issue on Xubuntu 18.04 . Trying to run fsleyes just results in:
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Segmentation fault (core dumped)
Digging online now to try to resolve, but wanted to check if anyone else had already figured out how to fix this issue.
-Mike
________________________________________
From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Giuseppe Cappellacci <[log in to unmask]>
Sent: Sunday, January 21, 2018 9:16:04 AM
To: [log in to unmask]
Subject: Re: [FSL] fsleyes won't open
Hi Paul, unfortunately seems like I cannot run fsleyes even with that. Here's what I get:
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
The program 'fsleyes' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 751 error_code 2 request_code 155 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Thank you
On Sun, Jan 21, 2018 at 6:19 AM, paul mccarthy <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi Guiseeppe,
I think this might be caused by a bug that I have not been able to reproduce, so have not yet solved. In the meantime, could you try running FSLeyes like so:
LIBGL_ALWAYS_SOFTWARE=1 fsleyes
Cheers,
Paul
On 19 January 2018 at 18:03, Giuseppe Cappellacci <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hello Matthew, thank you for your answer! Sorry but I haven't explained myself very much, actually I'm trying to run fsleyes on ubuntu 16.04 so I do not have Xquartz
On Thu, Jan 18, 2018 at 8:54 AM, Matthew Webster <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hello,
Are you running an X11 session on OSX? If so can you try running the following command
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
( you might need to close and restart xquartz after this )
and then try running fsleyes again?
Kind Regards
Matthew
--------------------------------
Dr Matthew Webster
FMRIB Centre
John Radcliffe Hospital
University of Oxford
> On 17 Jan 2018, at 15:31, Giuseppe Cappellacci <[log in to unmask]<mailto:[log in to unmask]>> wrote:
>
> Hi,
>
> when I try to run fsleyes, I always get the same error and I don't know how to fix it. Can anyone help me? here's the code:
>
>
> libGL error: unable to load driver: nouveau_dri.so
> libGL error: driver pointer missing
> libGL error: failed to load driver: nouveau
> libGL error: unable to load driver: nouveau_dri.so
> libGL error: driver pointer missing
> libGL error: failed to load driver: nouveau
> libGL error: unable to load driver: swrast_dri.so
> libGL error: failed to load driver: swrast
> The program 'fsleyes' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadValue (integer parameter out of range for operation)'.
> (Details: serial 767 error_code 2 request_code 155 minor_code 24)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error() function.)
>
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
|