Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127666 - nvidia drivers 1.0.6629 causing display corruption
Summary: nvidia drivers 1.0.6629 causing display corruption
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 13:26 UTC by Nick Woebcke
Modified: 2006-11-10 17:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A view of the corrupted desktop using "nvidia" instead of "nv" (bad_nvidia.png,502.80 KB, image/png)
2006-03-26 13:27 UTC, Nick Woebcke
Details
my xorg.conf file (xorg.conf.nicks,14.99 KB, text/plain)
2006-03-26 13:33 UTC, Nick Woebcke
Details
Output of glxinfo (glx.fubar,3.33 KB, text/plain)
2006-03-26 13:47 UTC, Nick Woebcke
Details
output of lspci command (lspci.txt,808 bytes, text/plain)
2006-03-26 13:51 UTC, Nick Woebcke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Woebcke 2006-03-26 13:26:06 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cups doc dri eds emboss encode esd ethereal examples exif expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 java javascript jpeg kde lcms libg++ libwww lm_sensors mad maildir mbox mikmod mng motif mozilla mp3 mpeg mysql mysqli ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

When I tried to emerge nvidia-glx I got the following error message:

"QA Notice: the following files contain runtime text relocations
 Text relocations require a lot of extra work to be preformed by the
 dynamic linker which will cause serious performance impact on IA-32
 and might not function properly on other architectures hppa for example.
 If you are a programmer please take a closer look at this package and
 consider writing a patch which addresses this problem.
     TEXTREL usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.6629
     TEXTREL usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.6629
     TEXTREL usr/lib/opengl/nvidia/lib/libGL.so.1.0.6629
     TEXTREL usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6629
     TEXTREL usr/lib/opengl/nvidia/extensions/libglx.so
     TEXTREL usr/lib/libXvMCNVIDIA.so.1.0.6629


 QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
    --- --- RWX usr/lib/opengl/nvidia/lib/libGL.so.1.0.6629
    --- --- RWX usr/lib/opengl/nvidia/extensions/libglx.so
    !WX --- --- usr/lib/modules/drivers/nvidia_drv.o"

The end result is when I modify xorg.conf to use the nvidia module and
run gdm: I get the "nVidia" logo, can log in, but when I move the term window
around on the screen the background becomes corrupted.  Basicly, the
refresh ability of the nvidia driver doesn't seem to work.  The screen
gets more and more corrupted until you can barely see anything. However,
if I type "clear" in the term window the text gets refreshed.  The entire
desktop becomes a mess of pixel noise.  

P.S. I have a screen capture of the corrupted desktop if you want to see it.
Comment 1 Nick Woebcke 2006-03-26 13:27:18 UTC
Created attachment 83186 [details]
A view of the corrupted desktop using "nvidia" instead of "nv"
Comment 2 Nick Woebcke 2006-03-26 13:33:03 UTC
Created attachment 83187 [details]
my xorg.conf file

The screen looks fine when in the Section "Screen" device is set to "nVidia Generic".  It gets corrupted when device is set to "nVidia OpenGL".
Comment 3 Nick Woebcke 2006-03-26 13:36:09 UTC
Comment on attachment 83187 [details]
my xorg.conf file

In Section "Screen":
set Device "nVidia Generic"
and it will work fine (tho no opengl capabilities). set Device "nVidia OpenGL" and you can see glxgears but the desktop gets slowly corrupted when you move stuff around.
Comment 4 Nick Woebcke 2006-03-26 13:47:57 UTC
Created attachment 83188 [details]
Output of glxinfo
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 13:49:44 UTC
- We can do exactly zero with those QA notices (there's already a bug about it). 
- Also, don't restrict bugs without any reason
- and don't assign them if you don't know who's the maintainer, this has nothing in common with Gnome.

Option     "AllowGLXWithComposite" "true"

is unsafe, as noted in nVidia drivers documentation, and can result in weird issues.
Comment 6 Nick Woebcke 2006-03-26 13:51:43 UTC
Created attachment 83189 [details]
output of lspci command
Comment 7 Nick Woebcke 2006-03-26 15:21:08 UTC
(In reply to comment #5)
> - We can do exactly zero with those QA notices (there's already a bug about
> it). 
> - Also, don't restrict bugs without any reason
> - and don't assign them if you don't know who's the maintainer, this has
> nothing in common with Gnome.
> 
> Option     "AllowGLXWithComposite" "true"
> 
> is unsafe, as noted in nVidia drivers documentation, and can result in weird
> issues.
> 

I've taken that option away and the corrupted desktop still exists.  It was part of my flailing around trying every option before I realized it was the nvidia driver not behaving.  And so posted this bug.
Comment 8 Kris Kersey (RETIRED) gentoo-dev 2006-07-07 14:03:34 UTC
Please try out either x11-drivers/nvidia-drivers or x11-drivers/nvidia-legacy-drivers depending on your hardware.  We will (hopefully) be killing older drivers like this in the near future.  Post your results.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 17:25:53 UTC
No response from user, and the version this bug is about is gone. Reopen if you have the same issue w/ up-to-date drivers (see Comment #8).