https://bugs.freedesktop.org/show_bug.cgi?id=30455
Summary: r600g: mplayer -vo gl(2) only shows a black video window Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: crazy-ivanovic@gmx.net
Using r600g latest git (currently at d4da253b298677c63def5f2f774608d660be31a1) mplayer does not output anything when eg using "mplayer -vo gl2 test.avi". The same video is played nicely using r600c. There is no error message neither in the mplayer output (looks identical to the r600c output) nor in dmesg or anywhere else in my system. mcgreg confirmed this issue in #radeon. It happens with both, gl and gl2 as videoout. xv works without a problem.
System details: Gentoo unstable amd64 mesa from git master xf86-video-ati from git master libdrm from git master (vanilla) kernel 2.6.35.4 graphics card: RadeonHD 3850 (512MB) aka rv670
Not attaching any logs since they don't show anything noteworthy at all. If you need additional information, either ask in here or in #radeon (username: ivanovic).
https://bugs.freedesktop.org/show_bug.cgi?id=30455
--- Comment #1 from Gregor Galwas g.galwas@highantdev.de 2010-09-29 03:23:07 PDT --- I can confirm that. Tested mplayer with gl and gl2 output.
LIBGL_DEBUG=verbose gmplayer /media/mov/xyz.avi returns:
VO: [gl2] 480x270 => 480x270 Planar YV12 [zoom] [ws] Error in display. [ws] Error code: 8 ( BadMatch (invalid parameter attributes) ) [ws] Request code: 2 [ws] Minor code: 0 [ws] Modules: decode_video libGL: Can't open configuration file /etc/drirc: No such file or directory. [gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!) [gl2] antialiasing off [gl2] bilinear linear
Using git mesa, libdrm and ddx (all master). Kernel: 2.6.36-rc4+ #14 SMP Fri Sep 17 12:35:33 CEST 2010 x86_64 GNU/Linux Radeon 4670.
https://bugs.freedesktop.org/show_bug.cgi?id=30455
--- Comment #2 from Ed Tomlinson edt@aei.ca 2010-09-29 04:49:55 PDT --- Confirming this also happens here. Chipset RS780 HD3xxx.
https://bugs.freedesktop.org/show_bug.cgi?id=30455
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Jerome Glisse glisse@freedesktop.org 2010-09-30 13:34:08 PDT --- Pushed fix. Thanks for reporting
https://bugs.freedesktop.org/show_bug.cgi?id=30455
--- Comment #4 from Nils Kneuper crazy-ivanovic@gmx.net 2010-09-30 14:33:48 PDT --- (In reply to comment #3)
Pushed fix. Thanks for reporting
Can confirm this on. Both rendering with gl2 and gl are fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=30455
--- Comment #5 from Andy Furniss lists@andyfurniss.entadsl.com 2010-09-30 14:58:09 PDT --- (In reply to comment #3)
Pushed fix. Thanks for reporting
One difference between c and g when using -vo gl:yuv=X is that 4 works on classic but not gallium. 1 and 5 fail (no chroma) on both.
https://bugs.freedesktop.org/show_bug.cgi?id=30455
--- Comment #6 from Andy Furniss lists@andyfurniss.entadsl.com 2010-09-30 15:08:25 PDT --- (In reply to comment #5)
1 and 5 fail (no chroma) on both.
Re-reading the man page explains this as 1 is for nvidia and 5 old ati cards.
So -vo gl:yuv=4 on gallium is the only issue, I've found so far.
dri-devel@lists.freedesktop.org