Forum

Author Topic: Issues with installation on AWS  (Read 3190 times)

iceman11

  • Newbie
  • *
  • Posts: 29
    • View Profile
Issues with installation on AWS
« on: August 18, 2017, 07:20:06 PM »
Hi,
I got a gui version of aws server now and still the problem persists. Can anyone help? I have been battling with this one for more than a day and unable to resolve it.
thank,s
tarun

./photoscan.sh -platform offscreen
QOpenGLWidget is not supported on this platform.
This plugin does not support propagateSizeHints()
/home/ubuntu/photoscan-pro/./crashreporter: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Segmentation fault (core dumped)

Here's the ubuntu version
lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.2 LTS
Release:   16.04
Codename:   xenial


iceman11

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Issues with installation on AWS
« Reply #1 on: August 18, 2017, 08:16:14 PM »
this one I tried on xquartz after doing the installation of qt applications..any help?

/photoscan-pro$ ./photoscan.sh -platform offscreen
QOpenGLWidget is not supported on this platform.
This plugin does not support propagateSizeHints()
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  31

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Issues with installation on AWS
« Reply #2 on: August 21, 2017, 05:49:33 PM »
Hello iceman11,

Which method you are using to connect to the remote computer?

Are there any discrete graphic cards on the remote machine that can act as OpenGL rendering device? If not, then please check that Mesa drivers are properly installed and configured.

Also let me know, if you are able to run any OpenGL application on the remote machine?
Best regards,
Alexey Pasumansky,
Agisoft LLC

iceman11

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Issues with installation on AWS
« Reply #3 on: August 22, 2017, 07:43:19 PM »
Hi Alexey,
I ssh into the remote machine, its an amazon p2 machine and has a Tesla Nvidia graphics card. I just went through the compilation of mesa3d drivers but it still hasn't worked out for me.
can you tell me about any OpenGL application to test out for display purposes?
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/accelerated-computing-instances.html#install-nvidia-driver.

Thanks,
Tarun

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Issues with installation on AWS
« Reply #4 on: August 23, 2017, 07:43:21 PM »
Hello Tarun,

Have you tried the solution mentioned in the following post:
https://stackoverflow.com/questions/30081441/how-to-run-cuda-opengl-interop-particle-sample-from-a-remote-machine/30143380#30143380

Google Earth can work both in DirectX and OpenGL modes, you can try that.
Best regards,
Alexey Pasumansky,
Agisoft LLC