Bug 27361 - 3d transformations do not display in WebKit nightly
Summary: 3d transformations do not display in WebKit nightly
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 20:39 PDT by Brian Campbell
Modified: 2009-07-17 11:00 PDT (History)
2 users (show)

See Also:


Attachments
3d transformations failing to work (53 bytes, text/plain)
2009-07-16 20:39 PDT, Brian Campbell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Campbell 2009-07-16 20:39:46 PDT
Created attachment 32913 [details]
3d transformations failing to work

I read the recent WebKit blog entry about 3d transformations http://webkit.org/blog/386/3d-transforms/ so I downloaded a nightly to try them out. When I try the examples linked, however, none of the 3d transformations seem to work. There seem to be 2d transformations applied, and animations are running, but everything appears flat. I've attached a screenshot showing what it looks like.

I'm not sure what information will be helpful for debugging this; let me know and I can add more details.

WebKit r45980
Safari 4.0.1
Mac OS X 10.5.7

From System Profiler:
  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro3,1
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	2.2 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2
  L2 Cache:	4 MB
  Memory:	2 GB
  Bus Speed:	800 MHz

GeForce 8600M GT:

  Chipset Model:	GeForce 8600M GT
  Type:	Display
  Bus:	PCIe
  PCIe Lane Width:	x16
  VRAM (Total):	128 MB
  Vendor:	NVIDIA (0x10de)
  Device ID:	0x0407
  Revision ID:	0x00a1
  ROM Revision:	3175
  Displays:
Color LCD:
  Resolution:	1440 x 900
  Depth:	32-Bit Color
  Core Image:	Hardware Accelerated
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Quartz Extreme:	Supported
  Built-In:	Yes
Display Connector:
  Status:	No Display Connected
Comment 1 Simon Fraser (smfr) 2009-07-16 22:35:58 PDT
Are you sure you're running the nightly build, and not the system Safari?
Comment 2 Brian Campbell 2009-07-17 08:45:55 PDT
Yes, I checked several times that I was running the WebKit nightly download. It has the icon with the gold border and "Check for WebKit Updates..." is available in the "Safari" menu. I tried choosing that option, and it tells me that I'm on the latest version of the nightly.

If there's any way for me to check that the the nightly rendering engine is actually being linked in properly, let me know; I don't know if there is a way to verify that. lsof shows that the process has "/Users/lambda/Desktop/WebKit.app/Contents/Resources/WebKitNightlyEnabler.dylib" open, so it appears that it should be linking in the nightly version of WebKit.
Comment 3 Simon Fraser (smfr) 2009-07-17 08:50:10 PDT
What does
defaults read com.apple.Safari WebKitAcceleratedCompositingEnabled
return when you run it in Terminal?
Comment 4 Brian Campbell 2009-07-17 09:17:13 PDT
$ defaults read com.apple.Safari WebKitAcceleratedCompositingEnabled
2009-07-17 12:07:02.912 defaults[354:10b] 
The domain/default pair of (com.apple.Safari, WebKitAcceleratedCompositingEnabled) does not exist

Setting this to either 1 or 0 does not affect the behavior.

Following are all of the defaults for Safari which begin with WebKit: 

    WebKitCacheModelPreferenceKey = 2;
    WebKitDefaultFixedFontSize = 9;
    WebKitDefaultFontSize = 14;
    WebKitDeveloperExtras = 1;
    WebKitDeveloperExtrasEnabledPreferenceKey = 1;
    WebKitDisplayImagesKey = 1;
    WebKitEditableLinkBehavior = 4;
    WebKitFixedFont = Monaco;
    WebKitInspectorAttached = 0;
    WebKitInspectorAttachedViewHeight = 379;
    WebKitJavaEnabled = 0;
    WebKitJavaScriptCanOpenWindowsAutomatically = 0;
    WebKitJavaScriptEnabled = 1;
    WebKitPDFDisplayMode = 1;
    WebKitPDFScaleFactor = 1.486642;
    WebKitPluginsEnabled = 0;
    WebKitPrivateBrowsingEnabled = 0;
    WebKitRespectStandardStyleKeyEquivalents = 1;
    WebKitShouldPrintBackgroundsPreferenceKey = 0;
    WebKitShrinksStandaloneImagesToFit = 1;
    WebKitShrinksStandaloneImagesToFitKey = 1;
    WebKitStandardFont = "Lucida Grande";
    WebKitTextAreasAreResizable = 1;
    WebKitZoomsTextOnly = 0;
Comment 5 Simon Fraser (smfr) 2009-07-17 10:24:34 PDT
If you make a new user account on the machine, does it work there in the nightly? Do you have any other machines nearby that you can test on?
Comment 6 Brian Campbell 2009-07-17 10:58:59 PDT
It does indeed work if I log in as a different user. 

It also works if I build WebKit from Subversion (r46036) and run it using WebKitTools/Scripts/run-safari in my normal account.
Comment 7 Simon Fraser (smfr) 2009-07-17 11:00:59 PDT
This has to be a configuration issue on your system then.