* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
@ 2016-05-23 15:38 ` bugzilla-daemon
2016-05-23 15:39 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-23 15:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 294 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
--- Comment #1 from csaba.halasz@gmail.com ---
Created attachment 123995
--> https://bugs.freedesktop.org/attachment.cgi?id=123995&action=edit
dmesg output
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1183 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
2016-05-23 15:38 ` bugzilla-daemon
@ 2016-05-23 15:39 ` bugzilla-daemon
2016-05-23 15:39 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-23 15:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 288 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
--- Comment #2 from csaba.halasz@gmail.com ---
Created attachment 123996
--> https://bugs.freedesktop.org/attachment.cgi?id=123996&action=edit
stderr
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1165 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
2016-05-23 15:38 ` bugzilla-daemon
2016-05-23 15:39 ` bugzilla-daemon
@ 2016-05-23 15:39 ` bugzilla-daemon
2016-05-23 22:44 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-23 15:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 290 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
--- Comment #3 from csaba.halasz@gmail.com ---
Created attachment 123997
--> https://bugs.freedesktop.org/attachment.cgi?id=123997&action=edit
apitrace
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1171 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
` (2 preceding siblings ...)
2016-05-23 15:39 ` bugzilla-daemon
@ 2016-05-23 22:44 ` bugzilla-daemon
2016-05-24 2:21 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-23 22:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1153 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
Andy Furniss <adf.lists@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adf.lists@gmail.com
--- Comment #4 from Andy Furniss <adf.lists@gmail.com> ---
Doesn't affect other players using gl.
But anyway, testing with mplayer -vo gl <file> bisect came up with -
commit 70934de00eb42ba6fc43d104875962dfb260a1b3
Author: Marek Olšák <marek.olsak@amd.com>
Date: Thu Apr 21 21:41:59 2016 +0200
radeonsi: add new SDMA texture copy code
This implements:
- Linear-to-linear partial copies. (unaligned)
- Tiled-to-linear and linear-to-tiled partial copies.
(unaligned except 1-2 Bpp)
- Tiled-to-tiled partial copies aligned to 8x8.
v2: Extend the SDMA L2T VM fault workaround to T2L.
- Same algorithm, just applied to T2L.
(and using a 0-based address and surface.bo_size instead of
buf->size)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2551 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
` (3 preceding siblings ...)
2016-05-23 22:44 ` bugzilla-daemon
@ 2016-05-24 2:21 ` bugzilla-daemon
2016-05-26 20:21 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-24 2:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 631 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|DRI git |git
QA Contact| |dri-devel@lists.freedesktop
| |.org
Product|DRI |Mesa
Component|DRM/AMDgpu |Drivers/Gallium/radeonsi
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1642 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
` (4 preceding siblings ...)
2016-05-24 2:21 ` bugzilla-daemon
@ 2016-05-26 20:21 ` bugzilla-daemon
2016-05-26 21:42 ` bugzilla-daemon
2016-06-27 15:18 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-26 20:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 483 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
--- Comment #5 from Marek Olšák <maraeo@gmail.com> ---
The problem is with the CE preamble which is sometimes skipped when it
shouldn't be. SDMA IB submission somehow affects it. The workarounds are:
- disable SDMA (bad)
- disable CE preamble (not so bad)
- execute SDMA in a different amdgpu context (not tested, just an idea I'll try
next)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1268 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
` (5 preceding siblings ...)
2016-05-26 20:21 ` bugzilla-daemon
@ 2016-05-26 21:42 ` bugzilla-daemon
2016-06-27 15:18 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-26 21:42 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
--- Comment #6 from Marek Olšák <maraeo@gmail.com> ---
Using a difference context for SDMA doesn't help. Disabling the CE preamble
seems to be the only solution.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1084 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] 9+ messages in thread* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
2016-05-23 15:37 [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault bugzilla-daemon
` (6 preceding siblings ...)
2016-05-26 21:42 ` bugzilla-daemon
@ 2016-06-27 15:18 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-06-27 15:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
Marek Olšák <maraeo@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #7 from Marek Olšák <maraeo@gmail.com> ---
This seems to be fixed. Possible fix:
commit 54f755fa0fda14c578022767bcef2f27b2e89707
Author: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Date: Mon Jun 6 22:36:35 2016 +0200
radeonsi: Reinitialize all descriptors in CE preamble.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2290 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] 9+ messages in thread