New: [r300g] XvMC playback fails with MPEG2 video and RV350
https://bugs.freedesktop.org/show_bug.cgi?id=39782
Summary: [r300g] XvMC playback fails with MPEG2 video and RV350
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=49853)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49853)
Verbose output from mplayer
Trying to play captured DVB-T/MPEG2 data with mplayer gives the following error:
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale]
The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp.
Full output from the following command is attached:
$ MPLAYER_VERBOSE=1 mplayer -msglevel all=9 -nosound -vo xvmc <file>
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #1 from Michel Dänzer <[email protected]> 2011-08-02 23:21:47 PDT --- Does your X driver have commit f59c3b294b0f715fc96e2bbe25893f2b31aa488b ('Register XvMC video decoding acceleration') required for XvMC?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #2 from Chris Rankin <[email protected]> 2011-08-03 01:17:16 PDT --- (In reply to comment #1)
Quoted 2 lines
Does your X driver have commit
f59c3b294b0f715fc96e2bbe25893f2b31aa488b('Register XvMC video decoding acceleration') required for XvMC?
Yes:
[ 54.139] (II) Solid [ 54.139] (II) Copy [ 54.139] (II) Composite (RENDER acceleration) [ 54.139] (II) UploadToScreen [ 54.139] (II) DownloadFromScreen [ 54.140] (II) RADEON(0): Acceleration enabled [ 54.140] (**) RADEON(0): DPMS enabled [ 54.140] (==) RADEON(0): Silken mouse enabled [ 54.169] (II) RADEON(0): Set up textured video [ 54.169] (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. [ 54.170] (II) RADEON(0): [XvMC] Extension initialized.
The latest commit in my X driver is:
commit 104b2d7c071f29266b1bc4184a74e9714d14febc
Author: Alex Deucher <[email protected]> Date: Mon Aug 1 10:05:30 2011 -0400
kms: fix possible leak in pageflip code
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #3 from Michel Dänzer <[email protected]> 2011-08-03 01:35:09 PDT --- Does adding
-vc ffmpeg12mc
to the mplayer command line help?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #4 from Chris Rankin <[email protected]> 2011-08-03 02:17:04 PDT --- (In reply to comment #3)
Quoted 5 lines
Does adding
-vc ffmpeg12mc
to the mplayer command line help?
Yes, in the sense that I now get a video window. Albeit an almost completely green one. New output log attached.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #5 from Chris Rankin <[email protected]> 2011-08-03 02:20:00 PDT --- Created an attachment (id=49866)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49866)
Verbose output from mplayer with ffmpeg12mc
This time, mplayer displayed a video window. However, the contents were unrecognisable. And green.
I stopped playback manually after a few seconds.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #6 from Chris Rankin <[email protected]> 2011-08-03 02:31:07 PDT --- (In reply to comment #3)
Quoted 5 lines
Does adding
-vc ffmpeg12mc
to the mplayer command line help?
I've just tried repeating this with my RV790, and using
$ mplayer -vo xvcm <file>
also fails in the exact same way as my RV350. However, *unlike* my RV350, adding
-vc ffmpeg12mc
makes playback work with my RV790.
Since mplayer's XvMC support is obviously working correctly, I am now assuming the problems I am seeing with xine are due to bugs in xine itself.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
Chris Rankin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49853|0 |1
is obsolete| |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
Chris Rankin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|Other |x86 (IA32)
OS/Version|All |Linux (All)Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #7 from Chris Rankin <[email protected]> 2011-08-11 06:28:20 PDT --- Also gives green and blobby playback with M66GL chip (RV535?) in my Lenovo T60p.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #8 from almos <[email protected]> 2011-10-15 11:41:37 PDT --- I think this is a duplicate of my report in bug 39309. I haven't tried xvmc yet, as vdpau is much easier to set up (and I'm lazy).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #9 from Chris Rankin <[email protected]> 2012-01-04 15:35:06 PST --- The following commit does not resolve this bug:
commit 7b181d16c3b954bf567563e90e5e94bda833fab8
Author: Christian König <[email protected]> Date: Wed Jan 4 15:59:29 2012 +0100
vl/mpeg2: simple fix to get xine running again
Otherwise xines xxmc plugin will just display green blocks.
xine is still showing a green video window with my RV350.
$ mplayer -vo xvmc -vc ffmpeg12mc <MPEG2 file>
isn't working here either.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #10 from 414N <[email protected]> 2012-02-20 04:50:04 PST --- Created attachment 57314
--> https://bugs.freedesktop.org/attachment.cgi?id=57314
xvmc log obtained via RADEON_DEBUG=all
Having a similar problem on a R420.
When using mplayer -vo xvmc to play an MPEG-2 file (recorded from DVB) I can only see a window filled with a majority of green squares flashing. On stderr, the following message is shown:
r300 FP: Compiler Error:
compiler/r300_fragprog_emit.c::begin_tex(): Too many texture indirections Using a dummy shader instead.
I then played the same video setting the RADEON_DEBUG environment variable to "all", because I don't know what can be excluded. I then cut the lines following the error message from the log, assuming those where the lines regarding the dummy shader used as a failsafe by the r300 driver.
I'm using a self-compiled git snapshot of mesa obtained on 2012-02-15 on a Slackware64 13.37 running kernel 3.2.6.
Please tell me if more info are needed.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #11 from Tom Stellard <[email protected]> 2012-04-22 18:10:00 PDT --- (In reply to comment #10)
Quoted 12 lines
Created attachment 57314 [details]
xvmc log obtained via RADEON_DEBUG=allHaving a similar problem on a R420.
When using mplayer -vo xvmc to play an MPEG-2 file (recorded from DVB) I can only see a window filled with a majority of green squares flashing. On stderr, the following message is shown:r300 FP: Compiler Error:
compiler/r300_fragprog_emit.c::begin_tex(): Too many texture indirections Using a dummy shader instead.
Can you try the latest version of mesa from git? I don't think xvmc playback works, but that error message should be fixed. If you still see that error, please use the environment variable RADEON_DEBUG=fp,vp and post the output.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #12 from 414N <[email protected]> 2012-04-23 02:53:34 PDT --- Created attachment 60474
--> https://bugs.freedesktop.org/attachment.cgi?id=60474
xvmc log obtained via RADEON_DEBUG=fp,vp on mesa-git @ 20120423
(In reply to comment #11)
Quoted 3 lines
Can you try the latest version of mesa from git? I don't think xvmc playback works, but that error message should be fixed. If you still see that error, please use the environment variable RADEON_DEBUG=fp,vp and post the output.
Still getting the same error message on a git snapshot taken a few hours ago. In the attached log I cut the text after that error message as in the first one.
Do you need more info to narrow down the issue?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #13 from Tom Stellard <[email protected]> 2012-04-23 17:56:54 PDT --- Created attachment 60501
--> https://bugs.freedesktop.org/attachment.cgi?id=60501
Possible fix for too many indirections on r400
Do you still see the error message with this patch?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #14 from 414N <[email protected]> 2012-04-24 03:03:58 UTC --- Created attachment 60517
--> https://bugs.freedesktop.org/attachment.cgi?id=60517
fp,vp log on patched mesa-git @20120424 on R420 hardware
(In reply to comment #13)
Quoted 4 lines
Created attachment 60501 [details] [review]
Possible fix for too many indirections on r400Do you still see the error message with this patch?
I now see an additional "too many textures indirections" error message while playing a file in mplayer with -vo xvmc, so I guess it's not working as expected.
Attached is an updated fp,vp log.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #15 from 414N <[email protected]> 2012-08-05 07:50:38 UTC --- Still no clue of what could be going awry?
This is still happening on recent git checkouts, regardless of the previous patch.
Please do tell me if you need more information to narrow down the issue.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
--- Comment #16 from Marek Olšák <[email protected]> --- XvMC support has been removed.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 39782] [r300g] XvMC playback fails with MPEG2 video and RV350
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39782
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIXSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel