Bug 106120

Summary: Hang in XScreenSaver
Product: xorg Reporter: Paul Menzel <pmenzel+bugs.freedesktop.org>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Linux 4.14.30 messages none

Description Paul Menzel 2018-04-18 08:43:26 UTC
Created attachment 138902 [details]
Linux 4.14.30 messages

On a dual monitor setup, since moving from Nvidia’s proprietary drivers to Nouveau 1.0.15 with Linux 4.14.30 and X.Org X server 1.19.6, running XScreenSaver 5.37 over night coming back to the system the program is frozen.

```
$ more /proc/version
Linux version 4.14.30.mx64.211 (root@holidayincambodia.molgen.mpg.de) (gcc version 7.3.0 (GCC)) #1 SMP Tue Mar
 27 12:40:07 CEST 2018
$ dmesg | grep nouveau
[   55.882828] nouveau 0000:01:00.0: NVIDIA GT216 (0a5c00a2)
[   56.007447] nouveau 0000:01:00.0: bios: version 70.16.72.00.04
[   56.008001] nouveau 0000:01:00.0: fb: 512 MiB DDR3
[   56.057456] nouveau 0000:01:00.0: DRM: VRAM: 512 MiB
[   56.057457] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[   56.057459] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[   56.057460] nouveau 0000:01:00.0: DRM: DCB version 4.0
[   56.057461] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000380 00000000
[   56.057463] nouveau 0000:01:00.0: DRM: DCB outp 01: 08000382 00020030
[   56.057464] nouveau 0000:01:00.0: DRM: DCB outp 02: 028213a6 0f220010
[   56.057465] nouveau 0000:01:00.0: DRM: DCB outp 03: 02021362 00020010
[   56.057466] nouveau 0000:01:00.0: DRM: DCB conn 00: 00002030
[   56.057467] nouveau 0000:01:00.0: DRM: DCB conn 01: 00101146
[   56.147522] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[   56.198649] nouveau 0000:01:00.0: DRM: allocated 2560x1440 fb: 0x70000, bo ffff8801f51d3800
[   56.200002] fbcon: nouveaufb (fb0) is primary device
[   56.378972] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[   56.389927] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
[24345.413226] nouveau 0000:01:00.0: gr: TRAP DISPATCH_QUERY
[24345.413228] nouveau 0000:01:00.0: gr: no stuck command?
[24345.413241] nouveau 0000:01:00.0: fb: trapped write at 0020215000 on channel 7 [1f7c3000 timetunnel[10223]] engine 00 [PGRAPH] client 03 [DISPATCH] subclient 02 [QUERY] reason 00000002 [PAGE_NOT_PRESENT]
[136540.327847] nouveau 0000:01:00.0: gr: TRAP DISPATCH_QUERY
[136540.327849] nouveau 0000:01:00.0: gr: no stuck command?
[136540.327859] nouveau 0000:01:00.0: fb: trapped write at 0020215000 on channel 7 [1f7b3000 cubicgrid[24392]] engine 00 [PGRAPH] client 03 [DISPATCH] subclient 02 [QUERY] reason 00000002 [PAGE_NOT_PRESENT]
[149740.682664] nouveau 0000:01:00.0: gr: TRAP DISPATCH_QUERY
[149740.682666] nouveau 0000:01:00.0: gr: no stuck command?
[149740.682682] nouveau 0000:01:00.0: fb: trapped write at 0020215000 on channel 7 [1f7b3000 flipscreen3d[30021]] engine 00 [PGRAPH] client 03 [DISPATCH] subclient 02 [QUERY] reason 00000002 [PAGE_NOT_PRESENT]
[161741.043699] nouveau 0000:01:00.0: gr: TRAP DISPATCH_QUERY
[161741.043701] nouveau 0000:01:00.0: gr: no stuck command?
[161741.043711] nouveau 0000:01:00.0: fb: trapped write at 0020215000 on channel 7 [1f7b3000 rubikblocks[2611]] engine 00 [PGRAPH] client 03 [DISPATCH] subclient 02 [QUERY] reason 00000002 [PAGE_NOT_PRESENT]
[166541.141873] nouveau 0000:01:00.0: gr: TRAP DISPATCH_QUERY
[166541.141875] nouveau 0000:01:00.0: gr: no stuck command?
[166541.141889] nouveau 0000:01:00.0: fb: trapped write at 0020215000 on channel 7 [1f7b3000 boing[4728]] engine 00 [PGRAPH] client 03 [DISPATCH] subclient 02 [QUERY] reason 00000002 [PAGE_NOT_PRESENT]
[172738.032860] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 7 [geodesic[7871]] get 0000000000 put 0000000000 ib_get 00000000 ib_put 00000002 state c0000000 (err: MEM_FAULT) push 00400040
[172738.032870] nouveau 0000:01:00.0: fb: trapped read at 0020010000 on channel 7 [1f6b3000 geodesic[7871]] engine 05 [PFIFO] client 08 [PFIFO_READ] subclient 00 [PUSHBUF] reason 0000000f [DMAOBJ_LIMIT]
[172738.054718] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 7 [geodesic[7871]] get 0000000000 put 0000000000 ib_get 00000002 ib_put 00000004 state c0000000 (err: MEM_FAULT) push 00400040
[172738.054730] nouveau 0000:01:00.0: fb: trapped read at 0020010010 on channel 7 [1f6b3000 geodesic[7871]] engine 05 [PFIFO] client 08 [PFIFO_READ] subclient 00 [PUSHBUF] reason 0000000f [DMAOBJ_LIMIT]
[172829.815630] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 7 [geodesic[7871]] get 0000000000 put 0000000000 ib_get 00000004 ib_put 00000006 state c0000000 (err: MEM_FAULT) push 00400040
[172829.815640] nouveau 0000:01:00.0: fb: trapped read at 0020010020 on channel 7 [1f6b3000 geodesic[7871]] engine 05 [PFIFO] client 08 [PFIFO_READ] subclient 00 [PUSHBUF] reason 0000000f [DMAOBJ_LIMIT]
```

It could be, that the system was under memory pressure.

root      4572  0.0  0.0 159180  1928 ?        Ssl  Apr16   0:00 /usr/sbin/gdm-binary
root      4577  0.0  0.0 175448  1596 ?        Sl   Apr16   0:00  \_ /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
root      4579  9.2  2.5 694112 202660 tty3    Ssl+ Apr16 263:09      \_ /usr/libexec/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-NG4xU2/database -nolisten tcp
root      4688  0.0  0.0 262704  6812 ?        Sl   Apr16   0:00      \_ gdm-session-worker [pam/gdm-password]
joey1     4741  0.0  0.0  24152   536 ?        Ss   Apr16   0:00          \_ /bin/sh /etc/xdg/xfce4/xinitrc
joey1     4761  0.0  0.0  19768   332 ?        Ss   Apr16   0:00              \_ /usr/bin/ssh-agent -- startxfce4
joey1     4766  0.0  0.0 325448  3660 ?        Sl   Apr16   0:00              \_ xfce4-session
joey1     4795  0.0  0.0 355232  6576 ?        Sl   Apr16   0:00                  \_ bluetooth-applet
joey1     4829  0.0  0.0  64888  2524 ?        S    Apr16   0:08                  \_ xscreensaver -no-splash
joey1     7871  0.9  0.3 252952 26896 ?        SNl  07:54   1:31                  |   \_ geodesic -root
joey1     7872  0.3  0.3 255000 26588 ?        SNl  07:54   0:39                  |   \_ geodesic -root
joey1     4842  0.0  0.1 648920  8148 ?        Sl   Apr16   0:00                  \_ gnome-sound-applet
Comment 1 Ilia Mirkin 2018-04-18 11:28:43 UTC
Is this different than #106077?
Comment 2 Martin Peres 2019-12-04 09:38:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/425.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.