When the machine wakes up from suspend, and “load legacy option rom” is disabled in bios setup, X server terminates with following error at the end of log:
[ 63799.606] (II) NVIDIA(0): Setting mode "DP-2: nvidia-auto-select @3840x2160 +0+0 {ViewPortIn=3840x2160, ViewPortOut=3840x2160+0+0}"
[ 63799.607] (WW) NVIDIA(0): Failed to set the display configuration
[ 63799.607] (WW) NVIDIA(0): - Setting a mode on head 0 failed: An invalid mode was
[ 63799.607] (WW) NVIDIA(0): requested
[ 63799.607] (EE) NVIDIA(0): Failed to enter VT (mode initialization failed)
[ 63799.607] (EE)
Fatal server error:
[ 63799.607] (EE) EnterVT failed for screen 0
[ 63799.607] (EE)
[ 63799.607] (EE)
Instead of session unlock screen I see login screen of the display manager (and, obviously, it logs in to a clean new session).
The hardware is Alienware X51 R2 (GeForce GTX 960). Dell P2415Q display is attached through DisplayPort.
On Windows, the same machine, and the same display works without any major issues.
nvidia-bug-report.log.gz: https://drive.google.com/file/d/0B3XnWl6KJ-NOdFUxT0htU05PVjQ/view?usp=sharing
Xorg.0.log.old: https://drive.google.com/file/d/0B3XnWl6KJ-NOaWRXVnBJTnYzc00/view?usp=sharing
Is the driver expected to fail without legacy option rom?
BTW, when I boot with legacy option rom enabled, I see following warning in dmesg:
[ 2.371552] NVRM: Your system is not currently configured to drive a VGA console
[ 2.371554] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 2.371555] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 2.371556] NVRM: drivers including, but not limited to, vesafb, may result in
[ 2.371556] NVRM: corruption and stability problems, and is not supported.
And there is no warning when legacy option rom is disabled. But for me the situation is exactly opposite: the driver is unstable without legacy option rom.