ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.13k stars 251 forks source link

Gnome Image Viewer and Papers won't launch at all after recent update. #1690

Open silferas opened 2 months ago

silferas commented 2 months ago

Describe the bug

When I:

  1. click on an image or pdf/cbz file in gnome files,
  2. right click an image or pdf/cbz file in gnome files and pick open with > image viewer (or papers),
  3. launch image viewer or papers from overview, nothing happens. The program will sometimes appear in mission control, or background apps, but not always. No graphical interface, or the aforementioned image/file is displayed.

What did you expect to happen?

I expected the app to open and display the image/file.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-asus-nvidia:stable
                   Digest: sha256:f0bde6b2ec8d0e5bc97980b24b3d69f20f32895978395c96174ff5a45b17c981
                  Version: 40.20240914.0 (2024-09-15T21:04:35Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-asus-nvidia:stable
                   Digest: sha256:fd09e7c3244149abcd9f2296c05c2aab1174b164144bee876b056b0e65a640c3
                  Version: 40.20240906.1 (2024-09-07T07:43:50Z)

Hardware

# System Details Report
---

## Report details
- **Date generated:**                              2024-09-19 19:18:20

## Hardware Information:
- **Hardware Model:**                              ASUSTeK COMPUTER INC. ROG Zephyrus G16 GU603ZV_GU603ZV
- **Memory:**                                      32.0 GiB
- **Processor:**                                   12th Gen Intel® Core™ i7-12700H × 20
- **Graphics:**                                    Intel® Graphics (ADL GT2)
- **Graphics 1:**                                  NVIDIA GeForce RTX™ 4060 Laptop GPU
- **Disk Capacity:**                               (null)

## Software Information:
- **Firmware Version:**                            GU603ZV.311
- **OS Name:**                                     Bazzite 40 (FROM Fedora Silverblue)
- **OS Build:**                                    0ea45c1
- **OS Type:**                                     64-bit
- **GNOME Version:**                               46
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.9.12-205.fsync.fc40.x86_64

Extra information or context

No response

bjornouderoelink commented 1 month ago

Do you get the following output when you start the Gnome Image Viewer from the terminal using flatpak run org.gnome.Loupe?:

MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers

If so, you may be affected by this bug. I ran into that bug on Bluefin, and was able to work around it by setting GSK_RENDERER=ngl in the ~/.config/environment.d/gsk.conf file then restarting, as suggested in the comments here.

silferas commented 1 month ago

Do you get the following output when you start the Gnome Image Viewer from the terminal using flatpak run org.gnome.Loupe?:

MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME: support more multi-planar formats with DRM modifiers

If so, you may be affected by this bug. I ran into that bug on Bluefin, and was able to work around it by setting GSK_RENDERER=ngl in the ~/.config/environment.d/gsk.conf file then restarting, as suggested in the comments here.

Cheers mate, this worked like a charm.