Skip to contentSkip to conversation

New: r600g: mplayer -vo gl(2) only shows a black video window

Bug 30455 [email protected] 1 participant 7 messages Sep 29, 2010 – Sep 30, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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).

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.
#1 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

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

--- Comment #1 from Gregor Galwas <[email protected]> 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.

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.
#2 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

In reply to [email protected]

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

--- Comment #2 from Ed Tomlinson <[email protected]> 2010-09-29 04:49:55 PDT --- Confirming this also happens here. Chipset RS780 HD3xxx.

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.
#3 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

In reply to [email protected]

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

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Jerome Glisse <[email protected]> 2010-09-30 13:34:08 PDT --- Pushed fix. Thanks for reporting

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.
#4 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

In reply to [email protected]

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

--- Comment #4 from Nils Kneuper <[email protected]> 2010-09-30 14:33:48 PDT --- (In reply to comment #3)

Quoted 1 line

Pushed fix. Thanks for reporting

Can confirm this on. Both rendering with gl2 and gl are fixed.

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.
#5 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

In reply to [email protected]

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

--- Comment #5 from Andy Furniss <[email protected]> 2010-09-30 14:58:09 PDT --- (In reply to comment #3)

Quoted 1 line

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.

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.
#6 lore raw

[Bug 30455] r600g: mplayer -vo gl(2) only shows a black video window

In reply to [email protected]

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

--- Comment #6 from Andy Furniss <[email protected]> 2010-09-30 15:08:25 PDT --- (In reply to comment #5)

Quoted 1 line

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.

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.