After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770266 - Image flickering / not showing up properly with high res pictures on hidpi screens
Image flickering / not showing up properly with high res pictures on hidpi sc...
Status: RESOLVED OBSOLETE
Product: eog
Classification: Core
Component: image viewer
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-23 07:04 UTC by François Guerraz
Modified: 2021-06-19 08:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk-debug=all (27.45 KB, text/plain)
2016-08-23 07:04 UTC, François Guerraz
Details
Example result (104.15 KB, image/png)
2016-08-23 07:05 UTC, François Guerraz
Details

Description François Guerraz 2016-08-23 07:04:52 UTC
Created attachment 333977 [details]
gdk-debug=all

On a HiDPI screen with 2x UI scaling factor, displaying high resolution images (36Mpx) doesn't not work, flickers and is really slow.

On up to date arch 64bit.
Comment 1 François Guerraz 2016-08-23 07:05:31 UTC
Created attachment 333978 [details]
Example result
Comment 2 François Guerraz 2016-09-03 21:42:45 UTC
Can I provide any extra information to help?
Comment 3 François Guerraz 2016-09-16 15:54:09 UTC
Hello?
Comment 4 François Guerraz 2016-10-12 18:48:21 UTC
Bug still present in 3.22.1, does anybody care?
Comment 5 François Guerraz 2016-10-13 05:14:41 UTC
I meant 3.20.5 on gnome 3.22.1...
Also worth nothing the problem does not occur on wayland (but then there are other problems that I will report separately).
Comment 6 Felix Riemann 2016-10-25 18:24:52 UTC
eog doesn't have any special treatment for HiDPI screens right now but expects GTK+ to just do the right thing in that case... (nor do I have the necessary hardware)

Does the flickering eventually stop? For the moment I can only imagine that the fadeout of the overlay buttons produces redraws that are too large which causes flickering. But it should eventually stop flickering then when the animation is finished (assuming you didn't move the mouse triggering it again).

Another option: Can you retry with image smoothing disabled in the options?
Maybe there is some edge case here when eog redraws the image with the filtered variant.

Can you capture the output eog does with EOG_DEBUG=1? Try not to move the mouse over the UI then.

Weird that it's working in Wayland and not in X11, usually that is the other way around.
Comment 7 François Guerraz 2016-10-26 08:47:34 UTC
The flickering eventually stops but in a "bad" (grey image) state.

It is an image smoothing issue indeed. 

Setting org.gnome.eog.view interpolate to false solves the issue. So I guess it is a cairo problem?
Comment 8 Felix Riemann 2016-11-05 15:08:43 UTC
(In reply to François Guerraz from comment #7)
> Setting org.gnome.eog.view interpolate to false solves the issue. So I guess
> it is a cairo problem?

Well, I am getting the impression, but the only difference in the two drawing cycles (as you may have noticed) is the filtering parameter that is given to cairo, but that would mean something is odd in the filtering code which should make it happen to more people I think. It's still odd that it works in Wayland for you, so it might also be something driver related if not something totally obscure in eog itself.

Does it work on 100% zoom? This should be a single drawing cycle.
Maybe you could try reverting the commits 8169e0ac6447ebeb1d1e809213ce82b814b62550 and 88c4f54eb9cee69b1eebef462df27f76119bec62. That should make eog do one-pass drawing again even if filtering is enabled.
Comment 9 André Klapper 2021-06-19 08:45:53 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/eog/-/issues/

Thank you for your understanding and your help.