Skip to contentSkip to conversation

New: Interlace does not work with Geforce 6200 / NV44a

Bug 22317 [email protected] 1 participant 10 messages Jun 16, 2009 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: Interlace does not work with Geforce 6200 / NV44a
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=26856)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26856)
Photo of the display failing to run interlace mode properly.

Using this modeline:

ModeLine "768x576pali" 14.750 768 789 858 944 576 600 605 625 -hsync
-vsync interlace

interlace mode fails; only the top half of each field is drawn, causing a result which looks like the attached picture.

I was able to make it work by patching nv_crtc.c, and doubling the values in mode->CrtcV* in the function nv_crtc_mode_set()

Additionally, when using this modeline and the double height patch:

ModeLine "720x576pali" 13.500 720 722 786 864 576 581 586 625 -hsync
-vsync interlace

there is a vertical black bar down the middle of the picture.

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #1 from Alistair Buxton <[email protected]> 2009-06-16 09:00:12 PST --- Created an attachment (id=26857)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26857)
Double height patch

Doing this caused interlace mode to work correctly, including xv.

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 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #2 from Alistair Buxton <[email protected]> 2009-06-16 09:07:12 PST --- Now, I know that NV17/NV18 cards do not currently support interlace, but when I
removed the checks to force interlace on a MX 4000 / NV18 card, I got a very
similar result as with the 6200. Doubling the display height caused interlace
mode to work. The only difference was that xv did not work correctly in this
case. I assume that is because of overlay vs texture mode for xv.

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 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #3 from Alistair Buxton <[email protected]> 2009-06-16 09:58:09 PST --- Register dumps and logs when using nouveau with and without the patch, and also
nvidia binary driver (which works fine) may be found at this URL:

http://al.robotfuzz.com/~al/nouveau/interlace/

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #4 from Alistair Buxton <[email protected]> 2009-06-18 09:46:57 PST --- Searching around, I found this seemingly identical regression with ATI cards:

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

This comment seems relevant to this bug too, as it discusses a change in the way Xorg core uses INTERLACE_HALVE_V:

https://bugs.freedesktop.org/show_bug.cgi?id=12626#c70

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #5 from Alistair Buxton <[email protected]> 2009-06-18 10:09:23 PST --- Created an attachment (id=26928)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26928)
Fix for interlace modes

This patch is based on Ramon van der Stelt's patch to the Radeon driver as linked in above comment. The only difference is I had to recalculate mode, not adjusted_mode, to see the correct result.

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #6 from Francisco Jerez <[email protected]> 2009-06-21 04:22:31 PST --- Created an attachment (id=26994)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26994)
nv17_interlace.patch

Here on nv17, the attached patch seems necessary in addition to your patch for interlaced modes to work.

Without clearing NV_PCRTC_CONFIG_START_ADDRESS_HSYNC I get a meaningful image but only the odd fields (or the even ones, I don't know for sure ;-) are displayed. The blob seems to set NV_CIO_CRE_43 to 0x1 on all the hardware i've got around (nv34, nv35, nv40) but on this nv17 when an interlaced mode is being used, not doing it causes some weird diagonal lines to be displayed.

I don't know what the problem is with interlaced modes on nv2x, these patches might also fix them but I don't have any at hand.

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #7 from Francisco Jerez <[email protected]> 2009-06-26 09:10:12 PST --- Created an attachment (id=27172)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27172)
0001-Fix-video-overlay-on-interlaced-modes.patch

The attached patch solves for me the video overlay problem with interlaced modes.

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

--- Comment #8 from Alistair Buxton <[email protected]> 2009-06-26 10:04:26 PST --- That overlay patch does not work properly. The video image gets scaled down to
half the screen height, and then stretched again to the correct size. Result is
that interlaced fields are lost (blended together.)

You can clearly see it with this test video which is PAL:

http://www.kingcot.eclipse.co.uk/unichrome/tvoutTest.html

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

[Bug 22317] Interlace does not work with Geforce 6200 / NV44a

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau