feat: install osmesa off-screen renderer on Windows runners#29
feat: install osmesa off-screen renderer on Windows runners#29akaszynski merged 5 commits intopyvista:mainfrom RobPasMue:offscreen-mesa3d
Conversation
|
Ubuntu 20.04 runners are no longer generally available AFAIK. |
|
Pinging @banesullivan @larsoner @akaszynski for review (sorry for the ping, I don't know if you would get the PR notification otherwise). Here is a PR were we are making use of this new approach (temporarily, until the fix is in) |
SMoraisAnsys
left a comment
There was a problem hiding this comment.
Thanks for adding this changes Roberto
Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com>
|
Looks like |
Just opened #30 |
|
I think maybe we should have it default to |
If I was using a Windows self-hosted runner or even a Windows GitHub runner, I would be interested indeed -- but I wanted to avoid changing critical behavior without y'all confirming that it is the right way to go =) that's why I went with the |
I expect multiple maintainer to leverage
|
Let's plan to bump to v4 once merged. Thanks all! |
|
This will need a follow up release. As it is, a minor (v3.3 and v3) should be fine. |
The motivation for major is that we added a behavior change that might break stuff for people. But if we can consider it safely enough as a bugfix then minor is okay |
Oh, yeah, I agree! If we set the default value to |
|
My vote is to set to |
Recommending the same. Set to |
|
Sounds good, I'll do a follow up PR tomorrow - and adapt the README |
|
Already opened a PR and cut a release but maybe the README still needs to be updated |
Although we were using the installer on Windows, we were not providing the osmesa.dll to the systemwide installation. This new implementation fixes it by adding it to the
install_opengl.shscript as an optional feature (in case users want to benefit from it). By default, it is not enabled to avoid breaking changes.It also defines
VTK_DEFAULT_OPENGL_WINDOW=vtkOSOpenGLRenderWindowwhich is needed to force the usage of osmesa.dll based on https://docs.vtk.org/en/latest/advanced/runtime_settings.htmlREADME has been adapted and new action inputs are created.