[Nouveau] [Bug 97462] Graphics deadlock "ILLEGAL_MTHD" in nouveau with mesa version 11.2.2 when visiting Google Maps with firefox 49.0b5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 20 13:51:19 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97462

--- Comment #13 from wadev at mailbox.hu ---
No dice, I am still having the problem.

In the meantime, today I tried it with

OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVD9
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30

on Debian Jessie.

it does exactly the same (with hardware acceleration enabled).

But in that case, instead of messages about ILLEGAL_MTHD, I get like

Oct 20 09:54:59 terra kernel: [23578.198775] nouveau E[   PFIFO][0000:01:00.0]
PBDMA0: (unknown bits 0x00040000)
Oct 20 09:54:59 terra kernel: [23578.198780] nouveau E[   PFIFO][0000:01:00.0]
PBDMA0: ch 5 [Compositor[20598]] subc 0 mthd 0x0000 data 0x00000000
Oct 20 09:54:59 terra kernel: [23578.198795] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0808 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198816] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0810 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198837] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_ENUM] ch 5 [0x007f9ec000 Compositor[20598]] subc 0 class
0x9297 mthd 0x0814 data 0x000000c0
Oct 20 09:54:59 terra kernel: [23578.198858] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0818 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198879] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_VALUE] ch 5 [0x007f9ec000 Compositor[20598]] subc 0 class
0x9297 mthd 0x081c data 0x000000$
Oct 20 09:54:59 terra kernel: [23578.198899] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0820 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198920] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x2490 data 0x000$
Oct 20 09:54:59 terra kernel: [23578.198940] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0fc8 data 0x600$
Oct 20 09:54:59 terra kernel: [23578.198953] nouveau E[   PFIFO][0000:01:00.0]
PBDMA0: (unknown bits 0x00040000)
Oct 20 09:54:59 terra kernel: [23578.198955] nouveau E[   PFIFO][0000:01:00.0]
PBDMA0: ch 5 [Compositor[20598]] subc 0 mthd 0x0000 data 0x00000000
Oct 20 09:54:59 terra kernel: [23578.198969] nouveau E[  PGRAPH][0000:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x1160 data 0x446$
Oct 20 09:55:03 terra kernel: [23582.489822] nouveau E[   PFIFO][0000:01:00.0]
SCHED_ERROR [ CTXSW_TIMEOUT ]
Oct 20 09:55:03 terra kernel: [23582.489828] nouveau E[   PFIFO][0000:01:00.0]
PPPP engine fault on channel 5, recovering...
Oct 20 09:55:03 terra kernel: [23582.489876] nouveau 0000:01:00.0: firmware:
failed to load nouveau/nvd9_fuc086 (-2)
Oct 20 09:55:03 terra kernel: [23582.489877] nouveau 0000:01:00.0: Direct
firmware load failed with error -2
Oct 20 09:55:03 terra kernel: [23582.489878] nouveau 0000:01:00.0: Falling back
to user helper
Oct 20 09:55:03 terra kernel: [23582.490392] nouveau 0000:01:00.0: firmware:
failed to load nouveau/nvd9_fuc086d (-2)
Oct 20 09:55:03 terra kernel: [23582.490394] nouveau 0000:01:00.0: Direct
firmware load failed with error -2
Oct 20 09:55:03 terra kernel: [23582.490395] nouveau 0000:01:00.0: Falling back
to user helper
Oct 20 09:55:03 terra kernel: [23582.490763] nouveau E[    PPPP][0000:01:00.0]
unable to load firmware data
Oct 20 09:55:03 terra kernel: [23582.490764] ------------[ cut here
]------------
Oct 20 09:55:03 terra kernel: [23582.490788] WARNING: CPU: 0 PID: 20731 at
/build/linux-EZT6bx/linux-3.16.36/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c:422
nvc0_fifo_recover_work+0x271$
Oct 20 09:55:03 terra kernel: [23582.490789] Modules linked in: tun bnep
bluetooth 6lowpan_iphc binfmt_misc vmhgfs(O) vmw_vmci fuse lp
snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powercla$
Oct 20 09:55:03 terra kernel: [23582.490821] CPU: 0 PID: 20731 Comm:
kworker/0:2 Tainted: G           O  3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u1

and then (another attempt):

Oct 20 14:02:32 terra kernel: [38416.887838] Call Trace:
Oct 20 14:02:32 terra kernel: [38416.887966]  [<ffffffffa02ae32b>] ?
nouveau_fence_update+0x5b/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888121]  [<ffffffffa02ae925>] ?
nouveau_fence_wait+0xb5/0x190 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888267]  [<ffffffffa02acf85>] ?
nouveau_channel_idle+0x65/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888414]  [<ffffffffa02b566a>] ?
nouveau_abi16_chan_fini.isra.3+0x2a/0x1b0 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888598]  [<ffffffffa02b59ee>] ?
nouveau_abi16_fini+0x3e/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888743]  [<ffffffffa02abd03>] ?
nouveau_drm_preclose+0x33/0x90 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888885]  [<ffffffffa010f753>] ?
drm_release+0x53/0x5e0 [drm]
Oct 20 14:02:32 terra kernel: [38416.889020]  [<ffffffff811ac1aa>] ?
__fput+0xca/0x1d0
Oct 20 14:02:32 terra kernel: [38416.889160]  [<ffffffff8108670c>] ?
task_work_run+0x8c/0xb0
Oct 20 14:02:32 terra kernel: [38416.889293]  [<ffffffff8106ac61>] ?
do_exit+0x2b1/0xa70
Oct 20 14:02:32 terra kernel: [38416.889425]  [<ffffffff81017277>] ?
oops_end+0x97/0xe0
Oct 20 14:02:32 terra kernel: [38416.889557]  [<ffffffff8150ec7c>] ?
no_context+0x2b2/0x2be
Oct 20 14:02:32 terra kernel: [38416.889690]  [<ffffffff81058593>] ?
__do_page_fault+0x463/0x4f0
Oct 20 14:02:32 terra kernel: [38416.889825]  [<ffffffff8101e1c6>] ?
__switch_to_xtra+0x136/0x170
Oct 20 14:02:32 terra kernel: [38416.889960]  [<ffffffff81012900>] ?
__switch_to+0x480/0x5a0
Oct 20 14:02:32 terra kernel: [38416.890093]  [<ffffffff8151a568>] ?
page_fault+0x28/0x30
Oct 20 14:02:32 terra kernel: [38416.890240]  [<ffffffffa02b73b1>] ?
nv84_fence_read+0x21/0x30 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.890385]  [<ffffffffa02ae32b>] ?
nouveau_fence_update+0x5b/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.890531]  [<ffffffffa02ae6a0>] ?
nouveau_fence_wait_uevent.isra.2+0x350/0x3e0 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.890709]  [<ffffffff810a9590>] ?
prepare_to_wait_event+0xf0/0xf0
Oct 20 14:02:32 terra kernel: [38416.890852]  [<ffffffffa02ae8ef>] ?
nouveau_fence_wait+0x7f/0x190 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.890998]  [<ffffffffa02ae32b>] ?
nouveau_fence_update+0x5b/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.891148]  [<ffffffffa00d4685>] ?
ttm_bo_wait+0x85/0x180 [ttm]
Oct 20 14:02:32 terra kernel: [38416.891291]  [<ffffffffa02b534f>] ?
nouveau_gem_ioctl_cpu_prep+0x4f/0xd0 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.891469]  [<ffffffffa010e8a7>] ?
drm_ioctl+0x1c7/0x5b0 [drm]
Oct 20 14:02:32 terra kernel: [38416.891604]  [<ffffffff81079ee1>] ?
__set_current_blocked+0x31/0x50
Oct 20 14:02:32 terra kernel: [38416.891740]  [<ffffffff810135e9>] ?
do_signal+0x199/0xa10
Oct 20 14:02:32 terra kernel: [38416.891872]  [<ffffffff8101f6b2>] ?
__restore_xstate_sig+0x82/0x570
Oct 20 14:02:32 terra kernel: [38416.892015]  [<ffffffffa02abb0e>] ?
nouveau_drm_ioctl+0x5e/0x90 [nouveau]


The strange thing is that it *may* not be the proposed synchronization related
issue, rather in relation to the DRM ioctl(s), or at least I so guessed, as
when I connect from another machine, forcefully remove nouveau module - after
killing Xorg and display manager - with "rmmod -f nouveau" then re-probe the
module, it "picks up" where it dropped, with the exception of seemingly not
even the initialization can pass and thus cannot get my tty back, but errors
are kept being dumped on the screen, just without cursor (or caret or whatnot)
or anything.

--

Paviluf, could you please mention your firefox version and the output of your
glxinfo - at least the core profile one pertaining to mesa version?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20161020/56fb1aa5/attachment.html>


More information about the Nouveau mailing list