-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
black (blank) plot on ubuntu #54
Comments
I am wondering if this is due to pyqt/pyqt5 as pyqt installs some packages like sip from pypi and not the conda-forge pyqt5 5.11.x are not available on the forge |
Could you try installing Also, |
I’ll try the older vtk but I want to stick with what is available on the conda forge as much as possible so I think I am stuck with 5.12.3 or 5.9.
…-Andrew Annex
On Sep 2, 2020, at 9:15 PM, Alex Kaszynski ***@***.***> wrote:
Could you try installing vtk==8.1.2? That's been causing some issues and it might be part of the problem. Installing it through vtk should work.
Also, pyqt5==5.11.x has been the most successful for us, so we've gone with that, but you're free to choose a different version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
That might be part of the issue then. I've found |
@akaszynski I think there is a typo in either the pyvista or pyvistaqt conda forge yamls where "pyqt" and "qt" is being installed along with pyqt5, pyqt5-sip, pyqtchart, pyqtwebengine that are installed by pip in one or the other recipe. I wasn't able to get a working conda environment until I used pip only to install pyvista and pyvistaqt and necessary dependencies (see below), and when I did I didn't see any additional "qt" dependencies from the conda forge in the environment. creating a new environment and then running "pip install pyqt5==5.11.3 pyvista pyvistaqt vtk==8.1.2" worked for me, however this issue will need to be fixed because vtk 8.1.2 is not available for python 3.8 or forward I think some version pinning or TLC for the conda forge feedstocks are needed |
@akaszynski I should amend this to say, that in this environment I want to be able to run jupyter which requires qt/pyqt. So although you can get a working environment it would be difficult to resolve a functioning environment without careful editing. The end solution is to fix whatever is wrong with pyvista/pyvistaqt |
The |
@GuillaumeFavelier I am actually still running into this issue, annoyingly I cannot downgrade vtk because 8.2 and 8.1.2 does not support python 3.8 so I am stuck with vtk 9.0.1unless I can safely downgrade the python version |
So you upgraded |
code snippet:
as some amount of time has passed here is an updated run of pv.Report:
|
You can update to the latest dev wheels with |
@akaszynski yay it works! Note for others the steps were to:
Although my immediate issue is solved, eventually I would like to be able to continue to rely on the conda-forge distribution to make my conda env easier to share. If fixes can't be worked into the feedstock for vtk, maybe the docs for pyvistaqt/pyvista could be updated to include the fix(es) for this issue? I'm not sure how commonly this issue is run into but judging by the repo maybe I just have a strange conda environment |
Thanks for posting the steps to your workaround.
We're going to wait some time until VTK either releases stable wheels or, should that take longer than a month or two, add in notes regarding the workaround you noted. |
I encountered same problem, could you please help me? I have: |
I solved the black screen problem by cancelling anti-aliasing, but I don't understand why |
Thanks for reporting here @Xiaoyuew. We discovered in some cases that anti-aliasing, when not supported by the renderer, produces a black screen. I am not entirely sure of the reason but I have some guesses. Do you use MESA? One way to know is to look at the |
Yes I use MESA. If it is a problem of GPU I could probably solve it. I will be changing my GPU tomorrow. |
I have changed to a NVIDIA card and the anti-aliasing no longer causes black screen. Thank you! @GuillaumeFavelier |
@Xiaoyuew Could you elaborate on how you configured pyvista to recognize your NVIDIA card on Ubuntu? I'm in WSL2 and am having some trouble getting it configured. Thanks! |
It's some time ago, but I think it is just a matter of GPU driver. If you get the correct driver then pyvista can recognize it. @JacobBumgarner
|
I appreciate your response. I'm guessing that I would need to recompile VTK with the appropriate GPU configurations. Does that seem right to you? No worries if you don't remember, I know it's been a long time 😄 Thanks, @Xiaoyuew |
No need to recompile. Just download and install the correct GPU driver should be enough. @JacobBumgarner |
on ubuntu, with a recent install of anaconda in a new environment I just get a black screen for the plotting window, if I use the file menu in the background plotter menu to save a screenshot I can view a rendering but otherwise the screen is blank. I installed via the conda-forge, and I can see some differences in the dependencies in the environment yml in this repo and the feedstock, but not sure if that is the issue.
error when calling disable_eye_dome_lighting()
The text was updated successfully, but these errors were encountered: