• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-2754
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Finish
Priority: Normal Normal
Assignee: Unassigned
Reporter: Whoops Babii
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

rainbow avatar

Created: 15/Oct/07 06:31 AM   Updated: 30/Aug/09 07:47 PM
Return to search
Component/s: Avatar/Character
Affects Version/s: 1.18.3.5, 1.18.4.3, 1.23
Fix Version/s: None

File Attachments: 1. Text File openjpeg-svn470-ABI-preserve.patch (0.4 kB)

Image Attachments:

1. primary monitor.jpg
(375 kB)

2. Screenshot-SDL_App.png
(785 kB)

3. secondary monitor.jpg
(374 kB)

4. Whoops_1_18_3_5.png
(1.83 MB)

5. Whoops_rebake.png
(2.05 MB)
Environment: OS X 10.4, PowerPC & OpenSolaris build 73, Terca M2 laptop & U40 workstation
Issue Links:
Relates


 Description  « Hide
the avatar is painted in rainbow of colors instead of with skin and clothing.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Whoops Babii added a comment - 15/Oct/07 07:17 AM
I'm told the following will correct the issue. I have yet to verify:

go into Preferences > Graphic Details> uncheck Avatar Vertex Program


Whoops Babii added a comment - 15/Oct/07 07:19 AM
Screen shot showing rainbow avatar on Solaris.

Whoops Babii added a comment - 15/Oct/07 08:30 AM
the turning off of the Vertex program does not help.

Lex Neva added a comment - 15/Oct/07 09:49 AM
Please let us know your video card make and model.

Hmm... looks like you're seeing this on 3 different systems?


Lex Neva added a comment - 15/Oct/07 09:52 AM
Oh wait a sec... The avatar in the picture is not Whoops Babii. The advice to uncheck Avatar Vertex Program applies to that person, not people seeing them. If my system screws up rendering my avatar, everyone else sees it, even if the problem is solely on my computer.

Whoops Babii added a comment - 15/Oct/07 10:08 AM
The screen shot above is from another user who has also experienced the problem. He is running on a laptop:

Toshiba Tecra M2
NVidia GeForce FX Go5200 32M/64M
Nevada b73
Latest SL build

My X86 system is:

Sun Ultra-40 (AMD M2 dual core)
NVidia Quadro FX 3500
Solaris nevada b66

My Mac is:

Macbook pro G4 (1.4GHz)
ATI Radeon 9700
OS X 10.4.10

The problem appears more often on Solaris but has reared it's ugly head on the Mac once or twice.


Whoops Babii added a comment - 15/Oct/07 10:13 AM
forgot to mention that the user who took the screenshot above is the one who verified that turning off the Vertex program does not solve the issue. He is finding it easy to duplicate the problem where I have to run for hours before I see it.

Alexa Linden added a comment - 15/Oct/07 10:54 AM
Duplicate of VWR-2699?

Lex Neva added a comment - 16/Oct/07 09:48 AM
Just turning off avatar vertex program won't show a fix. You'll need to then relog or at least rebake your avatar textures.

Whoops Babii added a comment - 16/Oct/07 01:43 PM
We just confirmed that turning off the "vertex program" and either loging off and back in or re-baking the textures does not fix the problem. Note that re-baking does clear the rainbow for a few seconds but it returns as the avatar is shaded/rendered.

EricReid SunMicrosystems added a comment - 16/Oct/07 04:46 PM
I'll jump in here... as the original reporter of this bug on the Tecra under Solaris... if there are any other potential workarounds, let me know and I'll try them. It's certainly a frustrating bug.

EricReid SunMicrosystems added a comment - 18/Oct/07 07:42 AM
OK, I've found a root cause... this behavior is seen when I have a second monitor hooked up... whether or not I display on that second monitor or the laptop's screen. When I boot without that second monitor (in NVidia 'TwinView'), there's no problem. I know there are other issues related to dual-screen... at least there's a workaround.

So, in short... another dual-screen issue with an acceptable workaround for now.


Whoops Babii added a comment - 25/Oct/07 08:59 AM
Rainbow avatar on 1.18.4 with Avatar Vertex Program off and one monitor.

Whoops Babii added a comment - 25/Oct/07 09:03 AM
Same thing from 1.18.3.5 Solaris viewer and one monitor.

Whoops Babii added a comment - 25/Oct/07 09:08 AM
I finally got bitten by this issue on my U40. It appeared after I teleported to a few different sims. The messages I'm seeing from the viewer are:

2007-10-25T15:48:15Z INFO: forceBakeAllTextures: TAT: forced full rebake.
2007-10-25T15:48:15Z INFO: readBackAndUpload: Baked lower_body
2007-10-25T15:48:15Z INFO: LLViewerAssetStorage::storeAssetData (legacy) d1a0875b-0956-2ca3-305b-77389f174121:texture ASSET_ID: 6bd79240-0e6d-4fda-6bab-4c5f74c9870d
2007-10-25T15:48:15Z INFO: readBackAndUpload: Baked head
2007-10-25T15:48:15Z INFO: LLViewerAssetStorage::storeAssetData (legacy) 07e91e32-8312-fbc6-3b75-1876c3edd38a:texture ASSET_ID: 4d2aaf97-6ea5-6ee0-690d-920e470bdda3
2007-10-25T15:48:15Z INFO: readBackAndUpload: Baked eyes
2007-10-25T15:48:15Z INFO: LLViewerAssetStorage::storeAssetData (legacy) 9499bde5-f9ac-9d2c-13c4-d0f483b4a389:texture ASSET_ID: 8e192385-589b-f59c-7430-a2df936dc395
2007-10-25T15:48:15Z INFO: readBackAndUpload: Baked upper_body
2007-10-25T15:48:15Z INFO: LLViewerAssetStorage::storeAssetData (legacy) 61b0d49d-e5e7-0046-f90f-fd5115a9c4f5:texture ASSET_ID: b1465759-37d2-745a-ee93-7783c5493aaf
2007-10-25T15:48:15Z INFO: onTextureUploadComplete: Received baked texture out of date, ignored.
2007-10-25T15:48:16Z INFO: onBakedTextureMasksLoaded(): unexpected image id: 8787ba96-30ab-940e-5c03-fa512c82796f
2007-10-25T15:48:16Z INFO: onTextureUploadComplete: Received baked texture out of date, ignored.
2007-10-25T15:48:17Z INFO: setNewBakedTexture: New baked texture: LOWER
2007-10-25T15:48:18Z INFO: setNewBakedTexture: New baked texture: HEAD
2007-10-25T15:48:18Z INFO: sendAgentSetAppearance: TAT: Sent AgentSetAppearance: HEAD upper LOWER eyes
2007-10-25T15:48:19Z INFO: startNextTransfer: Getting asset data for: bdf5979a-675d-84a0-3020-1be88517b84f
2007-10-25T15:48:19Z INFO: _queueDataRequest: Starting transfer for bdf5979a-675d-84a0-3020-1be88517b84f
2007-10-25T15:48:19Z INFO: processTransferInfo: Receiving 07983cf0-3e23-a8af-1b41-5076278e01e8, size 166839 bytes
2007-10-25T15:48:20Z INFO: setNewBakedTexture: New baked texture: EYES
2007-10-25T15:48:20Z INFO: sendAgentSetAppearance: TAT: Sent AgentSetAppearance: HEAD upper LOWER EYES
2007-10-25T15:48:21Z INFO: deleteCachedImages: Clearing Static Textures KB GL:5424KB TGA:257KB
2007-10-25T15:48:21Z INFO: setNewBakedTexture: New baked texture: UPPER
2007-10-25T15:48:21Z INFO: sendAgentSetAppearance: TAT: Sent AgentSetAppearance: HEAD UPPER LOWER EYES
2007-10-25T15:48:21Z INFO: sendAgentSetAppearance: TAT: Sending cached texture data
2007-10-25T15:48:21Z INFO: deleteCachedImages: Clearing Static Textures KB GL:3840KB TGA:74KB

I'd also like to point out that the problem occurred on a system with one monitor connected.


Whoops Babii added a comment - 13/Nov/07 09:26 AM
If I run a version of the client that skips running LLTexLayerSetBuffer::readBackAndUpload() after rebaking textures, the avatar in my viewer looks fine AND does not turn bad after seconds to minutes like it does when I run a regular version of the viewer. Of course, disabling readBackAndUpload() means no one else sees your rebaked self and you look like "newspaper boy" on there screens.

Whoops Babii added a comment - 13/Nov/07 10:49 AM
I found it! I've been using the svn version of OpenJPEG because it included performance improvements by Callum Lenwick. readBackAndUpload() uses a LLImageJ2C to compress the image. I switched back to openJPEG 1.2 and the rainbow effect disappeared!

Seg Baphomet added a comment - 13/Nov/07 01:30 PM
Note that svn453 broke the ABI in the encoder, but the soversion did not get bumped. I didn't notice this myself until recently. It causes all kinds of nasty problems. Recompiling the viewer against a recent SVN ought to fix it.

Alternatively, you can patch OpenJPEG to restore ABI compatibility. I have attached one I made up to allow me to test recent builds against the official win32 viewer.


Seg Baphomet added a comment - 14/Nov/07 04:04 PM
Okay, the breakage was not intentional. svn480 should fix the ABI problem, but svn478 merged a patch I made that reduces memory usage, but causes slviewer to crash due to a NULL pointer being returned sometimes, requiring a patch to check for NULL before using it. That should probably get its own Jira.

Ellla McMahon added a comment - 14/Mar/09 10:48 AM
This issue was reported as Affects Version/s: 1.18

If it is still an issue for you using the latest Viewer 1.22 please

  • reopen [left sidebar]
  • update the "Affects Version/s" to the correct one
  • add any other relevant details that would help LL developers fix it. Up-to-date, full details from Help > About Second Life are very important.

For account-specific help please Submit a Ticket with Support

Thank you : )


Steve Aelberts added a comment - 30/Aug/09 05:27 PM - edited
Sorry about reopening this, but it appears the guys who were talking about this being related to multimonitors were spot on!

The only thing I am changing between these two screenshots included is which monitor the window is in.

In both screenshots I do the following:

  • Move the window to the other montor (this produces no change in the avatar, as you'd expect)
  • Hit "Rebake Textures"
  • Wait for the textures to rebake and hit Print Screen

Using my secondary display, I get the problems described in by pervious posters, but using my primary display i have no problem. I have included the debug console in both screenshots so you can see what's going on.

It looks like the error's being printed from the line:

llinfos << "Received baked texture out of date, ignored." << llendl;

in lltexlayer.cpp

I'm a developer, but am not familiar with the sl code, and haven't got time to delve into this too much right now. If anyone wants to give me any ideas where to start I might be able to have a poke at this some point.

I'm using ATI Radeon 3600 graphics card with the latest drivers, and i'm running Second Life 1.23.4 (123908) Jun 11 2009 15:16:56 (Second Life Release)

Hope this helps!

Test System
-----------------

Second Life 1.23.4 (123908) Jun 11 2009 15:16:56 (Second Life Release)

Built with MSVC version 1400

You are at 292624.8, 279897.3, 803.0 in Immintel located at sim4185.agni.lindenlab.com (216.82.53.89:13002)
Second Life Server 1.27.2.129782

CPU: AMD (Unknown model) (2400 MHz)
Memory: 8191 MB
OS Version: Microsoft Windows Vista Service Pack 2 (Build 6002)
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: ATI Radeon HD 3600 Series
Windows Graphics Driver Version: 8.14.0010.0678
OpenGL Version: 2.1.8787

libcurl Version: libcurl/7.18.1 OpenSSL/0.9.8j zlib/1.2.3
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.740000
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.26498 (Mozilla GRE version 1.8.1.21_0000000000)

Work Around
-----------------

A work around is obviously to just move the window to the primary monitor whenever the issue occurs, and force a rebake. (Alt+Ctrl+D to show the Advanced Menu, then Alt+Ctrl+R for a rebake)


Harleen Gretzky added a comment - 30/Aug/09 05:46 PM
Uploaded Steve's screenshots.

Harleen Gretzky added a comment - 30/Aug/09 05:47 PM
LL does not technically support dual monitors.