Public bug reported:

nvidia-compute-utils-620 620.73.04-0ubuntu0.26.04.1 ships
/usr/lib/systemd/system/nvidia-persistenced.service with:

  Before=systemd-backlight@backlight:nvidia_0.service

nvidia-persistenced.service has default dependencies, so it runs after
sysinit.target. [email protected] runs before sysinit.target. On
machines where the NVIDIA GPU drives the panel backlight (so
backlight:nvidia_0 exists), this is an ordering cycle, and systemd breaks it
at every boot:

  sysinit.target: Found ordering cycle: 
systemd-backlight@backlight:nvidia_0.service/start
  after nvidia-persistenced.service/start after sysinit.target/start - after
  systemd-backlight@backlight:nvidia_0.service

systemd then deletes one of those jobs to resolve it, so which unit loses is
up to systemd, and the console shows the cycle warnings during boot.

Hardware: ASUS ProArt P16 H7607BA (NVIDIA N1X / GB20B, integrated panel driven
by the NVIDIA GPU). Ubuntu 26.04, systemd 259.9-0ubuntu0.1. The kernel is a
custom 7.3 build, but the cycle comes from unit ordering alone and does not
depend on the kernel.

An empty "Before=" in a drop-in does not clear the list, so there's no clean
drop-in workaround. I'm using a full override in
/etc/systemd/system/nvidia-persistenced.service that is identical to the
packaged unit minus the Before=systemd-backlight@... line. With it, the cycle
is gone and the backlight is restored correctly.

Suggested fix: drop the Before=systemd-backlight@backlight:nvidia_0.service
line, or add DefaultDependencies=no with explicit ordering if persistenced
really has to start before the backlight is restored.

** Affects: nvidia-graphics-drivers-620 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175497

Title:
  nvidia-persistenced.service: Before=systemd-
  backlight@backlight:nvidia_0.service creates an ordering cycle at boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-620/+bug/2175497/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to