add fix for nvidia resume from suspend
This commit is contained in:
parent
8ce3ad5825
commit
1c90e561cd
2 changed files with 5 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ ENV KERNEL=${KERNEL}
|
|||
ADD "https://copr.fedorainfracloud.org/api_3/build/list?ownername=andersrh&projectname=my-ostree-os&packagename=kernel-cachyos-lto-skylake" /tmp/builds.txt
|
||||
|
||||
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
|
||||
COPY etc/modprobe.d/nvidia-resume_suspend.conf /etc/modprobe.d/nvidia-resume_suspend.conf
|
||||
|
||||
COPY repo/*.repo /etc/yum.repos.d/
|
||||
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
|
||||
|
|
|
|||
4
etc/modprobe.d/nvidia-resume_suspend.conf
Normal file
4
etc/modprobe.d/nvidia-resume_suspend.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# change settings to allow system to start properly after suspend. Info: https://www.reddit.com/r/linuxquestions/comments/1cymlxg/hibernate_on_nvidia/
|
||||
|
||||
options nvidia NVreg_PreserveVideoMemoryAllocations=1
|
||||
options nvidia NVreg_TemporaryFilePath=/var/tmp
|
||||
Loading…
Add table
Add a link
Reference in a new issue