geeqie icon indicating copy to clipboard operation
geeqie copied to clipboard

geeqie under wayland/sway ignores scaling when rendering images

Open UnkindPartition opened this issue 4 years ago • 1 comments

First of all, thanks for the great image viewer!

ISSUE TYPE

  • Bug Report

GEEQIE VERSION

% geeqie --version                                                                                                                                                                                                                            
Geeqie +git

(true version: b4032cc)

     Config results:
    -=-=-=-=-=-=-=-=-

Package:
  Name:          geeqie
  Version:       +git

Architecture:
  UNIX:          yes
  Win32:         no (native: no)

Flags:
  Geeqie:        
  DEFS:          -DHAVE_CONFIG_H
  CPPFLAGS:      
  CFLAGS:        -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-error=unused-variable -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=parentheses -Wno-deprecated-declarations -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type
  CXXFLAGS:      -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
  Gtk:           -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread 
  Glib:          -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
  Thread:        -lgthread-2.0 -pthread -lglib-2.0 
  Others:	 -ljpeg -ltiff -llcms2  -lexiv2  -lclutter-1.0 -lglib-2.0 -lcogl-path -lglib-2.0 -lglib-2.0 -latk-1.0 -lcogl-pango -lglib-2.0 -lcogl -lgmodule-2.0 -pthread -lglib-2.0 -lwayland-egl -lgbm -ldrm -lEGL -lXrandr -ljson-glib-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lwayland-cursor -lwayland-client -lxkbcommon -lwayland-server -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXi  -lclutter-gtk-1.0 -lclutter-1.0 -lglib-2.0 -lcogl-path -lglib-2.0 -lglib-2.0 -lcogl-pango -lglib-2.0 -lcogl -lgmodule-2.0 -pthread -lglib-2.0 -lwayland-egl -lgbm -ldrm -lEGL -lXrandr -ljson-glib-1.0 -lwayland-cursor -lwayland-client -lxkbcommon -lwayland-server -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXi -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0    -llua-5.1 -lm -ldl 

Localization:
  NLS support:   yes
  LINGUAS:        ar be bg ca cs da de el en_GB eo es et eu fi fr hu id it ja ko nb nl pl pt_BR ro ru sk sl sr@latin sr sv th tlh tr uk vi zh_CN zh_TW

Settings:
  Developer:     no
  Debug flags:   no
  Debug log:     yes
  Deprecated:    no

Support:
  LCMS:          yes
  Exiv2:	 yes
  Lirc:          yes
  Clutter:       yes
  Libchamplain:		no
  Libchamplain-gtk:	disabled
  Lua:	         yes
  FFmpegthumbnailer:	no
  Pdf:	         no
  HEIF:	         no
  WebP:	         no
  DjVu:	         no
  J2K:	         no

Documentation:
  Doxygen:       
  doc-tool:      /bin/yelp-build

OS / DISTRIBUTION

Fedora 33 (however, this is not the stock packaging of geeqie)

SUMMARY

I'm running geeqie under wayland/sway with a hidpi monitor (scale = 2).

However, while the interface looks crisp, the images are pixelated, as if they were rendered without the regard for scaling:

20201208_22h57m43s_grim

I have the GPU acceleration enabled as per the discussion in #539.

UnkindPartition avatar Dec 08 '20 21:12 UnkindPartition

And just to demonstrate that this is not due to that png's small resolution, here's a high-res photo:

20201208_23h11m37s_grim

UnkindPartition avatar Dec 08 '20 21:12 UnkindPartition