* [Bug 101323] New: [nv20] glx-swap-event hangs X server
@ 2017-06-06 22:37 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-101323-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
0 siblings, 1 reply; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-06-06 22:37 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 5974 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=101323
Bug ID: 101323
Summary: [nv20] glx-swap-event hangs X server
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Reporter: idr-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Running 'bin/glx-swap-event --async -auto' on at least NV20 hangs the X server.
Some dmesg info that *might* be related (during a full piglit run):
[ 3288.695639] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 16bc data 00000001
[ 3288.695674] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af0 data 00000000
[ 3288.695692] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af4 data 00000000
[ 3288.695711] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af8 data 4affffff
[ 3288.695728] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0afc data 477fff00
[ 3288.695747] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 14f8 data ffffffff
[ 3288.695765] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 14fc data ffffffff
[ 3288.695783] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 147c data 00000000
[ 3288.695800] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 03f8 data 00000000
[ 3288.695817] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 03fc data 00000000
[ 3288.695864] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 16bc data 00000001
[ 3288.695882] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af0 data 00000000
[ 3288.695900] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af4 data 00000000
[ 3288.695918] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0af8 data 4affffff
[ 3288.695935] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 0afc data 477fff00
[ 3288.695952] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 14f8 data ffffffff
[ 3288.695969] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 14fc data ffffffff
[ 3288.695986] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000800
[STATE_INVALID] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 147c data 00000000
[ 3288.696003] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 03f8 data 00000000
[ 3288.696052] nouveau 0000:04:00.0: gr: intr 00100000 [ERROR] nsource 00000040
[ILLEGAL_MTHD] nstatus 05000000 [INVALID_STATE PROTECTION_FAULT] ch 1
[Xorg[713]] subc 7 class 0096 mthd 03fc data 00000000
Backtrace of the X server process:
(gdb) bt
#0 0x00007f999b0d1787 in ioctl () from /lib64/libc.so.6
#1 0x00007f999c5d52e8 in drmIoctl () from /lib64/libdrm.so.2
#2 0x00007f999c5d7e6b in drmCommandWrite () from /lib64/libdrm.so.2
#3 0x00007f99979701f2 in nouveau_bo_wait () from /lib64/libdrm_nouveau.so.2
#4 0x00007f9997b812e2 in nouveau_dri2_copy_region2 () from
/usr/lib64/xorg/modules/drivers/nouveau_drv.so
#5 0x000000000056ce6b in dri2_copy_region ()
#6 0x000000000056e19f in DRI2SwapBuffers ()
#7 0x000000000056f9ad in ProcDRI2Dispatch ()
#8 0x00000000004370f5 in Dispatch ()
#9 0x000000000043b078 in dix_main ()
#10 0x00007f999aff4401 in __libc_start_main () from /lib64/libc.so.6
#11 0x0000000000424d5a in _start ()
This is on Fedora 24.
xorg-x11-server-Xorg-1.19.3-1.fc25.x86_64
kernel-4.11.3-200.fc25.x86_64
xorg-x11-drv-nouveau-1.0.15-2.fc25.x86_64
I'm using Mesa master from the last couple days (commit 06f425192).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 7274 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 101323] [nv20] glx-swap-event hangs X server
[not found] ` <bug-101323-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2017-06-06 22:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-09-18 20:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-06-06 22:44 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1169 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=101323
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
A few things you may be interested in:
(a) The pid always comes back as Xorg, since that's who opens the FD, even in a
dri3 scenario. Only time that it's the real application is when you're using
DRI3 *and* running on a secondary GPU.
(b) Hangs in nouveau_bo_wait indicate that the GPU hung. Basically it's an
ioctl that stalls until a fence is hit (the command for writing the fence is
sent by the kernel on command submission). If it never returns, that means the
fence is never hit. [Or there's a bug in our fence logic... I wonder if there's
some sort of 32-bit wraparound sadness in there which is helped by piglit.]
Since you have a reproducible hang, might want to check dmesg *before* running
the test, and then seeing what happens.
FWIW I always run piglit with "-x glx" -- that stuff never ends well on any
generation with nouveau, and I've never had the desire to investigate it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1928 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 101323] [nv20] glx-swap-event hangs X server
[not found] ` <bug-101323-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2017-06-06 22:44 ` [Bug 101323] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2019-09-18 20:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2019-09-18 20:45 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=101323
GitLab Migration User <gitlab-migration-wf5LKTHn7b+es5Oj371l6A@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #2 from GitLab Migration User <gitlab-migration-wf5LKTHn7b+es5Oj371l6A@public.gmane.org> ---
-- 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/mesa/mesa/issues/1134.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2462 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-18 20:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06 22:37 [Bug 101323] New: [nv20] glx-swap-event hangs X server bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-101323-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2017-06-06 22:44 ` [Bug 101323] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-09-18 20:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.