MRVIEW: Blank window on WSL

Hi @GBRANDT,

It looks to me like you’re running mrview from within a virtual machine:

mrview: [INFO] GL vendor:    VMware, Inc.

and on this implementation, the OpenGL implementation falls back to software rendering via the llvmpipe Mesa driver:

mrview: [INFO] GL renderer:  llvmpipe (LLVM 10.0.0, 128 bits)
mrview: [INFO] GL version:   3.3 (Core Profile) Mesa 20.0.8

Running within virtual machines is always tricky for a number of reasons, the main being access to the GPU hardware. The Mesa project do their best to support what they can with their CPU driver, but it’s not guaranteed to support all the features required for OpenGL 3.3 (which is what mrview relies on). You’ll find a lot of information on this issue in this wiki article.

One way to potentially get this working (though I doubt you’ll get the volume renderer to work) is to upgrade your Mesa drivers to a more recent version (current version at the time of writing is 23.1.3). Alternative is to run mrview natively on your system, or use a VM implementation that provides direct access to the GPU (which I think can be done with some, though I don’t have hard facts to back this up).

I hope this helps…
All the best,

Donald.