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

Black bug when opening files in register #23

Open
guilhermepovala opened this issue Jan 15, 2020 · 22 comments
Open

Black bug when opening files in register #23

guilhermepovala opened this issue Jan 15, 2020 · 22 comments

Comments

@guilhermepovala
Copy link

Hi,

Always when I open register with more than one file, this bug occurs. Can someone help me with that?

Thank you!

2020-01-15_14-27

@guilhermepovala guilhermepovala changed the title Black bug when opening .mnc files in register Black bug when opening files in register Jan 15, 2020
@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

Are you running it over SSH by any chance? Or inside of virtual machine.

@guilhermepovala
Copy link
Author

No, I'm using in native ubuntu 19.04. I've already tested in ubuntu 16.04 and 18.04.

@gdevenyi
Copy link

Modern versions of Ubuntu seem to have some bad interactions with nvidia/opengl. Resize the window usually fixes it.

This is probably a bug in GLUT.

@guilhermepovala
Copy link
Author

I'm using the register that comes with minc. This bug occurs in all computers here in the lab.
When the window is resized the black portion becomes normal. But when another interaction with the images is made, the bug comes back.

I thought it could be some missing library, but it seems to be another problem.

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

does it have NVIDIA GPU?

@guilhermepovala
Copy link
Author

Until last week, it doesn't. I installed one yesterday. The bug was happening before and continues after the installation.

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

does it use NVIDIA driver ?

@guilhermepovala
Copy link
Author

Now, yes.
image

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

it doesn't say which driver it is using

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

glxinfo shows this information

@guilhermepovala
Copy link
Author

Here is my glxinfo output:

glxinfo.txt

@guilhermepovala
Copy link
Author

$ glxinfo | grep OpenGL

image

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

well, it's a mystery.

@guilhermepovala
Copy link
Author

Is there any chance it can work using docker?

@gdevenyi
Copy link

I have the same bug in 18.04 with intel:
Screenshot_20200115_135513

@gdevenyi
Copy link

gdevenyi commented Jan 15, 2020

docker with any graphical application is pretty much a no-go, its a mess to feedthrough the X access.

Plus, I have expectation that docker will fix anything.

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

we still don't know which version of minc/register that is

@guilhermepovala
Copy link
Author

guilhermepovala commented Jan 15, 2020

Minc 1.9.17
Register 1.5.0 (built Jul 1 2019) git:HEAD/a391751

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

maybe it's a sign to switch to nifti?

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

you can try
LIBGL_ALWAYS_INDIRECT=1 register file1.mnc file2.mnc

@guilhermepovala
Copy link
Author

Well, using LIBGL_ALWAYS_INDIRECT=1 didn't fix the issue.

Some information that might be helpful:

  • When opening a .mnc file as the first one, the bug always happen;
  • When a .nii file is the first one, even followed by other .mnc files, it seems that register work normally.

@vfonov
Copy link
Member

vfonov commented Jan 15, 2020

looks like nifti is the answer

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