Comments (5)
@mkondratyev85 I would recommend a couple quick checks to get you started fixing the issue:
- If able, look to see if you can update your graphics driver. e.g. I have seen this error occur with older NVIDIA GPU drivers
- If able, update your version of
pyvista
. The current version is0.36.1
, so there are likely to have been several fixes in place since then (e.g. I believePySide2
support was added topyvistaqt
after0.9.0
. Similar support may have been added forPyQt6
) - Specifically with
PySide6
version6.4.0
(i.e. the latest), there is a known bug (seeqtpy
#377) that is causing many downstream libraries to fail. The current solution is to usePySide6
< 6.4.0 (i.e.6.3.1
or older) until the issue is resolved. Something similar may be occurring with the latest versions ofPyQt6
. - Check the version of
qtpy
you are using, and if able, update to the latest version.
from pyvistaqt.
@mkondratyev85 Also, if you can, would you please provide us with some system information so we can help you debug the issue further? e.g. If you run:
import pyvista as pv
pv.Report()
in a terminal and copy and paste the output here, that will help us.
Update: I see you wrote that in your original post after reading further; my mistake.
Thank you for taking the time to report an issue!
from pyvistaqt.
@adam-grant-hendry thank you for helping me.
System informations after pv.Report():
OS : Linux
CPU(s) : 8
Machine : x86_64
Architecture : 64bit
RAM : 5.7 GiB
Environment : Python
File system : ext4
GPU Vendor : AMD
GPU Renderer : AMD Radeon Vega 8 Graphics (raven, LLVM 13.0.1, DRM 3.42, 5.15.0-47-generic)
GPU Version : 4.6 (Core Profile) Mesa 22.0.1
Python 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
pyvista : 0.36.1
vtk : 9.2.2
numpy : 1.21.5
imageio : 2.22.1
appdirs : 1.4.4
scooby : 0.5.12
matplotlib : 3.5.1
pyvistaqt : 0.9.0
PyQt5 : 5.15.6
IPython : 8.5.0
scipy : 1.8.0
jupyterlab : 3.4.8
My version of drivers are updated. And it looks like I'm using the latest versions of pyvista and pyvistaqt.
from pyvistaqt.
@adam-grant-hendry Can you confirm the issue? Does this example work on your side when you switch to PyQt6?
from pyvistaqt.
Finally I've figured out what was the source of the problem!
I was using the Wayland display server on my Ubuntu 22.04. After switching from the Wayland to X the code works without a problem now!
I'll keep this issue open as I'm not sure if this an intended behavior or not.
from pyvistaqt.
Related Issues (20)
- only one of the subplots work on 4k monitor
- Online documentation not up to date HOT 1
- Lingering references prevent garbage collection
- Segmentation fault on Mac with PyQt5 HOT 2
- Race condition: BackgroundPlotter has no attribute named image HOT 3
- Running pyvistaqt project in Github Action HOT 2
- Inconsistent plotting results with PyVistaQT versus Jupyter (Trame) backends HOT 3
- Issue using pyvistaqt QtInteractor on Windows 10
- MAINT: Deploy docs HOT 7
- solicitud para agregar característica, para guardar los modelos en formato obj
- Stage release for PyVista 0.40 HOT 3
- Update GC testing fixture
- MAINT: Remove Azure
- Make the canvas background transparent HOT 1
- X Error of failed request: BadWindow (invalid Window parameter) HOT 3
- Border glitch during resize HOT 6
- macOS `pvqt.BackgroundPlotter` never opens window HOT 2
- DOC: MultiPlotter vs BackgroundPlotter
- no mouse interactivity with BackgroundPlotter HOT 1
- Consider adding `.git_archival.txt` to include version number in git archive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvistaqt.