Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eddy #254

Closed
bkossows opened this issue Jan 16, 2019 · 2 comments
Closed

eddy #254

bkossows opened this issue Jan 16, 2019 · 2 comments

Comments

@bkossows
Copy link

No description provided.

@kaczmarj
Copy link
Collaborator

kaczmarj commented Jan 16, 2019

hi @malywladek - i assume this issue was related to #191 (comment).

i recommend installing fsl (including fsleyes and eddy) from neurodebian:

$ docker run --rm kaczmarj/neurodocker:0.4.3 generate docker \
  --base=neurodebian:stretch-non-free \
  --pkg-manager=apt \
  --install apt_opts='' fsl-5.0-complete fsl-5.0-eddy-nonfree fsleyes \
  --add-to-entrypoint 'source /etc/fsl/5.0/fsl.sh' > Dockerfile

$ docker build -t fsl .

Running a gui can be a little tricky in a container, but if you are on linux or macOS, it's like this:

  1. Allow root user to use display in container: xhost local:root
  2. Run with mounted x11 path and DISPLAY variable:
    • docker run --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY fsl fsleyes

@akemisetti
Copy link

Hi
I tried the above command and got the following error.

Gtk-Message: Failed to load module "canberra-gtk-module"
libGL error: No matching fbConfigs or visuals found
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 960 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.)

I am using docker on ubuntu 18.04 with Nvidia drivers

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001F36sv00001028sd00000926bc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-435 - distro non-free
driver : nvidia-driver-440 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

am I missing anything else?

Thanks
Anil

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants