Bug 136477 - Scrolling a certain document in multi page view (2 pages a row) slowish (Skia Raster); previously also OpenGL
Summary: Scrolling a certain document in multi page view (2 pages a row) slowish (Skia...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, perf, regression
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2020-09-04 20:08 UTC by Telesto
Modified: 2020-09-09 09:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (23.67 KB, application/vnd.oasis.opendocument.text)
2020-09-04 20:08 UTC, Telesto
Details
Screencast (5.79 MB, video/mp4)
2020-09-09 09:37 UTC, Telesto
Details
Registery XCU (9.15 KB, application/x-zip-compressed)
2020-09-09 09:45 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-04 20:08:47 UTC
Description:
Scrolling a certain document in multi page view 

Steps to Reproduce:
1. Open the attached file
2. 2 Pages a column
3. Scroll down

Actual Results:
Slow respons

Expected Results:
Snappier.. 6.2 doesn't win prices.. but OK


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-09-04 20:08:59 UTC
Created attachment 165156 [details]
Example file
Comment 2 Telesto 2020-09-04 20:10:03 UTC
Not in
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 3 Telesto 2020-09-04 20:13:36 UTC
It's better with GDI
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

I expect this to be Windows like issue in the area of LayoutText (no the BT below is not that accurate.. )

package_OStorageFactory_get_implementation
package_OStorageFactory_get_implementation
GenericSalLayout::LayoutText
OutputDevice::getFallbackLayout
OutputDevice::ImplGlyphFallbackLayout
OutputDevice::ImplLayout
OutputDevice::GetTextWidth
ImplFontMetricData::ImplInitTextLineSize
OutputDevice::ImplNewFont
OutputDevice::GetFontMetric
SwDrawTextInfo::GetWrong
SwDrawTextInfo::ApplyAutoColor
Comment 4 Luboš Luňák 2020-09-07 14:54:18 UTC
I cannot reproduce, it's perfectly smooth here.
Comment 5 Telesto 2020-09-08 11:50:35 UTC
Appears to be caused by the comment boxes. Without those it's smooth
However no clue why we end up with different results. Does happen with Skia Raster  & Vulkan

@Stuart
If you have some time to test this one..
Comment 6 V Stuart Foote 2020-09-08 14:10:12 UTC
Sorry, I also can not confirm.

On laptop with 1920x1080 display. Open document in current master. Not to full screen, just scale LO frameto most of display, and adjust multi-page view zoom to 85% to give two column canvas layout.

Scroll by holding the scroll bar's Up or Down triangles.  Equal speed and smoothness with Skia Vulka, Skia software raster, GDI w/Hardware accel, and GDI w/CPU only.

The Track changes/comments do flicker during scrolling for both the GDI renderings. But are smooth (double buffered) for both Skia renderings.

Scroll by dragging the scroll bars "thumb" shows equal performance with all rendering.

Though, I did not enable OpenGL rendering to test that--don't think it matters here.

Suppose it could be an os - GPU - driver issue. Windows 8.1 and hardware is getting a bit dated, and we know Windows 7.1 is hopeless.

=-testing with-=

Version: 7.1.0.0.alpha0+ (x64)
Build ID: a3b4831208da615789bd1e2d5660dd130807f504
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

RenderMethod: vulkan
Vendor: 0x8086
Device: 0x5916
API: 1.2.148
Driver: 0.402.395
DeviceType: integrated
DeviceName: Intel(R) HD Graphics 620
Denylisted: no
Comment 7 Telesto 2020-09-08 17:45:29 UTC
OK, after resetting the profile it's gone..
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

So assume this to be some spurious bug
Comment 8 Telesto 2020-09-09 09:37:55 UTC
Created attachment 165305 [details]
Screencast

Me being confused. Profile reset 'resolved' they issue yesterday. However, the slowness is back again :-(. And no clue why

Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 9 Telesto 2020-09-09 09:45:59 UTC
Created attachment 165306 [details]
Registery XCU

They XCU in question. Assuming all dictionary's installed. Doesn't contain that much