Closed Bug 760299 Opened 12 years ago Closed 1 year ago

Text selection changes rendering of nearby text on Windows 8 with nvidia hw

Categories

(Core :: Graphics, defect)

x86
Windows 8
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jrmuizel, Unassigned)

References

Details

(Whiteboard: [Win8])

Attachments

(2 files)

I noticed this on Wikipedia and it seems to change from greyscale to cleartype aa
I can confirm that and I noticed this on Wikipedia, too. I see this change from greyscale AA to cleartype when hovering the links. The rest of the text is in greyscale AA and not cleartype as it should be. 

Has this anything to do with Bug 686782 ? Are you using an Nvidia graphics chip?

Btw. whis is the platform flag saying x86 Mac OS X?
(In reply to redsign from comment #1)
> Are you using an Nvidia graphics
> chip?

Yes, I see this on Nvidia hardware
OS: Mac OS X → Windows 8
Oh boy, the title already says that this occurs with nvidia hw ... I am using an GT 520 btw.
Confirming that I'm seeing this nearly everywhere.
I don't use Win 8 RP anymore, but i have and ATI GPU and i was too seeing the shifting font rendering.
Attached image Poor font rendering
Attached image Good font rendering
I also see this virtually everywhere. Here's my about:support gfx section:


  Application Basics

        Name
        Firefox

        Version
        14.0

        User Agent
        Mozilla/5.0 (Windows NT 6.2; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0

        Profile Folder

          Show Folder

        Enabled Plugins

          about:plugins

        Build Configuration

          about:buildconfig

        Crash Reports

          about:crashes

        Memory Use

          about:memory

  Graphics

        Adapter Description
        NVIDIA GeForce GTX 560 Ti

        Vendor ID
        0x10de

        Device ID
        0x1200

        Adapter RAM
        1023

        Adapter Drivers
        nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um

        Driver Version
        9.18.13.280

        Driver Date
        6-11-2012

        Direct2D Enabled
        true

        DirectWrite Enabled
        true (6.2.8400.0)

        ClearType Parameters
        Gamma: 2200 Pixel Structure: RGB

        WebGL Renderer
        Google Inc. -- ANGLE (NVIDIA GeForce GTX 560 Ti  ) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041)

        GPU Accelerated Windows
        1/1 Direct3D 10

        AzureBackend
        direct2d
I can confirm that this happens on all cards and is not a driver issue. I can reproduce it on an Nvidia, 2 Intel machines, 1 ATI machine, and even (new in Windows 8) the WARP software emulation basic display driver with Direct2D forced on. There is probably someplace in the rendering code where Direct2D loses the text rendering parameters, or it isn't being set in a render target to begin with. Every single BeginDraw should probably follow with having the text rendering mode set.
Temporary fix:
Head to - about:config and search for - gfx.direct2d.disabled - set to "TRUE"
Tested Fix on Aurora/Firefox/Beta - Windows 8 - Seems to fix the issue - Though it's enabled on Windows 7 (That's my second OS) and the rendering seems to be fine so it must be a driver issue.
Here are more reproducible steps that may be useful to finding what is causing the problem:

1) Go here: http://en.wikipedia.org/wiki/Scrum_%28development%29
2) Notice that the text looks okay at this point.
3) See the bolded word "Scrum" in the first paragraph?  Triple click it.  This should highlight the whole paragraph, and also convert it to using poor font rendering.
4) To more easily see the bad font, single click that bolded word "Scrum" once.  Now you can clearly see the poorly rendered font of the first paragraph, as compared to the other paragraphs.

Hopefully this might help you guys narrow down what's actually causing the issue -- and fix it!
I can reproduce this using the example mentioned above on Windows 8 Pro RTM (6.2.9200) with a GTX 580 using driver 302.82 WHQL or 306.02 Beta.
So it's still happening on RTM.
This happens as well with ATI cards. Disabling Direct2D fixes it - text is then rendered on pages using Cleartype. Text on the tabs, meanwhile, uses greyscale font smoothing which looks poor in comparison!

Here's the graphics info in case it helps:


Adapter Description
ATI Radeon HD 3600 Series 

Vendor ID
0x1002 

Device ID
0x9598 

Adapter RAM
512 

Adapter Drivers
aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64 

Driver Version
8.970.100.3000 

Driver Date
7-3-2012 

Adapter Description (GPU #2)
Intel(R) HD Graphics Family (Microsoft Corporation - WDDM 1.2) 

Vendor ID (GPU #2)
0x8086 

Device ID (GPU #2)
0x0102 

Adapter RAM (GPU #2)
Unknown 

Adapter Drivers (GPU #2)
igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32 

Driver Version (GPU #2)
9.17.10.2768 

Driver Date (GPU #2)
5-26-2012 

Direct2D Enabled
true 

DirectWrite Enabled
true (6.2.9200.16384) 

ClearType Parameters
ClearType parameters not found 

WebGL Renderer
Google Inc. -- ANGLE (ATI Radeon HD 3600 Series) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041) 

GPU Accelerated Windows
1/1 Direct3D 10 


AzureBackend
direct2d
This is filed and being worked on as bug 784382.
Whiteboard: [Win8]
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Depends on: 784382
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: