euratom-software/calcam

Black / flickering views with VTK 9 + PyQt6 on some systems

ssilburn opened this issue · 3 comments

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.