All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 94470] VDPAU is broken  on TAHITI with MPV
@ 2016-03-09 23:52 bugzilla-daemon
  2016-03-10 14:04 ` bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-09 23:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2092 bytes --]

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

            Bug ID: 94470
           Summary: VDPAU is broken  on TAHITI with MPV
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: jrch2k10@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Hi guys, i just found out MPV is broken for VDPAU on my TAHITI card (AMD Radeon
R9-280), so i'm not sure when was it.

the error is as follow 
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV
[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV
[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.
Mesa: User error: GL_INVALID_OPERATION in VDPAUMapSurfacesNV
AV: 00:00:02 / 00:20:45 (0%) A-V:  0.000


Exiting... (Quit)
[vo/opengl/vdpau-glx] Before uninitializing OpenGL interop: OpenGL error
INVALID_OPERATION.

MPV settings 
-vo=opengl[-hq] --hwdec=vdpau Filename

MPV works with 
-vo=vdpau --hwdec=vdpau Filename

Mesa/LLVM: today git 3dc2630e457155a4e8c8613911fe178bc4adf743
MPV: Today git d8b27ee4de4e26d594855960a4421b99db9e76ea

If you need more information please include instructions ;) not too saavy here
about Mesa debug and MESA_DEBUG=1 and LIBGL_DEBUG=verbose weren't of much help

TyVM for your hard work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3378 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
@ 2016-03-10 14:04 ` bugzilla-daemon
  2016-03-10 15:08 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 14:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 527 bytes --]

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

--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Rafael Castillo from comment #0)

> Mesa/LLVM: today git 3dc2630e457155a4e8c8613911fe178bc4adf743
> MPV: Today git d8b27ee4de4e26d594855960a4421b99db9e76ea

Not much help for you, but on those commits I can't reproduce on tonga.

Tonga uses a different kernel driver (amdgpu) though, and my kernel/libdrm are
also git versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1335 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
  2016-03-10 14:04 ` bugzilla-daemon
@ 2016-03-10 15:08 ` bugzilla-daemon
  2016-03-10 15:12 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 296 bytes --]

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

--- Comment #2 from Christian König <deathsimple@vodafone.de> ---
That sounds like VDPAU / OpenGL interop is missing.

Does "mpv -vo vdpau -hwdec vdpau $somefile" work?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1048 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
  2016-03-10 14:04 ` bugzilla-daemon
  2016-03-10 15:08 ` bugzilla-daemon
@ 2016-03-10 15:12 ` bugzilla-daemon
  2016-03-10 15:13 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:12 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]

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

--- Comment #3 from Rafael Castillo <jrch2k10@gmail.com> ---
yes it works and i make sure to enable vdpau in the build too just in case, so
i guess there is something wrong with interop in my chip

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1061 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-03-10 15:12 ` bugzilla-daemon
@ 2016-03-10 15:13 ` bugzilla-daemon
  2016-03-10 15:18 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 448 bytes --]

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Rafael Castillo from comment #3)
> yes it works and i make sure to enable vdpau in the build too just in case,
> so i guess there is something wrong with interop in my chip

It's a sw feature, so I suspect there is a problem with your mesa build.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1258 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-03-10 15:13 ` bugzilla-daemon
@ 2016-03-10 15:18 ` bugzilla-daemon
  2016-03-10 15:26 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1108 bytes --]

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

--- Comment #5 from Rafael Castillo <jrch2k10@gmail.com> ---
Linux: Archlinux
GCC: 5.3.0
Flags: -march=native -02 and -pipe
CPU: AMD FX 6100

Mesa build configuration:
--prefix=/usr \
  --sysconfdir=/etc \
  --with-dri-driverdir=/usr/lib/xorg/modules/dri \
  --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
  --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
  --with-egl-platforms=x11,drm,wayland \
  --with-sha1=libgcrypt \
  --enable-egl \
  --enable-gbm \
  --enable-gallium-llvm \
  --enable-llvm-shared-libs \
  --enable-shared-glapi \
  --enable-glx \
  --enable-glx-tls \
  --enable-dri \
  --enable-osmesa \
  --enable-gles1 \
  --enable-gles2 \
  --enable-texture-float \
  --enable-xa \
  --enable-vdpau \
  --enable-omx \
  --enable-nine \
  --enable-opencl \
  --enable-opencl-icd \
  --with-clang-libdir=/usr/lib

All was compiled with clean unpacked sources and no CCACHE or DISTCC used

Any recomendation for further debugging is welcome ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1845 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-03-10 15:18 ` bugzilla-daemon
@ 2016-03-10 15:26 ` bugzilla-daemon
  2016-03-10 15:49 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:26 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 453 bytes --]

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

--- Comment #6 from Christian König <deathsimple@vodafone.de> ---
I recently committed a patch to enable VDPAU interop only when the VDPAU state
tracker is compiled as well.

There is probably something going wrong with this patch. Can you check if
reverting commit 37402aa4c6216eec5f60ebef8a8f24fcbd61f646 fixes the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1195 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-03-10 15:26 ` bugzilla-daemon
@ 2016-03-10 15:49 ` bugzilla-daemon
  2016-03-10 23:02 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 15:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 718 bytes --]

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

--- Comment #7 from Rafael Castillo <jrch2k10@gmail.com> ---
i'll test it but i had this problem before this patch landed, so i doubt it but
i'll test again tonight to be sure.

Is there a way to get a verbose debug output about where exactly this
GL_INVALID op is happening?

because i suspect it can be a texture negotiation format issue(i can be very
very wrong here so don't take me seriously :) ) since mpv revamped the interop
code too but it works on nVidia and since i'm the only reporting this i assume
it works in other SI cards as well(i assume mpv is very popular this days too)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1455 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-03-10 15:49 ` bugzilla-daemon
@ 2016-03-10 23:02 ` bugzilla-daemon
  2016-03-30  2:25 ` bugzilla-daemon
  2016-03-30  2:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-10 23:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]

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

--- Comment #8 from Rafael Castillo <jrch2k10@gmail.com> ---
hi christian as requested i reverted the mentioned commit and the problem
persist i also tried reverting     da3963776421af4718809812b789f6722d5180d0 and
reZ patches and nothing.

I also tried reverting to stable mpv and changing my enviroment variables and
still persist the issue.

if you need any other info or test just tell me ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1260 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-03-10 23:02 ` bugzilla-daemon
@ 2016-03-30  2:25 ` bugzilla-daemon
  2016-03-30  2:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-30  2:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 797 bytes --]

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

Rafael Castillo <jrch2k10@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Rafael Castillo <jrch2k10@gmail.com> ---
Guys this is fixed after DMA_buf vdpau update and xf86-video-ati update, now
works like a boss.

Additionally you can un revert commit    
8a6cd4bda05b9569b3dd0a5a75b2cc385b9ecba9, i tested it without and VDPAU works
perfectly fine now.

Thank you very much for your hardwork

Close when you want, in case i fail ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2219 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] 11+ messages in thread

* [Bug 94470] VDPAU is broken  on TAHITI with MPV
  2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-03-30  2:25 ` bugzilla-daemon
@ 2016-03-30  2:57 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-03-30  2:57 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 487 bytes --]

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---


*** This bug has been marked as a duplicate of bug 94675 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2003 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] 11+ messages in thread

end of thread, other threads:[~2016-03-30  2:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-09 23:52 [Bug 94470] VDPAU is broken on TAHITI with MPV bugzilla-daemon
2016-03-10 14:04 ` bugzilla-daemon
2016-03-10 15:08 ` bugzilla-daemon
2016-03-10 15:12 ` bugzilla-daemon
2016-03-10 15:13 ` bugzilla-daemon
2016-03-10 15:18 ` bugzilla-daemon
2016-03-10 15:26 ` bugzilla-daemon
2016-03-10 15:49 ` bugzilla-daemon
2016-03-10 23:02 ` bugzilla-daemon
2016-03-30  2:25 ` bugzilla-daemon
2016-03-30  2:57 ` bugzilla-daemon

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.