Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
More nVidia woes
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Tue Jan 28, 2003 6:43 pm    Post subject: More nVidia woes Reply with quote

I have an nVidia Quadro4 700GLX. I had it running great under my LFS system (www.linuxfromscratch.org). I installed gentoo 1.4_rc2 and I can't seem to get the xfree to run. I emerged the nvidia-kernel and nvidia-glx (4196). I used the same configur[/quote]ation file from the LFS system and that doesn't work, I get a segfault. I tried to use XFree86 -configure and it said that my nVidia card was unrecognized. So I emerged xfree86 4.2.99 and the -configure worked, but using that configuration file gives me a "NVIDIA(0): unable to allocate config DMA context.". I've tried to merge the two configuration files but to no availe. I either get the above error (only appears at the console, not in the log) or I get a segfault. You can find my XF86Config and log below:

Edmund C. Greene
ed@gztl.com

XF86Config:

Quote:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "glx"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "PageFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "WindowFlip" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "SwapReady" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "UseClipIDs" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Quadro4 700XGL"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection


XFree86.0.log:

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.2.99.3 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 21 December 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.20-gentoo-r1 i686 [ELF]
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: Tue Jan 28 11:44:49 2003
(++) Using config file: "XF86Config.new"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/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 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.2.99.3, 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.2.99.3, 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 = 0x80010044, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2530 card 1028,010d rev 04 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2532 card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2440 card 0000,0000 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,244b card 1028,010d rev 04 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2442 card 1028,010d rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1f:3: chip 8086,2443 card 1028,010d rev 04 class 0c,05,00 hdr 00
(II) PCI: 00:1f:4: chip 8086,2444 card 1028,010d rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,2445 card 1028,010d rev 04 class 04,01,00 hdr 00
(II) PCI: 01:00:0: chip 10de,025b card 10de,013b rev a3 class 03,00,00 hdr 00
(II) PCI: 02:0c:0: chip 10b7,9200 card 1028,010d rev 78 class 02,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,2), 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: 0x000e (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xfc000000 - 0xfdffffff (0x2000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX[B]
[1] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B]
[2] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[3] -1 0 0x0000ec00 - 0x0000ecff (0x100) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xfe100000 - 0xfe2fffff (0x200000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation Quadro4 700XGL rev 163, Mem @ 0xfc000000/24, 0xf4000000/26, 0xf3f80000/19, BIOS @ 0x80000000/17
(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 0xe8000000 from 0xefffffff to 0xe7ffffff
(II) Active PCI resource ranges:
[0] -1 0 0xfe1ffc00 - 0xfe1ffc7f (0x80) MX[B]
[1] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
[2] -1 0 0x80000000 - 0x8001ffff (0x20000) MX[B](B)
[3] -1 0 0xf3f80000 - 0xf3ffffff (0x80000) MX[B](B)
[4] -1 0 0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
[5] -1 0 0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
[6] -1 0 0x0000ec80 - 0x0000ecff (0x80) IX[B]
[7] -1 0 0x0000dc40 - 0x0000dc7f (0x40) IX[B]
[8] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[9] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[10] -1 0 0x0000dcd0 - 0x0000dcdf (0x10) IX[B]
[11] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[12] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xfe1ffc00 - 0xfe1ffc7f (0x80) MX[B]
[1] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
[2] -1 0 0x80000000 - 0x8001ffff (0x20000) MX[B](B)
[3] -1 0 0xf3f80000 - 0xf3ffffff (0x80000) MX[B](B)
[4] -1 0 0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
[5] -1 0 0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
[6] -1 0 0x0000ec80 - 0x0000ecff (0x80) IX[B]
[7] -1 0 0x0000dc40 - 0x0000dc7f (0x40) IX[B]
[8] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[9] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[10] -1 0 0x0000dcd0 - 0x0000dcdf (0x10) IX[B]
[11] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[12] -1 0 0x0000ffa0 - 0x0000ffaf (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 0xfe1ffc00 - 0xfe1ffc7f (0x80) MX[B]
[6] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
[7] -1 0 0x80000000 - 0x8001ffff (0x20000) MX[B](B)
[8] -1 0 0xf3f80000 - 0xf3ffffff (0x80000) MX[B](B)
[9] -1 0 0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
[10] -1 0 0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[13] -1 0 0x0000ec80 - 0x0000ecff (0x80) IX[B]
[14] -1 0 0x0000dc40 - 0x0000dc7f (0x40) IX[B]
[15] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[16] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[17] -1 0 0x0000dcd0 - 0x0000dcdf (0x10) IX[B]
[18] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[19] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(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.4191
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
compiled for 4.2.99.3, module version = 1.13.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.2.99.3, 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.2.99.3, 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: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.2.99.3, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.2.99.3, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="The XFree86 Project"
compiled for 4.2.99.3, 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: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.2.99.3, 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.2.99.3, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(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.4191
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.2.99.3, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(II) NVIDIA XFree86 Driver 1.0-4191 Mon Dec 9 11:51:41 PST 2002
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) 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 0xfe1ffc00 - 0xfe1ffc7f (0x80) MX[B]
[6] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
[7] -1 0 0x80000000 - 0x8001ffff (0x20000) MX[B](B)
[8] -1 0 0xf3f80000 - 0xf3ffffff (0x80000) MX[B](B)
[9] -1 0 0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
[10] -1 0 0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
[11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[13] -1 0 0x0000ec80 - 0x0000ecff (0x80) IX[B]
[14] -1 0 0x0000dc40 - 0x0000dc7f (0x40) IX[B]
[15] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[16] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[17] -1 0 0x0000dcd0 - 0x0000dcdf (0x10) IX[B]
[18] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[19] -1 0 0x0000ffa0 - 0x0000ffaf (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 0xfe1ffc00 - 0xfe1ffc7f (0x80) MX[B]
[6] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
[7] -1 0 0x80000000 - 0x8001ffff (0x20000) MX[B](B)
[8] -1 0 0xf3f80000 - 0xf3ffffff (0x80000) MX[B](B)
[9] -1 0 0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
[10] -1 0 0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
[11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000ec80 - 0x0000ecff (0x80) IX[B]
[17] -1 0 0x0000dc40 - 0x0000dc7f (0x40) IX[B]
[18] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[19] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[20] -1 0 0x0000dcd0 - 0x0000dcdf (0x10) IX[B]
[21] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[22] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
[23] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[24] 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.2.99.3, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(==) NVIDIA(0): Default visual is PseudoColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF4000000
(--) NVIDIA(0): MMIO registers at 0xFC000000
(II) NVIDIA(0): NVIDIA GPU detected as: Quadro4 700 XGL
(EE) NVIDIA(0): Failed to allocate config DMA context
(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.
:cry:
Back to top
View user's profile Send private message
Supox
n00b
n00b


Joined: 04 Aug 2002
Posts: 63
Location: Netherlands

PostPosted: Wed Jan 29, 2003 10:08 am    Post subject: Reply with quote

Hi edweirdo,

here's my config for xfree-4.2.1-r2 , nvidia-glx 1.0.4196 and
nvidia-kernel 1.0.4191-r1

You probably want to focus on the Module and Screen size sections.

My XF86config:
Quote:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
# FontPath "/usr/X11R6/lib/X11/fonts/CID/"
# Optional fonts, can be installed
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
FontPath "/usr/X11R6/lib/X11/fonts/lfp-var/"
FontPath "/usr/X11R6/lib/X11/fonts/lfp-fix/"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
# Load "dri"
# Load "record"
# Load "xtrap"
# Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
# I prefer to have ctrl on Capslock and via versa, also optional
Option "XkbOptions" "ctrl:swapcaps"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# Make sure to match these settings with your monitor frequencies !!!
HorizSync 31.5 - 68.5
VertRefresh 50.0 - 150.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
Option "DigitalVibrance" "25"
Option "HWcursor" "True"
Option "NvAGP" "3"
VendorName "NVidia"
BoardName "GeForce2 GTS/Pro"
# Can also vary on other machines, so check this first !!!
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 29, 2003 10:22 am    Post subject: Reply with quote

Try doing a "modprobe NVdriver" as root.

For some reason it won't automatically load the nvidia module into the kernel for me anymore. I think it has something to do with that stupid f***ing "tainted kernel" message... You will get it when you modprobe, just ignore it.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 29, 2003 10:24 am    Post subject: Reply with quote

woops.... sorry.. I thought you posted a different error message... What I said probably wont' do any good for your problem... Sorry.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Wed Jan 29, 2003 4:51 pm    Post subject: Reply with quote

drakonite wrote:
Try doing a "modprobe NVdriver" as root.

For some reason it won't automatically load the nvidia module into the kernel for me anymore. I think it has something to do with that stupid f***ing "tainted kernel" message... You will get it when you modprobe, just ignore it.


In response to your problem perhaps this information taken from here will help.

Quote:
Q: The kernel module doesn't get loaded dynamically when X starts; I always have to do 'modprobe nvidia' first. What's wrong?
A: Make sure the line "alias char-major-195 nvidia" appears in your module configuration file, generally one of "/etc/conf.modules", "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation that came with your distribution for details.

_________________
http://dhruba.name/
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Wed Jan 29, 2003 6:46 pm    Post subject: Reply with quote

I definately have the module loaded, that's not the problem.
Back to top
View user's profile Send private message
Supox
n00b
n00b


Joined: 04 Aug 2002
Posts: 63
Location: Netherlands

PostPosted: Wed Jan 29, 2003 6:56 pm    Post subject: Reply with quote

Well edweirdo,

i do know one thing for sure and that is you shouldn't load dri, xtrap and record(see module section) at all when you're using the closed binary from nvidia.

Try commenting those lines first and see if that solves it.
Back to top
View user's profile Send private message
snutte
Apprentice
Apprentice


Joined: 24 Apr 2002
Posts: 181
Location: Sweden, Malmö

PostPosted: Wed Jan 29, 2003 6:58 pm    Post subject: Reply with quote

I have the same problem. The weird thing is when i change:
Code:

Option "NvAGP" "2"

To 3, try to startx, and then change it to 2 again. My X may start. But only every 20'th time or anything.
Seems like my nvidia modules crashes after a couple of tryes, cause this is what i get when i do a dmesg:
Code:

eax: 0000001b   ebx: c1d0000e   ecx: 4001b000   edx: 3ffea000
esi: f0000000   edi: f8a08aa0   ebp: f7b01ae0   esp: f7b01ae0
ds: 0018   es: 0018   ss: 0018
Process X (pid: 2386, stackpage=f7b01000)
Stack: f7b01b04 f88b8efb 4001b000 c1d0000e 00000000 00000000 f89e9e80 08000000
       ee000000 f7b01b58 f88aafd4 f7a58000 00000000 00000000 f7a2a1a8 00000fff
       f7a2a1b0 f7a2a1dc f7b01e64 f89ea400 00000000 bffff9c0 00000000 f7bf7e00
Call Trace:    [<f88b8efb>] [<f89e9e80>] [<f88aafd4>] [<f89ea400>] [<f89ea400>]
  [<f88a6c4c>] [<f88bb7d7>] [<f89ea400>] [<f89ea400>] [<f88bc2d8>] [<f88bc2d8>]
  [<f89478f9>] [<c013ed76>] [<c016cd95>] [<f88bc2d8>] [<f88bc2d8>] [<c019092d>]
  [<c018f501>] [<c016aac5>] [<c016aac5>] [<c01881c5>] [<c012e49a>] [<f88a471f>]
  [<f89e9e80>] [<c0131c4e>] [<f88bb28d>] [<f89ea400>] [<f88a4afd>] [<f89ea400>]
  [<c01207b9>] [<c0244624>] [<c0163d04>] [<c0244624>] [<c01073f3>] [<c0244624>]
Code: 8b 84 82 00 00 00 c0 a8 81 74 13 89 c2 81 e2 00 f0 ff ff 89
 0: still have vm que at nv_close(): 0x4001b000 to 0x4001c0000: still have vm que at nv_close(): 0x401a9000 to 0x401aa0000: still have vm que at nv_close():..........

And it continous like this for a couple of pages.
Really weird.
I have a Geforce 4 TI4200 running on my Asus p4pe (i845 chipset).
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Wed Jan 29, 2003 7:06 pm    Post subject: Reply with quote

Supox wrote:
Well edweirdo, i do know one thing for sure and that is you shouldn't load dri, xtrap and record(see module section) at all when you're using the closed binary from nvidia. Try commenting those lines first and see if that solves it.


I thought it was only dri and glcore that should not be used with nvidia drivers. Why do you say xtrap and record cannot be used? What is a good source of such information?
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Wed Jan 29, 2003 7:47 pm    Post subject: Reply with quote

Well, I added commented out the dri, record, and xtrap. char-major-195 is already in my modules.conf.

Something changed, though. I now get a black screen and on my console I have:

XIO: fatal IO error 104 (Connection reset by peer)( on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

There isn't anything interesting in my xlog.

I just don't understand why it works okay under LFS. I would hate to reemerge X as it takes so long.
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Thu Jan 30, 2003 1:04 am    Post subject: Reply with quote

Narada wrote:
drakonite wrote:
Try doing a "modprobe NVdriver" as root.

For some reason it won't automatically load the nvidia module into the kernel for me anymore. I think it has something to do with that stupid f***ing "tainted kernel" message... You will get it when you modprobe, just ignore it.


In response to your problem perhaps this information taken from here will help.

Quote:
Q: The kernel module doesn't get loaded dynamically when X starts; I always have to do 'modprobe nvidia' first. What's wrong?
A: Make sure the line "alias char-major-195 nvidia" appears in your module configuration file, generally one of "/etc/conf.modules", "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation that came with your distribution for details.


Nope, thats already in my modules.conf file. Thanks for the help though.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
giddyup
n00b
n00b


Joined: 05 Oct 2002
Posts: 17

PostPosted: Thu Jan 30, 2003 10:35 pm    Post subject: Reply with quote

the same thing was happening to me... my xfree86.0.log would report:

Fatal server error:
no screens found

just as your's does (i have a laptop with a Nvidia GeForce4 440 Go). i had a valid screen defined at 1600x1200, but it refused to work at this resolution after an upgrade to xfree. i decided to try something lower to see if i could get anything to work... i added 1024x768 to get:

Code:

Section "Screen"
    Identifier  "Screen 1"
    Device      "vidcard"
    Monitor     "laptop"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
     Modes       "1024x768 1600x1200"
     ViewPort    0 0
    EndSubsection
EndSection


this fixed my problem and X ran at 1600x1200. i can't explain it, but it works for me...
Back to top
View user's profile Send private message
chevymoon
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 112

PostPosted: Sun Feb 02, 2003 5:56 am    Post subject: I know it's gettin' old, but... Reply with quote

I'm sorry folks. I've searched and searched (I swear) for days and still no luck resolving my problem, which is the same problem so many others have had. I did an emerge -u world last week. Ever since, the nvidia drivers fail with the dreaded "no screens found" error. I have read just about every relevant post. Here is a list of my attempts to fix.

1. recompiled the kernel with MTRR support.
2. made certain that I'm using 3xxx version of the ebuild.
3. tried to modprobe NVdriver. This gives me "insmod NVdriver failed".
3. unmerged and emerged nvidia-glx and nvidia-kernel several times.
4. re-emerged xfree.
5. emerge -u world again.
6. run xf86config a dozen times, and edited the XF86Config file twice that.

No luck. Not sure where to go. I know it's a dup post. I'm at my wits end, though.
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sun Feb 02, 2003 6:43 am    Post subject: Reply with quote

chevymoon i think the modules name is nvidia not NVdriver at least that is what is in my modules.autoload and from lsmod?
Back to top
View user's profile Send private message
snutte
Apprentice
Apprentice


Joined: 24 Apr 2002
Posts: 181
Location: Sweden, Malmö

PostPosted: Sun Feb 02, 2003 11:33 am    Post subject: Reply with quote

It seems that some of us has this problem. But I cant figure out whats causing it.
My X ran perfect until i upgraded my motherboard and cpu.
And so i decided to reinstall gentoo with my new hardware. I keept my XF86Config and so on.
So in my guess is that it has something to do with the nvidia module. But im nog certain.
But a really weird thing (Ive mentioned this a couple of times) if I try startx about twenty times. My X may start.
So its up to all of the gurus to figure this one out. Cause im to stupied to do it. :wink:
Back to top
View user's profile Send private message
chevymoon
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 112

PostPosted: Sun Feb 02, 2003 2:37 pm    Post subject: Reply with quote

Thanks, guys.

lsmod does not list any drivers, and modprobe nvidia says can't find driver.
Back to top
View user's profile Send private message
chevymoon
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 112

PostPosted: Sun Feb 02, 2003 3:07 pm    Post subject: Reply with quote

expounding on that little revelation, does that mean my nvidia drivers aren't installed? I did an emerge nvidia-glx and emerge nvidia-kernel. Shouldn't that do it?
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sun Feb 02, 2003 5:40 pm    Post subject: Reply with quote

Chevymoon sorry about that aparently the name was changed with the move from 3xxx to 4xxx it is now called nvidia but for your drivers it is NVdriver. So nevermind I am just being stupid.

is /usr/sr/linux pointing to the tree where you current kernel is this is the most likely reason the module insertion would fail.
Back to top
View user's profile Send private message
Lares
n00b
n00b


Joined: 01 Feb 2003
Posts: 3

PostPosted: Sun Feb 02, 2003 11:54 pm    Post subject: Reply with quote

Are you using the kernel AGP drivers or the nVidia AGP Drivers?
_________________
Later Days
Back to top
View user's profile Send private message
chevymoon
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 112

PostPosted: Mon Feb 03, 2003 3:37 am    Post subject: Reply with quote

David_Escott: I'm not sure, but I had not (until today, when I recompiled my kernel) done anything that I would think could affect my sources link.

Lares: I think I stumbled across something about being able to manipulate the xf86config file to select which AGP drivers are used, but I don't remember much about it at this point. Short answer: I don't know.

Thanks for your help.
Back to top
View user's profile Send private message
Edweirdo
Guru
Guru


Joined: 28 Jan 2003
Posts: 353
Location: Boston, Mass, USA

PostPosted: Tue Feb 04, 2003 3:38 pm    Post subject: Got it running Reply with quote

I don't know what might have caused my problem, but I started over and it works fine now. I formatted my drive again and started the gentoo install from scratch. I had to get the xfree 4.2.99 to support my card, but it is working fine now.
Back to top
View user's profile Send private message
chevymoon
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2002
Posts: 112

PostPosted: Wed Feb 05, 2003 5:01 pm    Post subject: Reply with quote

Just as a wrap up. I got it working. I'm not positive, but I think the solution is the one described in the Nvidia troubleshooter guide thingy. I had tried to rebuild my kernel, but I'm pretty sure I didn't unmerge the Nvidia ebuilds first. So, I made certain that I unmerged those, recompiled the kernel, and (after some grub issues) re-emerged the nvidia drivers. Voila! Everything was copacetic (sic).

Thanks for the help, all.
Back to top
View user's profile Send private message
snutte
Apprentice
Apprentice


Joined: 24 Apr 2002
Posts: 181
Location: Sweden, Malmö

PostPosted: Fri Feb 21, 2003 8:49 pm    Post subject: Reply with quote

I still havent got mine to work. Think you can try to tell what you have done to get it to work? Im getting more and more angry.
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Fri Feb 21, 2003 11:05 pm    Post subject: Reply with quote

Well the basics are as follows.

Build a kernel.
reboot.
set /usr/src/linux to point to the directory of the kernel you just booted.
emerge nvidia-kernel
modprobe (nvidia for >=4xxx) (NVdriver for <=3xxxx)
check to see it loaded with lsmod
add to modules.autoload
emerge nvidia-glx
edit your XF86Config so that the driver is nvidia not nv, remove dri, glcore, add glx, use conservative settings first too ie: NVAGP=0, "RENDERACCEL" "false" etc
(I hope Im not forgetting anything)

tell us where you have problems.
Back to top
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Fri Feb 28, 2003 4:07 pm    Post subject: Reply with quote

Code:
(EE) NVIDIA(0): Failed to allocate config DMA context

I can't start X, I noticed that initially edweirdo had this same error when he had trouble. I'm suspecting a kernel issue in my case, 2.4.20-gentoo-r1 has had numerous issues for me. I can not get nvidia drivers to work with it, even after rebuilding them, I have to use pci=noacpi to make my NIC work with it, I have neither of these problems with gentoo's 2.4.19 kernels. Also with 2.4.20, I tried to use agpgart instead of NvAGP to see if there would be any change - agpgart will not load. I've an Athlon XP on a KT400 mobo, the gfx card is a GeForce3 Ti200, the NIC (if it matters) it a realtek 8139-based generic. I'd be interested in knowing if anybody who has troubled getting X started w/ nvidia drivers can duplicate any of these other symptoms, or has any part of their configuration (besides an nvidia vid card, duh) in common with me. I think there's a bug here that takes very specific combinations of drivers and hardware to trigger :-/[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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