Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-23-05, 08:06 AM   #1
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Part of picture disappears when doing hardware scaling of large images

Hi,
I have a GeForce FX 5200; the problem appears when playing back an 1920x1080
video with either mplayer or ffplay and the target window is less than
1024x768 - there is about 30% of the picture missing, on the right side. I'm guessing
just about 1200 x 1080 pixels are actually displayed. The scaling is done on
the first video port Xv adapter 0 (NV17 Video Overlay). On the second
adapter (NV17 Video Texture) the scaling is ok.
If there's a 1200x1024 or bigger window, the entire frame is displayed.
Only the horizontal axis seems to be affected. If width is bigger than 1024,
no matter how small the height is, the picture is scaled down correctly.
Although I noticed this behavior first on a hdtv movie, even smaller
resolutions are affected. A 720x576 picture, scaled at 300x200, is again
displayed without the right-most part.
The mplayer command was:
mplayer -vo xv -y 576 -x 300 <video file>
Thank you
dorin.lazar is offline   Reply With Quote
Old 08-23-05, 04:57 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Part of picture disappears when doing hardware scaling of large images

dorin.lazar,
Which version of MPlayer are you using?

I'm not able to reproduce this problem using this video:
http://download.microsoft.com/downlo...botica_720.exe

Can you point me to one that reproduces this on an FX5200? Also, please generate and attach an nvidia-bug-report.log for review.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 08-23-05, 07:55 PM   #3
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: Part of picture disappears when doing hardware scaling of large images

netllama: Robotica_720.exe - that's a video for MPlayer?
LubosD is offline   Reply With Quote
Old 08-23-05, 08:23 PM   #4
chunkey
#!/?*
 
Join Date: Oct 2004
Posts: 662
Default Re: Part of picture disappears when doing hardware scaling of large images

LubosD: yes, it's just packed!
chunkey is offline   Reply With Quote
Old 08-23-05, 08:23 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Part of picture disappears when doing hardware scaling of large images

LubosD,
Download it and then unzip it, and you'll have a WMV file that Mplayer can play.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 08-24-05, 02:14 AM   #6
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Part of picture disappears when doing hardware scaling of large images

Quote:
Originally Posted by netllama
dorin.lazar,
Which version of MPlayer are you using?

I'm not able to reproduce this problem using this video:
http://download.microsoft.com/downlo...botica_720.exe

Can you point me to one that reproduces this on an FX5200? Also, please generate and attach an nvidia-bug-report.log for review.

Thanks,
Lonni
Hello,
I am using mplayer 1.0pre7 on compiled with gcc 3.4.2 (as delivered in Fedora Core 3).
I attached the nvidia-bug-report.log.
I don't have any windows machines around at the moment, so I will unpack the vmw later this day and I will submit another reply.
Thank you,
Dorin
Attached Files
File Type: txt nvidia-bug-report.log.txt (64.2 KB, 161 views)
dorin.lazar is offline   Reply With Quote
Old 08-24-05, 03:33 AM   #7
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Part of picture disappears when doing hardware scaling of large images

Quote:
Originally Posted by dorin.lazar
I don't have any windows machines around at the moment, so I will unpack the vmw later this day and I will submit another reply.
I finally managed to unpack the .exe (unzip worked just fine ) and I played it. The cutting is still there. Tried the following:
mplayer -vo xv Robotica_720.wmv
the image is well centered.
mplayer -vo xv -y 400 -x 400 Robotica_720.wmv
the image is displayed at about 60-70% percent of its size (but the image aspect is kept, which makes me wonder if the scaling is only done on only one set of coordinates, instead of both.
mplayer -vo xv -y 200 -x 400 Robotica_720.wmv
the image is scaled correctly on the vertical, but on the x coordinates is still just 60-70% of its size.
Thank you,
Dorin
dorin.lazar is offline   Reply With Quote
Old 08-24-05, 11:22 AM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Part of picture disappears when doing hardware scaling of large images

dorin.lazar,
Your bug report shows that you are using 1.0-7174. If you're seeing the same problem with 1.0-7676, please provide a bug report against that driver version.

The odd thing is that based on the mplayer commands you provided above, I'm seeing the exact opposite results from what you're reporting. With 400x400, the aspect ratio is wrong with the x scaling. With 400x200, the aspect ration is correct.

Thanks,
Lonni
netllama is offline   Reply With Quote

Old 08-25-05, 01:10 AM   #9
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Part of picture disappears when doing hardware scaling of large images

I forgot to mention, but it happened with 7676 too. attached is the generated bug-report.
Dorin
Attached Files
File Type: txt nvidia-bug-report.log.txt (83.8 KB, 127 views)

Last edited by dorin.lazar; 08-25-05 at 01:51 AM. Reason: More informations
dorin.lazar is offline   Reply With Quote
Old 08-25-05, 10:24 AM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Part of picture disappears when doing hardware scaling of large images

dorin.lazar,
Can you post screenshots of the mplayer window for failing cases? I want to make sure that I'm understanding this behavior correctly.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 08-29-05, 03:21 AM   #11
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Part of picture disappears when doing hardware scaling of large images

Quote:
Originally Posted by netllama
dorin.lazar,
The odd thing is that based on the mplayer commands you provided above, I'm seeing the exact opposite results from what you're reporting. With 400x400, the aspect ratio is wrong with the x scaling. With 400x200, the aspect ration is correct.
Attached are the pictures I made (I couldn't make a digital screenshot since it's Xv, but I made snapshots with my camera). The resolutions I used:
  • 400x200 (400x200.jpg)
  • 400x400 (400x400.jpg)
  • 720x576 (720x576.jpg)
Please excuse the poor quality, I hope it's clear enough to understand the effect.
Dorin
Attached Thumbnails
Click image for larger version

Name:	400x200.jpg
Views:	121
Size:	53.1 KB
ID:	13146  Click image for larger version

Name:	400x400.jpg
Views:	170
Size:	78.0 KB
ID:	13147  Click image for larger version

Name:	720x576.jpg
Views:	137
Size:	81.8 KB
ID:	13148  
dorin.lazar is offline   Reply With Quote
Old 08-29-05, 03:49 AM   #12
dorin.lazar
Registered User
 
Join Date: Aug 2005
Posts: 9
Default Re: Part of picture disappears when doing hardware scaling of large images

Quote:
Originally Posted by netllama
Can you post screenshots of the mplayer window for failing cases? I want to make sure that I'm understanding this behavior correctly.
More screenshots, that will make it clearer:
  • 400x200port1 - 400x200 scaled incorrectly on the first port
  • 400x200port2 - 400x200 scaled correctly on the second port
  • 400x400port1 - 400x400 scaled incorrectly on the first port
  • 400x400port2 - 400x400 scaled correctly on the second port
I used a small program that would 'eat' the first XVideo port so that mplayer will use the second port for scaling. As you can see the scaling is correct on the second port (that doesn't support Brightness control, for example) but is incorrect on the first port.
I also attached the source of the program grab_port.
Thanks,
Dorin
Attached Thumbnails
Click image for larger version

Name:	400x200port1.jpg
Views:	132
Size:	60.1 KB
ID:	13150  Click image for larger version

Name:	400x200port2.jpg
Views:	131
Size:	69.8 KB
ID:	13151  Click image for larger version

Name:	400x400port1.jpg
Views:	125
Size:	73.2 KB
ID:	13152  Click image for larger version

Name:	400x400port2.jpg
Views:	122
Size:	73.4 KB
ID:	13153  
Attached Files
File Type: txt grab_port.c.txt (499 Bytes, 127 views)
dorin.lazar is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:54 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.