X Server startet nicht trotz Treiber nach Installation

max_freebsd

New Member
Hallo Community,

ich bin neu bei FreeBSD und habe das System nach der Anleitung installiert ( https://docs.freebsd.org/de/books/handbook/x11/ )
Nun bin ich bei dem entsprechendem Kapitel, habe alles so abgearbeitet wie angegeben und bekam eine Fehlermeldung, dass es kein Modul für Intel bzw. nvidia gäbe.
1. So suchte ich den/die passenden Treiber - für nvidia gab es den für meine Karte, für meine eingebaute Intel-Grafikkarte habe ich ein Standart Treiber genommen (ich möchte die nvidia Grafikkarte benutzen).
2. änderte ich die /boot/loader.conf Datei, sodass der nvidia Treiber start

Doch trotz der Abarbeitung der vorherigen Fehlermeldungen, startet der X Server immer noch nicht.

Ich habe euch die Log-Datei des X.org Servers angehängt.

Noch ein paar Infos:
FreeBSD 13.0
Intel Grafikkarte: Haswell-ULT Integrated Graphics Controller
NVIDIA Grafikkarte GeForce GT 620M / Treiber: nvidia 390.144

Könnt ihr mir da weiterhelfen?


Hier der Log:
Code:
[    37.313]
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    37.313] Build Operating System: FreeBSD 13.0-RELEASE-p10 amd64
[    37.313] Current Operating System: FreeBSD starmax 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[    37.313] Build Date: 05 April 2022  02:05:26AM
[    37.313] 
[    37.313] Current version of pixman: 0.40.0
[    37.313]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    37.313] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    37.314] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 11 00:16:38 2022
[    37.396] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    37.396] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    37.424] (==) No Layout section.  Using the first Screen section.
[    37.424] (==) No screen section available. Using defaults.
[    37.424] (**) |-->Screen "Default Screen Section" (0)
[    37.424] (**) |   |-->Monitor "<default monitor>"
[    37.425] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[    37.425] (**) |   |-->Device "Card0"
[    37.425] (**) |   |-->GPUDevice "Haswell-ULT Integrated Graphics Controller"
[    37.425] (**) |   |-->GPUDevice "Card1"
[    37.425] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    37.425] (==) Automatically adding devices
[    37.425] (==) Automatically enabling devices
[    37.425] (==) Not automatically adding GPU devices
[    37.433] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    37.519] (==) FontPath set to:
    /usr/local/share/fonts/misc/,
    /usr/local/share/fonts/TTF/,
    /usr/local/share/fonts/OTF/,
    /usr/local/share/fonts/Type1/,
    /usr/local/share/fonts/100dpi/,
    /usr/local/share/fonts/75dpi/,
    catalogue:/usr/local/etc/X11/fontpath.d
[    37.519] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    37.519] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    37.520] (II) Loader magic: 0x435f60
[    37.520] (II) Module ABI versions:
[    37.520]     X.Org ANSI C Emulation: 0.4
[    37.520]     X.Org Video Driver: 24.1
[    37.520]     X.Org XInput driver : 24.1
[    37.520]     X.Org Server Extension : 10.0
[    37.520] (--) PCI:*(0@0:2:0) 8086:0a16:1028:05e0 rev 11, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    37.520] (--) PCI: (3@0:0:0) 10de:1140:1028:05e0 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128
[    37.521] (II) LoadModule: "glx"
[    37.534] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    37.988] (II) Module glx: vendor="NVIDIA Corporation"
[    37.988]     compiled for 4.0.2, module version = 1.0.0
[    37.988]     Module class: X.Org Server Extension
[    37.988] (II) NVIDIA GLX Module  390.144  Wed Jun  2 22:59:08 UTC 2021
[    37.996] (II) LoadModule: "intel"
[    37.996] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    38.075] (II) Module intel: vendor="X.Org Foundation"
[    38.075]     compiled for 1.20.14, module version = 2.99.917
[    38.076]     Module class: X.Org Video Driver
[    38.076]     ABI class: X.Org Video Driver, version 24.1
[    38.076] (II) LoadModule: "nvidia"
[    38.076] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    38.178] (II) Module nvidia: vendor="NVIDIA Corporation"
[    38.178]     compiled for 4.0.2, module version = 1.0.0
[    38.178]     Module class: X.Org Video Driver
[    38.184] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    38.184] (II) intel: Driver for Intel(R) HD Graphics
[    38.184] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    38.184] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    38.192] (II) NVIDIA dlloader X Driver  390.144  Wed Jun  2 23:00:51 UTC 2021
[    38.192] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    38.192] (--) Using syscons driver with X support (version 2.0)
[    38.192] (--) using VT number 9

[    38.207] (II) Loading sub module "fb"
[    38.207] (II) LoadModule: "fb"
[    38.207] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    38.233] (II) Module fb: vendor="X.Org Foundation"
[    38.233]     compiled for 1.20.14, module version = 1.0.0
[    38.233]     ABI class: X.Org ANSI C Emulation, version 0.4
[    38.233] (II) Loading sub module "wfb"
[    38.233] (II) LoadModule: "wfb"
[    38.233] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[    38.241] (II) Module wfb: vendor="X.Org Foundation"
[    38.241]     compiled for 1.20.14, module version = 1.0.0
[    38.241]     ABI class: X.Org ANSI C Emulation, version 0.4
[    38.241] (II) Loading sub module "ramdac"
[    38.241] (II) LoadModule: "ramdac"
[    38.241] (II) Module "ramdac" already built-in
[    38.244] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    38.244] (EE) Screen 0 deleted because of no matching config section.
[    38.244] (II) UnloadModule: "nvidia"
[    38.244] (II) UnloadSubModule: "wfb"
[    38.244] (II) UnloadSubModule: "fb"
[    38.244] (EE) Device(s) detected, but none match those in the config file.
[    38.244] (EE)
Fatal server error:
[    38.244] (EE) no screens found(EE)
[    38.244] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[    38.244] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    38.244] (EE)
[    38.245] (EE) Server terminated with error (1). Closing log file.
 
darf ich mal raten?? Hast Du in /etc/rc.conf folgendes beides eingetragen:

nvidia_name="nvidia"
nvidia_modeset="nvidia-modeset"

oder ein älterens Paket schon probiert:

pkg search nvidia-driver
nvidia-driver-470.86 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-304-304.137_9 NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-driver-340-340.108_3 NVidia graphics card binary drivers for hardware OpenGL rendering

nvidia-driver-390-390.144 NVidia graphics card binary drivers for hardware OpenGL rendering

Bisher hat Nvidia immer gut bei mir funktioniert, auch auf meinem Lenovo W530 :-) Von dem ich gerade schreibe...

Viel Erfolg und Grüsse, Norbert
 
Versuchs mal so und entferne den Eintrgag aus /boot/loader.conf wieder:

Code:
# pkg install xorg nvidia-driver nvidia-settings nvidia-xconfig
# kldload nvidia-modeset
# sysrc kld_list+=nvidia-modeset
 
Dann einmal als root nvidia-xconfig ausführen, danach sollte erstmal alles passen. Wenn das bereits meckert, dass keine Karte gefunden worden ist, klemmt noch was am Treiber.
 
Benutzt das wirklich noch jemand?
ja, zum nachsehen. Weil ich auch noch immer eine kleine xorg.conf benutze und weil es wirklich beruhigend ist zu sehen, wenn die gleichen Dinge gefunden werden, die in meiner conf zu sehen sind.
Das Ergebnis direkt als neue xorg.conf zu nutzen, hat bei mir immer Probleme gemacht. Aber zum Nachsehen und für cp_n_paste ganz brauchbar.
 
Hallo,

danke für die vielen Rückmeldungen. Ich habe sie umgesetzt, jedoch funktioniert es immer noch nicht.
Wenn ich startx zeigt er nach ein paar Fehlermeldungen einmal einen schwarzen Bildschirm, anschließend gibt es die Fehlermeldung "no screens found" u.a., also wieder Text und Fehlermeldungen. Es scheint immer so, als ob er startet und dann doch der Start fehlschlägt.

Im Protokoll steht, ich hätte eine andere Grafikkarte - bei dem Auslesen wurde eine Art "Grafikkarten-Gruppe" angezeigt, sorry für die komische Wortwahl, das nennt sich bestimmt anders :-)

Hier noch die neue Fehlermeldung:

Code:
[    34.122] 
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    34.122] Build Operating System: FreeBSD 13.0-RELEASE-p10 amd64 
[    34.122] Current Operating System: FreeBSD starmax 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[    34.122] Build Date: 05 April 2022  02:05:26AM
[    34.122]  
[    34.122] Current version of pixman: 0.40.0
[    34.122]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    34.122] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    34.122] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 11 17:34:07 2022
[    34.177] (==) Using config file: "/etc/X11/xorg.conf"
[    34.177] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    34.177] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    34.218] (==) ServerLayout "Layout0"
[    34.218] (**) |-->Screen "Screen0" (0)
[    34.218] (**) |   |-->Monitor "Monitor0"
[    34.218] (**) |   |-->Device "Device0"
[    34.218] (**) |   |-->GPUDevice "Haswell-ULT Integrated Graphics Controller"
[    34.218] (**) |   |-->GPUDevice "Card1"
[    34.218] (**) |   |-->GPUDevice "Device0"
[    34.218] (**) |-->Input Device "Keyboard0"
[    34.218] (**) |-->Input Device "Mouse0"
[    34.218] (==) Automatically adding devices
[    34.218] (==) Automatically enabling devices
[    34.218] (==) Not automatically adding GPU devices
[    34.230] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    34.295] (==) FontPath set to:
    /usr/local/share/fonts/misc/,
    /usr/local/share/fonts/TTF/,
    /usr/local/share/fonts/OTF/,
    /usr/local/share/fonts/Type1/,
    /usr/local/share/fonts/100dpi/,
    /usr/local/share/fonts/75dpi/,
    catalogue:/usr/local/etc/X11/fontpath.d
[    34.295] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    34.295] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    34.295] (WW) Disabling Keyboard0
[    34.295] (WW) Disabling Mouse0
[    34.295] (II) Loader magic: 0x435f60
[    34.295] (II) Module ABI versions:
[    34.295]     X.Org ANSI C Emulation: 0.4
[    34.295]     X.Org Video Driver: 24.1
[    34.295]     X.Org XInput driver : 24.1
[    34.295]     X.Org Server Extension : 10.0
[    34.295] (--) PCI:*(0@0:2:0) 8086:0a16:1028:05e0 rev 11, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536
[    34.295] (--) PCI: (3@0:0:0) 10de:1140:1028:05e0 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128
[    34.296] (II) LoadModule: "glx"
[    34.309] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    34.398] (II) Module glx: vendor="X.Org Foundation"
[    34.398]     compiled for 1.20.14, module version = 1.0.0
[    34.398]     ABI class: X.Org Server Extension, version 10.0
[    34.398] (II) LoadModule: "nvidia"
[    34.398] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    34.475] (II) Module nvidia: vendor="NVIDIA Corporation"
[    34.475]     compiled for 1.6.99.901, module version = 1.0.0
[    34.476]     Module class: X.Org Video Driver
[    34.481] (II) LoadModule: "intel"
[    34.481] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    34.551] (II) Module intel: vendor="X.Org Foundation"
[    34.551]     compiled for 1.20.14, module version = 2.99.917
[    34.552]     Module class: X.Org Video Driver
[    34.552]     ABI class: X.Org Video Driver, version 24.1
[    34.552] (II) NVIDIA dlloader X Driver  470.86  Tue Oct 26 21:47:48 UTC 2021
[    34.552] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    34.553] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    34.553] (II) intel: Driver for Intel(R) HD Graphics
[    34.553] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    34.553] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    34.553] (--) Using syscons driver with X support (version 2.0)
[    34.553] (--) using VT number 9

[    34.562] (II) Loading sub module "fb"
[    34.562] (II) LoadModule: "fb"
[    34.562] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    34.587] (II) Module fb: vendor="X.Org Foundation"
[    34.587]     compiled for 1.20.14, module version = 1.0.0
[    34.587]     ABI class: X.Org ANSI C Emulation, version 0.4
[    34.587] (II) Loading sub module "wfb"
[    34.587] (II) LoadModule: "wfb"
[    34.587] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[    34.603] (II) Module wfb: vendor="X.Org Foundation"
[    34.603]     compiled for 1.20.14, module version = 1.0.0
[    34.603]     ABI class: X.Org ANSI C Emulation, version 0.4
[    34.603] (II) Loading sub module "ramdac"
[    34.603] (II) LoadModule: "ramdac"
[    34.603] (II) Module "ramdac" already built-in
[    34.627] (WW) NVIDIA(0): The NVIDIA GeForce 820M GPU installed in this system is
[    34.627] (WW) NVIDIA(0):     supported through the NVIDIA 390.xx Legacy drivers. Please
[    34.627] (WW) NVIDIA(0):     visit http://www.nvidia.com/object/unix.html for more
[    34.627] (WW) NVIDIA(0):     information.  The 470.86 NVIDIA driver will ignore this
[    34.627] (WW) NVIDIA(0):     GPU.  Continuing probe... 
[    34.627] (WW) NVIDIA(0): The NVIDIA GeForce 820M GPU installed in this system is
[    34.627] (WW) NVIDIA(0):     supported through the NVIDIA 390.xx Legacy drivers. Please
[    34.627] (WW) NVIDIA(0):     visit http://www.nvidia.com/object/unix.html for more
[    34.627] (WW) NVIDIA(0):     information.  The 470.86 NVIDIA driver will ignore this
[    34.627] (WW) NVIDIA(0):     GPU.  Continuing probe... 
[    34.627] (EE) No devices detected.
[    34.627] (EE) 
Fatal server error:
[    34.627] (EE) no screens found(EE) 
[    34.627] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[    34.627] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    34.627] (EE) 
[    34.628] (EE) Server terminated with error (1). Closing log file.
 
Vielleicht gibt es bei Deinem Laptop die Möglichkeit im Bios, NUR die NVIDIA Karte als die einzige "aktive" auszuwählen?! Ich hatte das damals auf meinem Lenovo W530 gemacht - seit dem geht es prima... :-) Ach, die Medung heisst, dass Du einen "älteren" Nvidai Treiber brauchst :-)

Versuchs mal mit
pkg install nvidia-driver-340

VG Norbert
 
Zurück
Oben