Skip to content

Commit

Permalink
Merge pull request #129 from CachyOS/drop-rt3d-workaround
Browse files Browse the repository at this point in the history
nvidia: Drop rt3d workaround, since it does break the wayland KDE
  • Loading branch information
ptr1337 authored Aug 10, 2024
2 parents 0d3ef56 + a4285b4 commit af956f3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions profiles/pci/graphic_drivers/profiles.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,9 @@ MODULES+=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
EOF
mkinitcpio -P
systemctl enable switcheroo-control
# Workaround to fix broken RTD3 on GNOME, which keeps taking up 1MB of VRAM
# without letting the dGPU fully sleep or keeping it running for long
# periods of time.
# See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2969
echo "export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json" > /etc/profile.d/nvidia-rt3d-workaround.sh
"""
post_remove = """
rm -f /etc/mkinitcpio.conf.d/10-chwd.conf
rm -f /etc/profile.d/nvidia-rt3d-workaround.sh
mkinitcpio -P
"""

Expand Down Expand Up @@ -140,16 +133,9 @@ MODULES+=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
EOF
mkinitcpio -P
systemctl enable switcheroo-control
# Workaround to fix broken RTD3 on GNOME, which keeps taking up 1MB of VRAM
# without letting the dGPU fully sleep or keeping it running for long
# periods of time.
# See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2969
echo "export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json" > /etc/profile.d/nvidia-rt3d-workaround.sh
"""
post_remove = """
rm -f /etc/mkinitcpio.conf.d/10-chwd.conf
rm -f /etc/profile.d/nvidia-rt3d-workaround.sh
mkinitcpio -P
"""

Expand Down

0 comments on commit af956f3

Please sign in to comment.