-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
wayland/core: move to new impl #6268
Conversation
73f828b
to
dc9fe87
Compare
Maybe add cpp modules? |
no |
d56e433
to
f6c8126
Compare
Hey Vaxry, feel free to do whatever you like but is there a reason for the frequent force pushes on these large PR's? I love force pushes as much as the next guy but it makes it very hard to bisect for a bug when there is no commit history and its a 5000 line pr? I've been trying to fix #6159 for a few days now and some sort of commit history on this wlroots rewrite pr (which was where gamescope broke) would help so much. Reflogs last in git for 90 days by default, is there any chance you could zip/tar your .git/logs folder so that I have something to bisect through to figure out what caused the issue? Thanks for your hard work Vaxry! This issue has just been really bothering me for the last week and I really wanna get it fixed. |
the reason is I rebase instead of squash when merging for these and thus want to keep commits to a few
I don't have access to my desktop rn. You can always manually click on a few commits and g reset --hard. They are not gone |
53f4253
to
0e60c96
Compare
If anyone wants to help, you can already test this MR, most stuff should work (outside of the unticked bugs above) with firefox, it would be nice if someone could find what differs in the WAYLAND_DEBUG output between hyprland main (or sway) and this rewrite. I can't seem to get kdiff to work on my laptop and doing it by eye is painful if any other bugs arose from this MR, let me know, I'll try to repro and fix. |
hyprwayland-scanner-git needed |
|
ah uh oops heh you can remove that include. I'll nuke it when I am on my laptop |
Aside from firefox not showing anything, wofi crashes for me after typing two letters. It also shows this warning right before the crash:
Here's the coredump info (not sure whether that helps though): wofi-coredump.txt Also, it currently doesn't build for me with meson, probably because of the missing quote there: |
lmfao oops |
I'll merge this, if it still happens open up a ticket with an ASan trace. |
Thanks everyone! |
heh on drm and release I also get the viewporter bug. Not on nested. I love programming |
uhhh... I think there is something wrong with handling the buffers now that I am running it for a bit longer... :( I've launched minecraft and I am getting nvidia experience'd with black flashing |
|
20240608_124531.mp4 |
okay nvm, ran the wrong build, maybe it has something to do with glfw? both mc and kitty use that IIRC |
it could - but it still happens only here me rn reeeeee.mp4 |
launched cs2, (SDL on X11) and no flickers are to be seen |
what else uses glfw so I can do some testing? |
i am also struggling to find good examples. basically everything made with lwjgl would be, but i don't have any other such games besides minecraft I tried to run the official glfw examples (in their repo), and don't see any issue with them, but i also don't know whether they use all the features a normal program/game would |
likely an issue with the interaction with glfw with the EGL mode as a backend, so kitty and minecraft fall into the category as they both use opengl |
I think the issues with minecraft might be caused due to it running through xwayland. If i run the same version on native wayland (by using system glfw with I tested with as vanilla a game as possible, so I'm using the official launcher (and bundled jre), with vanilla 1.20.4. My system glfw is that from the arch repos. Testing still has been a bit flakey with it sometimes refusing to start after adding the flag, but rebooting fixed most of that (a full reboot is probably not necessary, but I don't know where the issue is there) However, it working through xwayland should still be supported because i think older versions require other versions of glfw which may not have a wayland patch. |
it still is a regression from this MR, so I would guess I did some no-no with implicit sync somewhere. |
yes, but that probably means that the issue isn't glfw but something else in the case of mc if I am not mistaken |
chromium stretching popups fixed on main |
nhekobug.mp4@VirtCode you seein this shit too on intel? that's nheko |
doesn't seem to happen for me neither on wayland nor xwayland |
I have a patch ready. I'll just do some more testing |
FIXED! 9994b73 |
9994b73 also fixed the default |
It's the final countdown!
This MR moves the last parts of wayland over to Hyprland. After this is done, I'll focus on some cleanups for 1-2 weeks, then get onto the last bits of wlroots to be rewritten (backend)
TODO:
Bugs: