* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
@ 2013-07-30 11:35 ` bugzilla-daemon
2013-07-30 11:57 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-07-30 11:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 747 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Summary|Wrong UVD capabilities |VDPAU state tracker reports
|reported by VDPAU on Brazos |wrong codec level
--- Comment #1 from Christian König <deathsimple@vodafone.de> ---
Indeed, so far we have hardcoded the level in vlVdpDecoderQueryCapabilities.
Should be updated to correctly return the supported codec level.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2186 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
2013-07-30 11:35 ` [Bug 67530] VDPAU state tracker reports wrong codec level bugzilla-daemon
@ 2013-07-30 11:57 ` bugzilla-daemon
2013-07-30 12:29 ` bugzilla-daemon
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-07-30 11:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 391 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
--- Comment #2 from Richard Van Den Boom <richard.vdboom@gmail.com> ---
Good to know! I'll stop bothering the world and his dog about that, then. :-)
Is this also normal that the decoder only report NV12 and no YV12, UYVY or
YUYV? Is it some hardware limitation?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1169 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
2013-07-30 11:35 ` [Bug 67530] VDPAU state tracker reports wrong codec level bugzilla-daemon
2013-07-30 11:57 ` bugzilla-daemon
@ 2013-07-30 12:29 ` bugzilla-daemon
2013-08-06 21:19 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-07-30 12:29 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 810 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
--- Comment #3 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #2)
> Good to know! I'll stop bothering the world and his dog about that, then. :-)
> Is this also normal that the decoder only report NV12 and no YV12, UYVY or
> YUYV? Is it some hardware limitation?
Yes that's a hardware limitation, UVD can only decode to an NV12 destination.
Well actually we somewhat abused the query interface here, cause VDPAU asks the
driver what image formats are supported in up/downloads and not as decoding
target.
Should probably fix that at some point as well. On the other hand that should
be really easy to do, so if anybody volunteers...
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1679 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
` (2 preceding siblings ...)
2013-07-30 12:29 ` bugzilla-daemon
@ 2013-08-06 21:19 ` bugzilla-daemon
2013-08-07 10:49 ` bugzilla-daemon
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-06 21:19 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
--- Comment #4 from gurketsky@googlemail.com ---
Created attachment 83741
--> https://bugs.freedesktop.org/attachment.cgi?id=83741&action=edit
use more common defaults for the level
This patch adds more common defaults as level. Imho they are likely not correct
for all the hardware.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1421 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
` (3 preceding siblings ...)
2013-08-06 21:19 ` bugzilla-daemon
@ 2013-08-07 10:49 ` bugzilla-daemon
2013-08-13 16:21 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-07 10:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1056 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
--- Comment #5 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #4)
> Created attachment 83741 [details] [review]
> use more common defaults for the level
>
> This patch adds more common defaults as level. Imho they are likely not
> correct for all the hardware.
Not bad for a first try, but I have some minor comments:
> return true;
> case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE:
> return true;
>+ case PIPE_VIDEO_CAP_MAX_LEVEL:
>+ switch (profile) {
>+ case PIPE_VIDEO_PROFILE_MPEG1:
The new code has a different indention, the radeon code uses tabs instead of
spaces, please fix.
Additional to that you need to fix all drivers to handle the new CAP, just
"grep -R PIPE_VIDEO_CAP_SUPPORTED src/gallium/drivers" to find all those
places.
With that fixed please send the patch to the mesa maillinglist for review.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2299 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
` (4 preceding siblings ...)
2013-08-07 10:49 ` bugzilla-daemon
@ 2013-08-13 16:21 ` bugzilla-daemon
2013-08-13 16:31 ` bugzilla-daemon
2013-08-14 11:36 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-13 16:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 868 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
gurketsky@googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83741|0 |1
is obsolete| |
--- Comment #6 from gurketsky@googlemail.com ---
Created attachment 84021
--> https://bugs.freedesktop.org/attachment.cgi?id=84021&action=edit
use more common defaults for the level (all cards)
I fixed the white spaces and added all drivers. The problem I see is, the
default values may be not correct. This also holds true for the nouveau driver.
We may need some vdpauinfo from the binary driver to fix that. If that's not
much of a problem, I'll submit this patch.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2392 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
` (5 preceding siblings ...)
2013-08-13 16:21 ` bugzilla-daemon
@ 2013-08-13 16:31 ` bugzilla-daemon
2013-08-14 11:36 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-13 16:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
--- Comment #7 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #6)
> Created attachment 84021 [details] [review]
> use more common defaults for the level (all cards)
>
> I fixed the white spaces and added all drivers. The problem I see is, the
> default values may be not correct. This also holds true for the nouveau
> driver. We may need some vdpauinfo from the binary driver to fix that. If
> that's not much of a problem, I'll submit this patch.
Looks pretty good. Those values are definitely more reasonable than the
hardcoded "16", so it is an improvements even when they might not be 100%
correctly.
Please submit to the maillinglist and CC me.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2056 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 67530] VDPAU state tracker reports wrong codec level
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
` (6 preceding siblings ...)
2013-08-13 16:31 ` bugzilla-daemon
@ 2013-08-14 11:36 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-14 11:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 577 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67530
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Christian König <deathsimple@vodafone.de> ---
Just commited the fix to master, please retest and close if solved.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2083 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 9+ messages in thread