Kirjoittaja Aihe: Nvidia - luulin saavani toimimaan, mutta en  (Luettu 2014 kertaa)

redmonkees

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Nvidia - luulin saavani toimimaan, mutta en
« : 08.09.07 - klo:09.47 »
En saa sitte millään nvidian ajureita toimimaan. Versiona Edgy.
Aikaisemmin nvidia toimi ihan normaalisti, mutta joidenkin päivitysten jälkeen lakkas toimimasta.

Näillä kokeillaan:

Koodia: [Valitse]
sudo apt-get install nvidia-glxnvidia-glx on jo uusin versio.
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 1 päivittämätöntä.

Koodia: [Valitse]
sudo apt-get install nvidia-kernel-common
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatietoja... Valmis       
nvidia-kernel-common on jo uusin versio.
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 1 päivittämätöntä.

Koodia: [Valitse]
sudo nvidia-glx-config enable

X Error: BadDevice, invalid or uninitialized input device 154
  Major opcode:  143
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 154
  Major opcode:  143
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 154
  Major opcode:  143
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 154
  Major opcode:  143
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Error: unable to load nvidia kernel driver! Be sure to have installed
the nvidia driver for your running kernel.


Eli tarkoittaako tuo sitten että nvidian nykyinen versio tulisi poistaa, vaikka se ilmoittaa että se on uusin versio, mutta väärälle kernelille.

Alkuvuonna oli aikaa paneutua tähän hommaan ja ongelmat saatiin melkein itte korjattua. Nyt kesän jälkeen on niin kiire, että tuntuu että on jääny kärryiltä ja tarttee taas hieman potkua hanuriin.

Kiitos kaikille jotka jaksaa auttaa. ;D




r e d

Ville Pöntinen

  • Käyttäjä
  • Viestejä: 2078
    • Profiili
Vs: Nvidia - luulin saavani toimimaan, mutta en
« Vastaus #1 : 08.09.07 - klo:10.12 »

Kokeile bootata -386 - kerneliin.

redmonkees

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Nvidia - luulin saavani toimimaan, mutta en
« Vastaus #2 : 08.09.07 - klo:10.44 »
Koodia: [Valitse]
sudo apt-get install linux-headers-`uname -r`
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatietoja... Valmis       
linux-headers-2.6.17-12-386 on jo uusin versio.
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 1 päivittämätöntä.

Tälläsen se rykäsee tauluun.
r e d

pttk

  • Käyttäjä
  • Viestejä: 1045
    • Profiili
Vs: Nvidia - luulin saavani toimimaan, mutta en
« Vastaus #3 : 08.09.07 - klo:12.02 »

X Error: BadDevice, invalid or uninitialized input device 154
  Major opcode:  143
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

Siellä on X sekaisin, pastaa tuo X;llä alkava rivi tuonne hakuun.
 
Ainakin muutamia vastaavia on ollut.
Debian 6 "Squeeze", Ubuntu  10.04, Ubuntu 12.04

redmonkees

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Nvidia - luulin saavani toimimaan, mutta en
« Vastaus #4 : 08.09.07 - klo:20.02 »
Eipä näytä onnistuvan. Tälläsellä kokeilin, mutta herjaa tässä kohdassa:

6. Käännetään Nvidia moduulit Nvidian scriptillä:
sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run

ilmoittaa ettei löydy

Tervehdys taasen pitkästä aikaa,

kiitoksia Tuke81 vaivannäöstäsi!

Löysin seuraavanlaisen tien onneen Nvidian asennus scriptin avulla:

1. Muokataan /linux-restricted-modules-common configurointi tiedostoa:
sudo nano /etc/default/linux-restricted-modules-common
Muutetaan viimeinen rivi näyttämään seuraavanlaiselta:
DISABLED_MODULES="nv"

2. Asennetaan kaikki tarvittava:
sudo apt-get install linux-headers-`uname -r` build-essential gcc gcc-3.4 xserver-xorg-dev

3. Poistetaan nvidia binäärit:
sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common

4. Tuhotaan nvidia configurointi tiedostot:
sudo rm /etc/init.d/nvidia-*
Tämä varmuuden vuoksi, itselläni ei ollut init.d kansiossa yhtään nvidia konfigurointitiedostoa.

5. Pysäytetään X (KDE)
sudo /etc/init.d/kdm stop

6. Käännetään Nvidia moduulit Nvidian scriptillä:
sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run

7. Luodaan uusi xorg tiedosto vanhan pohjalta avustetusti:
sudo nvidia-xconfig

8.  Käynnistetään X (KDE)
sudo /etc/init.d/kdm start
Jos KDE ei käynnisty niin kannattaa kokeilla komentoa 'startx'. Omalla kohdallani kdm manageri oli sitä mieltä, että kde-ikkunamanageri on jo käynnissä. Tähän auttoi koneen boottaaminen.

9. Rock rock!





Laitan tähän vielä NYKYISEN xorg.confin

Koodia: [Valitse]
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "HP vs19"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600]"
Monitor "HP vs19"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice     "stylus" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

Ja tässä on se millä kaikki pelas ENNEN eli 10.4.:

Koodia: [Valitse]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Oct 16 22:13:07 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "HP vs19"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV43 [GeForce 6600]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV43 [GeForce 6600]"
    Monitor        "HP vs19"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

r e d

redmonkees

  • Käyttäjä
  • Viestejä: 23
    • Profiili
Vs: Nvidia - luulin saavani toimimaan, mutta en
« Vastaus #5 : 08.09.07 - klo:20.52 »
Ei auttanut nv ---> nvidia

Koitin poistaa myös tuon section dri kohdan tuolta lopusta niinkuin vanhassa oli, mutta ei sekään auttanut.

r e d