[vtkusers] Z-fighting problem on intel hd graphics

Ken Martin ken.martin at kitware.com
Tue Aug 23 12:44:51 EDT 2016


This sounds like a driver issue. I suppose you could try setting the
following environment variable

GALLIUM_DRIVER=llvmpipe

to switch to software rendering and see if the problem goes away.  If
nvidia and mesa llvmpipe both work on your linux system then I would really
suspect the intel linux driver.



On Wed, Aug 17, 2016 at 6:17 AM, RobertS <spir.robert at gmail.com> wrote:

> Hi all,
> I'm doing simple visualization of data on rectangular grid by creating
> vtkpolydata from single vtktrianglestrip and when running the application
> in
> linux on intel hd graphics there is serious problem with z-fighting where
> the parts that should be far away are overlapping parts that are near the
> camera. This doesn't happen when running on windows (intel or nvidia) or on
> linux with nvidia
> here you can see the problem, the camera angle is still the same
> http://tesla.math.sk/intel1.jpg <http://tesla.math.sk/intel1.jpg>
> http://tesla.math.sk/nvidia1.jpg <http://tesla.math.sk/nvidia1.jpg>
> another angle
> http://tesla.math.sk/intel2.jpg <http://tesla.math.sk/intel2.jpg>
> http://tesla.math.sk/nvidia2.jpg <http://tesla.math.sk/nvidia2.jpg>
> this happens on vtk 7.0 and also on vtk 7.1 from git
> tested hardware is intel hd graphics on haswell, and ivy bridge (mesa 11.2
> and 12.0 with opengl 3.3) and on broadwell with mesa 12.0 with opengl 4.4
> Is this a known issue or am I doing something wrong?
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/Z-fighting-problem-on-intel-hd-graphics-tp5739803.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
>



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160823/9c1204b0/attachment.html>


More information about the vtkusers mailing list