Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294089 - nvidia-drivers > 173.14.20 unstable, leading to corruption
Summary: nvidia-drivers > 173.14.20 unstable, leading to corruption
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 20:30 UTC by Stefano
Modified: 2012-07-14 20:46 UTC (History)
1 user (show)

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


Attachments
nvidia-bug-report.log (nvidia-bug-report.log.gz,33.58 KB, text/plain)
2009-11-22 23:34 UTC, Petr Nosek
Details
My xorg.conf (xorg.conf,3.82 KB, text/plain)
2009-12-23 22:22 UTC, Petr Nosek
Details
new nvidia-bug-report - more info in dmesg (nvidia-bug-report.log.gz,29.79 KB, text/plain)
2009-12-25 12:22 UTC, Petr Nosek
Details
nvidia-bug-report (nvidia-drivers-185-18-36-r1) (nvidia-bug-report-185.18.36-r1.log.gz,29.79 KB, text/plain)
2009-12-28 13:43 UTC, Petr Nosek
Details
nvidia-bug-report (nvidia-drivers-190-53) (nvidia-bug-report-190.53.log.gz,34.95 KB, text/plain)
2009-12-28 13:45 UTC, Petr Nosek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano 2009-11-22 20:30:13 UTC
Hi, I am trying to debug a nasty problem with nvidia-drivers later than 173.14.20 (I tried all up to the current stable, not tried the 190. series yet).

Basically, at seemingly random times (when using either Java applets, or graphically intensive applications) I get an extensive corruption of the screen, leading to complete unusability of X. Restarting xdm gets rid of the problem.

Parts of the corruption seem to contain misplaced parts of the screen, or even older screens.

Helpers ? I tried excluding all optimization options in Xorg related to nvidia drivers; no change.

My current (troublesome) drivers are:
x11-drivers/nvidia-drivers-185.18.36  USE="acpi gtk -custom-cflags (-multilib)"

Reproducible: Sometimes




$ emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================                                          
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.13   
Timestamp of tree: Sun, 22 Nov 2009 18:15:02 +0000                                                         
ccache version 2.4 [disabled]                                                                              
app-shells/bash:     4.0_p28                                                                               
dev-java/java-config: 1.3.7-r1, 2.1.9-r1                                                                   
dev-lang/python:     2.5.4-r3, 2.6.2-r1                                                                    
dev-util/ccache:     2.4-r7                                                                                
dev-util/cmake:      2.6.4-r3                                                                              
sys-apps/baselayout: 1.12.13                                                                               
sys-apps/sandbox:    1.6-r2                                                                                
sys-devel/autoconf:  2.13, 2.63-r1                                                                         
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                          
sys-devel/binutils:  2.18-r3                                                                               
sys-devel/gcc-config: 1.4.1                                                                                
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.27-r2                                                                             
ACCEPT_KEYWORDS="x86"                                                                                      
CBUILD="i686-pc-linux-gnu"                                                                                 
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                    
CHOST="i686-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/share/config"                                                                    
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://gentoo.intergenia.de ftp://ftp.solnet.ch/mirror/Gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa archive artswrappersuid async bash-completion berkdb bindist bluetooth branding bzip2 cairo cardbus cdparanoia cdr cli consolekit cracklib crypt css cups curlwrappers dbus dell dga dhcp directfb djbfft dri dts dvb dvd dvdr emboss encode evo fat fbcon fbsplash fftw firefox flac foomaticdb fortran fpx ftp gdbm gif glibc-omitfp gnutls gphoto2 gpm gs gtk gzip hal handbook hpn iconv icq idea imagemagick imap ipod ipv6 irda jabber java javascript jikes john jpeg jpeg2k kde kdepim kpathsea lapack libnotify lilo mbox messages mikmod mime mmap mmx mmxext modules mozilla mp3 mp4 mpeg mplayer msn mudflap mysqli nagios-dns ncurses nls nocd nptl nptlonly nsplugin ntfs ntlm nvidia octave ogg opengl oscar pam pcapnav pcmcia pcntl pcre pda pdf perl pmu png posix ppds pppd python qt3support qt4 quicktime radius rdesktop readline reflection replytolist samba scanner session sharedmem silc slp sms sockets sox spell spl sse sse2 sse3 sse4.1 ssl startup-notification svga sysfs sysvipc tcpd tetex threads thunar tiff truetype type1 unicode usb userlocales v4l v4l2 vcd vorbis wifi win32codecs winbind x264 x86 xcomposite xine xml xmlrpc xorg xulrunner xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petr Nosek 2009-11-22 23:34:06 UTC
Created attachment 210937 [details]
nvidia-bug-report.log
Comment 2 Petr Nosek 2009-11-22 23:37:30 UTC
I have the same problem. But reproducibility is: always.

I think, this bug is critical - because Xorg doesn't work.

Solution: I had to decrease to old nvidia-drivers.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2009-11-23 05:06:04 UTC
(In reply to comment #2)
> I have the same problem. But reproducibility is: always.
> 
> I think, this bug is critical - because Xorg doesn't work.
> 
> Solution: I had to decrease to old nvidia-drivers.
> 

What version of the drivers don't work? What versions do work? what version of the xorg-server?
Comment 4 Petr Nosek 2009-11-23 08:00:18 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I have the same problem. But reproducibility is: always.
> > 
> > I think, this bug is critical - because Xorg doesn't work.
> > 
> > Solution: I had to decrease to old nvidia-drivers.
> > 
> 
> What version of the drivers don't work? What versions do work? what version of
> the xorg-server?
> 

sorry, my mistake.

x11-drivers/nvidia-drivers-180.60 works

x11-drivers/nvidia-drivers-185.18.36 and higher doesn't work


x11-base/xorg-server-1.6.3.901-r2
x11-base/xorg-x11-7.4-r1


nosek@gentoovbi ~ $ emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 22 Nov 2009 19:45:02 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avahi avi berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode esd fam firefox fortran gcj gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad mikmod mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdflib perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl sysfs tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vdpau vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 5 Stefano 2009-11-23 11:07:23 UTC
> > What version of the drivers don't work? What versions do work? what version of
> > the xorg-server?

> x11-drivers/nvidia-drivers-180.60 works

For me, the latest working version is:
x11-drivers/nvidia-drivers-173.14.20  USE="acpi gtk -custom-cflags (-multilib)" 


> x11-base/xorg-server-1.6.3.901-r2

same here
x11-base/xorg-server-1.6.3.901-r2  USE="hal ipv6 nptl xorg -debug -dmx -kdrive -minimal -sdl -tslib"

But it also happened with earlier xorg-server releases.
Comment 6 Petr Nosek 2009-12-23 22:22:05 UTC
Created attachment 213972 [details]
My xorg.conf
Comment 7 Petr Nosek 2009-12-23 22:23:09 UTC
(In reply to comment #5)

the same problem with new kernel:

gentoovbi nosek # uname -a
Linux gentoovbi 2.6.31-gentoo-r6 #1 SMP Tue Dec 22 22:27:31 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux

For working version of nvidia-drivers I had to downgrade to: x11-drivers/nvidia-drivers-173.14.20

Higher versions of nvidia-drivers are going to crash Xorg. At first - screen is flickering, after that the screen is black. I can't use graphical mode.

Nobody has the same problem?

Comment 8 Petr Nosek 2009-12-25 12:22:54 UTC
Created attachment 214118 [details]
new nvidia-bug-report - more info in dmesg

New nvidia-bug-report with problematic drivers  x11-drivers/nvidia-drivers-185.18.36

There are more information in dmesg.

NVRM: Xid (0007:00): 13, 0001 00000000 00005097 00001458 00000403 0000001c
NVRM: Xid (0007:00): 13, 0001 00000000 00005097 00001458 00000403 0000001c
Comment 9 Petr Nosek 2009-12-28 13:43:04 UTC
Created attachment 214384 [details]
nvidia-bug-report (nvidia-drivers-185-18-36-r1)

I tried newer nvidia-drivers (nvidia-drivers-185-18-36-r1). No solution, the same problem.
Comment 10 Petr Nosek 2009-12-28 13:45:13 UTC
Created attachment 214386 [details]
nvidia-bug-report (nvidia-drivers-190-53)

I tried another(unstable) nvidia-drivers (nvidia-drivers-190.53). No solution, the
same problem.

How can I help to solve this problem?
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2009-12-28 16:44:31 UTC
Submit as much details as possible to linux-bugs@nvidia.com with a link back to this bug report. When submitting info to them, make sure that you include your nvidia-bug-report.log's
Comment 12 Petr Nosek 2009-12-29 00:14:51 UTC
thank you, I wrote e-mail to nvidia.com.

I'm joining more information about this bug. Maybe someone will have an idea.

The screen is flickering, after starting gnome session. There is problem with redrawing windows. The screen is sometimes white - no windows are visible. Some parts of windows are sometimes visible other parts are invisible. Computer is freezing after flickering. Reproducibility: always

I took nvidia-bug-report after flickering but before freezing.
Comment 13 Stefano 2010-01-02 22:54:14 UTC
After the latest version bumps in X, I was able to update to 185.18.36 without screen corruption - for now...
Comment 14 Petr Nosek 2010-01-05 19:33:45 UTC
what version of kernel, do you have?
Comment 15 Stefano 2010-01-05 19:36:10 UTC
(In reply to comment #14)
> what version of kernel, do you have?

2.6.31-gentoo-r6
Comment 16 gentoo 2010-02-10 19:33:55 UTC
I'm getting screen blinks with 172.14.22 (I can't use any later major than 172 due to them desupporting my video card).  172.14.20 has been fine.
Comment 17 Maciej Mrozowski gentoo-dev 2010-03-17 23:40:22 UTC
You all fail to provide the most important information - what Gfx card do you use with mentioned drivers?
Please, next time, when mentioning kernel and driver version, also mention graphics hardware, so that it's not necessary to dig into nvidia-bug-reports. It's easy and it prevents asking the same questions ("and what's your kernel version") all over again. Thanks.

For instance. Here:
2.6.31-gentoo-r10 #1 SMP PREEMPT x86_64
x11-drivers/nvidia-drivers-173.14.25
x11-base/xorg-server-1.6.5-r1
nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

Unable to reproduce this bug.
Driver works very well and 173.14.25 may have fixed evdev related crashes that happened occasionally here before.
Comment 18 Stefano 2010-03-18 09:43:55 UTC
(In reply to comment #17)
> You all fail to provide the most important information - what Gfx card do you
> use with mentioned drivers?

Well, considering this has been open for 4 months, many of us have probably changed kernel, drivers, and even graphics card ;-)

Jokes aside, reproducing this is extremely difficult, as it seems to be very random.
Comment 19 gentoo 2010-05-06 19:43:23 UTC
I've been running 25 for a few hours now and no blinks here.
Comment 20 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 20:46:38 UTC
(In reply to comment #19)
> I've been running 25 for a few hours now and no blinks here.

Guess this was fixed along the way in a X.org bump, or kernel change or nvidia-drivers change.