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

New fsbrain installation on M1 Mac does not show colorbar #37

Open
utooley opened this issue Mar 3, 2022 · 3 comments
Open

New fsbrain installation on M1 Mac does not show colorbar #37

utooley opened this issue Mar 3, 2022 · 3 comments
Assignees
Labels
investigate needs some investigation

Comments

@utooley
Copy link

utooley commented Mar 3, 2022

Describe the bug
No colorbar appears when using vis.region.values.on.subject, and I get the error below.

FALLBACK (log once): Fallback to SW fragment processing (outputInfo.polygonModeMismatch)
FALLBACK (log once): Fallback to SW fragment processing, m_disable_code: 800000

To Reproduce
Steps to reproduce the behavior:
Use draw_colorbar=T with vis.region.values.on.subject. Without draw_colorbar=T, no error.

Expected behavior
A clear and concise description of what you expected to happen.

Colorbar appearing, no error.
Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Operating System [e.g. MacOS10.13, or Ubuntu 20.04]: MacOS Monterey 12.2.1
  • R version (output of R --version in system shell): R version 4.1.2 (2021-11-01) -- "Bird Hippie"
  • fsbrain version (output of packageVersion('fsbrain') in R):‘ 0.5.3’

Additional context
Add any other context about the problem here.

@dfsp-spirit
Copy link
Owner

dfsp-spirit commented Mar 4, 2022

Thanks for the detailed report! I have no M1 Mac, but I will see whether I can get access to one somehow.

I have the impression that these log messages are unrelated though, they seem to come from the M1 OpenGL driver and should only lead to worse performance (no hardware acceleration). I guess something in the rgl package (the renderer used by fsbrain) triggers them.

@utooley
Copy link
Author

utooley commented Jun 19, 2022

Hi! Sorry for the delay, I think I forgot about this -- you're correct, the error messages are not reproducibly associated with the lack of colorbar, which is reliable while the error messages are not. However, I do still have this issue -- do you have any idea what is causing or a workaround? I've been using coloredmesh.plot.colorbar.separate but it is far less convenient.

@dfsp-spirit dfsp-spirit self-assigned this Jul 1, 2022
@dfsp-spirit dfsp-spirit added the investigate needs some investigation label Jul 1, 2022
@hjameei
Copy link

hjameei commented May 26, 2023

Describe the bug No colorbar appears when using vis.region.values.on.subject, and I get the error below.

FALLBACK (log once): Fallback to SW fragment processing (outputInfo.polygonModeMismatch)
FALLBACK (log once): Fallback to SW fragment processing, m_disable_code: 800000

To Reproduce Steps to reproduce the behavior: Use draw_colorbar=T with vis.region.values.on.subject. Without draw_colorbar=T, no error.

Expected behavior A clear and concise description of what you expected to happen.

Colorbar appearing, no error. Screenshots If applicable, add screenshots to help explain your problem.

Environment:

  • Operating System [e.g. MacOS10.13, or Ubuntu 20.04]: MacOS Monterey 12.2.1
  • R version (output of R --version in system shell): R version 4.1.2 (2021-11-01) -- "Bird Hippie"
  • fsbrain version (output of packageVersion('fsbrain') in R):‘ 0.5.3’

Additional context Add any other context about the problem here.

Hi. I encountered the same problem as while using vis.region.values.on.subject. Interestingly, draw_colorbar = 'horizontal' works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate needs some investigation
Projects
None yet
Development

No branches or pull requests

3 participants