App-nvidia\x2dsettings\x2duser@autostart.service fails to start

Hi,

A little while ago I installed the Fedora Sway spin, and installed nvidia drivers on it (I know this isn’t supported, so I won’t go further than just asking the community). Everything is working well, but I noticed that there is a systemd unit that always fails: app-nvidia\x2dsettings\x2duser@autostart.service. journald does not help much:

May 24 10:32:06 home systemd[1574]: Starting app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings...
May 24 10:32:06 home systemd[1574]: Started app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings.
May 24 10:32:06 home systemd[1574]: app-nvidia\x2dsettings\x2duser@autostart.service: Main process exited, code=exited, status=1/FAILURE
May 24 10:32:06 home systemd[1574]: app-nvidia\x2dsettings\x2duser@autostart.service: Failed with result 'exit-code'.

I can’t really seem to find much information about this service. I did find the log line appearing in some logs posted by people on forums, and no one ever made a comment about it, so I guess it’s fine?

I’d like to know what this service is, why it is failing, and if this is something I should fix.

It looks like some broken xdg translation service for systemd.

This is the only nvidia-settings autostart and it doesn’t use systemd.

$ rpm -ql nvidia-settings |grep xdg
/etc/xdg/autostart/nvidia-settings-user.desktop
$ cat /etc/xdg/autostart/nvidia-settings-user.desktop
[Desktop Entry]
Type=Application
Exec=nvidia-settings -l
Icon=nvidia-settings
Hidden=false
NoDisplay=false
Name[en_GB]=nvidia-settings
Name=nvidia-settings
Comment[en_GB]=Load user settings
Comment=Load user settings
X-GNOME-Autostart-Delay=30
X-GNOME-Autostart-enabled=true

Does this produce any errors?

nvidia-settings -l