cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to install Mesa 3D Graphics Library for Vuforia Experience service server?

ppandarkar-2
15-Moonstone

How to install Mesa 3D Graphics Library for Vuforia Experience service server?

Hi,

 

I have just started for on-premises vuforia experience server creation, as per help doc before starting installation third party softwares must be installed. So i have installed c shell, node.js and now installing Mesa 3D Graphics Library.

 

I have successfully installed c shell and node.js but facing some problem to Mesa 3D Graphics library.

I run below command as ,

  • sudo add-apt-repository ppa:ubuntu-x-swat/updates
  • sudo apt-get dist-upgrade

and after that trying to check with command glxinfo by below command

glxinfo | grep "OpenGL version"

but it shows me error as 

 Error: unable to open display 

 

So please can some-one suggest, and is Mesa 3D Graphics library installed only for installation with GUI or having any other purpose.

 

Note: i am using ubuntu 18.04 server.

 

Thanks,

Prashant Pandarkar

7 REPLIES 7

Hello,

 

What is the result of this command in a terminal ?

lspci | grep -e VGA -e 3D

What are the driver installed?

Is it the open source or the official one from nvidia, ATI or Intel ?

 

Best regards,

Samuel

ppandarkar-2
15-Moonstone
(To:sdidier)

Hi,

 

Thanks for your reply, please find below output for given command.

lspci | grep -e VGA -e 3D

Output as:

00:02.0 VGA compatible controller: Device 1234:1111 (rev 02)

 

This machine is a VM (ubuntu 18.04), and dont think so having graphics card. Please can you let me know the purpose of Mesa 3D graphics library in Vuforia ES. 

 

Is it required only for installation with user interface ? OR it is mandatory to be install for other purpose.

Thanks.

 

- Prashant Pandarkar

Hello Prashant,

 

In this documentation Installing and Deploying an Experience Service :

https://www.ptc.com/support/-/media/6FCDB63E6C444D5CA0DEE998A52AC8FF.pdf?sc_lang=en

At the page 10, we can read :

Mesa 3D Graphics Library 18.1.2 Required for Image Target Generation (ITG) on Linux.

 

So, it means, if an Experience is published with a View who uses an Image Target, Mesa Library is needed to generate data.

This data will be used when scanning in Vuforia View the real image.

At the end, without this data, I guess, scanning will not work.

 

  • Is it clear from your point of view ?

 

Best regards,

Samuel

ppandarkar-2
15-Moonstone
(To:sdidier)

Hello Samuel,

 

Thanks for the update for Mesa 3D Graphics lib use.

Please can you let me know how to confirm Mesa 3D Graphics Library is installed correctly or not. 

 

As i have installed it but not able confirm its installation proper or not because of getting error to command,

glxinfo | grep "OpenGL version"

 I followed the process as mentioned in above post. or please can you suggest proper way to get install.

 

Thanks in advanced.

 

Regards,

Prashant Pandarkar

Hello Prashant,

 

  • To you have enable use of 3D for this Virtual Machine ?

More details in this topic in VMware :

https://docs.vmware.com/en/VMware-Workstation-Pro/12.0/com.vmware.ws.using.doc/GUID-F5186526-2382-4F4A-8009-3D07773A1404.html

 

Best regards,

Samuel

ppandarkar-2
15-Moonstone
(To:sdidier)

I dont know much about how to crate VM as it is created by IT team. So i have checked with them and found that created VM is OK.

 

Now i am trying solution from below link 

https://mesa-test.freedesktop.org/vmware-guest.html 

 

But in this facing problem at Build and install point:

cd $TOP/vmwgfx
make
sudo make install
sudo depmod -a 

$sudo make install

Gives below SSL error.

 

At main.c:160:

- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72

- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79

sign-file: certs/signing_key.pem: No such file or directory

  DEPMOD  4.15.0-55-generic

make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-55-generic'

 

Yet i have not created/configured SSL. So is it need to create SSL? anyway i have created self sign certificate but dont know how to configure it.

 

So pls can some one suggest how to configure Self sign certificate on Vuforia ES server.

 

Regards,

Prashant Pandarkar

Hello Prashant,

 

No, it is not related to a certificate needed and to generate for Vuforia Experience Service.

It seems a certificate is needed to sign the module who can be loaded by Kernel.

 

I have found more details in this post and a solution has been given :

https://github.com/patjak/bcwc_pcie/issues/176

 

Tutorial to sign a module :

https://ubuntu.com/blog/how-to-sign-things-for-secure-boot

https://superuser.com/questions/1438279/how-to-sign-a-kernal-module-ubuntu-18-04

 

  • Is it helping you ?

 

Best regards,

Samuel 

Top Tags