Skip to content

[Bug]: Linux: playback doesn't inhibit screensaver #677

Description

@JerryMountak

Pre-flight checks

  • I searched existing issues and this is not a duplicate.
  • I can reproduce this on the latest desktop release or latest main build.
  • This issue is limited to a single bug (not multiple unrelated problems).
  • This is not a source/stream-specific error (the issue happens regardless of which source is used).

App version / commit

0.1.23-alpha

Install method

GitHub Release desktop installer/package

Platform

Linux (desktop)

Desktop hardware

Fedora linux laptop with Core Ultra 7 258v CPU

OS version

Fedora 44, Gnome 50.4, wayland

Area (tag)

Platform-specific (Windows / macOS / Linux)

Bug description

The screen times-out during playback. The inhibit request is sent correctly, but it is released about five milliseconds later, long before playback ends. This is not a Flatpak sandbox issue — the D-Bus permissions are
present and the call reaches the bus successfully.

Steps to reproduce

  1. Open any stream in Nuvio (doesn't matter if in full-screen or not).
  2. The screen times-out after a while.

Expected behavior

The idle inhibitor stays registered for the duration of playback.

Actual behavior

The inhibitor is created and then immediately removed by the session manager, because the connection that requested it has already closed.

Frequency

Always

Did this work before?

Not sure

Media details (optional)

No response

Logs (required for crash reports)

Anything else? (optional)

Trace

dbus-monitor --session filtered to the relevant interfaces, captured across
one playback start and stop:

method call time=1789399088.672289 sender=:1.187 -> destination=org.freedesktop.ScreenSaver
  interface=org.freedesktop.ScreenSaver; member=Inhibit
   string "Nuvio"
   string "Media playback"

method call time=1789399088.673055 sender=:1.40 -> destination=:1.8
  interface=org.gnome.SessionManager; member=Inhibit
   string "Nuvio"
   uint32 0
   string "Media playback"
   uint32 8

signal time=1789399088.674457 sender=:1.8
  interface=org.gnome.SessionManager; member=InhibitorAdded
   object path "/org/gnome/SessionManager/Inhibitor11"

method call time=1789399088.677443 sender=:1.40 -> destination=:1.8
  interface=org.gnome.SessionManager; member=Uninhibit
   uint32 223679569

signal time=1789399088.680443 sender=:1.8
  interface=org.gnome.SessionManager; member=InhibitorRemoved
   object path "/org/gnome/SessionManager/Inhibitor11"

method call time=1789399106.386990 sender=:1.190 -> destination=org.freedesktop.ScreenSaver
  interface=org.freedesktop.ScreenSaver; member=UnInhibit
   uint32 223679569

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions