After waking from sleep, these yellow and blue bars appear. I can move my mouse. After 5-10seconds, the bars dissapear but the screen is completely frozen and I cannot move my mouse.
Arch Linux x86_64
NVIDIA GTX 1070 TI
#getting suspend/resume to work properly by passing grub kernel parameters
#the acpi_osi parameter will let linux pretend to be a windows version that the BIOS will recognize
GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2009\" mem_sleep_default=deep reboot=bios"
#the text for the acpi call can be obtained from the last string shown using
sudo strings /sys/firmware/acpi/tables/DSDT | grep -i 'windows ' | sort
#these params are ubuntu specific per the nvida website
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=0 nvidia-drm.modeset=1 rdblacklist=nouveau nouveau.modeset=0"
Is the windows stuff necessary? Whats actually the useful part?
it fools the BIOS into offering up the acpi features to linux… it worked on my older machine.
Whats the point of that and how does it relate to the graphical glitch?
it looks like you are not writing vram to disk at suspend, so when you resume it pulls in random 1’s and 0’s until it refreshes.
the first step toward getting a nvidia driver to write vram to disk is to get suspend/resume working properly
here is the wiki article.