QA/Platform/Graphics: Difference between revisions

From MozillaWiki
< QA‎ | Platform
Jump to navigation Jump to search
Line 27: Line 27:
* [[QA/Platform/Graphics/Triage|Triage]] is done daily from 10am to 11am Pacific to ensure effective resolution of critical issues, each day focusing on a different category of issues.
* [[QA/Platform/Graphics/Triage|Triage]] is done daily from 10am to 11am Pacific to ensure effective resolution of critical issues, each day focusing on a different category of issues.


=== Triage ===
=== [[QA/Platform/Graphics/Triage|Triage]] ===
{{:QA/Platform/Graphics/Triage}}
{{:QA/Platform/Graphics/Triage}}



Revision as of 21:45, 13 April 2016

Summary

This page holds important information related to testing and quality assurance for Gecko's graphics code.

Metrics:

Get Involved

Here are some ways you can help the Graphics team (and Mozilla):

Activities

Current Activities

  • Betabreakers runs sanity tests of major changes at least once during each new Aurora version
  • One & Done is used to enable volunteers to participate in sanity testing
  • Triage is done daily from 10am to 11am Pacific to ensure effective resolution of critical issues, each day focusing on a different category of issues.

Triage

Get Involved

Want to help with or learn about triage? Contact me!

Help Wanted

Once per week, typically on Monday, we review bug reports tagged with help-wanted older than 30 days to ensure these issue are still relevant and on track to resolution.

How to Triage:

  1. Select a bug from this list
  2. Review the bug to make sure you understand the bug report and the information needed to move it forward
  3. Attempt to reproduce the bug
  4. If you can reproduce the bug, attempt to find a regression window either manually or using mozregression
  5. Update the bug report with any new information you can provide
  6. If you can't reproduce the issue or don't understand the issue, move on to the next bug report

Whenever updating a bug report be sure to add a comment explaining the change.

Incoming

Once per week, typically on Tuesday, we review bug reports that were reported more than 30 days ago but have yet to be triaged by the Graphics team.

How to Triage

  1. Select a bug from this list (it's best sort by most recent changed first)
  2. Review the information in the bug and make sure you understand the issue
  3. If the bug is a feature request, add the feature keyword and move on to the next bug
  4. Request for information from the report if there is information missing (regression window, steps to reproduce, minimized testcase, screenshots, system information, etc)
  5. If you can reproduce the issue as described then update the bug and escalate it to a graphics developer
  6. If you cannot reproduce the issue, ask a developer or the reporter if the bug is still valid
  7. Be sure to add the gfx-noted tag to the whiteboard field once triaged
  8. Move on to the next bug report if you can

Top Crashes

Once per week, typically on Wednesday, we review our top crash reports to ensure these issues have bug reports on track toward resolution.

How to Triage

Note: Whenever updating a bug report be sure to add a comment explaining the change.

  1. Review the reports above
  2. If you see a graphics crash that doesn't have a bug report, file a bug report for it
  3. If you see a graphics crash with an associated bug ID, open the bug report and update the statistics for the bug
  4. If the crash is escalating and is now in top-crash territory, add the topcrash keyword and nominate the bug to track
  5. If the crash is declining and is no longer in top-crash territory, remove the topcrash keyword
  6. Repeat the process for each crash you find in the list

Cold Crashes

Once per week, typically on Thursday, we review crash bug reports we have on file that have not been updated in more than 30 days to ensure these issues are still relevant and on track to resolution.

How to Triage:

  1. Load this list of bugs and sort by most recent changed
  2. Open the first bug report and review the information
  3. Check if there are anymore crash reports by clicking the signature link
  4. If there are no more crash reports, close the bug
  5. If there are still bug reports, update the statistics in the bug report and see if you can reproduce
  6. If you can't reproduce, ask the reporter for new information
  7. If you can reproduce, ask the developer what information is needed to move the bug forward
  8. Update the bug with any new information and move on to the next bug report

Cold Trackers

One per week, typically on Friday, we review tracked bug reports that have not been updated in more than 30 days to ensure these issues are still relevant and on track to resolution.

How to Triage:

  1. Select a bug from this list (sort by most recent changed)
  2. Review the information in the bug report
  3. Try to deduce if the bug is still relevant through testing, reviewing linked reports, or asking people involved on the bug
  4. If the bug is still relevant, update the status/tracking flags, and needinfo flag the developer for a status update
  5. If the bug is no longer relevant, update the status flags and close the bug report
  6. Once you've updated the bug move on to the next bug report

Cold Regressions

One per week we review old regression bug reports that have not been updated in more than 42 days to ensure these issues are still relevant and on track to resolution.

How to Triage

1. Select a bug from this list and review the information in the report

2. Make sure each bug has the following information:

  • a regression window (see step 4 if it doesn't)
  • [gfx-noted] in the whiteboard field
  • Has Regression Window and Has STR flags set to the correct value
  • 'status-firefox flags set to the correct values (old versions can be cleared, new versions can be set to ? if unknown)

3. Use the needinfo? flag and ask the bug reporter to test if the bug still occurs in the current Firefox Nightly

4. (Optional) See if you can reproduce the bug yourself and add a comment to the bug describing your test environment and result. If you're able to reproduce the bug use Mozregression to find the regression window. Be sure to use the needinfo:? flag to bring the bug to my attention (ashughes).

Past Activities

Top Issues

Blockers

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);


Crashes

Full Query
ID Summary Status Last change time
1711801 Crashes at gpusGenerateCrashLog with graphics kernel error '0xfffffff9/-7' REOPENED 2024-04-04T20:53:17Z
1711802 Crashes at gpusGenerateCrashLog with graphics kernel error '0xfffffffc/-4' REOPENED 2024-04-04T20:52:45Z
1711804 Crashes at gpusGenerateCrashLog with graphics kernel error '0xe00002c2' REOPENED 2024-04-04T20:51:59Z
1713230 Crashes at gpusGenerateCrashLog with customized graphics kernel errors '0x1be385f9' and '0x067900fc' REOPENED 2024-04-04T20:52:21Z
1714235 Crashes at gpusGenerateCrashLog with graphics hardware errors '0x00000813', '0x00000803', '0x00008013', '0x00000003' and '0x00008003' REOPENED 2024-04-04T20:53:03Z
1783212 macOS Crash in [@ pthread_kill | abort | gpusKillClientExt] NEW 2025-05-01T20:37:16Z
1838649 Crashes often when scrolling on gitlab merge request NEW 2024-04-04T21:06:53Z
1900134 Crash in [@ IPCError-content | GPUProcessKill] NEW 2025-07-21T21:37:15Z
1908798 Crash in [@ IPCError-browser | GPUProcessKill] NEW 2025-08-15T17:49:53Z
1980010 stack overflow in [@ PredictorAdd1_AVX2] NEW 2025-08-07T13:47:49Z
1980057 Crash in Direct3D 12 when D3D11on12 is set NEW 2025-08-06T16:57:40Z

11 Total; 11 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Features

Full Query
ID Summary Status Last change time
703217 Implement image() from CSS Image Values and Replaced Content Module Level 4 NEW 2022-10-11T00:04:16Z
790640 add Media Fragments for images (spatial dimensions) NEW 2023-02-16T08:13:30Z
952539 WebGL should support efficiently uploading a subrect of a canvas to a texture NEW 2024-08-14T10:25:46Z
1152974 Enable by default DEAA (Anti-aliasing) for Linux NEW 2023-08-11T18:19:59Z
1200864 Skip DrawElements buffer validation when we have robust_buffer_access NEW 2023-03-24T17:36:32Z
1223880 Implement initial-letter (from CSS Inline Layout Module Level 3) NEW 2025-06-25T11:21:57Z
1233569 Deprecate RGB8 from being renderable in WebGL 1 NEW 2022-10-11T17:53:19Z
1237489 [webvr] Add basic MOZ_texture_from_element to enable creating a texture from an arbitrary element NEW 2022-10-11T17:55:16Z
1244513 webm videos should be color corrected UNCONFIRMED 2022-10-11T17:59:31Z
1264543 [meta] Out-of-process compositing NEW 2024-09-22T12:02:05Z
1282074 Support very large canvases NEW 2024-11-05T11:22:06Z
1302685 [meta] Support OpenType Font Variations (Variable fonts) NEW 2025-03-31T14:31:28Z
1309309 Report memory used by ANGLE in about:memory as its own block? NEW 2022-10-11T18:39:33Z
1350292 Memory allocated by WebGL in WebGLBuffer::BufferData is not tracked in about:memory (detected by DMD in heap-unclassified) NEW 2024-03-05T08:06:06Z
1367003 Page slow to load when scrolling up and down. NEW 2022-10-11T19:19:15Z
1371101 Run color, border-color, and background-color animations off the main thread NEW 2024-04-03T03:21:39Z
1371108 WebGL: Make default back buffer default to 8x8 AA when available UNCONFIRMED 2022-10-11T19:21:50Z
1371627 GL_EXT_draw_buffers extension not supported UNCONFIRMED 2022-10-11T19:22:13Z
1371836 Provide a performance object for the WebGL canvas NEW 2022-10-11T19:22:42Z
1374710 GLBlitHelper should cache the various shaders NEW 2025-04-05T10:08:55Z
1381098 imageBitmap should provide an api to pull out raw pixel data (unmodified) without having to draw it to a canvas or a renderBuffer. This should be able to run in a webworker UNCONFIRMED 2023-08-07T12:24:48Z
1391345 Some emoji on the emojione demo page don't show up NEW 2022-10-11T19:36:02Z
1392080 Feature request : ɴᴘᴀᴘɪ being phased out : please provide an alternative for direct Vulkan/Direct3ᴅ12 access for viewing stereoscopic videos ! UNCONFIRMED 2023-07-27T18:52:44Z
1402293 Implement support for High Efficiency Image File Format (HEIF) NEW 2025-03-01T11:34:00Z
1403299 Support rendering fonts via FreeType on Windows NEW 2024-07-25T05:06:45Z
1403933 Support standard swizzle in D3D11 texture NEW 2025-08-04T12:18:17Z
1412350 Support Color Management on Android NEW 2024-05-31T01:24:55Z
1428954 Support encoding .ico files with multiple sizes NEW 2022-10-11T21:09:36Z
1443863 Implement support for AV1 Still Image File Format (AVIF) NEW 2025-03-02T15:12:52Z
1461360 [meta] Cross-platform dependencies for pinch-zooming on desktop NEW 2023-04-23T08:13:11Z
1476861 Implement FillRoundedRect for DrawTargetSkia ASSIGNED 2022-10-11T21:48:00Z
1477078 Implement PushClipRoundedRect for DrawTargetSkia ASSIGNED 2022-10-11T21:48:11Z
1480894 Implement wide-gamut support on Canvas NEW 2022-10-11T21:51:27Z
1516362 Selecting text using background-clip: text should probably change the text color NEW 2022-10-11T22:20:40Z
1522397 Displayed content in active tab doesn't adapt to screen resolution changes when connecting/disconnecting external monitor NEW 2023-05-24T13:32:17Z
1532721 Re-enable D2D on Qualcomm devices when able NEW 2024-06-19T14:13:44Z
1536809 Add support for Canvas 2D "desynchronized" construction attribute UNCONFIRMED 2025-07-11T12:20:15Z
1539075 Implement support for JPEG XL (image/jxl) ASSIGNED 2025-06-27T20:18:19Z
1547612 Use Lanczos method for upscaling images for different zoom levels NEW 2023-01-14T09:05:28Z
1605234 [meta] Support elastic overscroll on desktop NEW 2025-03-11T08:36:23Z

40 Total; 40 Open (100%); 0 Resolved (0%); 0 Verified (0%);


New Issues

Full Query
ID Summary Last change time
1978274 YouTube first letter tying backwards 2025-07-21T16:57:54Z
1978287 webgl glsl struct return broken 2025-07-28T06:29:25Z
1978309 WebRTC stream causes high 3D load on 2nd GPU in multi-monitor setup 2025-08-20T12:10:15Z
1978376 Import smooth scroll settings values from https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js to make scroll comparably smooth to Chrome 2025-08-12T08:04:00Z
1978752 libyuv is unconditionally built with LASX, potentially triggering a SIGILL on non-LASX LoongArch processors 2025-07-28T06:30:33Z
1978891 Cannot type all characters with an alternative keyboard layout, only in Firefox 2025-07-24T08:33:44Z
1979018 WebGPU Write Memory Crash: SEGV on unknown address 0x000000000001 2025-08-20T18:47:31Z
1979042 Latest Firefox update now requires multiple LH mouse clicks to make anything happen 2025-07-31T05:10:04Z
1979048 WebGPU abort() in ASAN builds 2025-08-20T18:50:29Z
1979083 Picture caching doesn't work when widget.gtk.rounded-bottom-corners.enabled is enabled 2025-08-11T20:37:05Z
1979340 `-moz-window-dragging` set to `drag` makes child elements call `mouseleave` even though the mouse is still inside the parent element 2025-08-07T12:04:27Z
1979480 vertical line 2025-08-11T20:34:38Z
1979500 GPU process consuming CPU while Firefox not displayed on screen 2025-08-11T12:06:39Z
1979509 YouTube in fullscreen lags all firefox windows 2025-08-11T12:06:41Z
1979512 Adding a span around a word breaks text-align justify 2025-08-11T12:06:42Z
1979910 :host:has() should match 2025-08-13T12:07:47Z
1980243 CSS :active selector does not work on HTML <area>s 2025-08-20T22:16:04Z
1980357 Stacked drop-shadow()s don't transition fluently 2025-08-14T12:06:17Z
1980593 Youtube Video Playback lags and freezes on Firefox for riscv64 2025-08-01T11:41:48Z
1980767 Browser randomly freezing completely, then slowly turning black and white and then crashing moments later. 2025-08-02T05:56:55Z
1980806 Temporal objects representing far past and far future with non-ISO calendar raise error during a property access 2025-08-05T16:15:39Z
1980891 Elements of GPURenderPassDescriptor.colorAttachments and GPURenderPipelineDescriptor.fragment.targets should be nullable 2025-08-06T17:46:02Z
1981057 Flickering on select opening 2025-08-15T03:58:38Z
1981485 Implement CSS `if()` function 2025-08-13T04:26:57Z
1981867 Refresh the web page, Firefox memory usage continues to increase 2025-08-11T16:35:27Z
1982280 [WebGPU] Poseidon2 Merkle Hasher very slow performance on discrete GPU Intel Arc B580 2025-08-11T16:37:33Z
1982620 Floating-point math in WGSL is incorrect 2025-08-18T16:42:23Z
1982946 ZWJ sequence with unicode-range is unreliable 2025-08-13T22:42:04Z
1983059 Support for wrap-inside CSS property 2025-08-18T13:45:57Z
1983200 browser css system colors like Canvas do not reflect dark mode settings 2025-08-18T13:41:18Z
1983285 border-radius with box-shadow and div background change causes a incorrect color line at the border 2025-08-15T20:29:21Z
1983380 Font preferences for Lao and Burmese 2025-08-16T13:37:33Z
1983539 Translation popup accessibility and usability needs to improve (remembered resizeable window, changeable font size, keyboard access) 2025-08-18T13:41:42Z
1984014 [GPU-canvas] Copy compositing failure 2025-08-20T17:44:28Z

34 Total; 34 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Understanding the Problem Space

First order of business for my transition to the Graphics team is to understand the problem space so I can understand the immediate needs of the team and make the best impact I can in the shortest amount of time.

What are the key problems/challenges facing the Graphics team in terms of quality?
  • discrepancy in environments between testers and release users
  • discoverability of bugs pre-release
  • ?...
Where can QA add value/support to the Graphics team?
  • improving pre-release discoverability of bugs
  • closing the gap between tester and release systems
  • helping with bug triage, particularly with bugs hiding in general components
  • representation in crashkill
  • improving code coverage and/or identifying gaps in code coverage
  • identifying ways to improve participation in the graphics team (events, projects, One & Done, etc)
  • documentation of tools, testing processes, etc
  • building out the lab in Toronto
  • continuing to drive Betabreakers testing every 6 weeks
  • verifying bug fixes (what does this look like)?
  • profiling areas of risk (eg. troublesome configs)
  • conducting root cause analysis for regressions
  • understanding problems outside of our control (eg. driver resets)
  • feature testing and upcoming priorities (e10s, Windows 10, El Capitain, Android, B2G, etc)
What does QA need to know to be effective?
  • key components of an actionable Graphics bug
  • fundamentals/technologies that should be learned
  • how to distinguish a graphics crash from a non-graphics crash with a graphics signature
  • meetings, mailing lists, bugzilla components to watch, blogs, IRC channels to join, etc
  • who is each member of the team (incl. contributors) and what do they do
  • where does graphics code reside in the tree?
  • what role does Unified Telemetry in graphics quality?
  • what are the prefs to enable/disable different functionalities?
  • we need a database of known-troublesome hardware/driver configurations to inform testing, hardware acquisitions, and blocklisting
Understanding the Stability
  • How do we identify a graphics crash?
    • by signature: gfx, layers, D2D, D3D, ?...
    • by topmost filename: gfx, ?...
    • by driver (DLL, version, ?...)
    • by device/vendor ID?...
    • ?...
  • How do we prioritize graphics crashes?
    • Overall topcrashes in release > beta > aurora > nightly
    • Gfx crashes in release > beta > aurora > nightly
    • Explosive crashes in release > beta > aurora > nightly
  • What tools do we have at our disposal to investigate crashes?
    • Bughunter for investigating crashes correlated to a URL
    • KaiRo's reports for identifying crashes that are new or escalating quickly
    • Socorro for getting detailed information about crash reports
  • What information is needed to make a crash actionable by developers?
    • Correlations to particular hardware, driver, add-on, 3rd-party software, or library
    • ?...
Participation
  • Sanity checking via One & Done
  • Meetups to connect testers/users with devs
  • Testdays to teach people about graphics testing
  • Documentation and translation of documentation
  • Engaging on community spaces (Discourse, Reddit, Facebook, Twitter, etc)
Telemetry
  • COMPOSITE_TIME: time in CompositorParent::CompositeToTarget dispatching draw calls and calling SwapBuffers, but not texture upload (ie. complete composition)