Forum

Author Topic: Metashape on Linux freeze  (Read 5268 times)

gnudo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Metashape on Linux freeze
« on: September 28, 2023, 05:11:09 PM »
I'm testing Metashape Standard Edition on Arch Linux but I can only import images, as soon as I try to align them Metashape sits there forever (see attachment) and it's only possible to kill it.
Similarly, clicking on the GPU tab in Metashape Preferences the application freezes and I can only kill it.

This happens with all recent versions (2.0.3 downloaded from the site, 2.0.2 from archlinux packages, 1.8.5 from the site).
Log file attached.

Hardware
Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
GPU GeForce RTX 3060 Ti
RAM 16 GB

Software
Arch Linux 64bit
nvidia drivers 535.113.01
cuda 12.2.0

Any suggestions?



gnudo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Metashape on Linux freeze
« Reply #1 on: September 29, 2023, 07:03:58 PM »
It was a conflict between opnecl-nvidia and intel-oneapi packages: removing orphaned intel packages solved the problem!
Now I can access the GPU tab in Preferences and Metashape doesn't freeze anymore.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15118
    • View Profile
Re: Metashape on Linux freeze
« Reply #2 on: October 02, 2023, 05:46:07 PM »
Hello gnudo,

Can you please share the Console pane output related to those freezing?

The issue may be related to the integrated Intel HD graphic card - Metashape is trying to get some info from it by sending requests to the driver, but it seems that no reply is given.
Best regards,
Alexey Pasumansky,
Agisoft LLC

gnudo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Metashape on Linux freeze
« Reply #3 on: October 02, 2023, 07:15:42 PM »
If I remember correctly there was no output in console or log file, apart from the starting bits.
In fact the freeze occurred as soon as I clicked on the GPU tab in Preferences, prior to any operation involving gpu calculations.

My motherboard doesn't have any integrated graphic card, and I dicovered that the freeze could have been caused by an intel package installed, using the utility clinfo, which froze retrieving informations.
So I tried uninstalling all intel opencl packages in my system (used only by Blender), and the freeze with clinfo and metashape disappeared.

Reinstalling Blender with its dependecies now causes no harm, so the root cause for the freeze should have been an old orphaned intel package.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15118
    • View Profile
Re: Metashape on Linux freeze
« Reply #4 on: October 03, 2023, 01:39:56 PM »
Hello gnudo,

According to the specification sheet Intel Core i7-2700K has Intel HD 3000 graphic, so it could be the one causing the problem due to Intel driver issues.
Best regards,
Alexey Pasumansky,
Agisoft LLC

gnudo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Metashape on Linux freeze
« Reply #5 on: October 03, 2023, 05:11:38 PM »
Yes, the Intel Core i7-2700K has Intel HD 3000 graphic integrated into the cpu die, but my motherboard, an Asus P8P67 EVO, doesn't have a VGA connector, so the iGPU should be NOT supported in BIOS and thus not visible at all to the OS.

In fact, every utility used to scan the hardware doesn'list any Intel VGA.

Therefore no intel vga drivers get loaded and the freeze should be related to a conflict with nvidia and intel opnecl packages.