nvidia und der x-server

S

supersucker

Foren Gott
Hi,

hab mir einen neuen Desktop-Rechner zugelegt und wollte für meine Geforce 7300 GS (laut Suse-Hardware-Db voll unterstützt)die nvidia-Treiber installieren.

Schon oft gemacht und hat immer geklappt. Nur dieses Mal nicht.

Was ich genauestens nach Anleitung gemacht hab:

Für neuere Grafikkarten wird ebenfalls das Paket nvidia-glx, darüber hinaus aber linux-restricted-modules-<Kernelnummer> benötigt.

Also ein
Code:
sudo apt-get install nvidia-glx
sudo apt-get install linux-restricted-modules-'uname -r'

gemacht und installiert.

Dann

nvidia-glx-config enable

Error: your X configuration has been altered.
This script cannot proceed automatically. If you believe that this
not correct, you can update the md5sum entry executing the following
command:
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/xfree86/xorg.conf.md5sum
otherwise edit manually /etc/X11/xorg.conf to change the Driver section
from nv to nvidia.

Ok, das kam mir schon spanisch vor, aber egal, also manuell die xorg.conf editiert und "nv" durch nvidia ausgetauscht und mit ctrl+alt+backspace den X-server gekillt und dann mit startx neu gestartet, bzw. versucht den starten lässt er sich nicht mehr.

/var/log/Xorg.0.log sagt dazu:

(II) Setting vga for screen 0.
(**) 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)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

google sagt mir zu

Failed to initialize the NVIDIA kernel module!

verschiedenes von wegen headern usw., aber ich hab über apt die richtigen installiert, und ausserdem dürfte das ja nur eine Rolle spielen wenn ich den treiber selber kompiliere, aber nicht wenn ich den über apt installiere.

lsmod sagt:

Code:
 lsmod | grep nvidia
nvidia               3923004  0
agpgart                32328  2 intel_agp,nvidia

und hier ist meine xorg.conf:

# /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/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "i2c"
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" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

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

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

uname -r
2.6.12-10-386

Hoffe ihr könnt mir weiterhelfen....
 
Zuletzt bearbeitet:
Welche Treiberversion ist das denn?

MFG

Dennis
 
ok,

jetzt weiss ich nicht mehr weiter.

Hab jetzt das den Nvidia-treiber von der HP probiert, also:

Code:
sh Nvidia xxxx .run

Der hat sich auch erfolgreich installiert.

Dann

Code:
nvidia-xconfig

ausgeführt, X-server neu gestartet und siehe da :

Das Nvidia-logo erscheint, der Treiber ist also installiert.

Dachte ich bis zum nächsten reboot...

Der X-server schmiert wieder ab und ich lande in der konsole mit folgender

Code:
API mismatch
nvidia-kernel-module is 1.0-7667
X module is 1.0-8762

und die beiden sollten wohl gleich sein?

WTF?

Irgendwelche Ideen was ich machen kann?

Ein

Code:
 ./NVIDIA-Linux-x86-1.0-8762-pkg1.run --info

ergibt

Code:
 Identification    : NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-8762
  Target directory  : NVIDIA-Linux-x86-1.0-8762-pkg1
  Uncompressed size : 37840 KB
  Compression       : gzip
  Date of packaging : Mon May 15 14:05:21 PDT 2006
  Application run after extraction : ./nvidia-installer

  The directory NVIDIA-Linux-x86-1.0-8762-pkg1 will be removed after extraction.
 
naja du verwendest hier unterschiedliche versionen. einmal die aus dem debian rep., welche du mit apt-get installierst hast. diese versionen sind meist etwas älter und werden wie du ja schon bemerkt hast mit deiner etwas neueren karte nicht funktionieren. deshalb schmeiss die debian pakete wieder runter, also nvidia-glx und was du da sonst noch installiert hast, und benutz nur den installer von der homepage. dann sollte es gehn.
das prob ensteht nach dem reboot, da nvidia-glx mit dem entsprechenden init script des alte modul 7667 lädt ....
 
ok,

nach upgraden des x-servers, dem runterschmeissen von nvidia-glx und kernel-upgrade auf 1.6.12.10 sowie neu kompileren klappt nun alles.

Danke für die Hilfe!
 
Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

gehörte da auch nicht nvidia rein statt nv? :D
naja, solange es jetzt funtzt ist es ja gut...
 
Ne,

das war ein copy&paste Fehler von mir.

Mit "nvidia" hat es anfangs nicht geklappt.

Aber jetzt tuts das ja und ich bin glücklich...:-)
 
Zuletzt bearbeitet:
das ist ja die hauptsachen :sly: wir sind ja hier die leute glücklich zu machen *g*
 
Aber wie kann das sein, der NVidia Installer überschreibt das ganze doch.

MFG

Dennis
 
aber IMHO nur wenn man ihm das erlaubt...er fragt ja nach ob die konfiguration angepasst werden soll.
 
aber IMHO nur wenn man ihm das erlaubt...er fragt ja nach ob die konfiguration angepasst werden soll.

Genau.
Und das hab ich ihm erlaubt.

Habs nachgeschaut, "load glx-core" und "load dri" sind rausgeflogen, stattdessen kam "load glx" rein und für driver kam statt "nv" "nvidia" rein.
Das ist ja soweit auch korrekt.

Was ich immer noch nicht verstehe ist warum X direkt nach dem Installieren und dem manuellen Starten von X mittels "startx" genau einmal funktioniert hat und nach dem reboot nicht mehr.

shellmaster hatte geschrieben:

das prob ensteht nach dem reboot, da nvidia-glx mit dem entsprechenden init script des alte modul 7667 lädt ....

Warum sollte nvidia-glx beim manuellen Starten ein anderes Modul laden als nach einem Reboot?
Oder gibt es eine bessere Erklärung?

Wie schon gesagt, das Problem ist behoben, ich würde halt gerne verstehen warum es überhaupt da war.
 
Hallo,

ich glaube, dass liegt daran, dass die Debian Nvidia Pakete Skripte unter /etc/init.d (oder so, kann auch rc?.d) ablegen, die dann beim Start ausgefuehrt werden...

Zumindest war mein Treiber bei jedem Neustart futsch, bis ich mal diese Skripte entfernt hab...

Andrea
 

Ähnliche Themen

X startet nichtmehr

xrandr X11 Problem

XFCE freezes at startup

Zweiter Monitor geht bei Vollbildspielen aus.

Displayport + externer Monitor zeigt bei startx nichts erst bei DVI

Zurück
Oben