Bug#425279: xserver-xorg-video-nv: stripes when using XVideo in full-screen mode with TFT displays on NV_ARCH_30
Package: xserver-xorg-video-nv
Version: 1:2.0.2-1
Severity: normal
Tags: patch
When using XVideo in fullscreen mode there are horizontal stripes all
over the picture (using a GeForce FX Go 5300 aka NV34GLM). It seems to
happen when the overlay picture takes almost the whole screen width and
starts on pixel X=0.
This problem originally appeared back in xserver-xfree86. There was a
patch applied for that package following bug #215997:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=215997
The solution in the attached patch is taken from the original bug
report. As I couldn't find out from that report if the problem exists on
other arches, I reduced it for NV_ARCH_30 as did the upstream developer
back then.
The attached patch solves the problem for me and doesn't seem to break
anything else.
Would it be possible to apply that patch for the next packages?
Regards,
Johannes Tysiak
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8@euro (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xserver-xorg-video-nv depends on:
ii libc6 2.5-7 GNU C Library: Shared
libraries
ii xserver-xorg-core 2:1.3.0.0.dfsg-5 X.Org X server -- core
server
xserver-xorg-video-nv recommends no packages.
-- no debconf information
--- xserver-xorg-video-nv-2.0.2/src/nv_dac.c 2007-04-14 06:20:28.000000000 +0200
+++ xserver-xorg-video-nv-2.0.2.patched/src/nv_dac.c 2007-05-20 16:23:55.000000000 +0200
@@ -119,6 +119,8 @@
horizStart = horizTotal - 5;
horizEnd = horizTotal - 2;
horizBlankEnd = horizTotal + 4;
+ if(pNv->Architecture == NV_ARCH_30)
+ horizTotal += 2;
}
pVga->CRTC[0x0] = Set8Bits(horizTotal);
Reply to: