NVIDIA will nicht, hab ich was im Kernel vergessen?

Sonic_Traveler

Well-Known Member
Hallo Leute

Ich hab heute einen eigenen Kernel gestrickt und danach den NVIDIA Driver gebildet.
Leider hats nicht geklappt.
Der X Server meldet beim Booten : NVIDIA no screens found (oder so was ähnliches).

Das NVIDIA Kernel Modul wurde nicht gebildet, bzw. nicht geladen. Ist irgendwas an meinem
Kernel Config File faul ?

Ach ja, weiss nicht ob das helfen kann.
Das Programm glxgears meldet :

(EE) [GLX]: Initialization failure; please make sure USER_LDT is built into your kernel.
Terminated

Vielleicht hängt die Meldung irgendwie mit dem NVIDIA Problem zusammen.

Greetz Sonic
 
options USER_LDT hab ich jetzt in den Kernel eingefügt, aber ich hab immer noch kein NVIDIA Kernel Modul.
Die X11 Error output message sieht so aus :

Failed to initialize the NVIDIA Kernel modul
NVIDIA *** Aborting ***
Screen(s) found, but none have usable configuration.

Weiss jemand weiter ?
 
wie wäre es mit
#kldload nvidia
ist das nvidia.ko modul auch vorhanden bzw. im kernel verzechniss das es geladen werden kann ?
 
@ Morpheus

Du hast recht, ich muss das Kernel Modul laden. Ich wusste nicht, dass man das Nvidia Modul manuell laden muss, sollte das nicht automatisch geschehen ?

kldload nvidia

1 0xc1343000 1c4000 nvidia.ko

Hmmm, aber X lässt sicher immer noch nicht booten, immer noch die gleiche Error message, dabei muss ich doch nur "nv" gegen "nvidia" tauschen.

Weiss jemand Rat ?
 
Code:
linux_load="YES"
nvidia_load="YES"

Das muss in deine /boot/loader.conf - die Reihenfolge ist wichtig. Wenn das nvidia Modul geladen ist aber das linux Modul noch nicht gibt es zwar keinen Fehler, aber es funktioniert trotzdem nicht. Passt das?
Und welche Version verwendest du eigentlich? Die die gestern rauskam? Weil bei der muß man *VIEL* mehr beachten als bei der alten.
 
Elessar schrieb:
Und welche Version verwendest du eigentlich? Die die gestern rauskam? Weil bei der muß man *VIEL* mehr beachten als bei der alten.

Yups, 1.0-6113 nehm ich mal an - habs gestern auch probiert und es sollte theoretisch auch mit meiner bisherigen Konfig laufen, tuts aber nicht. Auch das Umstellen auf NVIDIA-internen agp hats nicht gebracht.
Bekomme den gleichen Fehler - davon abgesehen hat er auch noch Probleme das glx-Modul zu laden.

Anbei Logs fyr die alte und neue Version als auch die gleichbleibende X-config.
Hab mir die Doku durchgeschaut und musste eigentlich nichts ändern - was heisst da *VIEL*?
 

Anhänge

  • XF86Config.txt
    16 KB · Aufrufe: 345
  • XFree86.log-4365.txt
    40,8 KB · Aufrufe: 308
  • XFree86.log-6113.txt
    15,8 KB · Aufrufe: 332
Hab alles so eingetragen, wie Elessar geschrieben hat.

Das Modul ist nun beim Booten geladen.
X Startet auch.

Bin aber noch nicht am Ende des Tunnels. glxgears meldet. :

Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

Im XF86config file habe ich nur nv gegen nvidia getauscht, sonst nix geändert ?
Muss ich noch das glx modul ausklammern ? (glaub nicht ?!)

Ich benutze den alten Nvidia Treiber, bzw. die Version, welche über die Ports collection erhältlich ist.

Greetz
Sonic Traveler
 
kazcor schrieb:
Hab mir die Doku durchgeschaut und musste eigentlich nichts ändern - was heisst da *VIEL*?
Ich hab gestern nur das README durchflogen, aber da waren ettliche diffs für Spezialfälle, ein kompletter sysctl tree mit Einstellungen, mit SYSVSHM eine weitere 'mandatory' Option für den Kernel.

Von den ganzen AGP Geschichten ganz zu schweigen.
 
@sonic traveler:
ich sehe immernoch nicht deine xfree-config... und mal eine andere frage, was hast du eigentlich für eine nvidia-karte ?
 
nvidia-1.0-6113

Elessar schrieb:
Ich hab gestern nur das README durchflogen, aber da waren ettliche diffs für Spezialfälle, ein kompletter sysctl tree mit Einstellungen, mit SYSVSHM eine weitere 'mandatory' Option für den Kernel.

Von den ganzen AGP Geschichten ganz zu schweigen.
Naja, wenn man per Standard den internen NVIDIA-AGP verwendet, braucht man eigentlich für die 5.2.1 nix ändern.

Die Lösung in meinem Fall:
Nachdem ich entdeckt hab, dass er nach dem "make install" scheinbar nicht das kernel-modul, sowie die glx-extension kopiert hatte *NARF*, funzt es bei mir auch.
edit: Er kopiert es nach /boot/modules, statt /boot/kernel und yberschreibt also nicht das alte Modul
Code:
> cd /usr/src/NVIDIA-FreeBSD-x86-1.0-6113/
> cp src/nvidia.ko /boot/kernel/
> cp obj/libglx.so.1 /usr/X11R6/lib/modules/extensions/
> kldunload nvidia
> kldload nvidia

dann sollte es tun wie gewünscht ...
 
Zuletzt bearbeitet:
Schau die XF86.conf Datei an.... schau den Monitor an, und stele sicher ob er auch das Modul an der geeigneten Stelle lädt. I.d.R befindet sich die config Datei in /etc/X11 und heisst XF86Conf

schau dir mal meine config Datei an, und probiere rauszufinden, was nicht stimmt:

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
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/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Autodetection"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
DisplaySize 320 240
HorizSync 28-71
Identifier "Monitor[0]"
ModelName "SYNCMASTER 753DF(T) 783DF(T) MAGICSYNCMASTER AQ17DF"
Option "DPMS"
VendorName "SAMSUNG"
VertRefresh 50-160
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624
Modeline "800x600" 51.73 800 840 928 1056 600 601 604 628
Modeline "800x600" 58.73 800 840 928 1056 600 601 604 632
Modeline "800x600" 66.71 800 848 936 1072 600 601 604 635
Modeline "800x600" 73.98 800 848 936 1072 600 601 604 639
Modeline "800x600" 82.55 800 856 944 1088 600 601 604 643
Modeline "800x600" 90.10 800 856 944 1088 600 601 604 647
Modeline "800x600" 97.59 800 856 944 1088 600 601 604 650
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "640x480" 27.74 640 664 728 816 480 481 484 500
Modeline "640x480" 32.64 640 672 736 832 480 481 484 503
Modeline "640x480" 36.97 640 672 736 832 480 481 484 505
Modeline "640x480" 42.22 640 680 744 848 480 481 484 508
Modeline "640x480" 46.80 640 680 744 848 480 481 484 511
Modeline "640x480" 51.43 640 680 744 848 480 481 484 514
Modeline "640x480" 57.18 640 680 752 864 480 481 484 517
Modeline "640x480" 62.12 640 680 752 864 480 481 484 521
EndSection

Section "Screen"
DefaultDepth 16
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
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "GeForce2 MX/MX 400"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
Option "Rotate" "off"
VendorName "NVidia"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection




Tamer



Sonic_Traveler schrieb:
Hallo Leute

Ich hab heute einen eigenen Kernel gestrickt und danach den NVIDIA Driver gebildet.
Leider hats nicht geklappt.
Der X Server meldet beim Booten : NVIDIA no screens found (oder so was ähnliches).

Das NVIDIA Kernel Modul wurde nicht gebildet, bzw. nicht geladen. Ist irgendwas an meinem
Kernel Config File faul ?

Ach ja, weiss nicht ob das helfen kann.
Das Programm glxgears meldet :

(EE) [GLX]: Initialization failure; please make sure USER_LDT is built into your kernel.
Terminated

Vielleicht hängt die Meldung irgendwie mit dem NVIDIA Problem zusammen.

Greetz Sonic
 
tamerDE schrieb:
Schau die XF86.conf Datei an.... schau den Monitor an, und stele sicher ob er auch das Modul an der geeigneten Stelle lädt. I.d.R befindet sich die config Datei in /etc/X11 und heisst XF86Conf

schau dir mal meine config Datei an, und probiere rauszufinden, was nicht stimmt:

Na der war jetzt aber gut. Da pastest Du eine Suse XF86Config, denn die rieche ich schon Lichtjahre vorher. Was soll er denn für Module einbauen, vielleicht v4l :D
 
Zurück
Oben