* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
@ 2016-12-20 11:23 ` bugzilla-daemon
2016-12-20 14:41 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-20 11:23 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 308 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 128584
--> https://bugs.freedesktop.org/attachment.cgi?id=128584&action=edit
some gpu locks
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1207 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
2016-12-20 11:23 ` bugzilla-daemon
@ 2016-12-20 14:41 ` bugzilla-daemon
2016-12-22 0:00 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-20 14:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 282 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Can you try reproducing it in valgrind and see if that raises some interesting
errors?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1062 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
2016-12-20 11:23 ` bugzilla-daemon
2016-12-20 14:41 ` bugzilla-daemon
@ 2016-12-22 0:00 ` bugzilla-daemon
2016-12-29 11:03 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-22 0:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 568 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #3 from Andy Furniss <adf.lists@gmail.com> ---
Couldn't get it to crash with valgrind.
Bisect not 100% sure as it seemed to get harder to provoke going back in time,
but it does seem to need temporal deint and I got -
first bad commit: [d0d5f7600c2e8ab8d0c153787185f7a534753edd]
Revert "st/vdpau: use linear layout for output surfaces
The revert reverts from current head, so I will test for a while like that.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1352 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (2 preceding siblings ...)
2016-12-22 0:00 ` bugzilla-daemon
@ 2016-12-29 11:03 ` bugzilla-daemon
2017-01-04 9:02 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-29 11:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #4 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Andy Furniss from comment #3)
> Couldn't get it to crash with valgrind.
>
> Bisect not 100% sure as it seemed to get harder to provoke going back in
> time, but it does seem to need temporal deint and I got -
>
> first bad commit: [d0d5f7600c2e8ab8d0c153787185f7a534753edd]
> Revert "st/vdpau: use linear layout for output surfaces
>
> The revert reverts from current head, so I will test for a while like that.
I've been running OK with the revert reverted for some time now, testing with a
script that repeatedly starts kodi, so it does seem to be this commit that
causes some timing issue with vdpau temporal deint.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1720 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (3 preceding siblings ...)
2016-12-29 11:03 ` bugzilla-daemon
@ 2017-01-04 9:02 ` bugzilla-daemon
2017-01-04 10:18 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-04 9:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #5 from Christian König <deathsimple@vodafone.de> ---
Yeah and that actually makes sense, by using linear layout you also disable
DCC.
Does using R600_DEBUG=nodcc help as well?
Marek please take a look at the backtraces in the first post. It sounds like
one thread is getting the handle of a texture which results in a DCC
decompress.
Could it be that we have a race with that?
Regards,
Christian.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1348 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (4 preceding siblings ...)
2017-01-04 9:02 ` bugzilla-daemon
@ 2017-01-04 10:18 ` bugzilla-daemon
2017-01-04 10:49 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-04 10:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #6 from Marek Olšák <maraeo@gmail.com> ---
We could get a race if vlVdpOutputSurfaceDMABuf is called from a different
thread than the context is normally used with. Can that happen?
You can try to test this:
diff --git a/src/gallium/state_trackers/vdpau/output.c
b/src/gallium/state_trackers/vdpau/output.c
index 64574b2..96474fb 100644
--- a/src/gallium/state_trackers/vdpau/output.c
+++ b/src/gallium/state_trackers/vdpau/output.c
@@ -804,7 +804,7 @@ VdpStatus vlVdpOutputSurfaceDMABuf(VdpOutputSurface
surface,
whandle.type = DRM_API_HANDLE_TYPE_FD;
pscreen = vlsurface->surface->texture->screen;
- if (!pscreen->resource_get_handle(pscreen, vlsurface->device->context,
+ if (!pscreen->resource_get_handle(pscreen, NULL,
vlsurface->surface->texture, &whandle,
PIPE_HANDLE_USAGE_READ_WRITE))
return VDP_STATUS_NO_IMPLEMENTATION;
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1919 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (5 preceding siblings ...)
2017-01-04 10:18 ` bugzilla-daemon
@ 2017-01-04 10:49 ` bugzilla-daemon
2017-01-05 0:00 ` bugzilla-daemon
2017-01-05 10:51 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-04 10:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 300 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #7 from Marek Olšák <maraeo@gmail.com> ---
Nevermind. This series should fix it for VDPAU and VAAPI:
https://patchwork.freedesktop.org/series/17480/
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1139 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (6 preceding siblings ...)
2017-01-04 10:49 ` bugzilla-daemon
@ 2017-01-05 0:00 ` bugzilla-daemon
2017-01-05 10:51 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-05 0:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
--- Comment #8 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Marek Olšák from comment #7)
> Nevermind. This series should fix it for VDPAU and VAAPI:
>
> https://patchwork.freedesktop.org/series/17480/
Yea, it's OK with these, thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1306 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread* [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285
2016-12-20 11:22 [Bug 99158] vdpau segfaults and gpu locks with kodi on R9285 bugzilla-daemon
` (7 preceding siblings ...)
2017-01-05 0:00 ` bugzilla-daemon
@ 2017-01-05 10:51 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-05 10:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 436 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99158
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1269 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread