System Information
Operating system: Arch Linux, Windows 10
Graphics card: Intel UHD 620, nVidia GTX 1060 Super respectively
Blender Version
Broken: 19ae71c11342 (3.3.1 RC)
Worked:
Short description of error
Note: Asset Indexing is enabled in the Experimental tab.
The asset browser (monitored by strace on Linux) very frequently calls for stat(), even when the mouse is just hovering over already loaded assets' thumbnails. While this doesn't seem to be an issue with my Linux setup, where I assume the calls are cached by the kernel, it is very stuttery when the asset library is on a network SAMBA share on Windows.
To demonstrate, here are videos from Linux and Windows. On Linux, the asset library is locally stored, whereas on Windows, the asset library is on a network share, provided by the Linux system.
As you can see from the terminal output, I've used two commands, one to output traced read and stat calls and one to count them as they come. And just by hovering over the asset browser we can see the high amount of calls, however given that they are stored locally (and cached by kernel I presume), the performance remains high and no stuttering is felt on my side.
On Windows, just plain opening the asset browser takes at least a minute to load the index/thumbnails (not shown on video). However, after we get to the same state as in Linux, we observe the stuttering when hovering. Unfortunately, I don't have enough knowledge on Windows' workings, so I can't provide any system trace calls at the moment.
However, to demonstrate the issue, a simple playback shows us the FPS in the viewport's topleft corner, and we can see a significant dip once we begin to scroll/hover over the asset browser (in provided video around 20s). Also the highlighting when a thumbnail is being hovered over lags behind the cursor by a lot.
There's also the issue of the slow loading of the index/thumbnail on a cold launch, even if the thumbnails/index were generated previously, but I suppose that might be a topic for a different issue.
Exact steps for others to reproduce the error
- Have an asset library in a network share that contains relatively high number of files (for my case, PolyHaven library)
- Add the asset library and open up the asset browser
- (Possibly wait for indexing to be done/thumbnail generation, can take a long time)
- Notice that even just hovering above the thumbnails the Blender interface lags behind (eg. the thumbnail highlighting is way behind the cursor)