Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
This is killing me! (nvidia driver problems)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 4:33 am    Post subject: This is killing me! (nvidia driver problems) Reply with quote

For the last two days I've been trying to get nvidia drivers to work; but I'm failing at anything I try. I'm confused out of my mind!

Ok so here's what I'm doing:

I got a 2.6.3 kernel, compiled and all working (except for usb but that's another thread). Anyways, I go to nvidias site and download their drivers. Peachy, 5336. I run the .run file, compile the kernel module, configure xf86config and startx...

This comes out:

(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

After doing some google searches for this problem I only ran into spanish, french, and german help sites. So those did not help me. All I want is to get these drivers working! It shouldn't be that complicated! I've never been so stumped!

I also emerged xfree under the 2.6.3 kernel (I was using the 2.4.25), but that didn't seem to solve anything.

Heres the module being loaded:
-----------------------------------------------------------------------
gentoomachine root # modprobe --verbose nvidia
insmod /lib/modules/2.6.3/kernel/drivers/video/nvidia.ko
gentoomachine root # lsmod
Module Size Used by
nvidia 2072904 0
-----------------------------------------------------------------------

Here is the full error from startx:
Quote:

This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.3 i686 [ELF]
Build Date: 21 February 2004
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: Sat Feb 21 18:12:42 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "mag"
(**) | |-->Device "g2ti"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
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.1, 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.1, 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,0305 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,8305 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1106,0686 card 1106,0000 rev 40 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 1106,0571 card 0000,0000 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:07:2: chip 1106,3038 card 0925,1234 rev 1a class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 1106,3038 card 0925,1234 rev 1a class 0c,03,00 hdr 00
(II) PCI: 00:07:4: chip 1106,3057 card 0000,0000 rev 40 class 06,00,00 hdr 00
(II) PCI: 00:08:0: chip 1013,6003 card 1681,0050 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:09:0: chip 10b7,9055 card 10b7,9055 rev 30 class 02,00,00 hdr 00
(II) PCI: 00:0d:0: chip 109e,036e card 0070,13eb rev 02 class 04,00,00 hdr 80
(II) PCI: 00:0d:1: chip 109e,0878 card 0070,13eb rev 02 class 04,80,00 hdr 80
(II) PCI: 01:00:0: chip 10de,0151 card 0000,0000 rev a4 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 0xd8000000 - 0xd9ffffff (0x2000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Host-to-PCI bridge:
(II) Bus -1: bridge is at (0:7:4), (-1,-1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus -1 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus -1 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus -1 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI: (0:13:0) Brooktree Corporation Bt878 Video Capture rev 2, Mem @ 0xdb102000/12
(--) PCI:*(1:0:0) nVidia Corporation NV15DDR [GeForce2 Ti] rev 164, Mem @ 0xd8000000/24, 0xd0000000/27
(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 0xc0000000 from 0xcfffffff to 0xbfffffff
(II) Active PCI resource ranges:
[0] -1 0 0xdb103000 - 0xdb103fff (0x1000) MX[B]
[1] -1 0 0xdb100000 - 0xdb10007f (0x80) MX[B]
[2] -1 0 0xdb000000 - 0xdb0fffff (0x100000) MX[B]
[3] -1 0 0xdb101000 - 0xdb101fff (0x1000) MX[B]
[4] -1 0 0xc0000000 - 0xbfffffff (0x0) MX[B]O
[5] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[6] -1 0 0xd8000000 - 0xd8ffffff (0x1000000) MX[B](B)
[7] -1 0 0xdb102000 - 0xdb102fff (0x1000) MX[B](B)
[8] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[9] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[10] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[11] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xdb103000 - 0xdb103fff (0x1000) MX[B]
[1] -1 0 0xdb100000 - 0xdb10007f (0x80) MX[B]
[2] -1 0 0xdb000000 - 0xdb0fffff (0x100000) MX[B]
[3] -1 0 0xdb101000 - 0xdb101fff (0x1000) MX[B]
[4] -1 0 0xc0000000 - 0xbfffffff (0x0) MX[B]O
[5] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[6] -1 0 0xd8000000 - 0xd8ffffff (0x1000000) MX[B](B)
[7] -1 0 0xdb102000 - 0xdb102fff (0x1000) MX[B](B)
[8] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[9] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[10] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[11] -1 0 0x0000e000 - 0x0000e00f (0x10) 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 0xdb103000 - 0xdb103fff (0x1000) MX[B]
[6] -1 0 0xdb100000 - 0xdb10007f (0x80) MX[B]
[7] -1 0 0xdb000000 - 0xdb0fffff (0x100000) MX[B]
[8] -1 0 0xdb101000 - 0xdb101fff (0x1000) MX[B]
[9] -1 0 0xc0000000 - 0xbfffffff (0x0) MX[B]O
[10] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[11] -1 0 0xd8000000 - 0xd8ffffff (0x1000000) MX[B](B)
[12] -1 0 0xdb102000 - 0xdb102fff (0x1000) MX[B](B)
[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[16] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[17] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[18] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.3.0.1, 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: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.3.0.1, 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 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: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.3.0.1, 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: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(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.5336
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(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.5336
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.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(II) NVIDIA XFree86 Driver 1.0-5336 Wed Jan 14 18:30:46 PST 2004
(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 0xdb103000 - 0xdb103fff (0x1000) MX[B]
[6] -1 0 0xdb100000 - 0xdb10007f (0x80) MX[B]
[7] -1 0 0xdb000000 - 0xdb0fffff (0x100000) MX[B]
[8] -1 0 0xdb101000 - 0xdb101fff (0x1000) MX[B]
[9] -1 0 0xc0000000 - 0xbfffffff (0x0) MX[B]O
[10] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[11] -1 0 0xd8000000 - 0xd8ffffff (0x1000000) MX[B](B)
[12] -1 0 0xdb102000 - 0xdb102fff (0x1000) MX[B](B)
[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[16] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[17] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[18] -1 0 0x0000e000 - 0x0000e00f (0x10) 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 0xdb103000 - 0xdb103fff (0x1000) MX[B]
[6] -1 0 0xdb100000 - 0xdb10007f (0x80) MX[B]
[7] -1 0 0xdb000000 - 0xdb0fffff (0x100000) MX[B]
[8] -1 0 0xdb101000 - 0xdb101fff (0x1000) MX[B]
[9] -1 0 0xc0000000 - 0xbfffffff (0x0) MX[B]O
[10] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[11] -1 0 0xd8000000 - 0xd8ffffff (0x1000000) MX[B](B)
[12] -1 0 0xdb102000 - 0xdb102fff (0x1000) MX[B](B)
[13] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[19] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[20] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[21] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B]
[22] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[23] 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.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xD8000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 4:35 am    Post subject: Reply with quote

heres my /etc/X11/XF86Config

Quote:


# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"

# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "mag"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30-86

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-160

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "g2ti"
Driver "nvidia"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "g2ti"
Monitor "mag"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection



Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 4:35 pm    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Sun Feb 22, 2004 4:42 pm    Post subject: Reply with quote

The driver is loading OK, so you look close, but try this:

1. Try emerging the the nvidia driver instead:
Code:

# emerge nvidia-kernel
# emerge nvidia-glx

2. run 'xf86cfg' and let it autogen a XF86Config-4 file for you.

HTH,

_Terry
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 5:51 pm    Post subject: Reply with quote

emerging is not what I'm looking for. The emerge is of the older drivers (43xx), and they also return various errors.

It doesn't matter really if you use the emerge or the nvidia file because they both compile glx and the kernel module.

Here's what I've done so far. I've disabled the PNP OS in my BIOS, and made sure PCI to AGP was enabled. I'm 100% sure the nvidia module does load on boot, because I can lsmod. modprobing it also does not return any errors.

The configuration is right; I've run it from the xf86config. I edited it and added the the "nvidia" driver to the driver section. There's nothing I can see that would cause these problems.

I should add that the errors occure in both the 2.4.25 and 2.6.3 kernel. Which means that it's either something in my BIOS (which I doubt because other distros worked just fine before, with the same BIOS settings) or it's something with the kernel... Maybe I'm missing something.

I have linked /usr/src/linux to my /usr/src/kernel-2.6.3 | also I have checked /lib/modules/drivers/video that the nvidia.ko is there.

This is really giving me a headache!
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Sun Feb 22, 2004 6:07 pm    Post subject: Reply with quote

The very latest drivers ARE available as ebuilds, they are just masked:
Code:

# ACCEPT_KEYWORDS="~x86" emerge -p nvidia-glx

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-video/nvidia-kernel-1.0.5336-r1
[ebuild     U ] media-video/nvidia-glx-1.0.5336-r1 [1.0.4496]

If you are having compiling problems, we should deal with that first. What are the errors you get?

Also, when I run xf86cfg, it properly inserts "nvidia" as my device module without the need to replace it manually. It then loads X, and the screen displays a visual representation of the config. Is the not what you are seeing? If you cancel out, there will be a file called XF86Config.new in your home directory.

_Terry
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 6:11 pm    Post subject: Reply with quote

# ACCEPT_KEYWORDS="-x86"
# emerge -p nvidia-glx

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] media-video/nvidia-kernel-1.0.4496-r3
[ebuild N ] media-video/nvidia-glx-1.0.4496

^ this is my output.

The compile does not give me any errors.
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Sun Feb 22, 2004 6:12 pm    Post subject: Reply with quote

servo888 wrote:
emerging is not what I'm looking for. The emerge is of the older drivers (43xx), and they also return various errors.


Please stop.

Portage has 5336 and I'm running them. Do "emerge --sync" and try again.
Code:
$ qpkg -I -v nvidia
media-video/nvidia-glx-1.0.5336-r1 *
media-video/nvidia-kernel-1.0.5336-r1 *
$ uname -a
Linux venkman 2.6.3-mm2 #1 Fri Feb 20 07:30:54 ART 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Sun Feb 22, 2004 6:14 pm    Post subject: Reply with quote

servo888 wrote:
# ACCEPT_KEYWORDS="-x86"


~x86

Unless you're not running an x86 based box
Back to top
View user's profile Send private message
gmarceau
n00b
n00b


Joined: 21 Jul 2003
Posts: 33

PostPosted: Sun Feb 22, 2004 6:21 pm    Post subject: Reply with quote

servo888 wrote:
# ACCEPT_KEYWORDS="-x86"
# emerge -p nvidia-glx

Type these two on the same line otherwise it won't work
Code:
# ACCEPT_KEYWORDS="~x86"  emerge -p nvidia-glx


Single assignment like the above only apply to that command. To affect the variable during all the forecoming commands, until you close that shell, use 'export'
Code:
# export ACCEPT_KEYWORDS="~x86"
# emerge -p nvidia-glx


Also, as nbensa noted, you want to use "tidle x86", not "dash x86"
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 6:47 pm    Post subject: Reply with quote

I emerged the 5336-rc1, but the same problem occurs.
Back to top
View user's profile Send private message
ck42
l33t
l33t


Joined: 31 Jul 2003
Posts: 789

PostPosted: Sun Feb 22, 2004 6:52 pm    Post subject: Reply with quote

Next enter: opengl-update nvidia

and I've seen many times where I had to actually reboot for things to start working...as have others.
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 6:55 pm    Post subject: Reply with quote

I have done that. opengl-update nvidia is also run after you install glx. But yes I have tried that =-(.
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Sun Feb 22, 2004 7:03 pm    Post subject: Reply with quote

Hmm... What are the permissions on /dev/nvidia* ?
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 7:10 pm    Post subject: Reply with quote

# ls -alc /dev/nv*
crw-rw-rw- 1 root root 195, 0 Dec 31 1969 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Dec 31 1969 /dev/nvidiactl

On a side note when I do:
# cat /dev/nvidia0
cat: /dev/nvidia0: Input/output error

Could this be anything?
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Sun Feb 22, 2004 7:14 pm    Post subject: Reply with quote

Have you tried "nvidia" instead of "g2ti" in your XF86Config?

EDIT! Oops... Sorry, I've misread your post :-(
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Feb 22, 2004 7:25 pm    Post subject: Reply with quote

hmm no changing to nvidia didnt do much. But I have also tried Option "NvAgp" "1" and Optio "NvAgp" "0" in the config. Which still didn't work.

This is very odd

Another interesting thing I found:

#cat /proc/driver/nvidia/agp/status
Status: Disabled

Though im not running x with nvidia support the module is loaded... hmm. I checked the kernel and it did install agpgart support. So confused.
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Sun Feb 22, 2004 8:08 pm    Post subject: Reply with quote

Make sure your /usr/src/linux link is pointing to the right version of the 2.6.x kernel you are using. If it's currently not correct, fix it and then emerge nvidia-kernel again. (just making sure, but you did emerge nvidia-glx-5336 too right?)

Last thing to try before actually editing the XF86Config file: shutdown your computer completely for 30 - 40 seconds. Long enough for the RAM to clear. This has helped me once in the past when upgrading drivers. Continue reading if still no luck.

Now, that XF86Config file is a mess. To fix it, back-up your copy of the XF86Config. Next, I would suggest running xf86cfg as root on the command line with no X session currently going. This will try automatically detecting your video setup and then runs X if successful. You will then be able to graphically input your montior frequencies, mouse settings, graphics driver etc. I suggest getting the mouse fixed first because until the mouse is set up you have to use the NumPad for pointer movement...that gets irritating after a while.

When you are finished it will ask if you want to save your new configs, say yes. Make sure you have the nvidia module loaded into the kernel then run 'xf86cfg -xf86config <location of XF86Config>' When I do this for example I type:
Code:
xf86cfg -xf86config /etc/X11/XF86Config
This will test your clean, shiny, and new XF86Config for you. If all is good, save and then use X in your normal fashion.

I also can certify this works with 2.6.x kernels. If you have compiled agpgart into the kernel then you most likely will not be able to use NvAGP. In the past I was able to compile agpgart as a module and then run NvAGP, however my experience with 2.6.x + udev is that agpgart must not be in compiled as module or inline period. There might be something in udev config files that fix that, but I haven't found it yet. So keep that in mind if you have your heart set on using NvAGP.
Back to top
View user's profile Send private message
daelight
n00b
n00b


Joined: 07 Feb 2003
Posts: 24

PostPosted: Thu Feb 26, 2004 4:16 am    Post subject: Reply with quote

do what tsuru said.

I had the same problems as you did, and figured that /usr/src/linux was pointing to the wrong version of the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum