Black / flickering views with VTK 9 + PyQt6 on some systems
Using VTK 9 & PyQt6 on Windows causes black / flackery graphics. Doesn't seem to happen with either older PyQt or older VTK.
After some investigation:
(1) I can't find a straightforward way to fix this, and (2) It seems to be specific to Intel integrated graphics - can't reproduce on an AMD card or other platform than Windows. So for now I'll update the documentation with this known issue.
Same problem on a MacBook Pro (13-inch, M1, 2020) mac running macOS 10.4 and python 3.9.13
Due to this and some other issues with PyQt6 + VTK9 (causes complete failure of the GUI to open on my Ubuntu machine!), plus because PyQt5 is still widely easily available - for now I've just removed support for PyQt6 from Calcam. In the current state of compatibility with VTK it's causing many more problems than it's worth to be compatible with the latest version.
Testing this again now, with Calcam 2.15.dev0, PyQt6.8.2 and VTKs 9.2.6 and 9.41 - it looks like these libraries have learned to play nicely with each other and the problem is gone, at least on the Intel integrated graphics machine I had it on before. So unless there are more problems found I propose to re-enable PyQt6 support and make PyQt6 the default requirement for calcam 2.15.
Closing this due to PyQt6 now being the default in v2.15