jetson_stats icon indicating copy to clipboard operation
jetson_stats copied to clipboard

Corrupted lavapipe on Ubuntu 20.04 on Jetson Nano

Open Qengineering opened this issue 2 years ago • 12 comments

Describe the bug After sudo -H pip install -U jetson-stats on a Jetson Nano with an upgraded Ubuntu 20.04 OS, you get the next warning when booting:

Error found when loading /etc/profile:
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade your Jetson Nano with Ubuntu 20.04 with the Ubuntu upgrade manager.
  2. sudo -H pip install -U jetson-stats
  3. 'sudo reboot'
  4. See error

Screenshots image

Additional context I know the Jetson Nano comes default with an Ubuntu 18.04 version. Only a few who need ROS2 will upgrade to Ubuntu 20.04, so not the end of the world here.

Board

  • SOC: tegra210
  • ID: 33
  • Board(s): P3449-0000
  • Code Name: porg

Jetpack

  • Jetpack: 4.6
  • L4T: 32.6.1

Jetson-Stats

  • Version: 3.1.1

Qengineering avatar Sep 21 '21 13:09 Qengineering

Same issue here, wondering any quick fix?

km4sh avatar Nov 28 '21 17:11 km4sh

@Qengineering I ran into the same issue and deleted directory /usr/share/vulkan/icd.d and it went away (NVidia config is in /etc/vulkan/icd.d btw.). Looks like they removed it in Jetpack as well (don't see it in NVidia's 18.04).

SkrilaxCZ avatar Jan 30 '22 07:01 SkrilaxCZ

@SkrilaxCZ,

Thank you. It works well. I've updated the procedure on the website and added Jtop to the SD image.

Qengineering avatar Jan 30 '22 17:01 Qengineering

Hi @Qengineering ! Cool post on your blog!

I didn't fix yet this bug but will be soon. I think when will be released as well the new JP 5.0 with the official support to ubuntu 20.04

Meanwhile I pin this workaround :-)

rbonghi avatar Jan 30 '22 18:01 rbonghi

Another solution: https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image/issues/5

Qengineering avatar Feb 22 '22 08:02 Qengineering

Same issue with jetpack 5.0 (L4T 34.1)

leonpano2006 avatar Apr 14 '22 21:04 leonpano2006

Describe the bug After sudo -H pip install -U jetson-stats on a Jetson Nano with an upgraded Ubuntu 20.04 OS, you get the next warning when booting:

Error found when loading /etc/profile:
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade your Jetson Nano with Ubuntu 20.04 with the Ubuntu upgrade manager.
  2. sudo -H pip install -U jetson-stats
  3. 'sudo reboot'
  4. See error

Screenshots image

Additional context I know the Jetson Nano comes default with an Ubuntu 18.04 version. Only a few who need ROS2 will upgrade to Ubuntu 20.04, so not the end of the world here.

Board

  • SOC: tegra210
  • ID: 33
  • Board(s): P3449-0000
  • Code Name: porg

Jetpack

  • Jetpack: 4.6
  • L4T: 32.6.1

Jetson-Stats

  • Version: 3.1.1

try to remove mesa-vulkan-drivers sudo apt remove mesa-vulkan-drivers

leonpano2006 avatar May 18 '22 07:05 leonpano2006

mesa-vulkan-drivers was moved to be a "recommends" for the apt package libvulkan1 https://packages.ubuntu.com/focal/libvulkan1 in focal and newer distros (not on bionic). As such, any upgrade to focal will install mesa-vulkan-drivers which should be removed on the jetsons. this isn't a jtop issue, but an issue with the users upgrade to focal and the qengineering focal image

theofficialgman avatar Jun 10 '22 16:06 theofficialgman

I'm testing on a Jetson Xavier with JP5.0.1 DP and I don't see this bug

image

rbonghi avatar Jun 10 '22 16:06 rbonghi

Same error on Ubuntu 22.04, using amd radeon rx 6800 xt and native drivers.

yhojann-cl avatar Jun 20 '22 00:06 yhojann-cl

Same error on Ubuntu 22.04, using amd radeon rx 6800 xt and native drivers.

On x86_64 host?

leonpano2006 avatar Jun 20 '22 10:06 leonpano2006

Same error on Ubuntu 22.04, using amd radeon rx 6800 xt and native drivers.

On x86_64 host?

Yes:

$ uname -a
Linux machine 5.15.0-39-generic #42-Ubuntu SMP Thu Jun 9 23:42:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

yhojann-cl avatar Jun 20 '22 23:06 yhojann-cl

This error should now be fixed with the latest release 4.0 try to install and check again

sudo -H pip install -U jetson-stats

rbonghi avatar Jan 05 '23 20:01 rbonghi