Skip to content

Instantly share code, notes, and snippets.

@jonathannerat
Last active October 24, 2020 15:59
Show Gist options
  • Save jonathannerat/439f14d29b923f89c78b84e2b0e1cd46 to your computer and use it in GitHub Desktop.
Save jonathannerat/439f14d29b923f89c78b84e2b0e1cd46 to your computer and use it in GitHub Desktop.

Revisions

  1. jonathannerat revised this gist Feb 22, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions content.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    This is done with an option when you load the module: 'modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1'
    This is done with an option when you load the module: `modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1`

    To automatically use this option, create a file named '/etc/modprobe.d/50-nvidia.conf' with the following content:
    To automatically use this option, create a file named `/etc/modprobe.d/50-nvidia.conf` with the following content:

    ```bash
    options nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1
  2. jonathannerat revised this gist Feb 22, 2019. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions content.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    This is done with an option when you load the module: modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1
    This is done with an option when you load the module: 'modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1'

    To automatically use this option, create a file named /etc/modprobe.d/50-nvidia.conf with the following content:
    To automatically use this option, create a file named '/etc/modprobe.d/50-nvidia.conf' with the following content:

    ´´´bash
    ```bash
    options nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1
    ´´´
    ```

    Restart your machine and now you can safely suspend and resume without screen corruption. In my case in 9 out of 10 suspend operations this fixes the screen corruption issue. Very rarely it still happens, but much less often than without this options.
  3. jonathannerat created this gist Feb 22, 2019.
    9 changes: 9 additions & 0 deletions content.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    This is done with an option when you load the module: modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1

    To automatically use this option, create a file named /etc/modprobe.d/50-nvidia.conf with the following content:

    ´´´bash
    options nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1
    ´´´

    Restart your machine and now you can safely suspend and resume without screen corruption. In my case in 9 out of 10 suspend operations this fixes the screen corruption issue. Very rarely it still happens, but much less often than without this options.