X server fails to set correct mode on resume from sleep (NVIDIA: Setting a mode on head 0 failed: An invalid mode was requested)

Bug #1493921 reported by Pas
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Using a really picky Dell P2415Q monitor through DP->mDP (displayport -> mini displayport) cable, nvidia binary driver version 352.30-0ubuntu1. This is not a laptop, so the Intel integrated VGA is disabled. (No other cards in sysfs.)

Really nasty bug, as every time all the running applications detect that the X server went away and exit, logind terminates the session culling everyone, and so on.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-7.7-generic 4.2.0
Uname: Linux 4.2.0-7-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.30 Tue Jul 21 18:53:45 PDT 2015
 GCC version: gcc version 5.2.1 20150825 (Ubuntu 5.2.1-15ubuntu5)
ApportVersion: 2.18-0ubuntu9
Architecture: amd64
Date: Wed Sep 9 17:56:53 2015
DistUpgraded: 2014-08-06 01:18:55,244 DEBUG enabling apt cron job
DistroCodename: wily
DistroVariant: ubuntu
GraphicsCard:
 NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:3614]
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-7-generic root=UUID=fba348ec-fc7c-4c7f-b78b-026be76c4568 ro crashkernel=384M-:128M crashkernel=384M-:128M
SourcePackage: xorg
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2014-08-05 (399 days ago)
dmi.bios.date: 10/24/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F18
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77X-UD3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF18:bd10/24/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ77X-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.6.3-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.6.3-1ubuntu1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
xserver.bootTime: Wed Sep 9 15:10:08 2015
xserver.configfile: default
xserver.devices:
 input Power Button KEYBOARD, id 6
 input Power Button KEYBOARD, id 7
 input Logitech G100s Optical Gaming Mouse MOUSE, id 8
 input AT Translated Set 2 keyboard KEYBOARD, id 9
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.17.2-1ubuntu5

Revision history for this message
Pas (pasthelod) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Pas, thank you for reporting this and helping make Ubuntu better. Does using nouveau provide a WORKAROUND?

tags: added: latest-bios-f18
Changed in xorg (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Norman Ramsey (nr-cs) wrote :

I'm getting the same bug with the Dell P2715Q (basically the same monitor but with a larger panel).

Revision history for this message
penalvch (penalvch) wrote :

Norman Ramsey, it will help immensely if you filed a new report via a terminal:
ubuntu-bug xorg

Please ensure you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

Revision history for this message
Norman Ramsey (nr-cs) wrote : Re: [Bug 1493921] Re: X server fails to set correct mode on resume from sleep (NVIDIA: Setting a mode on head 0 failed: An invalid mode was requested)

 > Norman Ramsey, it will help immensely if you filed a new report via a
 > terminal: ubuntu-bug xorg

I am actually running Debian. And the bug is more complicated than it
appears. Setting

options nvidia NVreg_EnableMSI=0

seems to help *sometimes*.

Once I get a better handle on the problem, I will file a proper bug
report with Debian and will cross-list it.

Norman

Revision history for this message
Norman Ramsey (nr-cs) wrote :

The issue seems to be the power state of the monitor.

Full report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801146

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 15.10 (wily) reached end-of-life on July 28, 2016.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in xorg (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Steve (svarg) wrote :

I have exactly the same issue and can't use Linux for Home office: daily docking/undocking cycles:
See bugreport [1] Linux for HomeOffice - Sporadic X11 crash when docking/undocking "Failed to enter VT"

My system config:
Most recent Ubuntu 20.04LTS and KDE Plasma version
Dell Precision 15" 7540, Xeon E-2286M@2.4GHz, 128 GB ECC RAM, NVIDIA Quadro RTX 5000 16GB VRAM
Dockingstations at Home and Offices: WD19DC (240W)
Monitors used for Linux migration Office1: 2x 4K U4320Q, 42.5" @ 96dpi font / No scaling a
Monitors used for Linux migration Office2: 2xU3818DW, 37.5"
Monitors used for Linux migration at home: 3x FullHD Dell monitors

[1] https://gitlab.freedesktop.org/xorg/xserver/-/issues/1197

Revision history for this message
Steve (svarg) wrote (last edit ):

Ok, it is not exactly the same issue, I get EnterVT failed for screen 0 "Invalid surface parameters were specified"
So I am opening a new bug

Revision history for this message
penalvch (penalvch) wrote :

Steve, please open a new report.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.