Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thl

Pages: [1] 2
1
General / Re: Tweak for /tmp folder
« on: May 31, 2022, 03:37:25 PM »
On your Linux system, you can keep /tmp data in a virtual file system in memory. If you decide to do so, first understand that all content of /tmp will get lost during each power cycle. But I say this is the correct behaviour of a temporary filesystem.

On my Linux host, I use this line in/etc/fstab:

tmpfs                      /tmp    tmpfs      defaults,size=2048m 0 0

Means that I have a virtual partition which can hold up to 2GB of data in RAM. If you have lots of RAM, you can increase that limit.

If you know what you do, you can add some more options for hardening your system but that might cause problems during update of some programs which execute install scripts in /tmp:

tmpfs                      /tmp    tmpfs      defaults,noexec,nodev,nosuid,size=2048m 0 0

When the entry is placen in your /etc/fstab, reboot your host.

2
General / Re: Exit code 1
« on: May 31, 2022, 03:22:55 PM »
This is a fundamental concept in all UNIX-like systems: Everything which runs on a host is a process. Each process has a parent process from where it was started. Example: you have a command shell, then this is a process. When you start a program from within that shell, the program is a child process of that shell and the shell is the father process. Each child process "knows" it's parent and each parent "knows" it's child processes.

When a child process terminates it sends a status code to it's parent process. This is called the exit code. The exit code can have a value between 0 and 255. The meaning of a specific exit code number relies on what the programmer was programming. But there is a common rule: If a program exits without any errors, the exit code should be 0. Each other exit code MIGHT be a hint that the child process was exiting in a unplanned way but not even that is always true.

Means in your case: which program was exiting, returning exit 1 to which parent process? This is a clear case where debugging might start.

3
Hello @,
this is really great news that Spacemouse support is going to be implemented. I have some older Spacemouse Classic, equipped with serial connector (9-pin). I installed Spacemouse X-Windows driver v4.65 at my Linux box (SuSE Leap42.3) It is still working but requires some special tricks:-) 3D-Cube is working, but when I enable Spacemouse support in PhotoScan, it doesn't work.
SpaceMouse Classic is no longer supported by 3DConnexion as far as I know but you find them at Ebay for some EUR, I got mine for 5 EUR. That's good for the low budget.

@Agisoft: will you stay restless until Spacemouse support is seamless working and even my old Spacemouse Classic? Would be a greatful feature.

4
General / Re: AMDGPU-PRO and Photoscan in Linux
« on: May 06, 2017, 04:53:25 PM »
This is my experience with RX 480 and SuSE Linux.

At first, I had to realize that fglrx is no longer supported, but there is amdgpu with OpenSuSE Leap 42.2. So I updated my 13.2 to Leap-42.2. According SuSE SDB, I had to install the latest kernel from

http://download.opensuse.org/repositories/Kernel:/stable/standard/Kernel:stable.repo

At the end, I had two Kernels, 4.4.62 and 4.11.0 which is the default boot kernel. It comes with built-in amdgpu but no amdgpu-pro. I followed

https://forums.opensuse.org/showthread.php/522107-How-to-install-amdgpu-driver-for-AMD-Radeon-RX400-Series

and finally I had a more or less working X-Display but no OpenCL support.

The trick how to get OpenCL working was this: I got amdgpu-pro-17.10-414273.tar.xz and just installed the RPMs which are contained in that package. While doing so, a message occured that amdgpu cannot be installed due to failing dependencies but it turned out that this shouldnt worry because we already have amdgpu Kernel driver from 4.11.0 Kernel.

The amdgpu-pro-17.10-414273.tar.xz RPMs unpack some shared libraries in /opt/amdgpu-pro/lib64 and I just have to make them usable. But at first, after reboot I found this:

root@egon:/root# modinfo amdgpu | grep ^filename:
filename:       /lib/modules/4.11.0-1.g1b516a5-default/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko

root@egon:/root# rpm -qf /lib/modules/4.11.0-1.g1b516a5-default/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
kernel-default-4.11.0-1.1.g1b516a5.x86_64

The same is true for ttm and drm Kernel modules: they are provided by the Kernel package and not by amdgpu-pro.

And the X-Windows session (/var/log/Xorg.0.log) shows me that:

[    82.925] (II) LoadModule: "glx"
[    82.952] (II) Loading /opt/amdgpu-pro/lib64/xorg/modules/extensions/libglx.so
...
[    83.378] (II) LoadModule: "glamoregl"
[    83.378] (II) Loading /opt/amdgpu-pro/lib64/xorg/modules/libglamoregl.so
...
[    83.093] (II) LoadModule: "amdgpu"
[    83.094] (II) Loading /opt/amdgpu-pro/lib64/xorg/modules/drivers/amdgpu_drv.so

Which means I am driving some kind of mixed environment, but most important, it seems to work.

Finally, I had to add /opt/amdgpu-pro/lib64 to my LD_LIBRARY_PATH and I have OpenCL working. Photoscan knows that device and is working really fast.

I hope this will be some help for those who want to use Photoscan with OpenSuSE.

Best Regards, Thomas H

5
General / Radeon RX 480: 4GB or 8GB version?
« on: May 03, 2017, 02:56:15 PM »
Hello @,
I am thinking to get a Radeon RX 480 for my Linux system and I find that this device is available with 4GB (cheaper) or 8GB (more expensive). Now I am wondering if this affects speed in Photoscan. Who can tell me: if I buy the 4GB card, will it be significant slower than the 8GB card?

6
Your question is exactly what I am wondering, too. I made the experience when I convert a CR2 RAW file to TIF with 8bit, I get a file size of 7MB. When exporting with 16bit, it ends with 60MB. Isn't that difference worth a discussion here in this forum?

@ the experts: How much is the benefit of accuracy when using 16bit instead of 8? I know, data storage has become cheap but is it really worth handling such large files?

Regards

7
General / Where has my OpenCL devices gone?
« on: December 21, 2015, 08:37:21 PM »
Have OpenCL and Photoscan Standard installed on my (SuSE) Linux PC some times ago. I found my OpenCL devices in PhotoScan and was able to use them. Log was reporting GPU usage. Now I was re-checking because I missed GPU in logs and dont find them anymore. I checked my running Photoscan using "lsof" and see that libOpenCL library is attached with the running executable. How to debug this?

Details:

Graphic boards:

root@egon:/opt# lspci | grep -i vga
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6550D]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]

ATI packages installed:

root@egon:/opt# rpm -qa | grep fglrx64
fglrx64_graphics_SUSE132-15.300.1025-1.x86_64
fglrx64_xpic_SUSE132-15.300.1025-1.x86_64
fglrx64_amdcccle_SUSE132-15.300.1025-1.x86_64
fglrx64_core_SUSE132-15.300.1025-1.x86_64
fglrx64_opencl_SUSE132-15.300.1025-1.x86_64

Running photoscan process:

tom@egon:/home/tom$ nohup /opt/photoscan121_2278/photoscan.sh &

tom@egon:/home/tom$ jobs -l
[1] + 16919      Running                 nohup /opt/photoscan121_2278/photoscan.sh &

tom@egon:/home/tom$ pstree -p 16919
photoscan.sh(16919)───photoscan(16924)─┬─{LoaderThread}(16928)
                                       ├─{photoscan}(16925)
                                       ├─{photoscan}(16926)
                                       └─{photoscan}(16927)

tom@egon:/home/tom$ lsof -p 16924 | grep CL
photoscan 16924  tom  mem    REG              254,0    27432 1206555 /usr/lib64/libOpenCL.so.1

But when I open "Settings" -> "OpenCL" in Photoscan, I see no GPU devices listed.

Any help is recommended.

8
General / What can I expect from a 1000 EUR PC?
« on: December 20, 2015, 07:42:04 PM »
Hi Folks,
playing with PhotoScan standard and dont like to spend so much money at the beginning, I am wondering what I can expect for ~ 1000 EUR. I understand that GPU cannot be fast enough and RAM cannot be much enough.
Currently I am playing on a PC, having 16 GB of RAM and this is the maximum, while runs start crashing when I add more images.

Does anyone have a suggestion for a configuration which is worth it's money?

Thanks for any suggestions.

9
This view is Dense Cloud Shaded view, correct

10
Next view, Dense Cloud in Mono Colour view

11
Correct view, Dense Cloud in Wireframe view

12
Textured view, buggy

13
Feature Requests / What features can you provide for a ~500 EUR release?
« on: September 03, 2015, 10:22:48 PM »
Hello,

I am playing with Photoscan Standard and it's really a nice tool. What I am most missing is creating Orthofoto (from buildings for example) and measurement tool + scaling. In general, I think Photoscan has too few features for me and Professional Edition has too many features.

So could you imagine to release some kind of Photoscan Medium which is tailored for the needs of  architects?

Regards, Tom

14
Bug Reports / Photoscan Standard Linux 116 and 120pre2149: Incorrect display
« on: September 03, 2015, 10:16:12 PM »
Having some photo series of buildings, creating the whole workflow, but dense cloud is only partially displayed in DenseCloud-Mono colour and in textured view. This was with release 116 and I hoped the new 120 release might have fixed that but here it's the same. As the screenshots are too large for upload, where can I send them by mail?


My PC:
Linux egon 3.16.7-24-desktop #1 SMP PREEMPT Mon Aug 3 14:37:06 UTC 2015 (ec183cc) x86_64 x86_64 x86_64 GNU/Linux

pts/2|root@egon:/root# /sbin/lspci -v -s 00:01.0
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6550D] (prog-if 00 [VGA controller])
        Subsystem: ASRock Incorporation Device 9640
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=256]
        Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Kernel driver in use: radeon
        Kernel modules: radeon

Best Regards

15
General / Re: PhotoScan on Sun Sparc hardware?
« on: July 30, 2015, 10:37:20 AM »
It's a T5220 + Solaris10

Pages: [1] 2