View Single Post
  #1   (View Single Post)  
Old 20th May 2008
greencross's Avatar
greencross greencross is offline
Real Name: David Gevorgyan
Fdisk Soldier
 
Join Date: May 2008
Location: Yerevan, Armenia
Posts: 58
Exclamation problems with nvidia-driver-169.12

System - 7.0 Realease
All ports are up to date
(nv driver is working allright)
Hardware:
Motherboard - ASUS-M2N-X PLUS
Video card - GeForce 7300 GT (pci-e)
After installing nvidia-driver from ports I launch startx, then I have X working only for 15 seconds or so. The second startx gives no result.

I looked in logs and found the following:
Code:
(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
(EE) NVIDIA(0):     interrupts generated by the NVIDIA graphics device
(EE) NVIDIA(0):     PCI:2:0:0.  Please see Chapter 6: Common Problems in the
(EE) NVIDIA(0):     README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) Screen(s) found, but none have a usable configuration.
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) OS did not count PCI devices, guessing wildly
OK. I go to chapter 6. It tells about IRQ conflicts and suggests to change device slot, which is impossible in my case (single pci-e slot).
To watch IRQs:

Code:
% dmesg | grep "irq 11"
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xddefec00-0xddefecff irq 11 at device 2.1 on pci0
atapci1: <nVidia nForce MCP61 SATA300 controller> port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f mem 0xddefc000-0xddefcfff irq 11 at device 8.0 on pci0
atapci2: <nVidia nForce MCP61 SATA300 controller> port 0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f mem 0xddeef000-0xddeeffff irq 11 at device 8.1 on pci0
nvidia0: <GeForce 7300 GT> port 0xec00-0xec7f mem 0xdf000000-0xdfffffff,0xc0000000-0xcfffffff,0xde000000-0xdeffffff irq 11 at device 0.0 on pci2
I did everything required for driver installation (at least I hope so)

Code:
% kldstat
Id Refs Address    Size     Name
 1   14 0xc0400000 906518   kernel
 2    1 0xc0d07000 14324    snd_hda.ko
 3    2 0xc0d1c000 4a5ac    sound.ko
 4    1 0xc0d67000 80d964   nvidia.ko
 5    2 0xc1575000 28658    linux.ko
 6    1 0xc159e000 6a32c    acpi.ko
 7    1 0xc4c0d000 10000    ext2fs.ko
Code:
% pkg_info | grep "compat"
***
compat4x-i386-5.3_9 A convenience package to install the compat4x libraries
compat5x-i386-5.4.0.8_9 A convenience package to install the compat5x libraries
compat6x-i386-6.3.603000.200801 A convenience package to install the compat6x libraries
***
xorg.conf

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (root@localhost.domain)  Sun May  4 02:49:32 CST 2008

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/local/share/X11/rgb"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/OTF"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/URW/"
    FontPath        "/usr/local/lib/X11/fonts/TrueType/"
    FontPath        "/usr/local/lib/X11/fonts/bitstream-vera/"
    FontPath        "/usr/local/lib/X11/fonts/dejavu/"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us,ru(phonetic),am(phonetic)"
    Option         "XkbVariant" "winkeys"
    Option         "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"

   #DisplaySize     330   210   # mm
 ### Comment all HorizSync and VertRefresh values to use DDC:
    Identifier     "Monitor0"
    VendorName     "HST"
    ModelName      "HF154B/D"
    HorizSync       30.0 - 82.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # []
        #Option     "HWcursor"              # []
        #Option     "NoAccel"               # []
        #Option     "ShadowFB"              # []
        #Option     "UseFBDev"              # []
        #Option     "Rotate"                # []
        #Option     "VideoKey"              #
        #Option     "FlatPanel"             # []
        #Option     "FPDither"              # []
        #Option     "CrtcNumber"            #
        #Option     "FPScale"               # []
        #Option     "FPTweak"               #
        #Option     "DualHead"              # []
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "G70 [GeForce 7300 GT]"
EndSection

Section "Screen"

#   SubSection "Display"
#      Viewport   0 0
#      Depth     1
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     4
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     8
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     15
#   EndSubSection
#   SubSection "Display"
#      Viewport   0 0
#      Depth     16
#   EndSubSection
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
        Modes      "1280x800"
    EndSubSection
EndSection
I tried to add BusID "PCI:2:0:0" in Section "Device" and recompiled kernel without AGP support. Still no good.

I was little confused by this:

Code:
(WW)OS did not count PCI devices, guessing wildly

and launched

Code:
% sudo lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7300 GT] (rev a1)
and this:

Code:
% dmesg | grep pci
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x900-0x9ff at device 1.0 on pci0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xddeff000-0xddefffff irq 5 at device 2.0 on pci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xddefec00-0xddefecff irq 11 at device 2.1 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcm0: <NVidia MCP61 High Definition Audio Controller> mem 0xddef8000-0xddefbfff irq 10 at device 5.0 on pci0
atapci0: <nVidia nForce MCP61 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
nfe0: <NVIDIA nForce MCP61 Networking Adapter> port 0xd480-0xd487 mem 0xddefd000-0xddefdfff irq 5 at device 7.0 on pci0
atapci1: <nVidia nForce MCP61 SATA300 controller> port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f mem 0xddefc000-0xddefcfff irq 11 at device 8.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <nVidia nForce MCP61 SATA300 controller> port 0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f mem 0xddeef000-0xddeeffff irq 11 at device 8.1 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
pcib2: <MPTable PCI-PCI bridge> at device 9.0 on pci0
pci2: <PCI bus> on pcib2
nvidia0: <GeForce 7300 GT> port 0xec00-0xec7f mem 0xdf000000-0xdfffffff,0xc0000000-0xcfffffff,0xde000000-0xdeffffff irq 11 at device 0.0 on pci2
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
Any ideas?

P.S. Sorry for such a large post, but I got really desperate.
Reply With Quote