Bug 494183

Summary: No downscaling with Xv on a Riva TNT 2 PCI
Product: [Fedora] Fedora Reporter: Ivo Anjo <ivo>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: airlied, ajax, bskeggs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-05 22:41:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Networkmanager video being clipped. Photo because no way to take screenshots of hardware overlay. none

Description Ivo Anjo 2009-04-05 12:30:23 UTC
Created attachment 338223 [details]
Networkmanager video being clipped. Photo because no way to take screenshots of hardware overlay.

Description of problem:
05:04.0 VGA compatible controller [0300]: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] [10de:002d] (rev 15)
Downscaling of Xv doesn't seem to be working (upscaling works ok).

Version-Release number of selected component (if applicable):
Nouveau testing livecd

How reproducible:
Always

Steps to Reproduce:
1. Open a video in totem
2. Set it to 100% size
3. Resize window to be smaller
  
Actual results:
Video size is the same, the smaller window just clips it.

Expected results:
Video size should be reduced.

Additional info:

Comment 1 Ivo Anjo 2009-04-05 13:54:38 UTC
Also present on
nVidia Corporation NV6 [Vanta/Vanta LT] [10de:002c] (rev 15)

Comment 2 Ben Skeggs 2009-04-05 13:59:23 UTC
I don't believe this is a bug.  As far as I can recall, the hw overlay on nv4 (nv4/nv5/nv6) series hw can't do downscaling.  Are you able to try with the nv driver to confirm?

The blit adaptor should be able to downscale just fine however.

Comment 3 Ivo Anjo 2009-04-05 15:53:42 UTC
I thought it might be a hardware limitation too, but wasn't sure. I re-tested with the blit adaptor and downscaling works.

I tried with nv but it only offers the "NV Video Blitter", no overlay. Is there any other way to test?

Comment 4 Ben Skeggs 2009-04-05 22:41:02 UTC
Ah right, nv doesn't have any support for the overlay on that chipset.  I'll mark this as not a bug, but I'll think more about possibly using the blitter as the default Xv adaptor on at least this chipset.

Thank you!

Comment 5 Ivo Anjo 2009-04-25 16:17:50 UTC
Just for completeness, I've tested using the nvidia proprietary driver (it's kinda amazing it still works on an nvidia vanta and they haven't dropped support for it), and yeah with the overlay there is no downscaling, while using the blitter there is -- so it's the same as with nouveau.