flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
6.41k stars 213 forks source link

Imported PDFs displayed as pink boxes #1121

Closed snakedye closed 3 days ago

snakedye commented 1 week ago

Describe the bug

PDFs appear as red boxes when imported.

To Reproduce

Steps to reproduce the behavior:

  1. Import a PDF image
  2. Click import
  3. The PDF is red image

Expected behavior
The PDF appears as is. Not as a red box.

Console Output

Gsk-Message: 10:21:50.608: Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display

Gsk-Message: 10:21:50.608: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display

Gsk-Message: 10:21:50.956: Failed to realize renderer of type 'GskVulkanRenderer' for surface 'GdkWaylandToplevel': Could not create a Vulkan instance: The requested version of Vulkan is not supported by the driver or is otherwise incompatible for implementation-specific reasons. (VK_ERROR_INCOMPATIBLE_DRIVER)

Gsk-Message: 10:21:56.548: Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display

Gsk-Message: 10:21:56.548: Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display

Gsk-Message: 10:21:56.853: Failed to realize renderer of type 'GskVulkanRenderer' for surface 'GdkWaylandToplevel': Could not create a Vulkan instance: The requested version of Vulkan is not supported by the driver or is otherwise incompatible for implementation-specific reasons. (VK_ERROR_INCOMPATIBLE_DRIVER)

Desktop (please complete the following information):

System Details Report


Report details

Hardware Information:

Software Information:

Additional context
Add any other context about the problem here.

flxzt commented 1 week ago

I suspect this is yet another issue related to the new 'ngl' renderer of Gtk. Try the old 'gl' renderer by setting env var GSK_RENDERER=gl

flxzt commented 1 week ago

Actually, this seems to be a similar issue as #963 .

snakedye commented 1 week ago

For some reason this morning it started working.

astro-ray commented 1 week ago

I had a similar issue but after updating my drivers, the problem was fixed.

flxzt commented 3 days ago

Since this is likely a driver issue and it seemingly stopped happening I'll close as resolved.