Skip to content

mrview isn't working on WSL #2536

@Microdeep-ZL

Description

@Microdeep-ZL

I'm using WSL2 (Ubuntu-22.04) to install MRtrix3 (3.0.3) through miniconda. When I run mrview, I got this

mrview: [WARNING] unable to determine OpenGL version - operation may be unstable if actual version is less than 3.3

I spent a lot of time searching the Internet for a solution. I can't remember where I knew this, but simply adding this line to .bashrc can perfectly solve the problem.

export LIBGL_ALWAYS_INDIRECT=0

By the way, I'm using MobaXterm to display GUI.

Perhaps you can modify the code so that adding that line is automatically done for WSL users? I don't know whether that problem occurs on non-WSL linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions