Bug 140132 - Unbearable flicker, when HDR, G-Sync and OpenGL is turned on
Summary: Unbearable flicker, when HDR, G-Sync and OpenGL is turned on
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 17:03 UTC by Torsten Ascher
Modified: 2023-04-11 18:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Ascher 2021-02-03 17:03:08 UTC
Description:
I just received my new Monitor with G-Sync and HDR. Everything was fine, until i opened LibreOffice. I got framedrops with unbearable flicker.

Solution/Workaround: 
-> Tools
 -> Options
  -> LibreOffice 
   -> View
    -> DISABLE "Use OpenGL for all rendering"

Steps to Reproduce:
1. Activate G-Sync in Nvidia control panel (fullscreen AND windowed)
2. Activate HDR in Windows Settings
3. (Activate OpenGL rendering in LibreOffice, if turned of)
4. Start LibreOffice (keep it active application)

Actual Results:
Monitor  shows varying framerate, screen brightness flickers

Expected Results:
No flickering, steady framerate


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Hardware:

GPU: Nvidia 3070
Monitor: Asus xg32vqr

Disabling OpenGL solves the problem.
Might scare LibreOffice users.
Comment 1 V Stuart Foote 2021-02-03 22:35:38 UTC
OpenGL rendering support is deprecated in favor of more robust Skia rendering (Vulkan accelerated or raster only).

Try a 7.0.4.2 release or a 7.1.0.3 prerelease, or against current master/7.2.0

This is otherwise a => WF against OpenGL drivers.
Comment 2 Andrew 2023-04-11 18:00:08 UTC
Checking "Use Skia for all rendering" and "Force Skia software rendering" in the above described menu fixes the problem for me.

The menu in question:
-> Tools
 -> Options
  -> LibreOffice 
   -> View
    -> Heading "Graphics Output"