Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008814opensim[REGION] OpenSim Corepublic2020-11-19 22:122020-11-22 20:37
ReporterNeTro 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04.5 LTS
Product Version0.9.1.1 
Target VersionFixed in Version 
Summary0008814: Alpha causes loop: "DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture"
DescriptionI couldn't select it, but I'm running "Product Version 0.9.1.1"
I downloaded just this file/package from Opensimulator.org: opensim-0.9.1.1.zip

When an avatar puts on an Alpha Mask it will cause them to lag heavily. Well not lag exactly but more like a pulse of screen freeze every 2 seconds or so.
This is for all Alpha Masks.
Steps To ReproduceStep0. Make sure you're either watching the server console or you are doing "tail -f OpenSim.log"
Step1. Either let an avatar come to the sim, or create a new clean system avatar. Even fully naked will work.
Step2. Put on an Alpha Mask or create a new one.
Step3. Look at the console or OpenSim.log to see these flow continuously: " DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture e8f2c418-ed0d-4045-8333-c31690d80253"

Step4. Once you take off the Alpha Mask, the flood of texture handler stops immediately and all returns to normal.
Additional InformationSample from my logs:

2020-11-20 06:41:51,410 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture c1ead4d4-1b5a-44b9-ba9d-b2b6a6630dc9
2020-11-20 06:41:51,565 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 82863913-8f98-4e86-bf89-f6b69d9d056f
2020-11-20 06:41:51,589 DEBUG [AVFACTORY]: Received texture update for Desiree Precz 9c744805-f501-464b-a776-a15cb40c5346
2020-11-20 06:41:51,590 DEBUG [UpdateBakedCache] cache hits: 0 changed entries: 0 rebakes 5
2020-11-20 06:41:52,155 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 092f0f4e-12bc-479a-b4c6-9cd12c073fb2
2020-11-20 06:41:52,295 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 7912da1c-aa87-4cfb-a44e-7065547c8dc2
2020-11-20 06:41:52,467 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 89a21240-a0d9-45d4-914e-fa79fe8fe60f
2020-11-20 06:41:52,622 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 970a5902-75dc-4596-8f6e-33fdb54294d7
2020-11-20 06:41:52,794 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture a86b7ab2-4f26-440e-bec0-b492fef5ba4c
2020-11-20 06:41:52,950 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture b19c582c-eccb-427c-962a-6095d7fdca1e
2020-11-20 06:41:53,167 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 06e13818-a0a0-45de-b46a-760680fe140c
2020-11-20 06:41:53,308 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture d9796dd7-121f-4454-96f2-ac441784c585
2020-11-20 06:41:53,450 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 500d40b3-73cc-4caa-8e1f-46e6e392998c
2020-11-20 06:41:53,622 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 96ea19e0-97c0-4501-802e-660976f671ae
2020-11-20 06:41:53,670 DEBUG [AVFACTORY]: Received texture update for Desiree Precz 9c744805-f501-464b-a776-a15cb40c5346
2020-11-20 06:41:53,670 DEBUG [UpdateBakedCache] cache hits: 0 changed entries: 0 rebakes 5
2020-11-20 06:41:54,219 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture bfa32f2e-93a2-4c25-97ea-fc1d967684ff
2020-11-20 06:41:54,360 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture c522687d-7201-466d-b45c-066fc73cf063
2020-11-20 06:41:54,514 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture ead88a4a-4d43-43c0-8d3f-643d2eb63e2b
2020-11-20 06:41:54,639 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 415580ad-fae6-48de-97fb-6510c2edddf0
2020-11-20 06:41:54,795 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture ec6c8168-19ef-4a54-8b83-8e57e25c0e1f
2020-11-20 06:41:54,933 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture cf3eec6a-2bcc-45eb-b953-9a8bb7094c39
2020-11-20 06:41:55,090 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture afb1d854-65a4-4938-9495-892658f1cb9e
2020-11-20 06:41:55,277 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 2d8ed56e-0751-4d90-9055-b568422f3476
2020-11-20 06:41:55,432 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 2fcadcb1-d5a4-4d59-af24-ef8622e3991f
2020-11-20 06:41:55,586 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 798761cb-3187-4006-b88e-7772cdfe2c9c
2020-11-20 06:41:55,622 DEBUG [AVFACTORY]: Received texture update for Desiree Precz 9c744805-f501-464b-a776-a15cb40c5346
2020-11-20 06:41:55,623 DEBUG [UpdateBakedCache] cache hits: 0 changed entries: 0 rebakes 5
2020-11-20 06:41:56,210 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 2ba02ed3-9508-44e6-8ed0-85201b886433
2020-11-20 06:41:56,349 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture e1ee974c-1dae-43f4-a021-aff19a3e5c79
2020-11-20 06:41:56,503 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture decb13cc-b80b-4835-b04c-fb3fc6a1b958
2020-11-20 06:41:56,645 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 5f56ea99-9661-4def-b1c7-4bb1d656f533
2020-11-20 06:41:56,801 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 99afec69-e54b-45b0-8bb4-fa698220e123
2020-11-20 06:41:56,956 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 69dd2ce6-e5be-4f26-9705-330bef41b297
2020-11-20 06:41:57,126 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 6b5fd86e-959b-4be6-bc60-ef3c9634c655
2020-11-20 06:41:57,313 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 38f44ba4-7f34-4d71-9114-29f4be94101e
2020-11-20 06:41:57,452 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 613feea7-b9f6-4bcf-b085-13698e208c56
2020-11-20 06:41:57,623 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture be321ee1-30e2-4ecd-8130-de473e611b97
2020-11-20 06:41:57,653 DEBUG [AVFACTORY]: Received texture update for Desiree Precz 9c744805-f501-464b-a776-a15cb40c5346
2020-11-20 06:41:57,654 DEBUG [UpdateBakedCache] cache hits: 0 changed entries: 0 rebakes 5
2020-11-20 06:41:58,135 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture ddb025c2-a395-4796-b7e8-6c3e7dce6d68
2020-11-20 06:41:58,733 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 11b29fbe-4e92-48d5-bd2a-1d2f49576034
2020-11-20 06:41:58,936 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 8fd571e8-754b-4afd-a3ae-9187556eb3af
2020-11-20 06:41:59,076 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 91a59172-2fbc-4c7c-81cd-a9c4180edc74
2020-11-20 06:41:59,216 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 46f0f135-fbca-4a8d-a84f-b444b7a0b050
2020-11-20 06:41:59,370 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture ea06f65a-c664-4f1a-81ee-4a78cd7eefcb
2020-11-20 06:41:59,510 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture e8f2c418-ed0d-4045-8333-c31690d80253
2020-11-20 06:41:59,651 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 929c4105-d516-413c-b49a-ee0823f6fafa
2020-11-20 06:41:59,866 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture a9fca4a0-59c5-4d85-ae8a-bca53278db15
2020-11-20 06:42:00,051 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 89fbf891-d041-4027-9029-ae3b7861082a
2020-11-20 06:42:00,268 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture c92423da-2df3-413f-bcaf-8aa5bb7b42d1
2020-11-20 06:42:00,443 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture 9bca5186-8849-465a-99fb-2299374273ec
2020-11-20 06:42:00,656 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture f00518c0-c7c0-4aec-95e1-a1d03d16ca33
2020-11-20 06:42:00,783 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture e1795387-74d5-4d80-9f89-68d0d5b31e90
2020-11-20 06:42:00,926 DEBUG [UPLOAD BAKED TEXTURE HANDLER]: Received baked texture fc67f5f1-ca7b-4c79-afde-923d7677e20d
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentUnknown
Mono Version6.x
ViewerFirestorm and Singularity
Attached Files

- Relationships

-  Notes
(0037224)
tampa (reporter)
2020-11-19 22:28

Alpha with textures not set to transparent or alpha blending will cause this. By default an alpha comes with either blank or black textures, wearing that causes this, but setting the textures to transparent makes it bake properly. Not sure what's going on there specifically, suspect some BoM changes recently changing the behavior so the alphas created before this with blank or black textures are causing issues, alas there is a way to work around it.

I do have a patch somewhere to include information on which avatar called the rebake so you can figure out who might need to adjust their alpha, which is useful if you have a gathering or party, but it does add a bit of a hack to the avfactory so probably not ideal.

Might be best to just either resolve the baking issue with the alpha textures or build something into the baking system to prevent constant rebakes or throttle rebake requests somewhat.
(0037226)
UbitUmarov (administrator)
2020-11-20 04:21
edited on: 2020-11-20 04:23

our original texture for alpha transparency was bad, was not transparent at all.
to proper fix you need to replace the asset data for the same uuid 3a367d1c-bef1-6d43-7595-e88c1e3aadb3 with a proper one, then remove it from all regions caches (ie funny i know..)
on 0.9.2 the replacement is on file bin/assets/TexturesAssetSet/transparency.jp2

http://opensimulator.org/viewgit/?a=commit&p=opensim&h=62f3892cd7303c0af2b9970ce1b139e2ad3d3749 [^]

Tampa said this will fix that loop, can tell it for sure now, but sure the texture should be fixed.
not clear what the viewer, but you can try other also

(0037238)
NeTro (reporter)
2020-11-20 20:29

I do want to start by saying "Thanks for the quick response!!!".

It isn't a problem at all for me to remove and install the 0.9.2 Robust if it fixes this issue.
The thing is, I haven't been able to find the 0.9.2 files on the Download page of opensimulator.org.

I am a still a bit worried though as to what will happen if an avatar from another grid teleports onto my grid, wearing a "Alpha with textures not set to transparent or alpha blending".
Won't that still trigger the same problem?
(0037239)
tampa (reporter)
2020-11-20 21:06

There should be a download of the latest master built automatically, also on archive.opensim.me in the binaries folder.

In all likelihood hypergrid will cause the issue to return as the asset is different so it should be imported. It is possible at least the texture reference inside is the same though so it may use a local copy. If you want to be safe better setup some form of monitoring on your simulators to see if the cpu is spiking, which is often an indicator of console spam going on.

Eventually most grids will update and hopefully take the steps to resolve the issue on their end.
(0037263)
NeTro (reporter)
2020-11-22 20:37

Found it.
Thank you.

I grabbed a copy and now I'm onto configuring from scratch.

Thanks for the quick help guys.

- Issue History
Date Modified Username Field Change
2020-11-19 22:12 NeTro New Issue
2020-11-19 22:28 tampa Note Added: 0037224
2020-11-20 04:21 UbitUmarov Note Added: 0037226
2020-11-20 04:22 UbitUmarov Product Version => 0.9.1.1
2020-11-20 04:23 UbitUmarov Note Edited: 0037226 View Revisions
2020-11-20 20:29 NeTro Note Added: 0037238
2020-11-20 21:06 tampa Note Added: 0037239
2020-11-22 20:37 NeTro Note Added: 0037263


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker