Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed #947

Open
Tealk opened this issue May 11, 2024 · 1 comment
Open
Labels

Comments

@Tealk
Copy link

Tealk commented May 11, 2024

Overview Description:

When I try to play a .mp4 video with H.265 Codec, I get the following error message:
image

In the terminal I see the following message every time I start the programme, whether flatpak or rpm:

Cannot load libcuda.so.1

(io.github.celluloid_player.Celluloid:7584): Gdk-CRITICAL **: 09:47:22.267: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed

I noticed it because I wanted to use the Flatpak to avoid the codec problem of Fedore Silverblue.

Steps to Reproduce:

  1. start celluloid

Version: 0.26

Additional Information:

inxi -Fzxi output
System:
  Kernel: 6.8.8-300.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-34.fc40
  Desktop: GNOME v: 46.1 Distro: Fedora Linux 40.20240509.0 (Silverblue)
Machine:
  Type: Laptop System: Framework product: Laptop 16 (AMD Ryzen 7040 Series)
    v: AG serial: <superuser required>
  Mobo: Framework model: FRANMZCP07 v: A7 serial: <superuser required>
    UEFI: INSYDE v: 03.03 date: 03/27/2024
Battery:
  ID-1: BAT1 charge: 88.6 Wh (100.0%) condition: 88.6/85.1 Wh (104.1%)
    volts: 17.8 min: 15.5 model: NVT FRANDBA status: not charging
  Device-1: hid-18:7e:b9:67:f4:86-battery model: Tealk-Magic Trackpad 2
    charge: N/A status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 1043 high: 3244
    min/max: 400/5137:5293:5449:6080:5764:5924:5608 cores: 1: 1977 2: 400 3: 400
    4: 1399 5: 400 6: 400 7: 2191 8: 3244 9: 400 10: 400 11: 1430 12: 1512
    13: 400 14: 400 15: 400 16: 1348 bogomips: 121373
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600]
    vendor: Framework driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 03:00.0
  Device-2: AMD Phoenix1 vendor: Framework driver: amdgpu v: kernel
    arch: RDNA-3 bus-ID: c4:00.0 temp: 38.0 C
  Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 5-1.1.4.1:6
  Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: dri: radeonsi gpu: amdgpu resolution:
    1: 3440x1440~100Hz 2: 2048x1280~165Hz
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.0.6 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM
    18.1.1 DRM 3.57 6.8.8-300.fc40.x86_64)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio vendor: Framework driver: snd_hda_intel
    v: kernel bus-ID: 03:00.1
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: Framework
    driver: snd_hda_intel v: kernel bus-ID: c4:00.1
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Framework
    driver: snd_pci_ps v: kernel bus-ID: c4:00.5
  Device-4: AMD Family 17h/19h HD Audio vendor: Framework
    driver: snd_hda_intel v: kernel bus-ID: c4:00.6
  Device-5: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 5-1.1.4.1:6
  Device-6: Beyerdynamic FOX driver: hid-generic,snd-usb-audio,usbhid
    type: USB bus-ID: 5-1.1.4.3:7
  API: ALSA v: k6.8.8-300.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel bus-ID: 04:00.0
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB
    bus-ID: 1-5:7
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 1.82 TiB used: 213.49 GiB (11.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 1TB
    size: 931.51 GiB temp: 29.9 C
  ID-2: /dev/sda vendor: Seagate model: UltraTouch SSD size: 931.51 GiB
    type: USB
Partition:
  ID-1: /boot size: 973.4 MiB used: 148 MiB (15.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 598.8 MiB used: 12.4 MiB (2.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /var size: 929.91 GiB used: 82.95 GiB (8.9%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-91874fa2-dc37-4bd0-aee8-c4a03dee90d0
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 306 MiB (3.7%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.6 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 28.0 C fan: 0 device: amdgpu temp: N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.65 GiB used: 9.63 GiB (31.4%)
  Processes: 645 Uptime: 13h 21m Init: systemd target: graphical (5)
  Packages: 78 Compilers: N/A Shell: Bash v: 5.2.26 inxi: 3.3.34
rpm-ostree status
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240511.0 (2024-05-11T00:42:07Z)
               BaseCommit: c204c6971c4298e4a5c8452208691617b25c69b9f606c7b8775f89a319b44e64
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
          LayeredPackages: ansible celluloid ghc-ShellCheck git gnome-console gnome-shell-extension-caffeine
                           gnome-shell-extension-gpaste gnome-shell-extension-gsconnect gnome-shell-extension-unite gnome-tweaks
                           gpaste gstreamer1-plugin-openh264 hstr inxi nextcloud-client pipx python3-tabulate
@kekkoudesu
Copy link

It turned out this error was caused by the Fedora flatpak, which lacks support for H.264/H.265 decoding. The Flathub version works correctly. And the RPM package lacks H.264/H.265 decoding support by design, so this is expected behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants