* [Bug 95545] [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
@ 2016-05-23 15:37 bugzilla-daemon
2016-05-23 15:38 ` bugzilla-daemon
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-05-23 15:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95545
Bug ID: 95545
Summary: [amdgpu][tonga] mplayer -vo=gl:yuv=2 causes VM fault
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: csaba.halasz@gmail.com
Created attachment 123994
--> https://bugs.freedesktop.org/attachment.cgi?id=123994&action=edit
vm fault report
Running mplayer with -vo gl:yuv=x with x>1 causes GPU VM fault.
yuv=0 is software rendering, that works fine.
yuv=1 uses GL_NV_register_combiners and that doesn't fault but the output is
unusable.
The other values use fragment shaders, those are all broken.
Reportedly the apitrace works with older versions, mesa 11.2.2 and llvm 3.6.2.
kernel agd5f/drm-next-4.7 git 3b59c344ab6e2d00b0f4ad946024572618c87502
mesa git 65c2abf6fdd51b0a80a72caa0c52cf3f4578e743
llvm git ef1f2996c17c9b1480201239002b58851810e8fc
xf86-video-amdgpu git 60ced5026ebc34d9f32c7618430b6a7ef7c8eb4b
Xorg 1.18.0
mplayer svn r37870
gigabyte 380 (tonga)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2755 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
` (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
end of thread, other threads:[~2016-06-27 15:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox