• 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-15306
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Unassigned
Reporter: Sandor Balczo
Votes: 12
Watchers: 6
Operations

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

Degradation in overall performance after upgrading from Mac OS X 10.5.8 to 10.6 (Snow Leopard)

Created: 29/Aug/09 03:39 AM   Updated: 27/Dec/09 05:52 AM
Component/s: Performance
Affects Version/s: Snowglobe 1.2
Fix Version/s: Snowglobe 1.1, 1.23

Time Tracking:
Not Specified

Environment:
Snowglobe 1.2.4 (3007) Nov 18 2009 12:14:25 (Snowglobe Release)
Release Notes

Built with GCC version 40001

CPU: Dual i386 (Unknown) (3060 MHz)
Memory: 4096 MB
OS Version: Darwin 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce 8800 GS OpenGL Engine
OpenGL Version: 2.1 NVIDIA-1.6.6

libcurl Version: libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.5.2
Issue Links:
Duplicate
 
Parent/Child
 
Relates
 

Last Triaged: 10/Nov/09 08:06 AM
Linden Lab Issue ID: DEV-42532


 Description  « Hide
Ever since the system upgrade, I have noticed an overall performance degradation in the viewer, with a loss of frames per second that may lead to a complete halt in graphics-intensive situations (using animations in front of more than 5 people, flying over houses or rich landscapes, turning the camera around in a setting with a few objects present and similar scenarios).

This problem did not occur before the upgrade.

At the moment, the frame freezes last for a few seconds and do not cause a forced quit.

My current graphics setting is Ultra, with Avatar Impostors unchecked (checking this option does not cure the problem anyway). Someone might object that this is not the recommended setting for the graphics card I use, but I have tried the High setting and the problem remains with maybe a slight improvement in FPS, and at any rate I used Ultra with a flawless performance before the OS upgrade and it is illogical to return to a lower standard.

I believe the problem is caused by a faulty graphics driver which must be fixed by Apple in cooperation with nVidia, or at least LL should investigate with Apple and find the causes of this degradation. Therefore, I am relating this issue to a previous, more severe bug, which was fixed SIX months after the first report by an Apple software update.

I DO hope we will not have to wait as long this time around, first of all because it should be easier to see what the fix may be in the light of the previous experience, and second, because Apple has promoted Mac OS X 10.6 as the best OS ever, 64-bit native, more responsive and with a better management of graphics resources; thus, it would be a faux pas not to pay attention to a simple graphics driver issue.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
phate shepherd added a comment - 29/Aug/09 10:06 AM - edited
Yes, I have noticed that moving around, there is definitely a lack of smoothness. Everything just feels jumpy. I can't say that FPS has dropped, but it feels like I've had way too much coffee.

I think it is a driver problem too. We are now using OpenGL 2.1, which should be a good thing. However frame rate and Anti-aliasing (FSAA) just aren't right.

Ohh... This is on a MacBook 13 with Nvidia 9400M, Using 1.22.11.


Sandor Balczo added a comment - 30/Aug/09 03:58 AM
Please read Aimee Trescothick's comments on VWR-15313. She suggests a workaround which cures the anti-aliasing problem (but at the expense of glow effects, therefore it is only a temporary workaround) and partially cures the Frame Rate issue (meaning that the jumpiness is cured only after all objects in a scene are rendered).

I am not closing this ticket because the two problems might still be independent of each other.


loki eliot added a comment - 02/Sep/09 12:45 AM
The OpenGL buffering switched off helped smooth things out http://www.youtube.com/watch?v=k4y5al7L3sY

Sandor Balczo added a comment - 02/Sep/09 03:58 AM
Thank you Loki. I can't wait to try your workaround at home. It would seem as if the current graphics engine or driver in Mac OS X 10.6 does not need Open GL buffering in SL to be on.

What configuration were you using for the video you recorded?

SL Kids rule .


Sandor Balczo added a comment - 02/Sep/09 11:21 AM - edited
Loki, I have finally tried your workaround and Snowglobe and SL 1.23 work as they used to under Mac OS X 10.5.8, with smooth camera movement and breezy frames per second. Thank you so very much. I am very happy now!

Before closing this ticket and asking LL to please change the default settings for Open GL Vertex Buffer Objects to "disabled", I would like to hear from other users whether the workaround works for them too, especially if they have ATI cards installed on their Macs.


Sandor Balczo added a comment - 02/Sep/09 11:27 AM
It appears that the performance returns to normal by doing the following:

1. Go to Edit, Preferences, Graphics Tab.
2. Click on the Hardware Options button.
3. In the panel that appears, disable the Open GL Vertex Buffer objects by unchecking the relevant checkbox. Click the OK button.
4. Return to the previous panel and click the Apply and Ok buttons.


phate shepherd added a comment - 02/Sep/09 01:42 PM - edited
I'll concur that turning off VBO does smooth out the framerate, but it doesn't bring it higher! At least on my Nvidia 9400M, it dropped from 27 to 23. It WAS smoother, but the framerate IS down.

Odd, because another reported issue with ATI cards was an increase in framerate with turning VBO off. VWR-6654


Hugh Helendale added a comment - 06/Sep/09 04:32 AM - edited
For me turning VBO off drops the frame rate from 30+ to under 10 on Snowglobe 1.2.0 (2680). This is with Nvidia M9600.

Sandor Balczo added a comment - 06/Sep/09 06:14 AM
Hugh, with all due respect, Snowglobe 1.2.0 (2680) is an alpha version and it is probably buggy already. Try to reproduce the problem with Snowglobe 1.1.2 (2584) or with the regular viewer and come back to us.

Hugh Helendale added a comment - 06/Sep/09 01:35 PM
Similar FPS drop on Cool SL Viewer 1.23.4.

Sandor Balczo added a comment - 06/Sep/09 11:26 PM
Alternative viewers are not supported by Linden Lab, Hugh. Please try the workaround on Second Life viewer 1.23.4.123908 or Snowglobe 1.1.2 (2584). I will reopen the issue if you report the FPS loss is reported on these viewers. Also, it would help if you would kindly indicate your current configuration as shown under About Second Life, in the browser you are using.

Nostrum Forder added a comment - 12/Sep/09 08:09 PM
Since I can't walk, fly, or cam around, Snowglobe is essentially unusable on my MacbookPro with the better graphics enabled since upgrading to Snow Leopard. I'm using Snowglobe 1.1.2 (2584) Jul 31 2009 18:03:58 (Snowglobe Release). Disabling vertex buffers actually made it worse for me. Turning off glow just meant that glow was turned off; other than that, no improvement.

Second Life 1.23.4 (123908) Jun 11 2009 14:53:39 (Second Life Release) doesn't seem to be as bad, but it's still not as smooth as under Leopard. Again, turning off vertex buffers made no difference for me.


Nostrum Forder added a comment - 12/Sep/09 08:16 PM
Draw Distance: 192
Post Process Quality: low

Atmospheric Shaders off
Water Reflections off

Snowglobe 1.1.2 (2584) Jul 31 2009 18:03:58 (Snowglobe Release)

Model Name: MacBook Pro
Model Identifier: MacBookPro5,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.66 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 6 MB
Memory: 4 GB

If the fix truly is to turn of vertex buffers, this bug should remain open until it's made. If the fix is something else, then the vertex buffer suggestion is a work-around, and the bug should be left open.


Sandor Balczo added a comment - 13/Sep/09 02:47 AM - edited
Hi Nostrum,

In consideration of your reopening of the ticket, I assume you deem the proposed workaround as incorrect.

Since I am the reporter of the issue and the issue was resolved on my machine, I flagged it as resolved.

The definition of "resolved" is: "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed."

This does not mean though that the issue is fixed. LL may triage the issue later and/or assign it, include a fix in a future release or (in this case) ask Apple to provide a fix, since we all believe it is related to the graphics card driver.

I will keep the ticket reopened, although it would be my right to mark it as resolved, because the workaround does not seem to be successful on your machine.

Can you kindly provide information about your graphics card? That is important information since this is a graphics issue. You may obtain this information from the browser by going to the Help Menu, About Second Life, and copying all the information fields up to the graphics card make and model. Thanks.


loki eliot added a comment - 15/Sep/09 09:04 AM
Turning off Open GL Vertex Buffer does not FIX the Degradation, it just improves the SL experience. It does not return the viewer to the performance many of us had experienced before upgrading to Snow Leopard. There for the problem/bug is still there

phate shepherd added a comment - 09/Nov/09 05:17 PM
After installing 10.6.2, brief testing shows that jerkiness in FPS seams to be fixed. With VBO on, FPS was smooth while doing a stand-in-place spin, where before it would hiccup.

Sandor Balczo added a comment - 10/Nov/09 12:47 AM - edited
I am afraid the degradation in performance remains in my configuration with VBO on.

Spinning the avatar in place causes the same freezes as before in presence of a high amount of objects.

With VBO off, freezes do not occur but another problem has appeared: while the avatar is in motion, e.g. walking on a street, the movement stutters every three seconds and the stuttering is even more noticeable if other objects are on the ground. I experienced this while walking in Shermerville NW, which has a main street and several smaller roads with homes and trees at the sides. Try that yourselves. Previously, movement was smooth.

[Edit]: There is a workaround to avoid the stutter and, ironically, it consists in disabling glow by setting Renderglow to False in the Debug Settings. Perhaps Nvidia should try a little harder to improve its graphics driver.

I understand that my 1-year-old iMac might have become too old for Second Life and I have learned to accept fast machine obsolescence, but I will not close the issue until someone tells me they cannot reproduce the problem I mentioned with the following configuration:

CPU: Dual i386 (Unknown) (3060 MHz)
Memory: 4096 MB
OS Version: Darwin 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce 8800 GS OpenGL Engine
OpenGL Version: 2.1 NVIDIA-1.6.6

libcurl Version: libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.28210 (Mozilla GRE version 1.8.1.21_0000000000)

Thank you all in advance for any feedback.


Trimmer Navarita added a comment - 11/Dec/09 09:24 AM
Not only do I find that performance has reduced, but all terrain is black - everywhere! And 'Full Bright' makes things darker. I switched off GL VB and it seems to make things a bit smoother, but the nothing has changed re the blackness ?? Any clues?

I'm on an iMac 24" running Snow Leopard and using the SL client: Second Life 1.23.5 (136262) Oct 14 2009 11:39:47 (Second Life Release)

other info:

CPU: Dual i386 (Unknown) (2330 MHz)
Memory: 3072 MB
OS Version: Darwin 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce 7600 GT OpenGL Engine
OpenGL Version: 2.1 NVIDIA-1.6.6

libcurl Version: libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.28963 (Mozilla GRE version 1.8.1.21_0000000000)
Packets Lost: 531/30852 (1.7%)


Sandor Balczo added a comment - 11/Dec/09 02:35 PM
Trimmer, I know it may sound a bit obvious, but since your graphics card is supported, your SL viewer is the latest and you have upgraded your system software, the only suggestion I have is to clear the network cache and restart the viewer.

To do this, go to Edit, Preferences, Network tab and click on the Clear Cache button, then on Apply and OK and restart the viewer.


Sandor Balczo added a comment - 27/Dec/09 05:48 AM
With the latest release of the Snowglobe viewer, the performance degrades and in addition to this, there may be unexpected quits due to an excess of memory use (without changing the memory assigned to VBO, which stays at 256 MB).

Does anyone else experience this further problem?

I had to reset all graphics values to High from Ultra.


Sandor Balczo added a comment - 27/Dec/09 05:51 AM
I have changed the environment information to reflect the current status of the issue.