diff --git a/Containerfile b/Containerfile index 37b642a6d6..fda1d562df 100644 --- a/Containerfile +++ b/Containerfile @@ -765,10 +765,18 @@ RUN wget https://raw.githubusercontent.com/ublue-os/nvidia/main/install.sh -O /t chmod +x /tmp/nvidia-install.sh && IMAGE_NAME="${BASE_IMAGE_NAME}" RPMFUSION_MIRROR="" /tmp/nvidia-install.sh && \ chmod +x /tmp/nvidia-post-install.sh && IMAGE_NAME="${BASE_IMAGE_NAME}" RPMFUSION_MIRROR="" /tmp/nvidia-post-install.sh +# Install Explicit Sync Patches +RUN wget https://copr.fedorainfracloud.org/coprs/gloriouseggroll/nvidia-explicit-sync/repo/fedora-$(rpm -E %fedora)/gloriouseggroll-nvidia-explicit-sync-fedora-$(rpm -E %fedora).repo?arch=x86_64 -O /etc/yum.repos.d/_copr_gloriouseggroll-nvidia-explicit-sync.repo && \ + rpm-ostree override replace \ + --experimental \ + --from repo=copr:copr.fedorainfracloud.org:gloriouseggroll:nvidia-explicit-sync \ + xorg-x11-server-Xwayland + # Cleanup & Finalize RUN rm -rf \ /tmp/* \ /var/* && \ + sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_gloriouseggroll-nvidia-explicit-sync.repo && \ rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json && \ echo "import \"/usr/share/ublue-os/just/95-bazzite-nvidia.just\"" >> /usr/share/ublue-os/justfile && \ mkdir -p /var/tmp && \ diff --git a/system_files/nvidia/shared/usr/etc/sddm.conf b/system_files/nvidia/shared/usr/etc/sddm.conf deleted file mode 100644 index 6d16a4a0b2..0000000000 --- a/system_files/nvidia/shared/usr/etc/sddm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[General] -DisplayServer=x11