[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2024-07-27 Thread postix
https://bugs.kde.org/show_bug.cgi?id=409644

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2024-06-20 Thread Nikola Kocic
https://bugs.kde.org/show_bug.cgi?id=409644

Nikola Kocic  changed:

   What|Removed |Added

 CC||nikolakoci...@gmail.com

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2023-07-20 Thread Yiyang Wu
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #12 from Yiyang Wu  ---
Confirm that this issue still exists on my Debian 12 Plasma-5.27 laptop. Is
there any progress these days?

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2023-07-20 Thread Yiyang Wu
https://bugs.kde.org/show_bug.cgi?id=409644

Yiyang Wu  changed:

   What|Removed |Added

 CC||xgreenlandfor...@gmail.com

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #11 from Oliver Sander  ---
> Why is devicePixelRatio here forced to be 1...?

That part of the code was reworked in a recent merge request.  Maybe it'll help
you:

   https://invent.kde.org/graphics/okular/-/merge_requests/371

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #10 from Filzmaier Josef  ---
Created a MR: https://invent.kde.org/graphics/okular/-/merge_requests/458

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=409644

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #9 from Albert Astals Cid  ---
Those kWarnings need to be changed to qWarning

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #8 from Filzmaier Josef  ---
I couldn't yet find a solution to the probelm, a few questions though:

https://invent.kde.org/graphics/okular/-/blob/master/core/document.cpp#L1519
Why is devicePixelRatio here forced to be 1 instead of
QScreen::devicePixelRatio()?

If enabling PAGEVIEW_DEBUG=true the build fails because kWarning does not exist
on my machine. If this is a bug i could create a merge request that fixes this.

Is there a way to tell an application to use the scale of 225%, as configured
within the "Display and Monitor" KCM? QT_SCALE_FACTOR does not seem to have the
same effect.



When starting Okular it reports in the 225% Display Scale case:
org.kde.okular.core: sending request observer=0x560658c0b5d0 3582x5001@1 async
== true isTile == false
When starting in 100% Display Scale case:
org.kde.okular.core: sending request observer=0x5585941d7490 2688x3751@2 async
== true isTile == false


My suspicion is that the difference in requestRect size causes a problem here.
I'm still investigating how this size comes to be

On another note: Typing in values in the "Display and Monitor" KCM's "Scale"
Spinner directly is a really weird experience

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #7 from Filzmaier Josef  ---
@Oliver Sander
I can confirm that the problem is related to display scaling. If i change the
display scale to 100% the performance is as expected, even if the resolution is
at 4k and the cpu_governor is set to "powersave".

Today i have some spare time, so i will now try to debug this issue and report
my findings

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-11 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=409644

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
Do you also see the problem without scaling?  Screen scaling works differently
under Wayland, and you may[0] end up with an 8K temporary bitmap.  That is
simply a lot of data, and maybe the lagging is for that?

[0] I am not 100% about this, but it is worth checking.

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-10 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=409644

David Hurka  changed:

   What|Removed |Added

Version|unspecified |21.04.3
  Component|PDF backend |general

--- Comment #5 from David Hurka  ---
Thanks.

The most relevant source is probably part/pageview.cpp and
part/pagepainter.cpp. PageView::paint() might (indirectly) tell Wayland wrong
stuff so it does more than necessary. PagePainter paints the document (this is
usually the only painting done in PageView::paint()), and has a fast and a slow
code path. Maybe the fast path doesn’t work on your system.

The repository is at https://invent.kde.org/graphics/okular.

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-10 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #4 from Filzmaier Josef  ---
It does not seem to be dependent on the file format / generator.
I have tested with pdf, txt and epub, and tiff - all have laggy scrolling.

I am using Okular 21.04.3 but can also reproduce it with the current master
branch.

I have built okular from source, if you can point me at interesting source
files to debug i am glad to help.

The Effect is especially extreme if i unplug the device (e.g. when TLP enables
some power saving features like power_save cpu_governor etc) so it does seem
like a performance regression

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-09 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #3 from David Hurka  ---
Does it happen only with PDF?

Or only if there is e. g. a stamp annotation? Or do you use the Change Colors
feature? Have some text selections active?

Which Okular version do you use? Simone reported this for 19.04.2, but there
was a recent change related to screen scaling, which possibly affects
performance.

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409644

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #2 from Nate Graham  ---
Can reproduce.

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-09 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #1 from Filzmaier Josef  ---
I can reproduce this issue on my lenovo thinkpad x1 carbon gen9.

I do have a 4k screen and scrolling pages within this document is almost
unusably slow.
Opening the PDF in Firefox (wayland enabled) has way better performance.

This Problem is *not* dependent on a secondary screen being plugged in (at
least in my case)

Operating System: Arch Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.15-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 31,1 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-09 Thread Filzmaier Josef
https://bugs.kde.org/show_bug.cgi?id=409644

Filzmaier Josef  changed:

   What|Removed |Added

 CC||j.filzma...@gmx.at

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2019-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=409644

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2019-07-09 Thread Simone
https://bugs.kde.org/show_bug.cgi?id=409644

Simone  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=387567

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

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2019-07-09 Thread Simone
https://bugs.kde.org/show_bug.cgi?id=409644

Simone  changed:

   What|Removed |Added

Summary|[Wayland] Panning is laggy  |[Wayland] Panning in Okular
   ||is laggy with 4K monitor

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