[Bug 153111] Terrible performance when scrolling on Wayland

2024-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #15 from M. Knepper  ---
Interesting. I'm really thinking it's resolution dependent. The higher your
resolution, the more CPU scrolling consumes.

I did record a video of this problem happening here.

VIDEO OF BUG IN ACTION: https://www.youtube.com/watch?v=EXyMSzOVsds

Keep an eye on the "CPU %" in HTOP.

Some notes: It doesn't seem to matter if there are 200 pages or 50 pages. Linux
kernel and AMD drivers (at least as of distros from the past several years) do
not seem to make a difference. The issue exists on Xorg AND Wayland. The issue
exists on Libreoffice 7.6+ as far as I've tested, and lastly, distro doesn't
seem to matter.

This doesn't seem to happen in other word processors. Word will only use 3% -
5% of my CPU when I'm scrolling, even with a document bigger than what's in
LibreOffice.

The issue is reproduceable on Windows 11 Pro, at least for me.

Hardware:
13700k
7900xt
32gb DDR5
2tb SSD NVME

Software/OS:
Fedora 40
Linux 6.8x
LibreOffice 24.2.3.2
hTOP
Gnome 46
Gnome-Terminal
GPU drivers, VCL version, GTK version, etc, etc - whatever is on Fedora 40 as
of this video.

Confirmed My Testing With:
2700x
RX 580 8gb
16gb DDR4
1tb SSD SATA
Linux 5.x
LibreOffice 7.6+

Additional Notes: This seems to happen regardless of using gtk, qt, whether
it's on Xorg, Wayland, a Debian distro, an Arch distro, etc. I've been able to
confirm on different hardware and since version 7.6+ of LibreOffice.

I tested it on 15k words to 50k words, 30 pages to 72 pages - it has high CPU
usage either way.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2024-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #14 from Jeff Fortin Tam  ---
Testing with 4K: not on that particular computer no, but I did test and
reproduce another scrolling performance issue with Intel graphics on a 4K
monitor in bug #154602 from which I was able to record a profile; that one made
it easier to reproduce by providing a sample test file to trigger the slowness
on the GTK version.

That said, I've only been able to test the GTK version (provided by Fedora or
flathub) so I doubt I'd be able to easily test the KDE/KF5 version. Even
without closely monitoring CPU usage, I usually notice non-smooth UI graphics
in general.

However, since this was marked as a duplicate of #152911 in the meantime, I'm
not sure how relevant it is to profile here rather than there, and I see
#152911 has a sample and profiles already...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2024-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #13 from M. Knepper  ---
(In reply to Jeff Fortin Tam from comment #11)
> Presuming this happens with some document types more than others, and that
> it still happens for you in 24.2, do you have a "particularly bad" document
> sample you could provide here that would make it easy for someone like me to
> test and profile this? Because so far I'm unable to reproduce this with open
> source AMD graphics with:
> 
> Version: 24.2.1.2 (X86_64) / LibreOffice Community
> Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
> CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3
> Flatpak
> Calc: threaded

Are you using a 4k resolution? And are you monitoring CPU usage while
scrolling?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2024-04-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|NEW |RESOLVED
   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=15 |
   |2911|
 Resolution|--- |DUPLICATE

--- Comment #12 from Buovjaga  ---


*** This bug has been marked as a duplicate of bug 152911 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2024-04-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   Keywords||perf
 Blocks||146014


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=146014
[Bug 146014] [META] Poor Scrolling Performance
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #11 from Jeff Fortin Tam  ---
Presuming this happens with some document types more than others, and that it
still happens for you in 24.2, do you have a "particularly bad" document sample
you could provide here that would make it easy for someone like me to test and
profile this? Because so far I'm unable to reproduce this with open source AMD
graphics with:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3
Flatpak
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2023-12-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #10 from Michael Weghorn  ---
The discussion in
https://gerrit.libreoffice.org/c/core/+/161184/comments/48b136e2_b406d494 may
(or may not) be relevant here:

Patricky Luby wrote:
> I did see lagging scrollbar thumb drawing in tdf#155266. Those I had to fix in
> the macOS native event dispatch code by adding more SalFrame::Flush() calls
> after handling a left mouse drag or scrollwheel events. Maybe a similar lack 
> of
> flushing is occurring with Wayland on Linux and/or Windows?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2023-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #9 from linus.kard...@gmail.com ---
Version: 7.6.3.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+wayland)
Locale: sv-SE (sv_SE.UTF-8); UI: sv-SE
Calc: threaded

I'm on a 1920x1080 screen, with Calc maximized. Turning off spell check does
not seem to help.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2023-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #8 from Stéphane Guillou (stragu) 
 ---
(In reply to linus.kardell from comment #2)
> I can reproduce the issue regardless of whether scaling is enabled or
> disabled.

(In reply to Corentin Fleury from comment #3)
> I can also reproduce this bug in writer and it is very annoying as the
> larger the documents gets, the more laggy the scroll becomes.

Linus and Corentin:
- What size displays are you using?
- Does turning off Automatic Spell Checking have any impact?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 153111] Terrible performance when scrolling on Wayland

2023-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #7 from Stéphane Guillou (stragu) 
 ---
(In reply to M. Knepper from comment #6)
Please also share the information copied from Help > About LibreOffice, as it
tells us which VCL plugin you are using, which seems to matter with this issue.
Which desktop environment do you use? How are you using MS Word on Fedora?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #6 from M. Knepper  ---
(In reply to Stéphane Guillou (stragu) from comment #5)
> (In reply to jake.m.knepper from comment #4)
> > I can reproduce this, as well. It's especially worse at larger resolutions.
> 
> Jake, can you please also paste here the information copied from Help >
> About LibreOffice?
> 
> All: did this start in version 7.4? Are you able to test earlier versions to
> let us know if this is a regression?
> https://downloadarchive.documentfoundation.org/libreoffice/old/

I am so sorry that I am just now seeing this.

To update: this problem still exists on Fedora 38 and the Fedora 39 beta.


I've updated my hardware, too. Right now I have a 13700k, 32GB DDR5 7200mhz
ram, and an RX 7900 XT. 

To replicate, all you need is a 4k monitor.

1. Makes sure your resolution is set to 4k (3840x2160).
2. Open LibreOffice writer.
3. Open a multi-page document of any kind.
4. Begin scrolling.
5. Observe a 50% usage of one or two CPU cores and laggy, choppy performance.

This does not happen on Microsoft word - when scrolling on MS Word, the the CPU
usage (as well as GPU usage) stays around 3% tops on any given core. It's also
not laggy at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Telesto  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||4602

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Blocks||102495, 100156
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #5 from Stéphane Guillou (stragu) 
 ---
(In reply to jake.m.knepper from comment #4)
> I can reproduce this, as well. It's especially worse at larger resolutions.

Jake, can you please also paste here the information copied from Help > About
LibreOffice?

All: did this start in version 7.4? Are you able to test earlier versions to
let us know if this is a regression?
https://downloadarchive.documentfoundation.org/libreoffice/old/


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=100156
[Bug 100156] [META] Wayland-related bugs
https://bugs.documentfoundation.org/show_bug.cgi?id=102495
[Bug 102495] [META] KDE VCL backend bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-05-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #4 from jake.m.knep...@gmail.com ---
(In reply to linus.kardell from comment #2)
> Version: 7.4.3.2 / LibreOffice Community
> Build ID: 40(Build:2)
> CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
> Locale: sv-SE (sv_SE.UTF-8); UI: sv-SE
> Calc: threaded
> 
> I can reproduce the issue regardless of whether scaling is enabled or
> disabled.

I can reproduce this, as well. It's especially worse at larger resolutions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

--- Comment #3 from Corentin Fleury  ---
Version: 7.4.6.2
Build ID: 40(Build:2)
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

I can also reproduce this bug in writer and it is very annoying as the larger
the documents gets, the more laggy the scroll becomes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

linus.kard...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #2 from linus.kard...@gmail.com ---
Version: 7.4.3.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
Locale: sv-SE (sv_SE.UTF-8); UI: sv-SE
Calc: threaded

I can reproduce the issue regardless of whether scaling is enabled or disabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-01-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from Stéphane Guillou (stragu) 
 ---
Thanks Linus.
Do you use some scaling or High DPI setting for your OS/DE display settings?

Please also paste here the info copied from Help > About LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153111] Terrible performance when scrolling on Wayland

2023-01-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153111

Telesto  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||2911

-- 
You are receiving this mail because:
You are the assignee for the bug.