[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Buovjaga  changed:

   What|Removed |Added

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

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

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

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Michael Weghorn  changed:

   What|Removed |Added

 CC||tue...@rambler.ru

--- Comment #47 from Michael Weghorn  ---
*** Bug 163804 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #46 from ppaanncchhoo...@gmail.com ---
(In reply to ppaanncchhoo507 from comment #44)
> (In reply to ppaanncchhoo507 from comment #43)
> > Doing some testing on ubuntu 24.04 and 24.10 under plasma 5.27 and plasma
> > 6.1 respectively the issue is not present on wayland! scrolling may not be
> > very smooth but it is consistently usable, on documents without images
> > tested up to 97 pages. Maybe it seems to only affect RPM based distros like
> > Fedora and openSUSE.
> 
> When testing under ubuntu 24.04 the VCL was gtk3 and on ubuntu 24.10 the VCL
> was x11. Although here: https://bugs.kde.org/show_bug.cgi?id=494299 the VCL
> doesn't seem to matter. Given that it doesn't happen on ubuntu it's maybe
> distro specific

It doesn't seem to matter on Fedora 40, sorry

i spoke too soon.  first i have never installed kubuntu i first installed
ubuntu and then the latest kde plasma on it from the ubuntu repos. anyways in
ubuntu 24.04 the VCL does matter when using the latest packages from
libreoffice. when testing packages from libreoffice i have always used the
latest stable packages. when i use them in ubuntu 24.04 if i run libreoffice
writer by running 

"SAL_USE_VCLPLUGIN=gtk3 ./opt/libreoffice24.8/program/soffice --writer" in the
terminal the issue is not present and when i run 

"SAL_USE_VCLPLUGIN=kf5 ./opt/libreoffice24.8/program/soffice --writer" in the
terminal the issue is present(In reply to ppaanncchhoo507 from comment #39)



> With the latest update to the COSMIC DE, it seems LibreOffice now runs on
> that DE as poorly as it does on KDE plasma 6.2. Now the only de I know that
> runs LibreOffice well is GNOME 46. It doesn't matter if you run in the
> terminal "SAL_USE_VCLPLUGIN=gtk3 libreoffice --writer" or
> "SAL_USE_VCLPLUGIN=kf6 libreoffice --writer" to run LibreOffice
this was run on Fedora 40.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #45 from ppaanncchhoo...@gmail.com ---
(In reply to ppaanncchhoo507 from comment #44)
> (In reply to ppaanncchhoo507 from comment #43)
> > Doing some testing on ubuntu 24.04 and 24.10 under plasma 5.27 and plasma
> > 6.1 respectively the issue is not present on wayland! scrolling may not be
> > very smooth but it is consistently usable, on documents without images
> > tested up to 97 pages. Maybe it seems to only affect RPM based distros like
> > Fedora and openSUSE.
> 
> When testing under ubuntu 24.04 the VCL was gtk3 and on ubuntu 24.10 the VCL
> was x11. Although here: https://bugs.kde.org/show_bug.cgi?id=494299 the VCL
> doesn't seem to matter. Given that it doesn't happen on ubuntu it's maybe
> distro specific

i tested it with the latest packages from ubuntu. testing it with the latest
packages from the libreoffice website the problem is present again. maybe the
patches applied by ubuntu could be upstreamed?

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #44 from ppaanncchhoo...@gmail.com ---
(In reply to ppaanncchhoo507 from comment #43)
> Doing some testing on ubuntu 24.04 and 24.10 under plasma 5.27 and plasma
> 6.1 respectively the issue is not present on wayland! scrolling may not be
> very smooth but it is consistently usable, on documents without images
> tested up to 97 pages. Maybe it seems to only affect RPM based distros like
> Fedora and openSUSE.

When testing under ubuntu 24.04 the VCL was gtk3 and on ubuntu 24.10 the VCL
was x11. Although here: https://bugs.kde.org/show_bug.cgi?id=494299 the VCL
doesn't seem to matter. Given that it doesn't happen on ubuntu it's maybe
distro specific

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #43 from ppaanncchhoo...@gmail.com ---
Doing some testing on ubuntu 24.04 and 24.10 under plasma 5.27 and plasma 6.1
respectively the issue is not present on wayland! scrolling may not be very
smooth but it is consistently usable, on documents without images tested up to
97 pages. Maybe it seems to only affect RPM based distros like Fedora and
openSUSE.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-11-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   Priority|medium  |high

--- Comment #42 from Stéphane Guillou (stragu) 
 ---
6 duplicates now, let's increase the importance.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-10-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #40 from miafr...@duck.com ---
(In reply to Mahendra Tallur from comment #38)
> QT_QPA_PLATFORM=xcb libreoffice while in KDE Plasma (QT) or GDK_BACKEND=x11
> libreoffice while in GNOME (GTK). Each .desktop file can be edited to
> permanently apply the change until a fix is found.

I am now using that, thank you for relaying that. I am also finding typing more
responsive (lower delay) through XWayland, although I didn't realise it was
slow in Wayland until I switched.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-10-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #41 from miafr...@duck.com ---
(In reply to miafr30m from comment #40)
> (In reply to Mahendra Tallur from comment #38)
> > QT_QPA_PLATFORM=xcb libreoffice while in KDE Plasma (QT) or GDK_BACKEND=x11
> > libreoffice while in GNOME (GTK). Each .desktop file can be edited to
> > permanently apply the change until a fix is found.
> 
> I am now using that, thank you for relaying that. I am also finding typing
> more responsive (lower delay) through XWayland, although I didn't realise it
> was slow in Wayland until I switched.

I spoke too soon. Scrolling is MUCH better in XWayland but still pretty laggy,
and ignoring fast scroll inputs.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-10-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #39 from ppaanncchhoo...@gmail.com ---
With the latest update to the COSMIC DE, it seems LibreOffice now runs on that
DE as poorly as it does on KDE plasma 6.2. Now the only de I know that runs
LibreOffice well is GNOME 46. It doesn't matter if you run in the terminal
"SAL_USE_VCLPLUGIN=gtk3 libreoffice --writer" or
"SAL_USE_VCLPLUGIN=kf6 libreoffice --writer" to run LibreOffice

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-10-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #38 from Mahendra Tallur  ---
Hi ! I found a workaround on the ArchLinux wiki ; I paste the relevant entry
below :

"KDE Plasma/GNOME + Wayland with or without fractional scaling results in
terrible lag when scrolling

Users of KDE Plasma 6 and 5 and some users testing with GNOME have reported
issues of terrible lag while scrolling through documents as reported in [6].
Running LibreOffice through X11 can solve the issue (There are reports that the
issue is not resolved in GNOME when using the GTK3 backend). This can be done
individually by the setting the environment variable QT_QPA_PLATFORM=xcb
libreoffice while in KDE Plasma (QT) or GDK_BACKEND=x11 libreoffice while in
GNOME (GTK). Each .desktop file can be edited to permanently apply the change
until a fix is found. Users can also switch back to X11 to mediate the issue. "

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-10-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #37 from ppaanncchhoo...@gmail.com ---
Reported bug at https://bugs.kde.org/show_bug.cgi?id=494299 seems to be a KDE
plasma issue.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #36 from miafr...@duck.com ---
(In reply to robby.engelmann from comment #35)
> tested with
> >VCL_DOUBLEBUFFERING_FORCE_ENABLE=1 libreoffice
> I do not see any difference here.

Me too, no luck.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #35 from robby.engelm...@r-engelmann.de ---
tested with
>VCL_DOUBLEBUFFERING_FORCE_ENABLE=1 libreoffice
I do not see any difference here.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #34 from prasol...@gmail.com ---
Seems like setting VCL_DOUBLEBUFFERING_FORCE_ENABLE=1 mostly fixes this

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #33 from Gauthier  ---
Same here on fedora 40 kde (plasma 6.1, wayland), but it was also the case with
KDE Neon ages ago as reported above.

However today something interesting happened.

I realised that by tiling a doc on only half the screen, the scrolling got
smoother, and got slower again when putting the doc back into full screen. Just
saying in case that helps with finding out where the issue might come from.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #32 from ppaanncchhoo...@gmail.com ---
Or at least it seems to be that way on Fedora 40,

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #31 from ppaanncchhoo...@gmail.com ---
LibreOffice works fine under Wayland if it runs on GNOME. It lags when
scrolling on KDE plasma 6.1 under Wayland.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #30 from Rafael Lima  ---
Just an observation... today I was testing LibreOffice under Cosmic using the
kf6 VCL and Wayland to see if LO was working fine (I'm on Fedora 40).

One thing I noticed is that scrolling documents is a lot faster on Cosmic. Some
documents that struggle under Plasma 6 Wayland scroll quite smoothly under
Cosmic.

This suggests that maybe this is a Kwin issue.

Also, Cosmic does not theme LibreOffice quite well at the moment... When using
dark mode in Cosmic, launching LO with kf6 will result in light colors.
Anyways, this is a topic for a ticket at the Cosmic repo.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Michael Weghorn  changed:

   What|Removed |Added

 Blocks||145734


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=145734
[Bug 145734] [META] Qt6/KF6 VCL plugin bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

Michael Weghorn  changed:

   What|Removed |Added

 CC||pasta-grandpa-l...@duck.com

--- Comment #29 from Michael Weghorn  ---
*** Bug 162817 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-09-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #28 from nethshanpe...@gmail.com ---
I can confirm this on Fedora Workstation 40 all packages updated.
DE: GNOME 46.4
Both the Fedora RPM and the Flatpak version are affected. 

Heres the flatpak details: 
Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

Dont have the version info of the RPM version as I deleted that and am
defaulting to the flatpak.

Regardless of fractional scaling or not, in Wayland, this happens. Previously I
had a KDE install and there it worked fine IF xwayland was forced via
QT_QPA_PLATFORM=xcb with the kf6 backend. In GNOME however, even with the
GDK_BACKEND=x11 using the gtk3 backend, scrolling is still laggy.

The other backend i tried was x11 using SAL_USE_VCLPLUGIN=gen and that worked
although LO does not recognize the system theme and has an outdated windows 98
look. However, here the scrolling was much better.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

Buovjaga  changed:

   What|Removed |Added

 CC||munzirt...@gmail.com

--- Comment #27 from Buovjaga  ---
*** Bug 162356 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #26 from robby.engelm...@r-engelmann.de ---
I can also confirm this bug is still present here:

LO: 24.8.0.3 (x86_64) / Libreoffice Community
VCL: kf6 (cairo + wayland)

Operating System: openSUSE Tumbleweed 20240823
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)

It is a longstanding issue here and I would really like to see it fixed.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #25 from oirnoir  ---
I can reproduce every part of this bug on my system as well. It's very
annoying, hopefully it gets fixed soon.

My system:
DE: Plasma 6.1.4
OS: Fedora 40 x86_64
Kernel: Linux 6.9.12-200.fc40.x86_64 (I'm not on 6.10 due to a separate issue)
WM: KWin (Wayland)
CPU: Intel Core Ultra 7 155H (22) @ 4.80 GHz
GPU: Intel Graphics @ 2.25 GHz [Integrated]
LibreOffice: 24.2.5.2, kf6

I notice that when scrolling, one of my threads has very high usage while all
others have very low usage. I experience considerable lag when scrolling
through any Writer document.

As in Comment 13, Running LO with QT_QPA_PLATFORM=xcb fixes the lag issues,
although it messes with the application's display scaling.

As in Comment 23, it appears to be a window size issue to me. I usually use
150% display scaling. Setting my display scaling to 100% makes the lag slightly
better, but it is still very present.

I have been able to get OpenCL working on my system, to test the theory of
Comment 23. Sadly, this does not seem to affect the issue at all for me, as do
any of the other graphical settings in LibreOffice itself. Smooth scrolling is
disabled, as it makes the problem worse when enabled.

I hope some of this information helps and look forward to any other
contributions I can make to resolve this issue.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

Michael Weghorn  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org

--- Comment #24 from Michael Weghorn  ---
*** Bug 162585 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #23 from miafr...@duck.com ---
I have this issue in Plasma 6, Wayland, NixOS Unstable 24.11 (all up to date),
Intel UHD graphics. 

LO Version Info:
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+wayland)
Calc: threaded

It is not a fractional scaling issue, it is a window size issue – scaling may
make it worse but it happens regardless. A larger window means more lag, but at
least for me some lag is still present even on a small window, single monitor,
it just doesn't make scrolling unusable like it does on a larger window size.
The size of the document also makes no difference to me; I get the same lag on
an empty document as a 30 page one filled with text.

Lag does not affect moving between pages by moving the cursor, including pg
up/dn, only scrolling using scroll wheel on mouse or two finger scroll on
trackpad, 
or scrolling by dragging scroll bar. I can't really tell for sure if middle
click scrolling is the same, it seems like it is just scrolling very slow even
when it should be scrolling at speed.

I have tried the GTK version of LibreOffice and had the same issue (in Plasma
6).

I wonder if enabling OpenCL would fix this, but I have never been able to get
LO to use OpenCL despite other apps (e.g. DaVinci Resolve) being able to use it
just fine and clinfo saying I have two OpenCL platforms installed. I have
installed every driver related to OpenGL or OpenCL I could find. This page
https://ask.libreoffice.org/t/unable-to-activate-opencl/45714/6 suggests the
driver(s) may not be whitelisted properly? I didn't understand most of this.

Final note: 
Fractional scaling is not good regardless of this particular issue. Based
purely on how the font rendering looks, fractionally scaled windows *seem* to
be downscaled from a higher integer scaled resolution. This is a separate issue
that should be fixed, but it to me explains why fractional scaling makes this
worse in the same way increasing the window size does, because using fractional
scaling is analogous to increasing the window size (then downscaling).

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

2024-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152911

--- Comment #22 from robby.engelm...@r-engelmann.de ---
I suffer from the very same issue. My system:
Operating System: openSUSE Tumbleweed 20240607
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)

I use fractional scaling and it appears no matter whether using qt5 or qt6 VCL,
GTK/GNOME VCL appears to be fine here.

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #21 from M. Knepper  ---
(In reply to Jeff Fortin Tam from comment #20)
> Just some wild "what if?..." guessing based on what M. Knepper's video in
> comment #19 about the high CPU usage in htop while scrolling a wall of
> text...
> 
> * Let's say you grab a 4K screen, but do not set the display scaling to 2x
> HiDPI, just use it at its "native panel resolution", and size the
> libreoffice window at various sizes (ex: a quarter of the screen, half of
> the screen, full size of the screen, etc., do you still see this happening,
> and do you see differences in the percentage of CPU used in each case?
> 
> * Could Cairo be the bottleneck? I see we're all running the Cairo version
> of LibreOffice, not Skia: as far as I know, Cairo is all CPU rendering,
> whereas Skia renders everything (I think?) on the GPU and should be an order
> of magnitude faster as a result. Maybe you could try running the Skia
> version (using the trick in
> https://github.com/flathub/org.libreoffice.LibreOffice/issues/
> 213#issuecomment-1450176774 for the flathub flatpak version) and see if the
> problem vanishes with it?

The Fedora video was recorded with a scaling of 100%, forgot to mention that.

So the video I recorded in question is 1x scaling. My guess is it will be much,
much worse if I set it to 200%. 

Additional Note: Walls of text do not seem to be an issue in other word
processors. For instance, I write novels (80k words plus, 100s of pages), and
it's fine in MS Word. I can open the same document (either .docx or .odt
format) and the same problem occurs - LibreOffice will use 80%~ or so of the
CPU. 

I'll try forcing Skia if Fedora/24.x will let me. But yeah, the video I
recorded was at 100% scaling or 1x, not 200% or any other fraction (though I'm
able to reproduce this problem with fractional scaling on Linux Mint MATE and
Cinnamon).

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #20 from Jeff Fortin Tam  ---
Just some wild "what if?..." guessing based on what M. Knepper's video in
comment #19 about the high CPU usage in htop while scrolling a wall of text...

* Let's say you grab a 4K screen, but do not set the display scaling to 2x
HiDPI, just use it at its "native panel resolution", and size the libreoffice
window at various sizes (ex: a quarter of the screen, half of the screen, full
size of the screen, etc., do you still see this happening, and do you see
differences in the percentage of CPU used in each case?

* Could Cairo be the bottleneck? I see we're all running the Cairo version of
LibreOffice, not Skia: as far as I know, Cairo is all CPU rendering, whereas
Skia renders everything (I think?) on the GPU and should be an order of
magnitude faster as a result. Maybe you could try running the Skia version
(using the trick in
https://github.com/flathub/org.libreoffice.LibreOffice/issues/213#issuecomment-1450176774
for the flathub flatpak version) and see if the problem vanishes with it?

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

--- Comment #19 from M. Knepper  ---
I have some video evidence of this in action.

It seems to get much worse at higher resolutions.

VIDEO LINK: https://www.youtube.com/watch?v=EXyMSzOVsds

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+

Note: 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 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

Buovjaga  changed:

   What|Removed |Added

 CC||rune.fritzs...@web.de

--- Comment #18 from Buovjaga  ---
*** Bug 159789 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

Buovjaga  changed:

   What|Removed |Added

   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=15 |
   |3111|
 CC||linus.kard...@gmail.com

--- Comment #17 from Buovjaga  ---
*** Bug 153111 has been marked as a duplicate of this bug. ***

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

[Bug 152911] VIEWING - High CPU and lag when scrolling on Wayland (kf5/kf6)

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

Buovjaga  changed:

   What|Removed |Added

Summary|VIEWING - High CPU and lag  |VIEWING - High CPU and lag
   |when scrolling on Wayland   |when scrolling on Wayland
   |with modified display scale |(kf5/kf6)
   |(KF5)   |

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