Animations disappeared after updating Gnome

Hi, so today I updated Gnome and animations completely disappeared, even tho they are marked as active.

$ gsettings get org.gnome.desktop.interface enable-animations
true

Everything was working fine before the update. I’m running Fedora 42 with X11 on a laptop with an external monitor. My laptop has an Intel CPU and an NVIDIA GPU. I’m saying that because it seems Gnome is trying to use the integrated GPU and not the dedicated one, although the NVIDIA GPU is set as the primary GPU in /etc/X11/xorg.conf.d/10-prime.conf. This was the content of the file when I updated Gnome:

$ sudo cat /etc/X11/xorg.conf.d/10-prime.conf

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

I tried editing the file as follows:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

With this animations were restored but the laptop screen was off because it uses Intel integrated GPU.
I searched for errors or warnings in Xorg using journalctl:

$ sudo journalctl -b0 _COMM=Xorg | grep -i "(WW)"

nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA(0): Invalid SLI option: 'Auto'; using single GPU rendering.
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA(0): Failed to initialize Base Mosaic!  Reason: Only one GPU
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA(0):     detected.  Only one GPU will be used for this X screen.
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA: Failed to bind sideband socket to
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA:     '/var/run/nvidia-xdriver-ecef5307' Permission denied
nov 14 18:55:47 laptop /usr/libexec/gdm-x-session[3066]: (WW) NVIDIA(0): ACPI: failed to determine the system's current power source

Full log here.
I also checked if nvidia-drm.modeset=1 was enabled:

$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y