Bug 198243

Summary: nouveau: X11 server hangs while DPMS active
Product: Drivers Reporter: Eduardo Santiago (kernelbugs)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.12.12 Subsystem:
Regression: No Bisected commit-id:
Attachments: Xorg.0.log

Description Eduardo Santiago 2017-12-24 01:47:44 UTC
Created attachment 261315 [details]
Xorg.0.log

Symptom: DPMS is engaged, monitors off. Pressing keys has no effect.

System is alive. ssh'ing in, trying xdpyinfo (or any X command) on :0.0 results in a hung client. Problem appeared between 4.9.34 and 4.12.12, sorry I can't narrow it down further. It happens within a few hours of boot, and has never hung while I'm actually doing something - only when I leave the keyboard and come back to DPMS-blanked system.

Xorg server 1.19.5; hang has never happened on 4.9.34. It has happened twice in the last 24 hours on 4.14.8.

strace on the X process yields rapid infinite loop of:

    ioctl(12, DRM_IOCTL_NOUVEAU_GEM_CPU_PREP, 0x7ffee9b26240) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
    --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---

There is absolutely nothing in /var/log/messages.

lspci reports the card as: 01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1) (prog-if 00 [VGA controller])