-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win/Linux: Ship vk_swiftshader.dll vulkan-1.dll vk_swiftshader_icd.json for M91+ #3176
Comments
Related Chromium change: https://crrev.com/ded0a1bc46 |
|
The change was also merged to Chromium M91. |
|
From https://bugs.chromium.org/p/chromium/issues/detail?id=1060139#c77 (M92+):
I would guess the intention is to stop shipping the “swiftshader” directory, but the timeframe for that is unclear. |
Based on the logic in GetRequestedGLImplementation it should use whichever software impl is available, preferring the new angle impl by default. |
I’m inclined to wait on shipping these new files until swiftshader is deprecated/removed. If anyone will need these files sooner please explain the reason. Thanks. |
Original comment by Alex Maitland (Bitbucket: a-maitland).
Possibly an instance where this isn’t working as expected at https://magpcss.org/ceforum/viewtopic.php?f=18&t=18661 |
Thanks for the link. It may be worth a look at why the fallback logic in Chromium isn’t working. |
Original comment by Alex Maitland (Bitbucket: a-maitland). Another log file with vulkan errors at cefsharp/CefSharp#3833 (not clear yet if they are related to the issue reported). The required files appear to be generated as part of an official release build. Is there a reason to defer shipping them? |
Not really, beyond the (prior) belief that they were redundant with the swiftshader libraries. I don’t really like shipping two rather large sets of optional binaries that do mostly the same thing. Perhaps we can just stop shipping swiftshader now, instead of waiting. |
Looks like we’ll need to ship these new binaries with M94+ because some content now fails to render via software that rendered previously (circa M91). |
Original comment by Dmitry Azaraev (Bitbucket: dmitry-azaraev, GitHub: dmitry-azaraev). I’m migrated to CEF 93 and start to ship Diff below looks like enough to ship them: diff --git tools/make_distrib.py tools/make_distrib.py
index [838bc1834 (bb)](https://bitbucket.org/chromiumembedded/cef/commits/838bc1834)..a5f37a30d [100644 (bb)](https://bitbucket.org/chromiumembedded/cef/commits/100644)
--- tools/make_distrib.py
+++ tools/make_distrib.py
@@ -862,6 +862,9 @@ if platform == 'windows':
{'path': 'v8_context_snapshot.bin', 'conditional': True},
{'path': 'swiftshader\\libEGL.dll'},
{'path': 'swiftshader\\libGLESv2.dll'},
+ {'path': 'vk_swiftshader.dll'},
+ {'path': 'vk_swiftshader_icd.json'},
+ {'path': 'vulkan-1.dll'},
]
# yapf: enable
|
Distribute binaries for SwANGLE support (fixes issue #3176) Adds SwANGLE libraries that are required for software rendering on Windows → <<cset 582e0a0ab78a (bb)>> |
|
Distribute binaries for SwANGLE support (fixes issue #3176) Adds SwANGLE libraries that are required for software rendering on Windows → <<cset d6c534308b3b (bb)>> |
Distribute binaries for SwANGLE support (fixes issue #3176) Adds SwANGLE libraries that are required for software rendering on Windows → <<cset 10b22a327d96 (bb)>> |
I’ve updated the README.txt for Windows but it’s hard to verify the documented behaviors. Please report any discrepancies that are discovered. |
Legacy swiftshader binaries ( |
Update to Chromium version 102.0.4997.0 (#990845)
→ <<cset 916360e2e580 (bb)>> |
…#3176) Adds SwANGLE libraries that are required for software rendering on Windows and Linux. Updates README.txt documentation accordingly.
- Windows: SDK version 10.0.20348.0 is now required. - MacOS: SDK version 12.3 (Xcode 13.3) is now required. - Legacy swiftshader binaries (`swiftshader/*` on Win/Linux and `libswiftshader_*.dylib` on MacOS) have been removed (see issue chromiumembedded#3176).
…#3176) Adds SwANGLE libraries that are required for software rendering on Windows and Linux. Updates README.txt documentation accordingly.
…#3176) Adds SwANGLE libraries that are required for software rendering on Windows and Linux. Updates README.txt documentation accordingly.
Original report by Yonggang Luo (Bitbucket: lygstate, GitHub: lygstate).
The new version chrome have the following vulkan software render shipped
The text was updated successfully, but these errors were encountered: