Bug 92852 - NV34: WARNING: ... at drivers/gpu/drm/drm_irq.c:924 drm_vblank_count_and_time+0x71/0x80 [drm]()
Summary: NV34: WARNING: ... at drivers/gpu/drm/drm_irq.c:924 drm_vblank_count_and_time...
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-07 05:09 UTC by poma
Modified: 2015-11-09 03:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg 4.3.0-1.fc24.i686 NV34 (13.13 KB, text/plain)
2015-11-07 05:09 UTC, poma
no flags Details

Description poma 2015-11-07 05:09:39 UTC
Created attachment 119457 [details]
dmesg 4.3.0-1.fc24.i686 NV34

NV34 / 4.3.0-1.fc24.i686
Both, DRI3/XPresent and GLX, use_compositing true:

dmesg:
WARNING: CPU: 0 PID: 1654 at drivers/gpu/drm/drm_irq.c:924 drm_vblank_count_and_time+0x71/0x80 [drm]()
...
Call Trace:
 [<c071d550>] dump_stack+0x41/0x61
 [<c045de97>] warn_slowpath_common+0x87/0xc0
 [<f7e1b811>] ? drm_vblank_count_and_time+0x71/0x80 [drm]
 [<f7e1b811>] ? drm_vblank_count_and_time+0x71/0x80 [drm]
 [<c045dfa2>] warn_slowpath_null+0x22/0x30
 [<f7e1b811>] drm_vblank_count_and_time+0x71/0x80 [drm]
 [<f7e1c05c>] drm_send_vblank_event+0x6c/0x80 [drm]
 [<f85d37d6>] nouveau_finish_page_flip+0x66/0x120 [nouveau]
 [<f85d38b6>] nouveau_flip_complete+0x26/0x220 [nouveau]
 [<f85d2470>] ? nouveau_display_vblstamp+0x70/0x80 [nouveau]
 [<f8536c40>] nvif_notify+0x90/0x160 [nouveau]
 [<c049af8f>] ? __wake_up+0x3f/0x50
 [<c0ac2b8d>] ? _raw_spin_unlock_irqrestore+0xd/0x10
 [<f7e1d170>] ? drm_handle_vblank+0x210/0x360 [drm]
 [<f85c8dd8>] nvkm_client_ntfy+0x78/0x80 [nouveau]
 [<f8536ed8>] nvkm_client_notify+0x28/0x30 [nouveau]
 [<f8539cb5>] nvkm_notify_send+0x75/0x120 [nouveau]
 [<f8537d95>] nvkm_event_send+0xb5/0xe0 [nouveau]
 [<f85c58fe>] nvkm_sw_chan_mthd+0x5e/0x80 [nouveau]
 [<f85c4f91>] nvkm_sw_mthd+0x91/0xb0 [nouveau]
 [<f8596d8f>] nv04_fifo_intr+0x5ff/0x770 [nouveau]
 [<c0ac2b8d>] ? _raw_spin_unlock_irqrestore+0xd/0x10
 [<f8537d7b>] ? nvkm_event_send+0x9b/0xe0 [nouveau]
 [<f85960e1>] nvkm_fifo_intr+0x11/0x20 [nouveau]
 [<f85375f9>] nvkm_engine_intr+0x19/0x20 [nouveau]
 [<f853b623>] nvkm_subdev_intr+0x13/0x20 [nouveau]
 [<f8577871>] nvkm_mc_intr+0x61/0xf0 [nouveau]
 [<c080e2ee>] ? add_interrupt_randomness+0x14e/0x1b0
 [<f857bf42>] nvkm_pci_intr+0x42/0x80 [nouveau]
 [<c04b5006>] handle_irq_event_percpu+0x76/0x190
 [<c04b7d60>] ? handle_simple_irq+0x70/0x70
 [<c04b514a>] handle_irq_event+0x2a/0x50
 [<c04b7dd2>] handle_fasteoi_irq+0x72/0x120
 [<c04060c3>] handle_irq+0xa3/0xd0
 <IRQ>  [<c040589c>] do_IRQ+0x3c/0xc0
 [<c072adad>] ? __copy_to_user_ll+0xd/0x10
 [<c0ac3a73>] common_interrupt+0x33/0x38
 [<c05cf255>] ? __fget_light+0x35/0x50
 [<c05cf282>] __fdget+0x12/0x20
 [<c05c825d>] do_sys_poll+0x2bd/0x570
 [<c072b07c>] ? _copy_from_user+0x3c/0x50
 [<c05b5408>] ? rw_copy_check_uvector+0x58/0x110
 [<c0a69076>] ? unix_stream_recvmsg+0x46/0x60
 [<c0a66f40>] ? unix_set_peek_off+0x50/0x50
 [<c09a476d>] ? sock_recvmsg+0x3d/0x50
 [<c09a5be6>] ? ___sys_recvmsg+0x116/0x150
 [<c048d8a8>] ? check_preempt_wakeup+0xe8/0x220
 [<c05c6ea0>] ? poll_select_copy_remaining+0x130/0x130
 [<c09ae2f8>] ? __alloc_skb+0x78/0x1e0
 [<c05cf282>] ? __fdget+0x12/0x20
 [<c09a6684>] ? __sys_recvmsg+0x44/0x80
 [<c09a70ae>] ? SYSC_socketcall+0x7ae/0x9c0
 [<c0a68718>] ? unix_stream_sendmsg+0x358/0x380
 [<c09a514d>] ? sock_sendmsg+0x2d/0x40
 [<c05b4a60>] ? do_readv_writev+0x140/0x350
 [<c04cb81a>] ? ktime_get+0x4a/0x120
 [<c09a5160>] ? sock_sendmsg+0x40/0x40
 [<c04f857f>] ? __audit_syscall_entry+0xaf/0x110
 [<c04012a4>] ? do_audit_syscall_entry.isra.9+0x44/0x50
 [<c0401607>] ? syscall_trace_enter_phase1+0x107/0x130
 [<c05c8643>] SyS_poll+0xc3/0x100
 [<c0ac32e1>] syscall_call+0x7/0x7
---[ end trace aac837c2925b2e70 ]---
nouveau 0000:01:00.0: Xorg[494]: failed to idle channel 0xcccc0000 [Xorg[494]]
nouveau 0000:01:00.0: Xorg[494]: failed to idle channel 0xcccc0000 [Xorg[494]]
nouveau 0000:01:00.0: DRM: 0xDBBA: Parsing digital output script table
nouveau 0000:01:00.0: DRM: 0xDB7C: Parsing digital output script table
nouveau 0000:01:00.0: DRM: GPU lockup - switching to software fbcon
nouveau 0000:01:00.0: DRM: 0xDBBA: Parsing digital output script table
nouveau 0000:01:00.0: Xorg[1847]: failed to idle channel 0xcccc0000 [Xorg[1847]]
nouveau 0000:01:00.0: Xorg[1847]: failed to idle channel 0xcccc0000 [Xorg[1847]]
nouveau 0000:01:00.0: DRM: 0xDBBA: Parsing digital output script table
nouveau 0000:01:00.0: gr: intr 00100000 [ERROR] nsource 00000100 [DMA_W_PROTECTION] nstatus 04000000 [PROTECTION_FAULT] ch 1 [Xorg[2211]] subc 0 class 0039 mthd 0100 data 00000000
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0001 [Xorg[2211]]
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0001 [Xorg[2211]]
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0000 [Xorg[2211]]
nouveau 0000:01:00.0: timeout at drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c:46/nv20_gr_chan_fini()!
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0000 [Xorg[2211]]
nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 0 [DRM] get ff2c4784 put ff2c4784 state df2c4785 (err: MEM_FAULT) push 00000100
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0000 [Xorg[2211]]
nouveau 0000:01:00.0: Xorg[2211]: failed to idle channel 0xcccc0000 [Xorg[2211]]
nouveau 0000:01:00.0: DRM: 0xDB7C: Parsing digital output script table
nouveau 0000:01:00.0: timeout at drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c:1223/nv04_gr_idle()!
nouveau 0000:01:00.0: gr: idle timed out with status 00022001
nouveau 0000:01:00.0: timeout at drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c:1223/nv04_gr_idle()!
nouveau 0000:01:00.0: gr: idle timed out with status 00022001
nouveau 0000:01:00.0: DRM: 0xDBBA: Parsing digital output script table

$ dmesg | grep drm_vblank_count_and_time | wc -l
256

WARNING going and going, doesn't spare ring buffer.
Comment 1 Ilia Mirkin 2015-11-07 05:13:08 UTC
Identical to https://bugzilla.kernel.org/show_bug.cgi?id=106431
Comment 2 Ilia Mirkin 2015-11-07 05:17:32 UTC
Please don't fiddle with the importance. All it does is affect the color on lists I look at, and the red annoys me.
Comment 3 poma 2015-11-07 05:26:14 UTC
SW:
kernel-core-4.3.0-1.fc24.i686
libdrm-2.4.61-3.fc22.i686
xorg-x11-server-Xorg-1.17.4-1.fc22.i686
xorg-x11-drv-nouveau-1.0.12-0.3.fc22.i686
mesa-dri-drivers-10.6.9-1.20151008.fc22.i686

&

Xfwm4 from git commit:
"compositor: Fix GL without ARB_texture_rectangle"
http://git.xfce.org/xfce/xfwm4/commit/?id=2cfac64

Both, DRI3/XPresent and GLX, use_compositing true,

- DRI3/XPresent - configure --disable-epoxy --enable-xpresent
   Build Configuration for xfwm4:
     Xpresent support:             yes
     Epoxy support:                no

- GLX - configure --disable-xpresent --enable-epoxy
   Build Configuration for xfwm4:
     Xpresent support:             no
     Epoxy support:                yes
Comment 4 poma 2015-11-07 05:29:32 UTC
How to reproduce:

Run xfce4-session with display compositing enabled:
$ xfconf-query --channel xfwm4 --property /general/use_compositing
true


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.