Page 1 of 1

Virtualtex taking too LONG

Posted: 26.06.2020, 14:45
by rl90599
Hello, whenever I use virtualtex on a 32768x16384 texture map, it actually takes MORE than a hour to create the tiles.

Anyway, here are my specs:
Windows 10, running virtualtex on Cygwin, Version 10.0.17134 Build 17134
4 GB of RAM
27.8 GB of disk space (I had to run virtualtex on my "8 GB" USB, since ImageMagick creates a file at least 1 GB for no reason)
AMD E2-7110 APU with AMD Radeon R2 Graphics, 1800 Mhz, 4 Core(s), 4 Logical Processor(s)

After waiting hours and HOURS counting the files in ImageMagick's temporary directory until it reaches 513 (number of tiles + 1 GB file), it finally outputted the 512 tiles and deleted that 1 GB file. I still don't know why it takes more than a hour for me. Maybe it's either my 4 GB RAM or my USB, which uses FAT32?

Posted: 26.06.2020, 19:17
by selden
All of the items you mention combine to cause problems. The in-memory image that's being cut up is at least 1.5 GB. (32Kx16Kx3 bytes/pixel) plus the sizes of internal scratch files and input and output files. The 1GB file is caused by ImageMagick not having access to enough ram, so it creates a "scratch" file. Using disk instead of ram is very, very slow. External, inexpensive USB disks also are *very* slow. If you haven't already, you should consider replacing your system's hard drive by a (larger, faster) solid state disk. SSDs can be more tban 4x as fast as hard drives.

Posted: 27.06.2020, 03:10
by rl90599
External, inexpensive USB disks also are *very* slow. If you haven't already, you should consider replacing your system's hard drive by a (larger, faster) solid state disk.
:(
Well at least I have a hard drive that is more than 27 GB of space, but unfortunately it got hidden where I could never find it. It also had many games installed there.

The 1GB file is caused by ImageMagick not having access to enough ram, so it creates a "scratch" file.
Thanks! I thought it was created there for no reason.

Welp, I guess the only solution to this is just waste my time waiting for hours and hours and counting the files until virtualtex finishes.

Posted: 27.06.2020, 07:10
by John Van Vliet
Windows 10, running virtualtex on Cygwin, Version 10.0.17134 Build 17134
so you are running a linux build through CygWin


THAT RIGHT THERE WILL CAUSE ALL YOUR ISSUES

run a native install of Celestia