Bug 233127 - [GTK] Web pages too laggy
Summary: [GTK] Web pages too laggy
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-15 07:36 PST by tarch1
Modified: 2023-06-08 01:03 PDT (History)
3 users (show)

See Also:


Attachments
Report from webkit://gpu (7.96 KB, text/plain)
2021-11-15 07:40 PST, tarch1
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tarch1 2021-11-15 07:36:12 PST
Hi,
I'm running Epiphany browser that work very great in most sites but it will become unusable in those sites: youtube - generic newspaper sites (like investing.com for example)
I'm running a i5-8300h paired an nvidia 1050.
The system is Arch, linux kernel 5.14.16, with gnome-shell, mutter and relative gnome packages, I've used it with Wayland.
With one tab open on google.com uses 180 MB and webkitwebprocess uses 500 MB, resource monitor used is bpytop
App version: epiphany 41.0 - webkitgtk 2.34.1 - mutter 41.1 - gnome-shell 41.1
Hopeful this will be useful
Comment 1 tarch1 2021-11-15 07:40:06 PST
Created attachment 444253 [details]
Report from webkit://gpu
Comment 2 Michael Catanzaro 2021-11-15 07:41:08 PST
Sounds like something might be wrong with accelerated compositing mode. Does it work better if you run with WEBKIT_DISABLE_COMPOSITING_MODE=1?
Comment 3 tarch1 2021-11-15 09:21:42 PST
Not so much, abount newspaper pages work like without the option, for video is different, now the sound go regular and video lag too much that at 20 sec it show the frame of third
Comment 4 tarch1 2021-11-15 09:22:56 PST
Lauching from terminal show these error:

(WebKitWebProcess:2): Gtk-WARNING **: 18:17:37.127: Theme parsing error: gtk.css:2:123: Failed to import: Error opening file /home/tarch1/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/gtk3/buttons-right/maximized.css: No such file or directory

WebKitWebProcess:2): Gdk-WARNING **: 18:17:37.065: Settings portal not found: Could not connect: Connection refused
Comment 5 Michael Catanzaro 2021-11-15 10:55:56 PST
(In reply to tarch1 from comment #4)
> Lauching from terminal show these error:
> 
> (WebKitWebProcess:2): Gtk-WARNING **: 18:17:37.127: Theme parsing error:
> gtk.css:2:123: Failed to import: Error opening file
> /home/tarch1/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/
> gtk3/buttons-right/maximized.css: No such file or directory

Well that one's on you.

> WebKitWebProcess:2): Gdk-WARNING **: 18:17:37.065: Settings portal not
> found: Could not connect: Connection refused

That's pretty bad. Check if your portals are running:

$ systemctl --user status xdg-desktop-portal.service
$ systemctl --user status xdg-desktop-portal-gnome.service
Comment 6 tarch1 2021-11-15 15:22:30 PST
I have the gtk gnome and kde of xdg-desktop-portal but no systemd related service
Comment 7 tarch1 2021-11-15 15:25:03 PST
i don't know if its possible to run on openrc
Comment 8 Michael Catanzaro 2021-11-15 15:33:00 PST
(In reply to tarch1 from comment #7)
> i don't know if its possible to run on openrc

You are using openrc on... Arch? How do you start the desktop portals then?

Truth is that when you venture too far into unusual territory, you're going to have unusual bugs. I'm going to suggest you figure out how to run those portals in order to get rid of the settings error, then report back once you have settings working.
Comment 9 tarch1 2021-11-15 23:00:15 PST
No, sorry 
I wrote the frong distro, is Artix instead of arch.
To be honest I don't have the knowledge about portals, so I  don't know if is gnome that start it or it doesn't run at all
Comment 10 tarch1 2021-11-25 09:54:27 PST
I've found that portal, portal-gnome and portal-gtk, are launched by gdm, so maybe is another problem
Comment 11 YanVV 2022-11-06 20:54:02 PST
similar problem

nvidia gt1030 on wayland

Minibrowser consume huge cpu while scroll and any other action.

this issue reproduce in webkit2gtk-4.1 and webkit2gtk 4.0  on archlinux

and work well on webkit2gtk-5.0.

and  all of them , the hardware acceleration is proper in  webkit://gpu 

maybe it affect by gtk