# Cylinder Demo bugs in ver 8.2.0 on Fedora 32 with NVidia hardware

**URL:** https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310
**Category:** Support
**Created:** [September 28, 2020, 8:08am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310 "2020-09-28T08:08:47Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [September 28, 2020, 8:08am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/1 "2020-09-28T08:08:47Z")

</div>

I have a problem getting the Cylinder demo program to work properly on Fedora 32, with NVidia drviers. However, to do something similar in ParaView 5.8 works just fine.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [September 29, 2020, 5:17pm UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/2 "2020-09-29T17:17:24Z")

</div>

Hi, David,

Can you post an image of what you are getting?

regards,

Paulo

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 3, 2021, 10:02am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/3 "2021-03-03T10:02:01Z")

</div>

Hi there, sorry for not responding sooner

 ![broken-vtk-cylinder-nvidia](https://discourse.vtk.org/uploads/default/original/2X/a/ae8e23ced3f0366678d5121ad87fa2b3d5062a94.png)

Here’s a picture showing a broken render of the Cylinder demo, and even include errors in the terminal window.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [March 3, 2021, 11:29am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/4 "2021-03-03T11:29:46Z")

</div>

David, g’day,

The first thing to check when we face rendering problems is to make sure you have the latest graphics drivers installed. A question: is that example supposed to have translucent (alpha blending) surfaces?

regards,

Paulo

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 4, 2021, 2:37am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/5 "2021-03-04T02:37:34Z")

</div>

It was supposed to be the Cylinder example code. I’ve run it successfully with Nouveau drivers at it works fine. Trueth be told, the working on the NVidia Linux drivers page is a little odd. Their “Production Branch” is at ver. 460.56, while their “New Features” branch is at 455.45. I have been using the New Features Branch, not Production. I will see about upgrding and see if it goes away.

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 4, 2021, 3:04am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/6 "2021-03-04T03:04:32Z")

</div>

OK, just upgraded to the latest ver. 460. Still happening. The HW is a GeForce GT 730 card.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [March 4, 2021, 8:27pm UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/7 "2021-03-04T20:27:29Z")

</div>

Ok, is that example supposed to have translucent (alpha blending) surfaces?

regards,

Paulo

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [March 4, 2021, 10:23pm UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/8 "2021-03-04T22:23:06Z")

</div>

If the OpenGL driver is causing problems, then make sure that your window manager is not using OpenGL for compositing. With buggy drivers, problems can occur when multiple processes are using OpenGL at the same time.  
 ![compiz](https://discourse.vtk.org/uploads/default/original/2X/b/b3b611b95b1baefe1f5c4835bae0f817a1b0097a.png)

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 5, 2021, 4:38am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/9 "2021-03-05T04:38:20Z")

</div>

My window manager is xfwm4. I just greped through the output of “ps aux” for “compiz” and found only the grep command itself.

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 5, 2021, 5:11am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/10 "2021-03-05T05:11:55Z")

</div>

I found part of the following command:

for pid in $(ls -d /proc/[0-9]\* | cut -d’/’ -f 3)  
do sudo lsof -p ${pid} 2\> /dev/null | grep /dev/dri  
done

here “[https://unix.stackexchange.com/a/428200/203769](https://unix.stackexchange.com/a/428200/203769)” I found that I have 3 processes trying to access the following device on my system: “/dev/dri/renderD128”. The programs that are accessing this seem rather basic, such as (much to my surprise) “xfwm4”, and “Xorg” itself. Any ideas? Thank you very much in advance.

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [March 5, 2021, 6:15am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/11 "2021-03-05T06:15:09Z")

</div>

That snippet is useful, I didn’t know how to check driver usage before.

For xfce desktop, if you go to “Desktop Settings” in the “Settings” menu, you should be able to choose xfwm4 without compositing. Xorg has to load the glx module in order for you to use OpenGL with X, so that’s probably why Xorg touches the driver.  
 ![xfwm4](https://discourse.vtk.org/uploads/default/original/2X/6/6b44771305cbf10d568a2edbceae2a31409885e1.png)

---

<div class="post-metadata">

### Author: ![DavidChipman](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)
#### Post date: [March 5, 2021, 6:23am UTC](https://discourse.vtk.org/t/cylinder-demo-bugs-in-ver-8-2-0-on-fedora-32-with-nvidia-hardware/4310/12 "2021-03-05T06:23:18Z")

</div>

I found a way to stop xfwm4 from using OpenGL in “Window Manager Tweaks \> Compositor”, but thanks. Still have XOrg using OpenGL though.
