Open hexagonal-sun opened 1 year ago
Trying to navigate upstream's diff between 1.5.7 and 1.5.8 was unnecessarily difficult:
package.json
(i.e. 1.5.7
-> 1.5.8
-> 1.5.7
again) so I'm not even sure which 1.5.7
commit is the real one1.5.6
to the real 1.5.7
: https://github.com/ciderapp/Cider/compare/ee4892ce1267f61cf8d3b4ac9bc6b67e907ed107...861845b22652c01e5342f3a31444bb5f77b3b5541.5.8
is probably using Electron 19, for whatever that's worth, because...Currently nixpkgs (both 23.05 and unstable) has Cider 1.6.1 packaged, which looks to be using Electron 24. Downgrading to Electron 24 is actually one of the fixes for element-desktop (see https://github.com/NixOS/nixpkgs/issues/238416#issuecomment-1618662374), so I think this should be working now, and in my extremely brief testing on i915, it indeed works. I'd be tempted to close this as fixed because of that, but Cider 1.6.2 upgraded to Electron 25, which would likely reintroduce the problem, leading to this exact issue again.
I think the root cause of this is going to be the same as the root cause of:
As empirically discovered in https://github.com/NixOS/nixpkgs/issues/238416#issuecomment-1646373750, once Cider 1.6.2 lands in nixpkgs, your best bet is probably to run the program like this (replacing program
with the actual name of the executable in $PATH
):
env -u NIXOS_OZONE_WL program --use-gl=desktop
But also, this particular program seems to be packaged using appimage stuff which I have no knowledge of, so that may or may not further complicate things.
this can be closed, I think
Describe the bug
When starting cider, if i use the option
--ozone-platform=wayland
to get native wayland rendering, I no longer see the main screen of Cider. I know that the program is running as I see notifications pop up. If I omit the option, cider starts up as expected. This used to work with v1.5.6 but I think the upgrade to v1.5.7 (in #196751) caused this regression.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app should start with native wayland support.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Output when starting (note that I think the errors described here may be a red herring since they also appear when I omit the option):
Notify maintainers
@cigrainger
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.