Skip to content

Instantly share code, notes, and snippets.

@vmpartner
Created August 24, 2025 18:37
Show Gist options
  • Save vmpartner/64fc67b88fad1abc32d6c9167400e269 to your computer and use it in GitHub Desktop.
Save vmpartner/64fc67b88fad1abc32d6c9167400e269 to your computer and use it in GitHub Desktop.

Revisions

  1. vmpartner revised this gist Aug 24, 2025. 1 changed file with 3 additions and 7 deletions.
    10 changes: 3 additions & 7 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,8 @@
    - Ubuntu 24.04
    - Wayland

    Add to `/etc/modprobe.d/nvidia-power-management.conf`
    ```
    Create file /etc/modprobe.d/nvidia-power-management.conf with content:
    options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
    ```
    then
    `update-initramfs -u`

    then
    `reboot`
    ~ update-initramfs -u
    ~ reboot
  2. vmpartner created this gist Aug 24, 2025.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    - MSI MAG X870 TOMAHAWK WIFI
    - Ubuntu 24.04
    - Wayland

    Add to `/etc/modprobe.d/nvidia-power-management.conf`
    ```
    options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
    ```
    then
    `update-initramfs -u`

    then
    `reboot`