Coder Social home page Coder Social logo

Comments (15)

roflcoopter avatar roflcoopter commented on June 9, 2024 2

I have successfully updated to Ubuntu 22.04 and have a PoC for running the EdgeTPU component under python 3.9 in a spawn subprocess.

Just need to clean up the code a bit before pushing a new beta

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024 1

Thanks for troubleshooting! Will fix soon.
Hopefully I can release the next beta in a few days

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Thanks for the detailed report.
Will see if upgrading vaapi solves the issue, will let you know when its ready to test

Edit: Actually this might be harder than i thought. The drivers are installed from apt and the container runs Ubuntu 20.04
Upgrading the base image is not an option right now due to other dependencies not working in later Ubuntu versions.

Do you have a good idea of how this could be done?

from viseron.

bsyomov avatar bsyomov commented on June 9, 2024

The intel driver, GmmLib, LibVA can be compiled from source in principle.

What exactly are the dependencies that prevent you from updating to ubuntu 22.04, for example?

Ubuntu 20.04 is already a fairly old distribution and similar problems will appear more and more often...
With this version of VAAPI and the iHD_drv_video driver, I am experiencing memory leaks on the Celeron J4105, and I had to switch to i965_drv_video.

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Building from source is definitely preferable!
However doing that is pretty time consuming in my experience.
Do you know how to do it or know of any good guides?

The dependency issues are mainly Python related, for instance Pycoral does not officially support Python 3.10

from viseron.

bsyomov avatar bsyomov commented on June 9, 2024

You can use pyenv to get older python in modern distribution.

from viseron.

bsyomov avatar bsyomov commented on June 9, 2024

You can use 3rd party repos to install python, ppa:deadsnakes/ppa at example have some versions:

  • Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11 - Python3.13

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Great idea, will try that!

from viseron.

luisiam avatar luisiam commented on June 9, 2024

I am experiencing the same problem. Both on N100 and i5-12600k.

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Will try to fast track some upgrades of dependencies before v3.0.0

from viseron.

w-marco avatar w-marco commented on June 9, 2024

FWIW, the VA-API Issue still exists on the latest dev build for me. Also using Intel N100 with SR-IOV.

I edited the file /etc/apt/sources.list.d/intel.gpu.focal.list to be jammy instead of focal and installed intel-media-va-driver-non-free again. Now vainfo is reporting my GPU and after restarting the viseron container, VA-API is recognized!

****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API is available!
CUDA cannot be used

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Hit a small snag, i upgraded OpenVINO in the process to version 2023.3 since older versions are not available for Ubuntu 22.04.
This version is causing segfaults when running object detection.

Have to revert back to an old version and do some testing before i can release the beta

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

I decided to ignore the OpenVINO error for now and added a note to the docs that it is broken.
Hopefully OpenCV 4.10.0 fixes this issue when it is released.

I just pushed 3.0.0b4, builds should be done in a few minutes.

Please give it a go when you get the chance!

from viseron.

w-marco avatar w-marco commented on June 9, 2024

VA-API working fine for me with 3.0.0b4 and Intel N100 using SR-IOV!

from viseron.

roflcoopter avatar roflcoopter commented on June 9, 2024

Great to hear! Thanks for the quick response

from viseron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.