Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36551 - media-video/nvidia-glx-1.0.5328 segfaults
Summary: media-video/nvidia-glx-1.0.5328 segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 36616 36689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-26 14:00 UTC by SpanKY
Modified: 2004-01-05 12:47 UTC (History)
10 users (show)

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


Attachments
nvidia-kernel-1.0.5328.ebuild.patch (nvidia-kernel-1.0.5328.ebuild.patch,892 bytes, patch)
2003-12-27 05:30 UTC, Donnie Berkholz (RETIRED)
Details | Diff
Proper tlstest fix (nvidia-glx-1.0.5328.ebuild,2.99 KB, patch)
2004-01-01 04:35 UTC, Ronald Hummelink
Details | Diff
Tls-test fix as patch to the ebuild in portage. (nvidia-glx-1.0.5328.ebuild.patch,425 bytes, patch)
2004-01-01 11:51 UTC, Ronald Hummelink
Details | Diff
files/1.0.5328/NVIDIA_kernel-1.0-5328-2.4-via-chipset-fix.patch (NVIDIA_kernel-1.0-5328-2.4-via-chipset-fix.patch,970 bytes, patch)
2004-01-02 10:43 UTC, Donnie Berkholz (RETIRED)
Details | Diff
nvidia-kernel-1.0.5328.ebuild.patch (nvidia-kernel-1.0.5328.ebuild.patch,791 bytes, patch)
2004-01-02 10:43 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-12-26 14:00:40 UTC
For some more history, read Bug 36286

basically the nvidia-kernel seems to work fine, it's the glx module that sucks

when starting X, the last thing i see is 'initializing GLX extension' and then X quits ... removing the GLX extension in the XF86Config allows X to startup just fine, but then all gl apps segfault (like running `glxgears` just gives 'segfault')

revering back to nvidia-glx-1.0.4496 while X is running nvidia-kernel-1.0.5328, or switching to the XFree opengl implementation, allows the gl binaries to inform me that the GLX extension has not been loaded ... much nicer than a segfault ;)

some system info:
Portage 2.0.50_pre9 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6 
.0)
System uname: 2.6.0 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.12
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2003-12-27 00:47:34 UTC
I have similar (yet a bit more severe) problems. If any of the two components nvidia-glx or nvidia-kernel is version 5328, X won't start. In the case of mixed versions, X complains about an API mismatch (not matter if the glx module is enabled or not). If they're both v5328, I get a kernel null pointer deref. The machine keeps running, but the console is pretty whacked, which makes a reboot necessary. I can provide a ksymoops'ed ops backtrace if it is of any value.

Using nvidia-glx-1.0.4496-r1 and nvidia-kernel-1.0.4496-r4, everything runs fine.

Machine data:
Geforce 4 Ti 4200:
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3)

Epox 8K7A2+ with Apollo KT266/A/333 chipset
Athlon XP2500+

emerge info:
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bonobo cdr crypt cups dga dvd encode esd exif foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 guile imlib jack java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xm l2 xmms xv zlib"
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2003-12-27 03:40:02 UTC
i can reproduce this for kernel and glx versions 5328 on 2.6.0-mm1 (nptl based machine w/ 2.6.0-mm1 if that makes a difference).  i know one user with the gaming-sources-2.4.20-r3 and the nvidia 5328 stuff works fine though.
Comment 3 Christian Apolloni 2003-12-27 04:14:49 UTC
It seems I have the same problem as described in #1.

01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4800 SE] (rev a1)

emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0)
=================================================================
System uname: 2.6.0 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=sse -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 S3TC X aalib alsa apache2 avi caps cdr crypt cups dga dv dvb dvd encode gif gpgme gpm gtk gtk2 imlib ipv6 java jpeg maildir mmx mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl plotutils png pnp python quicktime readline samba sasl sdl snmp sse ssl tcpd tetex tiff truetype usb wmf wxwindows xchattext xml xml2 xmms xv zlib"
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-27 05:23:29 UTC
Any chance all of you have VIA chipsets?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-27 05:30:44 UTC
Created attachment 22700 [details, diff]
nvidia-kernel-1.0.5328.ebuild.patch

If the "Applying tasklet patch ..." didn't show up for you on nvidia-kernel,
try this patch to the ebuild. It applies the minion.de patch in all cases
instead of just >=2.5 kernels in /usr/src/linux.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-27 05:34:28 UTC
It sounds like 2.4.23 and higher may need this. It doesn't compile on my system but I don't have a .23 kernel available and I'm on dialup so it'll take a while to test.
Comment 7 Christian Apolloni 2003-12-27 07:49:51 UTC
@ #4
My motherboard has the chipset SiS651. The Geforce4 is a MSI (if matters).

@ #5
The patch doesn't solve the problem, at least in my case. BTW having a kernel 2.6.0 "Applying tasklet patch ..." shows up even without the patch.
Comment 8 federico 2003-12-27 08:10:35 UTC
It works fine for me. Some info :

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dfx X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb dvd encode esd fbcon ffmpeg foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 jabber java javascript jpeg kde libg++ libwww mad md5sum mikmod mldonkeypango motif mozaccess mozcalendar mozctl mozilla mpeg mule music mysql ncurses nls offensive oggvorbis opengl openssh oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdk sdl slang spell src ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb wxwindows x86 xine xml2 xmms xv yahoo zlib"
Comment 9 Arve Knudsen 2003-12-27 08:56:15 UTC
I'm using 2.6.0-mm1, NPTL. When starting X with these new drivers the fan on my
Geforce4 Ti4800 will start spinning faster (at least I can hear an increase in
fan noise), and I get nothing but a black screen. Fortunately I'm able to
restart by hitting ctrl+alt+del. I didn't check the XFree log, simply remerged
the old drivers and made sure everything was okay, so I don't know all the
details.
Comment 10 SpanKY gentoo-dev 2003-12-27 11:18:41 UTC
i've got a SiS too [SiS645] ... it's a ASuS P4S333 ...
and the tasklet patch already applied for me during the unpack ... i am not experiencing any kernel tracebacks, just GLX segfaulting (whether at startup if i have GLX enabled or at runtime if i turn off GLX)
Comment 11 Trevor Joynson 2003-12-27 12:48:51 UTC
I'm having these problems as well. Looks like the 5328 glx might not be all that good of a release of nvidia so far ;)

so, im currently running without GL. The moment after I write this I am re-merging the old drivers+glx.

=)

-- trevorj
Comment 12 Trevor Joynson 2003-12-27 12:50:10 UTC
Sorry, Almost forgot:

>> emerge --info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0,2.3.3_pre20031                                                                                                                           222-r0,2.3.2-r9, 2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="no"
CFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse,387 -funroll-loops -frename-registers -fm                                                                                                                           erge-all-constants -fprefetch-loop-arrays -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/co                                                                                                                           nfig /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/contr                                                                                                                           ol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse,387 -funroll-loops -frename-registers -                                                                                                                           fmerge-all-constants -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.oregonstate.edu http                                                                                                                           ://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acpi acpi4linux alsa apache2 apm autofs avi berkdb cdr comp                                                                                                                           osite crypt cups curl dedicated dga dillo directfb encode esd fbcon fbdev flash gd gdbm g                                                                                                                           if gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib innodb ipv6 java jikes joystick                                                                                                                            jpeg kde libg++ libwww mad maildir mikmod motif moznocompose moznoirc moznomail mpeg mysq                                                                                                                           l nas ncurses nocd nptl offensive oggvorbis opengl oss pam pdflib perl php pic png python                                                                                                                            qt quicktime readline ruby samba scanner sdl slang socks5 spell src sse ssl svga tcltk t                                                                                                                           cpd tiff truetype usb x86 xchattext xinerama xml2 xmms xosd xv zlib"
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-27 17:37:11 UTC
Anyone object if I mask the 5328 til things get fixed?
Comment 14 Aaron Gyes 2003-12-27 17:49:25 UTC
It segfaults here after loading GLX, however if I use the patched installer from minion.de it works flawlessly. 2.6.0-mm1 and NPTL with a kt400 and Geforce 4 ti4400.
Comment 15 Yi Quang (RETIRED) gentoo-dev 2003-12-27 17:50:06 UTC
Ugh, someone botched the ebuild.  It has nothing to do with nvidia-kernel. The nvidia-glx ebuild does a wrong test for TLS.  
        # Check if we should install TLS versions of the libraries
        ${S}/usr/bin/tls_test 2> /dev/null
        # Only trust this if we are merging to /
        if [ "$?" = "0" -a "${ROOT}" = "/" ]
        then
                einfo "Using TLS..."
                TLS="tls/"

It should read if [ "$?" = "1" -a .... ] 
If the program executes without error, it reports back 1, not 0.  
Comment 16 Matthew Kennedy (RETIRED) gentoo-dev 2003-12-28 00:25:01 UTC
looks like the winner is... comment #15 (solved it for me at least)
Comment 17 SpanKY gentoo-dev 2003-12-28 01:18:29 UTC
*** Bug 36616 has been marked as a duplicate of this bug. ***
Comment 18 SpanKY gentoo-dev 2003-12-28 01:37:03 UTC
yep, changing the 0 to a 1 fixed it for me too
Comment 19 Peter Ruskin 2003-12-28 05:55:33 UTC
Well, changing the 0 to a 1 didn't fix it for me.

Using vt 7
dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: cannot handle TLS data
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)

(EE) NVIDIA(0): Failed to load GLX
startkde: Starting up...
kreadconfig: error while loading shared libraries: libGL.so.1: cannot handle TLS data
/usr/bin/ksplash: error while loading shared libraries: libGL.so.1: cannot handle TLS data
kdeinit: error while loading shared libraries: libGL.so.1: cannot handle TLS data
startkde: Could not start kdeinit. Check your installation.
Comment 20 EJ Finneran 2003-12-28 10:45:35 UTC
If I apply the patch to nvidia-kernel ebuild that applies the minion.de patch no matter what kernel I'm running the build fails.  If I try changing the 0 to 1 in the TLS test, it builds but I get the same error that #19 reports.  

root@kal-el nvidia-kernel # lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:09.1 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0d.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
00:0d.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)00:0d.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
00:0f.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 23)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0341 (rev a1)

root@kal-el nvidia-kernel # emerge --info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.60/gentoo-portage"
USE="OSS X aalib acpi apm avi berkdb bonobo cdr crypt cups dvd encode evo foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg libg++ libvorbis libwww lirc mad mikmod mmx motif mozilla moznoirc mpeg ncurses nls oggvorbis opengl opie oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 21 Peter Ruskin 2003-12-28 11:34:12 UTC
My lspci (snipped):
$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 80) (actually it's a KT600)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3227
01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1)
Comment 22 Tobias Klausmann (RETIRED) gentoo-dev 2003-12-28 11:44:44 UTC
Same here, changing the tls check from 0 to 1 changes the error message but nothing else.
Comment 23 Yi Quang (RETIRED) gentoo-dev 2003-12-28 12:47:52 UTC
Are you guy's using nptl?  Please post the sizes of /usr/lib/opengl/nvidia/extensions/libglx.so
/usr/lib/opengl/nvidia/lib/libGL.so.1.0.5328
/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.5328

Comment 24 SpanKY gentoo-dev 2003-12-28 13:14:39 UTC
i'm using nptl with my 2.6.x and it works fine after changing the 0 to 1 in the tls test
Comment 25 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-28 15:05:57 UTC
I believe there are (at least) two distinct bugs here.

1) broken VIA chipsets, this is fixed by part of the minion.de patch -- that could be pulled out

2) The TLS 0/1 thing.

Is there anyone who has the patch applied in addition to the TLS change still experiencing ANY problems associated to this?
Comment 26 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-28 15:23:33 UTC
> Ugh, someone botched the ebuild.  It has nothing to do with nvidia-kernel.
> The nvidia-glx ebuild does a wrong test for TLS.

It used to be the way it is.  Hmm, could we verify with the build script that 
the return values _did_ change for the tls test (sorry, on dialup now, so
don't want to download it if not really needed)?

We had a problem before that the tls test program segfaulted for some users,
and I guess it could then return something it should not?  If so, I could whip
up our own test ... I have mailed the nVidia guys before about it segfaulting,
but they have not responded ...
Comment 27 Tobias Klausmann (RETIRED) gentoo-dev 2003-12-29 07:04:26 UTC
FWIW, Kernel 2.6.0-mm1 on a Pentium III with a Gf 2MX works:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)

Comment 28 Tobias Klausmann (RETIRED) gentoo-dev 2003-12-29 07:06:59 UTC
FWIW, Kernel 2.6.0-mm1 on a Pentium III with a Gf 2MX works:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)

Comment 29 Charles Goodwin 2003-12-30 15:01:28 UTC
Comment #15 worked a treat for me.
Comment 30 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-31 16:37:15 UTC
*** Bug 36689 has been marked as a duplicate of this bug. ***
Comment 31 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-31 16:39:04 UTC
Mike, can you mail me the build script (Makefile/whatever) and the tls_test
binary .tar.bz2'd please ?
Comment 32 Norberto Bensa 2003-12-31 22:18:57 UTC
#15 fixed for me too.
Comment 33 Ronald Hummelink 2004-01-01 04:35:12 UTC
Created attachment 22945 [details, diff]
Proper tlstest fix

The 5328 nvidia_installer runs the tls check in a new way. This ebuild adopts
the new way and makes tlstest return 0 properly on my tls system.

Somebody test on non-tls system please as i do not have any available (it
should work properly: ie not install the tls versions -- so run properly)
Comment 34 Peter Ruskin 2004-01-01 07:52:52 UTC
Just emerged the ebuild at Comment #33.  I still get a black screen and amber LED on the monitor, so I've gone back to 4496.  This was my XFree86.0.log:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-t11-g2-r2-w4l i686 [ELF] 
Build Date: 17 December 2003
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  1 15:26:05 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "monitor1"
(**) |   |-->Device "device1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "250 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "gb"
(**) XKB: layout: "gb"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse1"
(**) FontPath set to "/usr/local/truetype,/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/TTF,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/cyrillic:unscaled,/usr/X11R6/lib/X11/fonts/CID,/usr/X11R6/lib/X11/fonts/TrueType,/usr/X11R6/lib/X11/fonts/truetype,/usr/share/fonts/ttf-bitstream-vera"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail" "False"
(**) Option "HandleSpecialKeys" "Always"
(**) Always handling special keys in DDX
Using vt 7
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3189 card 1458,5000 rev 80 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b198 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:09:0: chip 1033,0035 card 2027,0035 rev 41 class 0c,03,10 hdr 80
(II) PCI: 00:09:1: chip 1033,0035 card 2027,0035 rev 41 class 0c,03,10 hdr 00
(II) PCI: 00:09:2: chip 1033,00e0 card 2027,0032 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:0a:0: chip 1102,0002 card 1102,8065 rev 0a class 04,01,00 hdr 80
(II) PCI: 00:0a:1: chip 1102,7002 card 1102,0020 rev 0a class 09,80,00 hdr 80
(II) PCI: 00:0b:0: chip 105a,4d69 card 105a,4d68 rev 02 class 01,80,85 hdr 00
(II) PCI: 00:0c:0: chip 9004,5078 card 9004,7850 rev 03 class 01,00,00 hdr 00
(II) PCI: 00:0f:0: chip 1106,0571 card 1458,5002 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:10:0: chip 1106,3038 card 1458,5004 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 1458,5004 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:2: chip 1106,3038 card 1458,5004 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3038 card 1458,5004 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:4: chip 1106,3104 card 1458,5004 rev 86 class 0c,03,20 hdr 80
(II) PCI: 00:11:0: chip 1106,3227 card 1458,5001 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:5: chip 1106,3059 card 1458,a002 rev 60 class 04,01,00 hdr 00
(II) PCI: 00:13:0: chip 10ec,8139 card 1458,e000 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:14:0: chip 1106,3044 card 1458,1000 rev 46 class 0c,00,10 hdr 00
(II) PCI: 01:00:0: chip 10de,0312 card 1043,80e7 rev a1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xe8000000 - 0xe9ffffff (0x2000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x0312) rev 161, Mem @ 0xe8000000/24, 0xd0000000/28
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe0000000 from 0xe7ffffff to 0xdfffffff
(II) Active PCI resource ranges:
	[0] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[1] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[2] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[3] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[4] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[5] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[6] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[7] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[8] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[9] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[10] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[11] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[12] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[13] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[14] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[15] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[16] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[17] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[18] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[19] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[20] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[21] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[22] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[23] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[24] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[25] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[26] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[1] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[2] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[3] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[4] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[5] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[6] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[7] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[8] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[9] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[10] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[11] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[12] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[13] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[14] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[15] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[16] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[17] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[18] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[19] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[20] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[21] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[22] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[23] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[24] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[25] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[26] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[6] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[7] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[8] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[9] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[10] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[11] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[12] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[13] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[14] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[15] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[16] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[17] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[18] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[19] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[20] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[21] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[22] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[23] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[24] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[25] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[26] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[27] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[28] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[29] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[30] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[31] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[32] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[33] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DEC-XTRAP
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.5328
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 2.0.2
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.2
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.5328
	Module class: XFree86 Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.4
(II) NVIDIA XFree86 Driver  1.0-5328  Wed Dec 17 13:56:09 PST 2003
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[6] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[7] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[8] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[9] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[10] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[11] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[12] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[13] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[14] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[15] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[16] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[17] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[18] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[19] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[20] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[21] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[22] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[23] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[24] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[25] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[26] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[27] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[28] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[29] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[30] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[31] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[32] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[33] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
(II) resource ranges after probing:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[6] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[7] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[8] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[9] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[10] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[11] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[12] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[13] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[14] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[15] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[16] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[17] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[18] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[19] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[20] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[21] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[22] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[23] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[24] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[25] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[26] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[27] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[28] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[29] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[30] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[31] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[32] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[33] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[34] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[35] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[36] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
	[37] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[38] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "DigitalVibrance" "1"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "IgnoreEDID" "on"
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Option "UseEdidFreqs" "off"
(**) NVIDIA(0): Enabling experimental RENDER acceleration
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(**) NVIDIA(0): Ignoring EDIDs
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xE8000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5600
(--) NVIDIA(0): VideoBIOS: 04.31.20.28.00
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0, CRT-1
(--) NVIDIA(0): Detected TV Encoder: NVIDIA
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0):      using first display
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz
(II) NVIDIA(0): Not probing EDIDs.
(**) NVIDIA(0): Digital Vibrance for display 0 set to 1
(II) NVIDIA(0): monitor1: Using hsync range of 30.00-92.00 kHz
(II) NVIDIA(0): monitor1: Using vrefresh range of 50.00-160.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 400.00 MHz
(II) NVIDIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1856x1392" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1792x1344" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1600x1200" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1600x1200" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1600x1200" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1400x1050" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1400x1050" (width too large for virtual size)
(WW) NVIDIA(0): Not using mode "1152x768":
(WW) NVIDIA(0):   horizontal sync start (1178) not a multiple of 8
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0):   horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0):   horizontal sync start (378) not a multiple of 8
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0):      Default mode "1280x1024": 157.5 MHz, 91.1 kHz, 85.0 Hz
(**) NVIDIA(0):      Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 74.2 MHz, 85.9 kHz, 85.1 Hz (D)
(**) NVIDIA(0):      Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1280x960": 148.5 MHz, 85.9 kHz, 85.0 Hz
(**) NVIDIA(0):      Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) NVIDIA(0):      Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) NVIDIA(0):      Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "960x720": 117.0 MHz, 90.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "928x696": 109.2 MHz, 86.4 kHz, 60.1 Hz (D)
(**) NVIDIA(0):      Default mode "896x672": 102.4 MHz, 83.7 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(**) NVIDIA(0):      Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(**) NVIDIA(0):      Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) NVIDIA(0):      Default mode "800x600": 94.5 MHz, 87.5 kHz, 70.0 Hz (D)
(**) NVIDIA(0):      Default mode "800x600": 87.8 MHz, 81.2 kHz, 65.0 Hz (D)
(**) NVIDIA(0):      Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0):      Default mode "800x600": 81.0 MHz, 75.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0):      Default mode "700x525": 77.9 MHz, 81.5 kHz, 74.8 Hz (D)
(**) NVIDIA(0):      Default mode "700x525": 61.0 MHz, 64.9 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x512": 78.8 MHz, 91.1 kHz, 85.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x512": 67.5 MHz, 80.0 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) NVIDIA(0):      Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
(**) NVIDIA(0):      Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
(**) NVIDIA(0):      Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(**) NVIDIA(0):      Default mode "512x384": 47.2 MHz, 68.7 kHz, 85.0 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 28.1 MHz, 53.7 kHz, 85.3 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 18.0 MHz, 43.3 kHz, 85.2 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(**) NVIDIA(0):      Default mode "320x200": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(**) NVIDIA(0):      Default mode "320x175": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(**) NVIDIA(0): Display dimensions: (325, 260) mm
(**) NVIDIA(0): DPI set to (100, 100)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.3.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B]
	[1] 0	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B]
	[2] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[3] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[4] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[5] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[6] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[7] -1	0	0xeb00a000 - 0xeb00a7ff (0x800) MX[B]
	[8] -1	0	0xeb009000 - 0xeb0090ff (0x100) MX[B]
	[9] -1	0	0xeb008000 - 0xeb0080ff (0x100) MX[B]
	[10] -1	0	0xeb007000 - 0xeb007fff (0x1000) MX[B]
	[11] -1	0	0xeb000000 - 0xeb003fff (0x4000) MX[B]
	[12] -1	0	0xeb004000 - 0xeb0040ff (0x100) MX[B]
	[13] -1	0	0xeb006000 - 0xeb006fff (0x1000) MX[B]
	[14] -1	0	0xeb005000 - 0xeb005fff (0x1000) MX[B]
	[15] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]O
	[16] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
	[17] -1	0	0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
	[18] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[19] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[20] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[21] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[22] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[23] -1	0	0x0000cc00 - 0x0000cc7f (0x80) IX[B]
	[24] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[B]
	[25] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[B]
	[26] -1	0	0x0000c000 - 0x0000c01f (0x20) IX[B]
	[27] -1	0	0x0000bc00 - 0x0000bc1f (0x20) IX[B]
	[28] -1	0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[29] -1	0	0x0000b400 - 0x0000b41f (0x20) IX[B]
	[30] -1	0	0x0000b000 - 0x0000b00f (0x10) IX[B]
	[31] -1	0	0x0000ac00 - 0x0000acff (0x100) IX[B]
	[32] -1	0	0x0000a800 - 0x0000a80f (0x10) IX[B]
	[33] -1	0	0x0000a400 - 0x0000a403 (0x4) IX[B]
	[34] -1	0	0x0000a000 - 0x0000a007 (0x8) IX[B]
	[35] -1	0	0x00009c00 - 0x00009c03 (0x4) IX[B]
	[36] -1	0	0x00009800 - 0x00009807 (0x8) IX[B]
	[37] -1	0	0x00009400 - 0x00009407 (0x8) IX[B]
	[38] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
	[39] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[40] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): AGP 8X successfully initialized
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): Option "BackingStore" "on"
(**) NVIDIA(0): Backing store enabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing extension GLX
(II) Keyboard "Keyboard1" handled by legacy driver
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/gpmdata"
(**) Option "Buttons" "5"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) NVIDIA(0): Setting mode "1280x1024"

From lspci -vv:
01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1) (prog-if 00 [VGA])
        Subsystem: Asustek Computer, Inc.: Unknown device 80e7
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 248 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW+ Rate=x8
Comment 35 Peter Ruskin 2004-01-01 08:14:37 UTC
Further to Comment #34, I thought this diff of the logs might provide a clue:
$ diff -u XFree86.0.log XFree86.0.log-5328.save
--- XFree86.0.log       2004-01-01 15:48:30.430723803 +0000
+++ XFree86.0.log-5328.save     2004-01-01 15:35:03.000000000 +0000
@@ -10,7 +10,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  1 15:45:07 2004
+(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan  1 15:26:05 2004
 (==) Using config file: "/etc/X11/XF86Config"
 (==) ServerLayout "layout1"
 (**) |-->Screen "screen1" (0)
@@ -32,7 +32,8 @@
 (**) Option "AllowMouseOpenFail" "False"
 (**) Option "HandleSpecialKeys" "Always"
 (**) Always handling special keys in DDX
-(++) using VT number 7
+Using vt 7
+(--) using VT number 7

 (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
 (II) Module ABI versions:
@@ -56,7 +57,7 @@
        ABI class: XFree86 Video Driver, version 0.6
 (II) PCI: Probing config type using method 1
 (II) PCI: Config type is 1
-(II) PCI: stages = 0x03, oldVal1 = 0x80010008, mode1Res1 = 0x80000000
+(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
 (II) PCI: PCI scan (all values are in hex)
 (II) PCI: 00:00:0: chip 1106,3189 card 1458,5000 rev 80 class 06,00,00 hdr 00
 (II) PCI: 00:01:0: chip 1106,b198 card 0000,0000 rev 00 class 06,04,00 hdr 01
@@ -253,7 +254,7 @@
 (II) LoadModule: "glx"
 (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
 (II) Module glx: vendor="NVIDIA Corporation"
-       compiled for 4.0.2, module version = 1.0.4496
+       compiled for 4.0.2, module version = 1.0.5328
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
 (II) Loading extension GLX
@@ -282,7 +283,7 @@
 (II) LoadModule: "nvidia"
 (II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
 (II) Module nvidia: vendor="NVIDIA Corporation"
-       compiled for 4.0.2, module version = 1.0.4496
+       compiled for 4.0.2, module version = 1.0.5328
        Module class: XFree86 Video Driver
 (II) LoadModule: "mouse"
 (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
@@ -290,7 +291,7 @@
        compiled for 4.3.0, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.4
-(II) NVIDIA XFree86 Driver  1.0-4496  Wed Jul 16 19:06:03 PDT 2003
+(II) NVIDIA XFree86 Driver  1.0-5328  Wed Dec 17 13:56:09 PST 2003
 (II) NVIDIA Unified Driver for all NVIDIA GPUs
 (II) Primary Device is: PCI 01:00:0
 (--) Assigning device section with no busID to primary device
@@ -394,11 +395,13 @@
 (II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5600
 (--) NVIDIA(0): VideoBIOS: 04.31.20.28.00
 (--) NVIDIA(0): VideoRAM: 131072 kBytes
-(II) NVIDIA(0): Connected display device(s): CRT-1
+(II) NVIDIA(0): Connected display device(s): CRT-0, CRT-1
 (--) NVIDIA(0): Detected TV Encoder: NVIDIA
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at  8 bpp: 400 MHz
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 16 bpp: 400 MHz
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 32 bpp: 400 MHz
+(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
+(WW) NVIDIA(0):      using first display
+(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 400 MHz
+(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
+(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz
 (II) NVIDIA(0): Not probing EDIDs.
 (**) NVIDIA(0): Digital Vibrance for display 0 set to 1
 (II) NVIDIA(0): monitor1: Using hsync range of 30.00-92.00 kHz
@@ -438,7 +441,7 @@
 (WW) NVIDIA(0):   horizontal sync start (589) not a multiple of 8
 (WW) NVIDIA(0): Not using mode "360x200":
 (WW) NVIDIA(0):   horizontal sync start (378) not a multiple of 8
-(**) NVIDIA(0): Validated modes for display device CRT-1:
+(**) NVIDIA(0): Validated modes for display device CRT-0:
 (**) NVIDIA(0):      Default mode "1280x1024": 157.5 MHz, 91.1 kHz, 85.0 Hz
 (**) NVIDIA(0):      Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
 (**) NVIDIA(0):      Default mode "640x480": 74.2 MHz, 85.9 kHz, 85.1 Hz (D)
@@ -493,7 +496,8 @@
 (**) NVIDIA(0):      Default mode "320x200": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
 (**) NVIDIA(0):      Default mode "320x175": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
 (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
-(++) NVIDIA(0): DPI set to (100, 100)
+(**) NVIDIA(0): Display dimensions: (325, 260) mm
+(**) NVIDIA(0): DPI set to (100, 100)
 (II) Loading sub module "fb"
 (II) LoadModule: "fb"
 (II) Loading /usr/X11R6/lib/modules/libfb.a
@@ -551,13 +555,14 @@
        [40] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
 (II) NVIDIA(0): AGP 8X successfully initialized
 (II) NVIDIA(0): Setting mode "1280x1024"
+(II) Loading extension NV-GLX
+(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
 (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
 (**) NVIDIA(0): Option "BackingStore" "on"
 (**) NVIDIA(0): Backing store enabled
 (==) NVIDIA(0): Silken mouse enabled
 (**) Option "dpms"
 (**) NVIDIA(0): DPMS enabled
-(II) Loading extension NV-GLX
 (II) Loading extension NV-CONTROL
 (==) RandR enabled
 (II) Initializing built-in extension MIT-SHM
@@ -571,7 +576,7 @@
 (II) Initializing built-in extension XFree86-Bigfont
 (II) Initializing built-in extension RENDER
 (II) Initializing built-in extension RANDR
-(II) [GLX]: Initializing GLX extension
+(II) Initializing extension GLX
 (II) Keyboard "Keyboard1" handled by legacy driver
 (**) Option "Protocol" "IMPS/2"
 (**) Mouse1: Protocol: "IMPS/2"
@@ -585,5 +590,5 @@
 (**) Mouse1: Buttons: 5
 (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
 (II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
-xf86KbdEvents Resource temporarily unavailable
-(II) 3rd Button detected: disabling emulate3Button
+(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
+(II) NVIDIA(0): Setting mode "1280x1024"
Comment 36 Ronald Hummelink 2004-01-01 10:44:25 UTC
On Comment 34 by Peter Ruskin:

-(II) NVIDIA(0): Connected display device(s): CRT-1
+(II) NVIDIA(0): Connected display device(s): CRT-0, CRT-1

The new driver is detecting a display on both ports, while the old driver only sees crt-1

 (--) NVIDIA(0): Detected TV Encoder: NVIDIA
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at  8 bpp: 400 MHz
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 16 bpp: 400 MHz
-(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 32 bpp: 400 MHz
+(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
+(WW) NVIDIA(0):      using first display

The driver tells you its using crt-0 which if i see the old driver correctly, is not the port you have your monitor attached. Confirm by switching your vga cable, and if so look for a driver option in XF86Config to make it use crt-1.
Comment 37 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-01 11:35:54 UTC
Ronald, can you please attach a patch for Donnie?

Donnie, except for the tls_test issue, it seems we have:
1) issues on via boards (or was this tls_test issue?)
2) it detects the display on the wrong crt for dual-head cards.
Am I missing something?
Comment 38 Ronald Hummelink 2004-01-01 11:51:57 UTC
Created attachment 22965 [details, diff]
Tls-test fix as patch to the ebuild in portage.

> Ronald, can you please attach a patch for Donnie?

Sure

> Donnie, except for the tls_test issue, it seems we have:
> 1) issues on via boards (or was this tls_test issue?)

Tlstest is an issue on my nforce2, so I am assuming this is not a via problem
;-)

> 2) it detects the display on the wrong crt for dual-head cards.

It detects the right port (vga) on my TI4400 (it has a vga, dvi and tv-out
port)
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-1
(--) NVIDIA(0): Detected TV Encoder: Philips 7108


> Am I missing something?

All fine for me now.
Comment 39 Peter Ruskin 2004-01-01 13:11:31 UTC
OK, mine works fine now.  It was detecting 2 VGA connected monitors and picked the wrong one.  I added these lines to XF86Config, Section "Device":

Option		"ConnectedMonitor"	"CRT-1"
Option		"IgnoreDisplayDevices"	"DFP, TV"

...then rmmoded nvidia and then startx worked fine.

So there is definitely a problem with this driver sometimes incorrectly detecting attached monitors.
Comment 40 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-02 10:43:08 UTC
Created attachment 23024 [details, diff]
files/1.0.5328/NVIDIA_kernel-1.0-5328-2.4-via-chipset-fix.patch

Fixes VIA issue on 2.4 kernels, when combined with following ebuild patch.
Comment 41 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-02 10:43:59 UTC
Created attachment 23025 [details, diff]
nvidia-kernel-1.0.5328.ebuild.patch

Fixes VIA issue on 2.4 kernels when combined with previous FILESDIR patch.
Comment 42 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-02 10:46:45 UTC
Could I get a couple of testers with VIA chipsets and 2.4 kernels on the previous patches in comment #40 and comment #41 before committing?

My plan is to commit the tls fix and the VIA fix as -r1, assuming they both seem to work.
Comment 43 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-02 11:15:24 UTC
Oh yeah, the minion.de patch updated today would also go into -r1.
Comment 44 Peter Ruskin 2004-01-02 11:57:11 UTC
Re. Comment #42:
worksforme on the same box with 2.4 and 2.6 kernels...thanks
Comment 45 Tobias Klausmann (RETIRED) gentoo-dev 2004-01-02 16:01:53 UTC
Works for me, too.

Kernel 2.4.23, Chipset: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]

Thanks a bunch!
Comment 46 EJ Finneran 2004-01-04 09:21:53 UTC
Re: #42

Yeah that fixed all my problems.  
Kernel 2.4.22 Chipset: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
Nvidia GeForce FX 5700U

Thanks
Comment 47 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-05 12:47:22 UTC
Just committed nvidia-glx-1.0.5328-r1.ebuild with TLS fix, and nvidia-kernel-1.0.5328-r1.ebuild with VIA fix and minion.de patch update.

Please open a new bug about the CRT detection issue if you want, although there's probably not a lot we can do about it besides tell nvidia it doesn't work. TV-out is and has been known to have issues.