Skip to contentSkip to conversation

New: xv overlay when rotated is fail

Bug 15065 [email protected] 1 participant 4 messages Mar 16, 2008 – Apr 29, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=15065

Summary: xv overlay when rotated is fail
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: sb476-KWPb1pKIrIJaa/[email protected]
QAContact: [email protected]

The overlay does not work when the output is rotated (under randr12)

To reproduce:
1) Start nouveau, using randr12
2) xrandr -o 2
3) mplayer foo.avi
4) cry

Since rotation is commonly used for projectors (where there's a reasonable chance of Xv being used), this is not a made up problem :)

Someone fixing the coordinate-fu would be awesome, but falling back to the blitter is probably far far easier.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-15065-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 15065] xv overlay when rotated is fail

http://bugs.freedesktop.org/show_bug.cgi?id=15065

Arthur Huillet <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Arthur Huillet <[email protected]> 2008-03-21 06:49:22 PST --- Very superficial investigation confirms the bug and suggests the overlay cannot
do rotation.

Blitter fallback would appear as the only solution.

If you have time to test with the binary blob and see how it deals with rotation and overlay, the data would be greatly appreciated (mmiotrace).

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 15065] xv overlay when rotated is fail

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15065

--- Comment #2 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-26 11:15:58 PST --- From the nvidia README:

" Option "RandRRotation" "boolean"
Enable rotation support for the XRandR extension. This allows use of the XRandR X server extension for configuring the screen orientation through rotation. This feature is supported on GeForce2 or better hardware using depth 24. This requires an XOrg 6.8.1 or newer X server. This feature does not work with hardware overlays, emulated overlays will be used instead at a substantial performance penalty. See APPENDIX W for details.
Default: off."

Testing with the nvidia driver confirms that even for the non-rotated case the overlay is not used (when the above option is set), so it would seem falling back to blitter is the answer.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 15065] xv overlay when rotated is fail

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15065

Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:

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

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-04-29 07:07:23 PST --- Fixed in commit c8cec9b2 "randr12, xv: no overlay when the crtc is transformed"

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.