xtk / X

The X Toolkit
http://www.goXTK.com
Other
786 stars 263 forks source link

Volume files are not visible in recent linux distributions #195

Open perantinosg opened 8 years ago

perantinosg commented 8 years ago

Volume files (.nrrd, .nii etc., also xtk lessons 10, 11, 13 etc.) are not rendered on screen in almost every linux distro that was released or refreshed during the last 6 months. The files load OK (no errors), but all that appears on screen is the tool panels and the 2D frames (see attached picture, Lesson 10). xtk10 We first noticed this when we started upgrading our desktops from ubuntu 14.04 to ubuntu 16.04. Upon further examination, we concluded that the same problem exists also on the latest fedora, archlinux and gentoo (i.e. practically every distro). It is browser independent (firefox, chrome and webkit browsers) and kernel independent (tested with kernels 3.x and 4.x). By downgrading various parts of the system we nailed down the problem (with 99% certainty) to the version of mesa3d being used. When mesa-10.x is used (ubuntu 14.04) the volumes are rendered OK. When mesa-11.x is used (ubuntu 16.04) the volumes are invisible. Do you think that this is an xtk bug or a mesa3d bug? How can I be of help?

dzenanz commented 8 years ago

Hitting the same bug I suppose. Error messages with latest browsers: Ubuntu 16.04 Chrome: RENDER WARNING: there is no texture bound to the unit 0 Ubuntu 16.04 Firefox: Error: WebGL: texImage2D: Uploading ArrayBuffers with FLIP_Y or PREMULTIPLY_ALPHA is slow.

dzenanz commented 8 years ago

This was happening with Intel drivers for Skylake architecture (HD Graphics 530). After I plugged in GTX 750 Ti and installed nVidia drivers, the problem went away.

perantinosg commented 8 years ago

I suppose you are using the binary drivers? If yes, then they are implementing their own driver stack, ignoring the system mesa packages. It's almost a month since I last tried various mesa versions, during the weekend I'll see if there's any new version and give it a try.

dzenanz commented 8 years ago

Yes, I am using the binary drivers.

perantinosg commented 7 years ago

This is resolved in mesa 12.0.x. With mesa-12.0.3 that comes with the (just) released xubuntu 16.10 the volumes show up.