Граф коммитов

102 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 21e833985f Bug 1873541 - Convert gfx blocklist entries for all features to subset excluding likely safe set. r=jrmuizel
This patch makes it so that we avoid blocking all features with the
blocklist, and instead continue to allow the safe subset proscribed by
GfxInfoBase::OnlyAllowFeatureOnKnownConfig. Any feature allowed in an
unknown configuration should be allowed in a blanket blocklist entry,
unless we know for a fact that we need to also block them.

Differential Revision: https://phabricator.services.mozilla.com/D197963
2024-01-08 21:30:06 +00:00
Andrew Osmond d6c9fd1e38 Bug 1868901. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D195888
2023-12-08 18:31:08 +00:00
Brad Werth 50b102dff8 Bug 1815481: Disable hardware WebRender on Mesa drivers in Virtual Machines. r=rmader
We classify anything with 'mesa/vmgfx' as a Virtual Machine driver and
block it for Linux.

Differential Revision: https://phabricator.services.mozilla.com/D179864
2023-06-16 20:45:22 +00:00
sotaro 805b0184b0 Bug 1802357 - Block FEATURE_HW_DECODED_VIDEO_ZERO_COPY with Intel KabyLake r=gfx-reviewers,aosmond
With Intel HD Graphics 620(KabyLake), hardware video decoding with zero video copy causes stall during destroying video MFTDecoder.

Differential Revision: https://phabricator.services.mozilla.com/D179908
2023-06-07 03:42:40 +00:00
Emilio Cobos Álvarez 46df319668 Bug 1805939 - Have a central source of truth for desktop environment detection. r=stransky,jld
Gfx blocklist doesn't actually use the desktop environment filter so
remove that functionality. We can reintroduce it in the future if we
need it.

Differential Revision: https://phabricator.services.mozilla.com/D166090
2023-01-20 11:26:11 +00:00
Andrew Osmond 53608b802f Bug 1794722 - Part 1. Remove WebRender from the GfxInfo allowlist. r=jrmuizel
WebRender is a mature feature. We should start blocking it on known bad
devices over allowlisting known good devices. This may enable WebRender
in a few more obscure places than we shipped before.

Differential Revision: https://phabricator.services.mozilla.com/D160120
2022-10-28 12:36:05 +00:00
Cristian Tuns 1303ee58d8 Backed out 3 changesets (bug 1794722) for causing multiple failures on RemoteProcessMonitor CLOSED TREE
Backed out changeset 0217af5b1aa6 (bug 1794722)
Backed out changeset d7805be9dfb3 (bug 1794722)
Backed out changeset 0093f071f1a5 (bug 1794722)
2022-10-27 20:52:36 -04:00
Andrew Osmond b01099b79d Bug 1794722 - Part 1. Remove WebRender from the GfxInfo allowlist. r=jrmuizel
WebRender is a mature feature. We should start blocking it on known bad
devices over allowlisting known good devices. This may enable WebRender
in a few more obscure places than we shipped before.

Differential Revision: https://phabricator.services.mozilla.com/D160120
2022-10-28 00:08:03 +00:00
Jamie Nicol a6a26075dc Bug 1784588 - Fix SplitDriverVersion when the string has less than 4 numbers. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D154897
2022-08-18 12:57:47 +00:00
sotaro 1af3966f37 Bug 1780138 - Let zero copy hardware decoded video to release on all GPUs on Windows r=jrmuizel,gfx-reviewers
A bug is not reported related to "zero copy hardware decoded video" on Windows. Zero video frame copy needs "reuse decoder device ". And it is already enabled on Nightly / Early Beta by Bug 1773714.

RadeonBlockNoVideoCopy is renamed to RadeonBlockZeroVideoCopy

Differential Revision: https://phabricator.services.mozilla.com/D152139
2022-07-20 03:53:30 +00:00
sotaro 89d2d9a351 Bug 1767212 - Enable avoid copying hardware decoded video on all GPU on Window on nightly r=jrmuizel,gfx-reviewers
Avoid copying hardware decoded video is already enabled on intel GPU on nightly by Bug 1763280. This bug is for enabling it on nightly on another GPUs on Windows.

Blocked drivers are from chromium's "disable_dxgi_zero_copy_video" in gpu_driver_bug_list.json

Differential Revision: https://phabricator.services.mozilla.com/D145194
2022-05-21 16:00:58 +00:00
sotaro c24f60bb9d Bug 1763280 - Enable avoid copying hardware decoded video on intel GPU on Window on nightly r=jrmuizel,gfx-reviewers
Blocked intel drivers are from chromium's "disable_dxgi_zero_copy_video" in gpu_driver_bug_list.json

Differential Revision: https://phabricator.services.mozilla.com/D143017
2022-04-07 14:38:17 +00:00
alwu 8958aa15a8 Bug 1761332 - block all Haswell devices and a certain version of intel driver for VP8 hw decoding. r=jrmuizel
This is a follow-up for bug1760464, we observed more crashes from devices which we didn't added to the block list before.

Therefore, we decided to block all Haswell GPUs for VP8 HW decoding (Intel supports that sine Broadwell) and a certain version of Intel driver.

Differential Revision: https://phabricator.services.mozilla.com/D142360
2022-03-29 20:30:23 +00:00
alwu c572486947 Bug 1760464 - block certain Intel graphic cards to prevent crashes while using Intel MFT for HW VP8 decoding. r=media-playback-reviewers,gfx-reviewers,bryce,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D141810
2022-03-23 23:29:43 +00:00
Jeff Muizelaar b2089aad42 Bug 1754219 - Move to a WebRender blocklist for Nvidia on Windows. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138150
2022-02-17 17:09:24 +00:00
Andrew Osmond 60e09748cb Bug 1755441 - Stop padding driver versions on platforms other than Windows. r=jrmuizel
Windows has different driver version semantics than other platforms. We
shouldn't pad the driver versions the same way on Linux/OSX/Android for
our blocklist rules and instead just take the numbers as given. This
really only impacted Linux since it had numerous blocklist rules which
depending on the vendor or Mesa driver versions.

Differential Revision: https://phabricator.services.mozilla.com/D138905
2022-02-16 17:19:05 +00:00
Cristian Tuns eaf42f1f14 Backed out changeset 39c7765869e9 (bug 1754219) for causing build bustages on GfxDriverInfo.cpp CLOSED TREE 2022-02-14 15:12:50 -05:00
Jeff Muizelaar f32ded62e5 Bug 1754219 - Move to a WebRender blocklist for Nvidia on Windows. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138150
2022-02-14 19:36:30 +00:00
Jeff Muizelaar 9715040b35 Bug 1740612 - Switch WebRender on Intel from allowlist to blocklist. r=aosmond
This ends up enabling hw-wr on nightly on gen6 which was left disabled
for testing sw-wr, but should otherwise have no (or at least limited)
impact.

Differential Revision: https://phabricator.services.mozilla.com/D130926
2021-11-16 20:16:08 +00:00
Lukas Bernhard add789c413 Bug 1679076 - Recognize sway as desktop environment. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D127986
2021-10-29 12:23:58 +00:00
Robert Mader b9982073c9 Bug 1731480 - Stop reporting swrast as driver, r=aosmond
`swrast` is reported as fallback software driver. This happens with
unknown sw-drivers (e.g. zink on lavapipe), but also when `glxtest`
incorrectly detects software rendering. This can be confusing and
is basically always wrong - by now it even got removed from Mesa
and for years only has been used on niche setups.

Make this more clear by using "mesa/software-unknown" instead.
No functional change beyond reporting intended here.

Differential Revision: https://phabricator.services.mozilla.com/D126052
2021-09-20 14:38:22 +00:00
Andrew Osmond 896626e75a Bug 1715560 - Remove low powered NVIDIA blocklist rule on Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D117328
2021-06-09 15:01:32 +00:00
Jeff Muizelaar 757fd965b3 Bug 1712144 - Block WebRender on Baytrail on Linux. r=aosmond
We're seeing glitching in bug 1708682 so lets block it now until upstream
figures out what's going on:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4804

Differential Revision: https://phabricator.services.mozilla.com/D115617
2021-05-20 18:52:00 +00:00
Csoregi Natalia 5464943802 Backed out changeset 34cf03d9341a (bug 1712144) for bustage on GfxInfo.cpp. CLOSED TREE 2021-05-20 21:40:01 +03:00
Jeff Muizelaar 05a10989ae Bug 1712144 - Block WebRender on Baytrail on Linux. r=aosmond
We're seeing glitching in bug 1708682 so lets block it now until upstream
figures out what's going on:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4804

Differential Revision: https://phabricator.services.mozilla.com/D115617
2021-05-20 18:00:19 +00:00
Andrew Osmond 811ef2965b Bug 1690568 - Block WebRender on Linux with Mesa r600 driver if older than 17.3.0. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D103907
2021-02-03 16:00:47 +00:00
Andrew Osmond f74165b411 Bug 1690256 - Ensure we check the driver version for gfx blocklisting in Wayland only builds. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D103771
2021-02-02 14:42:58 +00:00
Andrew Osmond 284c6aa966 Bug 1682636 - Don't allow generic blocklist rules to block SW-WR. r=jrmuizel
Since Software WebRender is the replacement for Basic compositor, we
should not allow generic blocklist rules which block all features to
block Software WebRender. This feature must work under all
configurations, including safe mode, so it doesn't make sense to allow
blocking it.

This does not however prevent rules specifically targeting SW-WR from
blocking/allowing it.

Differential Revision: https://phabricator.services.mozilla.com/D99834
2020-12-16 21:32:28 +00:00
Andrew Osmond da33064dce Bug 1679998 - Part 1. Add Apple as a GPU vendor to GfxInfo. r=jrmuizel,mstange
Differential Revision: https://phabricator.services.mozilla.com/D98310
2020-12-01 16:26:43 +00:00
Andrew Osmond d54e45522a Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 17:38:53 +00:00
Jeff Muizelaar 80315bfb0a Bug 1678408 - Rename IntelHD3000 to IntelSandyBridge. r=aosmond
By default, anything we do for one Sandy Bridge gpu
we should do for all of them. See bug 1678388 for an
example of how we screwed this up.

Differential Revision: https://phabricator.services.mozilla.com/D97649
2020-11-19 19:30:46 +00:00
Andrew Osmond 4afdd0de9f Bug 1678061 - Properly detect OSX 11.0 / 10.16 for blocklist purposes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97561
2020-11-19 17:34:25 +00:00
Andrew Osmond 02ff8b6e97 Bug 1673939 - Block WebRender for AMD R600 GPUs with Mesa drivers due to garbled text. r=jrmuizel
Note R600 refers to the GPU generation, not the r600 Mesa driver.

Differential Revision: https://phabricator.services.mozilla.com/D96115
2020-11-06 15:50:54 +00:00
Jeff Gilbert 449098b7b4 Bug 1668144 - Add blocklisting for OOP WebGL. r=mattwoodrow
* Add FEATURE_THREADSAFE_GL and FEATURE_ALLOW_WEBGL_OUT_OF_PROCESS
* Add gfxVars::AllowWebglOop()
* Blocklist THREADSAFE_GL on mesa/nouveau

Differential Revision: https://phabricator.services.mozilla.com/D91879
2020-10-01 08:14:12 +00:00
Andrew Osmond fe2bf67e1b Bug 1654271 - Ship WebRender on < OSX 10.16 and Intel Gen 6 GT2 and Gen 7 to release. r=nical
Also ship to release if the Intel driver is 21.20.16.4550 or later.

Add Intel Gen 6 GT1 (Sandybridge) and allow it to ride to early beta.

Differential Revision: https://phabricator.services.mozilla.com/D89613
2020-09-09 15:54:18 +00:00
Andrew Osmond 4a645cb26a Bug 1653464 - Improve Linux desktop and window protocol detection. r=nical
This patch adds detection for XWayland, as that is sometimes an
important distinction when debugging WebRender bugs. For all intents and
purposes, it should work the same as X11, but sometimes does not.

This patch also fixes the desktop environment detection for a few corner
cases. Budgie, in particular, claims to be a GNOME variant, which is not
correct for our purposes, and DWM wasn't detected at all.

Differential Revision: https://phabricator.services.mozilla.com/D83876
2020-07-17 09:57:25 +00:00
Jeff Muizelaar 5ec0345f23 Bug 1648587 - Rename IntelHDGraphicsToHaswell to IntelHaswell. r=aosmond
IntelHDGraphicsToHaswell currently only includes Haswell and
not older hardware like IntelHDGraphicsToIvyBridge etc.

Differential Revision: https://phabricator.services.mozilla.com/D81185
2020-06-25 20:49:50 +00:00
Jeff Muizelaar 5aa9d3df08 Bug 1641982 - Add some additional device vendors. r=aosmond
Some of the Microsoft ones aren't registered but it's probably
better for us to have something than nothing.

Differential Revision: https://phabricator.services.mozilla.com/D77532
2020-05-29 22:33:45 +00:00
Simon Giesecke 49eb05a114 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D72321
2020-04-30 09:38:38 +00:00
Botond Ballo 400b5015cc Bug 1627482 - Fix non-unified build errors in gfx/tests. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69733

--HG--
extra : moz-landing-system : lando
2020-04-05 03:50:23 +00:00
Jessie Bonisteel 7a871da043 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 19:59:43 +00:00
Andreea Pavel ffe2fa6ae0 Backed out changeset 180f1350fdd3 (bug 1615049) for build bustages at /GfxDriverInfo.cpp on a CLOSED TREE 2020-03-13 21:23:56 +02:00
Jessie Bonisteel 37e2c5ab60 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 18:35:55 +00:00
Jeff Muizelaar a091f10bb0 Bug 1615420. Disable DirectComposition on AMD and older Intel drivers on beta & release. r=aosmond
This is similar to a change that landed directly into 74. We don't want to
roll-out to these users yet and we don't want to have to think about it every
release.

Differential Revision: https://phabricator.services.mozilla.com/D66453

--HG--
extra : moz-landing-system : lando
2020-03-13 15:43:46 +00:00
Andrew Osmond 7322e0dfc4 Bug 1618326 - Remove/replace AMD with ATI in our blocklist rules. r=jrmuizel
AMD does not release any graphics cards under the vendor ID 0x1022. That
appears to be reserved for their non-graphics hardware. Instead they
have chosen to continue releasing graphics hardware under the ATI vendor
ID 0x1002. This patch removes all of the AMD ID rules and replaces them,
if applicable, with ATI ID rules. This has meant that sometimes we
failed to block things in the past that we expected to.

Differential Revision: https://phabricator.services.mozilla.com/D64443

--HG--
extra : moz-landing-system : lando
2020-02-27 15:39:12 +00:00
Andrew Osmond db39fa490d Bug 1614798 - Refactor the blocklist rules to hide more of the boilerplate. r=jrmuizel
We would like to get to a world where we compare/store enums instead of
strings, and this is a step towards.

Differential Revision: https://phabricator.services.mozilla.com/D62503

--HG--
extra : moz-landing-system : lando
2020-02-13 22:39:10 +00:00
Andrew Osmond b96a8b6503 Bug 1614376 - Part 3. Add support for device ID ranges in blocklist rules. r=jrmuizel
Currently the blocklist can block groups of devices, called a
DeviceFamily. However this only allows us to check specific IDs and not
ranges of device IDs like we do currently for the WebRender allowlist.
This patch allows a device family to now specify start and end values
for device IDs we want to match in the blocklist rule.

Differential Revision: https://phabricator.services.mozilla.com/D62324

--HG--
extra : moz-landing-system : lando
2020-02-13 15:51:40 +00:00
Andrew Osmond cbd1d387e2 Bug 1614376 - Part 2. Add blocklist support for battery/screen size filters. r=jrmuizel
As part of the WebRender rollout, we have been only allowing users
meeting particular platform, battery and screen size requirements (among
others) to get WebRender by default. This patch adds support for battery
and screen size filters in the blocklist rules to allow us to control
that more easily. It also adds kludgey support for checking for recent
Windows 10 build numbers for allowlist purposes; implementing this the
proper way would require an implementation like driver version checks,
which are much more complicated than most of the rules.

Differential Revision: https://phabricator.services.mozilla.com/D62323

--HG--
extra : moz-landing-system : lando
2020-02-13 15:51:32 +00:00
Csoregi Natalia 743b1f8b4b Backed out 3 changesets (bug 1614376) for assertion failures on GfxInfoBase.cpp. CLOSED TREE
Backed out changeset b239f4b49722 (bug 1614376)
Backed out changeset c5ac550f4966 (bug 1614376)
Backed out changeset e11c62eba5f1 (bug 1614376)
2020-02-13 14:35:26 +02:00
Andrew Osmond 6a274e995e Bug 1614376 - Part 3. Add support for device ID ranges in blocklist rules. r=jrmuizel
Currently the blocklist can block groups of devices, called a
DeviceFamily. However this only allows us to check specific IDs and not
ranges of device IDs like we do currently for the WebRender allowlist.
This patch allows a device family to now specify start and end values
for device IDs we want to match in the blocklist rule.

Differential Revision: https://phabricator.services.mozilla.com/D62324

--HG--
extra : moz-landing-system : lando
2020-02-11 22:36:41 +00:00