pyvista / setup-headless-display-action Goto Github PK
View Code? Open in Web Editor NEWGitHub Action to setup a headless display on Linux and Windows (not needed on MacOS)
License: MIT License
GitHub Action to setup a headless display on Linux and Windows (not needed on MacOS)
License: MIT License
The current version of OSMesa on windows used here is mesa-10.2.4-1
which is 8+ years old and has all kinds of issues rendering which show up in PyVista's image regression tests, for example:
This old version of Mesa is coming from @vispy's https://github.com/vispy/demo-data/raw/main/mesa/ (cc @larsoner)
I've started drafting a PR in #4 to add a DLL directly to this action to use but I don't know anything about PowerShell and windows so this is taking me a bit to debug.
Opening this issue to track the fact that we need to and are updating the OSMesa DLL for windows and to have a broader conversation to see if @vispy wants to update their OSMesa version
Hi,
I am trying to build a docker image based on windows container (mcr.microsoft.com/windows:20H2) to run on it a python project, and I am getting issues running pyvista in the built container. In fact I have used this repository script to set up OpenGL related features like headless displays in my windows container, but when trying to run tests involving Pyvista I am getting windows fatal exception error which I think it is related to this below :
Date: Tue May 10 11:17:18 2022 Paris, Madrid (heure d’été)
OS : Windows
CPU(s) : 2
Machine : AMD64
Architecture : 64bit
Environment : Python
GPU Details : error
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit
(AMD64)]
pyvista : 0.34.1
vtk : 9.0.3
numpy : 1.22.3
imageio : 2.19.0
appdirs : 1.4.4
scooby : 0.5.12
matplotlib : 3.5.1
pyvistaqt : 0.5.0
PyQt5 : 5.15.6
scipy : 1.8.0
meshio : 5.3.4
Docker version 20.10.14, build a224086.
Thank you,
I'm currently using the xvfb-action in some workflows. I'd like to get rid of Xvfb and to use headless mutter instead, which is available since Gnome 40: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698
Would it make sense for this action?
When apt-installing dependencies, we should use awalsh128/cache-apt-pkgs-action
to cache these:
setup-headless-display-action/action.yml
Line 13 in a90d08f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.