Bug 7191 - xv corruption in fullscreen with nv driver in 1280x800
Summary: xv corruption in fullscreen with nv driver in 1280x800
Status: RESOLVED DUPLICATE of bug 4686
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nVidia (open) (show other bugs)
Version: 7.1 (2006.05)
Hardware: Other Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-12 00:55 UTC by Bruno Roggeri
Modified: 2007-06-02 09:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bruno Roggeri 2006-06-12 00:55:01 UTC
I'm using Gentoo's Xorg 7.1 with nv open source driver on my laptop's "nVidia 
Corporation NV36 [GeForce FX Go5700] (rev a1)". I think the problem also 
occured with previous versions of Xorg, but not with the proprietary driver.

When watching a video in a xv window in fullscreen, the video appears 
corrupted.
Some of the lines are OK, but other aren't aligned. It looks a bit like a 
badly interlaced video, except that the offset of the non-aligned lines isn't 
constant : it varies around 1 to 10 pixels to the right.
Correct lines and offset lines are regurlarly arranged. Depending on the video 
size, every other line is OK, or every third line is OK, or even pattern 
like :

2 OK
1 Bad
1 OK
1 Bad
1 OK
1 Bad
2 OK ...

It only happens in 1280x800 (not in 1024x768 for example, but then the video 
is bit streched as my screen is a 1280x800 flat panel), and only with video 
whose aspect ratios are bigger than 16:10 (so that in fullscreen, they use the 
full width of the screen, but not necessarily the full height).
Comment 1 Bruno Roggeri 2006-06-12 00:56:09 UTC
I forgot to say this is on a amd64 laptop.
Comment 2 Lukasz Mierzejewski 2006-07-26 06:25:02 UTC
Xorg 7.0 and GeForce FX Go5700 (Acer Aspire 1524WMLi amd64 laptop but i386
Ubuntu 6.06). I have exacly the same problem (only with nv driver, not nvidia
and in 1280x800). I had this problem with previous Xorg releses too.
Comment 3 Bruno Roggeri 2006-07-26 08:22:41 UTC
(In reply to comment #2)
> Xorg 7.0 and GeForce FX Go5700 (Acer Aspire 1524WMLi amd64 laptop but i386
> Ubuntu 6.06). I have exacly the same problem (only with nv driver, not nvidia
> and in 1280x800). I had this problem with previous Xorg releses too.

Ah, glad I'm not alone ! By the way I have almost the same laptop (Aspire 1521
or 1524, I don't remember exactly).

I can also reproduce a very similar problem in a console mode using the nvidiafb
kernel module. The console looks fine in 1272x800 resolution, but in 1280x800
similar corruption to the one I described for xv appears :

Step to reproduce (from memory, I'm not with my laptop right now) :

First switch to console mode. You might want to close X11 to limit possible
kernel/X11 interference problems.

# modprobe nvidiafb

// This may corrupt your screen so be ready to type the next commands blindly
# modprobe fbcon

# fbset -xres 1272 // Nice looking console
# fbset -xres 1280 // screen corruption
# fbset -xres 1272 // Back to nice looking console

I guess if you try it you'll be able to reproduce it too.

I've been meaning to report this also on the bugzilla for linux-fbdev but I
haven't got around to it yet.
Comment 4 Till Maas 2006-08-18 04:06:45 UTC
I have an GeForce FX 5200 and similiar problems using 

X -version

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-34.ELsmp i686Red Hat, Inc

from Fedora Core 5.

Using xv in fullscreen with 1280x1024 and the dvi port there is only a very poor
 output quality with a lot of bright, horizontal lines. I first thought it is an
hardware problem but with the binary nvidia driver there is no such problem.
If you cannot fix this, please mention this at least in the manpage of the nv
driver.
Comment 5 Bruno Roggeri 2006-08-18 04:41:35 UTC
(In reply to comment #4)

> Using xv in fullscreen with 1280x1024 and the dvi port there is only a very poor
>  output quality with a lot of bright, horizontal lines.

I'm not sure this is the same bug, this look more like a AGP bandwidth problem. 
If your refresh rate is 75Hz for example, the bandwidth you're using is
1280x1024x75x24 bit/s .

Try lowering you refresh rate and see if it fixes it.

Comment 6 Till Maas 2006-08-18 08:07:55 UTC
(In reply to comment #5)
> Try lowering you refresh rate and see if it fixes it.

The refresh rate is only 60hz, the problem does not occur when I use the analog
output of the video card. And my first description of the "poor quality" was not
completely correct. The bright lines where only bright because the video was
bright. Videos are displayed with "fringes" some pixels seem to be blown from
the left to the right. Unfortunately I cannot make any pictures of it because my
camera is not good enough.
Comment 7 Bruno Roggeri 2006-08-18 08:33:47 UTC
> Videos are displayed with "fringes" some pixels seem to be blown from
> the left to the right. Unfortunately I cannot make any pictures of it because my
> camera is not good enough.

Ah OK, I agree we're seeing the same thing then. Does it only occurs when the
video width comes very close to 1280 (as on my box) ? I think I'm going to
update the summary to say "on 1280px-wide screens" instead of "in 1280x800".
Comment 8 Till Maas 2006-08-21 13:12:49 UTC
(In reply to comment #7)

> video width comes very close to 1280 (as on my box) ? I think I'm going to
> update the summary to say "on 1280px-wide screens" instead of "in 1280x800".

I would say that it occurs to 1024x768 on my box, too, but with a lot less
disturbance. This may be due to the fact that my monitor interpolates everything
to 1280x768 so I cannot view the original output.
Comment 9 Carlos Martín Nieto 2007-02-18 04:33:05 UTC
Does anybody have an idea why this happens? Has there been any progress?
Comment 10 Daniel Stone 2007-02-27 01:32:30 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 11 Bruno Roggeri 2007-06-02 09:27:59 UTC
I stumbled over this other bug (#4686) which clearly looks like the same issue. The good news is that there is a patch in this bug, but I haven't tested it yet !

*** This bug has been marked as a duplicate of bug 4686 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.