The proprietary Nvidia driver consists of multiple parts:
kernel modules: nvidia-drm.ko, nvidia.ko, nvidia-modeset.ko, and in newer versions, also nvidia-peermem.ko and nvidia-uvm.ko. If DKMS is used, these can be found in /lib/modules/$(uname -r)/updates/dkms/. Since a chroot uses the same kernel as the host OS, you don't need to copy these into a chroot.
First, edit ~/.config/monitors.xml
Then you can use script from https://gist.github.com/chirag64/7853413
./xrandr.sh 1920 1080 60
Works for me (Linux Mint 17.3 with Cinnamon)
you have to use xorg.conf for nvidia
just take the "BusID" generated by X -configure from /root/xorg.conf for your device and use it with /etc/X11/xorg.conf
where BusID is your BusID if not device 5:0:0
VendorName "NVIDIA Corporation"
I upgraded to Debian Rolling Release (unstable/sid) and it works now. I really don't know what the problem was, something about bumblebee/primus I think. After the upgrade I now have Xorg 1.20.11 so I can use NVIDIA Optimus natively. One driver reinstall + purge later, it works great.
Over the past week I've been seeing something similar. This would be since kernel-default-5.12.13-1 and Nvidia driver 460.84, but not immediately after their install, so it could be related to other updates (plasma, chrome, ...). It's continued to happen on kernel-default 5.13.0-1.1. It's happened three times on a desktop that has been rock stable for ...
I was having the same issue.
Check the Bios for updates and ensure that the Nvidia 460 prop drivers support your kernel
Perhaps check that all drives report a clean smartctl self-test
Ensure that your Swap partition is larger than the installed memory.
Find the UUID of your swap partition and add it to /etc/default/grub as the value for resume=
You can also ...