Advertisement
bvdeenen

fix black screen after resume on Void Linux with nvidia

Apr 5th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. solve black screen after nvidia resume:
  2.  
  3. cat /etc/dracut.conf.d/nvidia.conf
  4. add_drivers+="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
  5.  
  6. dracut --force
  7.  
  8. cat /etc/default/grub
  9. #
  10. # Configuration file for GRUB.
  11. #
  12. GRUB_DEFAULT=saved
  13. #GRUB_HIDDEN_TIMEOUT=0
  14. #GRUB_HIDDEN_TIMEOUT_QUIET=false
  15. GRUB_TIMEOUT=5
  16. GRUB_DISTRIBUTOR="Void"
  17. GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 no_console_suspend nvidia-drm.modeset=1 vga=0 rdblacklist=nouveau nouveau.modeset=0"
  18. # Uncomment to use basic console
  19. GRUB_TERMINAL_INPUT=console
  20. # Uncomment to disable graphical terminal
  21. GRUB_TERMINAL_OUTPUT=console
  22. GRUB_BACKGROUND=/usr/share/void-artwork/splash.png
  23. #GRUB_GFXMODE=1920x1080x32
  24. #GRUB_DISABLE_LINUX_UUID=true
  25. #GRUB_DISABLE_RECOVERY=true
  26. GRUB_SAVEDEFAULT=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement