-
Notifications
You must be signed in to change notification settings - Fork 79
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
Panic - missing wl_subcompositor #210
Comments
In the alacritty issue, I assume by qxdisplay you are referring to this: https://github.com/sailfish-containers/qxdisplay |
yes |
Could you run Based on the alacritty issue I think might be an issue with qxdisplay, that command should reveal some more information about the situation we have here. |
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
Command not found... Also no pkg by that name in repos... I did see a Gitlab source for it. I could try building if helpful ...
|
Well that does show the environment is set, which is expected because alacritty did not fail to create the event loop. The output of It might be under some meta package, |
weston-info output: interface: 'wl_compositor', version: 3, name: 1 |
Looking at the qt compositor reference, you might have to take things into your own hands: https://doc.qt.io/qt-5/qtwayland-compositor-qmlmodule.html There isn't any Now why does sctk and by proxy winit and alacritty need the subcompositor? sctk uses the subcompositor to draw it's fallback decorations if server side decorations are not present. We don't currently have an option to turn that requirement off. Not sure if @vberger would want to add another fallback to just not draw the frame if there is no sub-compositor. That is something that would need to go up the chain for winit and there alacritty to update for if it is done. |
I'd like to point that |
Any way to edit source to disable whatever requirement it's looking for? I have attempted to edit environment.rs line 183 (where the panic is called), but not knowledgeable enough, plus I don't think removing the panic will necessarily make it work, or...? |
@vberger - here is reply from qxcompositor dev - elros34/qxcompositor#2 Anything useful there, as far as maybe making it work? |
Well, if you want to remove the requirement for subsurfaces, you're going to need to significantly change the That'll mean that unless your compositor provides server-side decorations, alacritty build using such a modified SCTK will be undecorated, which may be a problem depending on your environment. |
For completeness In |
Does gamescope provide decorations in that case? |
Where would it provide those decorations - outside of the physical screen where they're invisible? |
More specifically if gamescope isn't fullscreened, does gamescope provide decorations to the host compositor on behalf of the window it is wrapping? |
I am not aware of it providing window borders or forwarding borders of the nested application (via |
Anybody here have any thoughts about this - alacritty/alacritty#5709
Thanks
Maybe some way to export wl_subcompositor or run with --wl_subcompositor= or...?
The text was updated successfully, but these errors were encountered: