Outdated INTEL update tool

TimoK93TimoK93 Posts: 14New Member

Hi guys,

i'm new in the UP community and on the first day i got an annoying Issue:
I wanted to setup Ububtu on my UP-Squared following these instructions https://wiki.up-community.org/Ubuntu#Install_Intel_graphic_driver .

The first steps were quite simple but then i tried to update the grafics driver... The Update tool is outdated and in the "manual" way i don't know which grafic driver to choose.
Is there anybody who can tell me, what i need to install so the grafics is running with the latest driver?

A second question: Is there a way to check the functionality of the Intel grafic chipset? I performed some little KERAS scripts with TENSORFLOW as backend and the speed is, hm like on an really old Laptop without GPU...

NOTE: My board is https://up-shop.org/up-boards/106-up-squared-pentium-quad-core-8gb-memory128gb-emmc.html

Thanks in advance for a reply!

Tagged:

Comments

  • ccaldeccalde Posts: 172New Member, Emutex mod

    Hi @TimoK93 ,

    Maybe you could try with the following instructions:

    You can install Intel graphics firmware from:
    wget https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/intel-graphics-update-tool_2.0.2_amd64.deb

    Change directory to “file path”
    $ cd /
    install gdebi package manager:
    $ sudo apt-get install gdebi
    Install the package with the following command: for Ubuntu* 16.04(64bits)
    $ sudo gdebi intel-graphics-update-tool_2.0.2_amd64.deb
    Add PPA repository for stable mesa-utils
    $ sudo add-apt-repository ppa:paulo-miguel-dias/pkppa && sudo apt-get update

    Once installed, you can find the Intel® Graphics Update Tool for Linux* OS in your application dashboard. Just look for the Intel® logo, or begin typing ‘Intel’.
    Or, if you are a power user, you can open a terminal and execute:
    $ intel-graphics-update-tool
    Follow the instructions to install the driver and wait for the installation. After that, you must to reboot the board.

  • ccaldeccalde Posts: 172New Member, Emutex mod

    @TimoK93 ,

    To show you if you are using CPU or GPU, you could add this line in your script:

    from tensorflow.python.client import device_lib
    print(device_lib.list_local_devices())

    Note, despite you are using KERAS with TENSORFLOW backend, maybe you don't have Tensorflow lib installed .
    Check it or install:
    pip (or pip3) install tensorflow.

  • TimoK93TimoK93 Posts: 14New Member

    @ccalde Thanks for your reply!
    Your explanation fixed my issue.

    A Question to tensorflow:
    "To show you if you are using CPU or GPU" -> Is up-board technology a GPU? Till now i thought it isn't. Then I need to install tensorflow-gpu (for python 3.x). I tried that but therefore i need to install cuda. Does that makes sense?

    Greetings
    Timo

  • ccaldeccalde Posts: 172New Member, Emutex mod

    Hi @TimoK93 ,

    Yes, to install tensorflow-gpu seems it needs Cuda libs.

    If you install it, tensowflow will work without problem, but cuda lib doesn't work with Intel-gpu, because Cuda is property of Nvidia.

    Cheers!

  • TimoK93TimoK93 Posts: 14New Member

    Hmmm,
    but why should one install tensorflow-gpu on up-board?

    I red, that up-board is supporting Tensorflow, but it seems that it doesnt... It's generating problems if i try to use versions above 1.5.

    Do you have experience about tensorflow on up-board squared?

    Greetings,
    Timo

  • ccaldeccalde Posts: 172New Member, Emutex mod

    HI @TimoK93 ,

    I have worked with Tensorflow 1.5 version, only.
    I haven't tried with versions above 1.5, sorry.

    Did you try already with Tensorflow 1.5??

    Cheers!

  • TimoK93TimoK93 Posts: 14New Member

    Yes! I got problems using this net:
    https://github.com/fizyr/keras-retinanet

    I reported a new issue and try build from source.

  • eduncan911eduncan911 Posts: 144Administrator, Moderator admin
    edited September 28

    I believe UP is supporting TensorFlow in regards to their AI Core product line:

    http://www.up-board.org/ai-edge/

    These mPCIe add-on devices have the Movidius Myriad 2 VPU that allows you to use Intel's OpenVINO Toolkit SDK for TensorFlow (not Nvidia's CUDA libs).

    They plug right into the UP^2 mPCIe port as well as the new UP Core Plus carrier boards and us a max of 2 Watts.

    I am ordering one of those vision kits soon myself so I can experiment with TensorFlow as well for some facial recognition.

    Also note that they are coming out with M.2 versions of AI Core X soon:

    https://www.crowdsupply.com/up/ai-core-x

    Though, the large M.2 2280 one won't fit exactly on the UP^2 - it will however on most newer desktop motherboards. :smile:

    Though this is not confirmed (and I will be one to try it asap!), you may be able to combine both the AI Core mPCIe AND the AI Core X M.2 2230 on a single UP Squared device. I don't know if the OpenVINO SDK supports multiple devices. We'll see!

    EDIT: The UP^2 can only fit a M.2 2230 device, not 2242. Sorry.

    Eric Duncan - UP Evangelist - My thoughts are of my own free will

    Answered? Please remember to mark the posted answered to highlight it for future visitors!

  • AlingAling Posts: 496Administrator, AAEON admin

    UP Squared and AI Core support TensorFlow and Caffe via Intel OpenVINO toolkit.
    You can follow the tutorial here. https://software.intel.com/en-us/up-squared-ai-vision-dev-kit/get-started if you already have AI Vision Dev. Kit.
    We are working on making the image available for UP Community download. There are still some license agreement to be discussed with Intel... ;)

  • ccaldeccalde Posts: 172New Member, Emutex mod

    Thanks for the update @Aling !

  • TimoK93TimoK93 Posts: 14New Member

    @Aling
    Thanks for your comment!

    I have a single UP-Squared, not the Dev. Kit. I cannot find a tutorial on your link... Am I able to install OpenVINO with my single UP-Squared?

    Greetings
    Timo

  • eduncan911eduncan911 Posts: 144Administrator, Moderator admin
    edited October 4

    @TimoK93 said:
    @Aling
    Thanks for your comment!

    I have a single UP-Squared, not the Dev. Kit. I cannot find a tutorial on your link... Am I able to install OpenVINO with my single UP-Squared?

    Greetings
    Timo

    Hello Timo!

    Yes, you can install the OpenVINO Toolkit on most modern Intel CPUs with Linux or Windows 10. Normally you would only be able to use CPU functionality unless you have a supported GPU or VPU.

    https://software.intel.com/en-us/openvino-toolkit/documentation/get-started

    ^- see the left side for setting up the dev environment

    In addition, the UP Squared you have also has an iGPU, the Intel HD Graphics 505, which is listed on the OpenVINO website as a support GPU as well! Meaning, you can run GPU hardware acceleration with this board.

    The catch is they only list the HD 505 GPU supported under Linux, not Windows.

    https://software.intel.com/en-us/articles/OpenVINO-Install-Linux

    Now rather that is enabled for Tensorflow GPU, I cannot verify. My UP Squared only has Windows at the moment; but, i do plan on testing Tensorflow GPU out under Linux when I get the AI Vision Kit.

    Eric Duncan - UP Evangelist - My thoughts are of my own free will

    Answered? Please remember to mark the posted answered to highlight it for future visitors!

  • TimoK93TimoK93 Posts: 14New Member

    @eduncan911
    Thanks very nice!

    I'm installing OpenVINO right now. There is a OpenVINO Version supporting Intel FPGAs:
    https://software.intel.com/en-us/articles/OpenVINO-Install-Linux-FPGA

    Do you know if i need to install the FPGA version or the standard?
    From UP2 Datasheet i mentioned "CPLD/FPGA: Altera Max 10"

    First i try will the standard version, but i would be very happy about a hint :)

    Greetings
    Timo

  • eduncan911eduncan911 Posts: 144Administrator, Moderator admin
    edited October 3

    @TimoK93 said:
    @eduncan911
    Thanks very nice!

    I'm installing OpenVINO right now. There is a OpenVINO Version supporting Intel FPGAs:
    https://software.intel.com/en-us/articles/OpenVINO-Install-Linux-FPGA

    Do you know if i need to install the FPGA version or the standard?
    From UP2 Datasheet i mentioned "CPLD/FPGA: Altera Max 10"

    First i try will the standard version, but i would be very happy about a hint :)

    Greetings
    Timo

    The FPGA in the UP Squared is not accessible. It is used to connect the 40-pin gpio to the Intel chipset.

    So just install the standard OpenVINO version - which should allow you to install the GPU parts as well.

    Let us know how it works out!

    Eric Duncan - UP Evangelist - My thoughts are of my own free will

    Answered? Please remember to mark the posted answered to highlight it for future visitors!

  • TimoK93TimoK93 Posts: 14New Member

    Okay i installed OpenVINO.

    One Problem: Installing the Tensorflow prerequisites, because tf above 1.5 is not working except you are installing it from source.
    We're discussing that issue in https://forum.up-community.org/discussion/comment/9067#Comment_9067

Sign In or Register to comment.