-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
can't use wayland flags anymore #849
Comments
I am getting the same error. Launches perfectly fine without those flags, though. Tested these flags with other electron apps and got the same crash. So maybe it's a bug in electron? Full Log
|
Visual Studio Code seems to have the same issue: microsoft/vscode#129280 |
seems like it was due to a fork of freetype2 I was using, restored it to official package and its working. |
May also be caused by this Chromium bug. This issue is also found in this wlroots bug, which could explain, that the issue only seemed to be found on sway. The crash is most likely caused by:
A quick fix in sway's wlroots may have fixed this. |
yeah, its possible too. Tried updating my system before this as well. |
Just tested both sway (1.6.1) and sway-borders-git (r6845.08df7f7a-1) on Arch and the issue only appears on sway-borders-git. |
and it's here again, seems like a regression in latest wlroots master |
Same here on sway-git under Arch, didn't find any workaround yet. |
Let's keep it opened since the issue haven't been really fixed. So other users can find it more easily. |
its a chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=1246834 |
FTR, the issue is now fixed in Chromium's trunk, and shipping in version 97.0.4682.3 (dev channel) and in the next 96 spin (beta channel) to be published this week. Thanks for reporting. |
This issue has returned as of version:
No flags work, actually. They all report some variation of EDIT: This Arch package bug report for Electron could be related. |
It seems it is not related to the Arch bug report (fix arrived yesterday). I still have the bug after updating electron13. |
The issue was fixed in electron 13.6.9 but VSCode (as of 1.65) uses 13.5.2 for packaging. This can be resolved by bumping the electron target defined in .yarnrc and package.json. I have managed to run the wayland flags with custom prepare step of arch's vscodium 1.65.0-1 PKGBUILD, it's not perfect but it should work while waiting for migration to higher electron target. prepare() {
cd 'vscodium'
rm -rf 'vscode'
mv '../vscode' 'vscode'
cd 'vscode'
cat > .yarnrc << EOF
disturl "https://electronjs.org/headers"
target "13.6.9"
runtime "electron"
build_from_source "true"
EOF
npx -y add-dependencies [email protected]
npx -y add-dependencies --dev [email protected]
# it will fail if your node version is NOT >=14.17.4 and <17
# script later uses nvm, this is just workaround
yarn install --mode update-lockfile
} |
awesome, any clue on how long the adaptation of new version takes ? |
The migration was already done but it seems they reverted it. The migration is planned in March 2022 iteration, basing by what they say it is expected to ship early april. |
i'm still getting this error with: [ ~]$ codium --version
1.66.0
e18005f0f1b33c29e81d732535d8c0e47cafb0b5
x64
[ ~]$ codium --enable-features=UseOzonePlatform --ozone-platform=wayland
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium.
[ ~]$ |
@bugrasan You can workaround this issue with this until electron version gets bumped: |
I got the same error as bugrasan, tried your command and got
only XWayland seems to be working |
JFYI, v1.66.0 is using electron v17.2.0. The next release might use v17.3.0. |
The wayland flags still need to be used to enable wayland, but the error still comes up:
|
On Arch/sway, Electron 14.0.1-1
Happening with both vscodium 1.60.1-2 and vscodium-bin-1.60.1-3
recently, everytime I launch
codium --enable-features=UseOzonePlatform --ozone-platform=wayland
app is crashing withWarning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium
full log with
codium --verbose --log=TRACE --enable-features=UseOzonePlatform --ozone-platform=wayland
https://gist.github.com/kushraj/b8793aee0881c078e5974cd81b253038
The text was updated successfully, but these errors were encountered: