Skip to content
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

Consider mutter!1441 #29

Open
validatedev opened this issue Oct 21, 2020 · 6 comments
Open

Consider mutter!1441 #29

validatedev opened this issue Oct 21, 2020 · 6 comments

Comments

@validatedev
Copy link

validatedev commented Oct 21, 2020

MR is here: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1441
That patch should improve the performance drastically with HiDPI screens with lower-powered Intel GPU's. Right now, the session is pretty laggy (20-30 fps if 3-4 window is opened maybe?).

@pp3345
Copy link
Owner

pp3345 commented Oct 22, 2020

I am watching that MR, however, it still lacks Wayland support. AFAIU, the Wayland session even hangs when applying !1441, so that's definitely a blocker. I will add it as soon as Wayland is properly supported.

@validatedev
Copy link
Author

Maybe this will be a silly question, but I wanna really try that patch, as I use X11. I cannot really found a tutorial or doc how can I compile and package as rpm. Could you show the way, or some tricks please? Thanks in advance.

@pp3345
Copy link
Owner

pp3345 commented Oct 22, 2020

Sure. git clone either this repo or Fedora's original sources, then download the PR as a diff and add a PatchXXX: line to the .spec file. Then use rpkg to build the rpm and install using dnf. I haven't tested whether there are any conflicts when applying !1441 though.

Basically, these steps:

git clone https://github.com/pp3345/gnome-with-patches
cd gnome-with-patches
git checkout f33-mutter
wget https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1441.diff
# Use your favorite text editor to add a line with Patch1000: 1441.diff near the last PatchXXX line
rpkg local

You can then find the rpms in /tmp/rpkg/mutter-XXX/x86_64/.

@validatedev
Copy link
Author

validatedev commented Oct 22, 2020

I built the packages, just include the rt one of yours because it conflicts.
Well, I can say that the patch increases fps dramatically, shell not stutters anymore. This is an absolute real speed improvement I've ever seen in mutter. It is pretty amazing!
And thanks for the instructions. Without you, I couldn't do this <3

@validatedev
Copy link
Author

Found that just !1309 conflicts !1441, made the developer notice this.

@pp3345
Copy link
Owner

pp3345 commented Oct 24, 2020

Yes, that's quite normal. That's actually the major part of the work I do in gnome-with-patches: fixing conflicts. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants