GNOME Bugzilla – Bug 777114
Evince document viewer zoom function is broken using mutter Wayland and AMD graphics
Last modified: 2018-05-03 16:10:58 UTC
Description of problem: When viewing a PDF using the evince document viewer, the zoom level appears as "0%", and the ctlr+scroll wheel cannot change the zoom level. Manually changing the zoom level causes the zoom level to be "-nan%", and the document is no longer rendered. Changing the zoom level to "Fit Page", "Fit Width", or "Automatic" behaves as expected except that the zoom level still shows up as "0%". Version-Release number of selected component (if applicable): mutter-3.22.2-3.fc25.x86_64 Steps to Reproduce: 1. Have AMD card (with X.org/radeon drivers?) 2. Launch GNOME Wayland session 3. Open a PDF document in evince and attempt to change zoom level percentage Actual results: Zoom level cannot change using ctlr+scroll wheel, and manually entering the percentage results in "-nan%" and no longer rendering the document. Expected results: Can change the zoom level percentage. Additional info: Zoom level functionality works with weston compositor. It appears to depend on the graphics card used somehow because I do not see this issue on my desktop, which has an NVIDIA graphics card, when running under GNOME Wayland. Graphics info: $ glxinfo64 -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD REDWOOD (DRM 2.46.0 / 4.8.15-300.fc25.x86_64, LLVM 3.8.0) (0x68c0) Version: 13.0.2 Accelerated: yes Video memory: 1024MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD REDWOOD (DRM 2.46.0 / 4.8.15-300.fc25.x86_64, LLVM 3.8.0) OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.2 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.0 Mesa 13.0.2 OpenGL shading language version string: 1.30 OpenGL context flags: (none) Additional installed components: evince-3.22.1-2.fc25.x86_64 weston-1.12.0-1.fc25.x86_64
This issue also affects the virtual QXL device running Fedora 26 including GNOME 3.24.2, see https://bugzilla.redhat.com/show_bug.cgi?id=1417189.
After having upgraded to F28 with GNOME 3.28, I am no longer experiencing the issues previously described with zoom control in Evince when viewing a PDF. I can properly use the ctrl+scroll wheel to change zoom, manually enter zoom level into the text box, or use any of the listed zoom levels in the drop-down. I was experiencing these issues on F25-F27 with GNOME 3.22-3.26, kernels 4.8-4.15, and I'm not entirely sure which component(s) were responsible for the fix/change in behavior after moving to F28. Additional information: gnome-shell-3.28.1-3.fc28.x86_64 mutter-3.28.1-1.fc28.x86_64 evince-3.28.2-1.fc28.x86_64 $ glxinfo64 -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD REDWOOD (DRM 2.50.0 / 4.16.6-300.fc28.x86_64, LLVM 6.0.0) (0x68c0) Version: 18.0.1 Accelerated: yes Video memory: 1024MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 Memory info (GL_ATI_meminfo): VBO free memory - total: 1023 MB, largest block: 1023 MB VBO free aux. memory - total: 1021 MB, largest block: 1021 MB Texture free memory - total: 1023 MB, largest block: 1023 MB Texture free aux. memory - total: 1021 MB, largest block: 1021 MB Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB Renderbuffer free aux. memory - total: 1021 MB, largest block: 1021 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 1024 MB Total available memory: 2045 MB Currently available dedicated video memory: 1023 MB OpenGL vendor string: X.Org OpenGL renderer string: AMD REDWOOD (DRM 2.50.0 / 4.16.6-300.fc28.x86_64, LLVM 6.0.0) OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.1 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.0 Mesa 18.0.1 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10