[vtkusers] QVTK Widget odd behavior on Ubuntu 16.10 and NVidia GPU:

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jul 19 10:50:08 EDT 2017


I recommend using the new QVTKOpenGLWidget with Qt 5 instead of QVTKWidget (
http://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html).


On Wed, Jul 19, 2017 at 10:47 AM, BBerco <bebe0705 at colorado.edu> wrote:

> Hello all,
>
> I have been working making an application cross platform between MacOS and
> Linux Ubuntu. This piece of software is built around Qt 5.9.1 and VTK 8 for
> the GUI side of things.
>
> After a lot of fiddling, I'm pleased to say I have no issue at all on
> MacOS.
> Here's a link to the Github Wiki of the project, with an illustration of
> what it looks like as of today when operating nominally
> (https://github.com/bbercovici/SBGAT/wiki)
>
> Unfortunately, I am not quite there yet on Linux/Ubuntu. Specifically, the
> QVTKWidget at the center of the QMainWindow constituting the GUI acts
> weird.
>
> Here's what's happening when I am running SBGAT on Linux:
>
> - Upon launch, the QVTKWidget 'separates' from the QMainWindow, so that I
> am
> left with two windows instead of one
> - The QMainWindow window works fine. All the buttons are responsive.
> - The QVTKWidget is not responsive. No interaction appears to take place
> between the mouse cursor upong clicking and the camera orientation.
> - There is a strange "ghosting" effect with portions of the QVTKWidget that
> do not get redrawn properly, but show neighboring desktop elements or
> windows when moved around
> - When loading in an .obj file using the QMainWindow actions, it gets
> displayed on the QVTKWidget (so there is "some" rendering going on,
> although
> no interaction is possible).
>
> My desktop has a NVIDIA 980 GTX GPU, and I am using the latest NVidia
> drivers I could find on apt-get (nvidia 384 I believe).
>
> I believe a more detailed error message is sometimes spitted out by SBGAT
> upon leaving, I will copy/paste it here later today.
>
> Is there anyone who was able to make QVTKWidgets work on a similar
> platform?
>
> Thanks,
> Ben
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/QVTK-Widget-odd-behavior-on-Ubuntu-16-10-and-NVidia-GPU-tp5744016.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170719/8824e05e/attachment.html>


More information about the vtkusers mailing list