Trame/Async-ParaView/VTKStreaming H264 Encoding "OpenGL rendering is not on a CUDA device" #301
-
Hi, I'm able to run the async paraview wavelets example: https://gitlab.kitware.com/async/async-paraview-examples/-/blob/main/async/python/wavelet.py. However when I try to use H.264 encoding I see:
I'm able to reproduce with VTKStreaming's tests (which is where I took the output from above; it's the same error though when running wavelets.py. Running Machine 1 (my dev laptop):
Machine 2 (heavy server):
Looking at https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new, I see both GPUs are listed as supported: I appreciate any help! If I am better off posting directly to VTKStreaming please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You probably need to do |
Beta Was this translation helpful? Give feedback.
To fix this I:
nvidia-prime
to setnvidia
as the defaultNow all VTKStreaming tests pass and I'm able to run the
wavelets.py
example with H.264 encoding.Funnily enough, the JPG encoder feels much more responsive, even if it uses twice the bandwidth. Of course I'm running locally, so need to consider that...We are currently evaluating whether to incorporate the H.264 encoding into our application (vtkWebApplication [pushRender, and all that] + Angular + wslink) or not.
Thank you for your help @jspanchu and @jourdain!