Problem mit X: lightdm oder windowmanager funktionieren nicht, aber startx schon

cabriofahrer

Well-Known Member
Ich habe ein neues System aufgesetzt (12.3 auf aktuellem Stand mit frisch installierten Quarterly Packages) mit einer Nvidia Geforce 210. Der korrekte Treiber dafür ist nvidia-driver-340. Ich habe mit nvidia-xconfig automatisch eine Xorg.conf erzeugt. In der /etc/rc.conf habe ich (u.a.) die Einträge

lightdm_enable="YES"
dbus_enable="YES"
kld_list="nvidia-modeset nvidia"

Beim Booten sehe ich zunächst das Nvidia Logo und kurz einen schwarzen Bildschirm mit einem Mauszeiger, doch dann schmiert das Bild ab und ich bin wieder im Konsolenlogin.
Wenn ich als User "startxfce4" versuche, bekomme ich nur einen dunkelblauen Bildschirm mit Mauszeiger, wenn ich "kodi-standalone" versuche, bekomme ich

Code:
$ kodi-standalone
ERROR: Unable to create GUI. Exiting
ERROR: Unable to create GUI. Exiting
ERROR: Unable to create GUI. Exiting
/usr/local/bin/kodi --standalone  has exited in an unclean state 3 times in the last 6 seconds.
Something is probably wrong

Wenn ich "startfluxbox" versuche, bekomme ich

Code:
$ startfluxbox
xmodmap:  unable to open display ''
Error: Couldn't connect to XServer passing null display
$

Aber wenn ich "starx" eingebe, bekomme ich den twm. Dort bekomme ich eine lange Anzeige für "glxinfo" und "glxgears" mit 60 fps und ich kann "kodi" aufrufen, welches dann perfekt funktioniert. X scheint an sich also zu funktionieren, es scheint aber ein Problem damit zu geben, dass andere Programme (lightdm, fluxbox, xfce, kodi-standalone) X aufrufen können.

Ich poste noch lightdm.log, Xorg.log und Xorg.conf:

Code:
root@tvset:/usr/home/werner # more /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1179
[+0.01s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /usr/local/etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /usr/local/etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Registered seat module local
[+0.02s] DEBUG: Registered seat module xremote
[+0.02s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.43s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for <E2><80><98>gio-vfs<E2><80><99>
[+0.44s] WARNING: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files
[+0.44s] DEBUG: Adding default seat
[+0.44s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.44s] DEBUG: Seat seat0: Starting
[+0.44s] DEBUG: Seat seat0: Creating greeter session
[+0.47s] DEBUG: Seat seat0: Creating display server of type x
[+0.47s] DEBUG: Could not run plymouth --ping: Failed to execute child process <E2><80><9C>plymouth<E2><80><9D> (No such file or directory)
[+0.47s] DEBUG: Using VT 9
[+0.47s] DEBUG: Seat seat0: Starting local X display on VT 9
[+0.47s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.48s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.48s] DEBUG: XServer 0: Launching X Server
[+0.48s] DEBUG: Launching process 1197: /usr/local/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt9 -novtswitch
[+0.48s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.48s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.48s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+4.91s] DEBUG: Loading users from org.freedesktop.Accounts
[+4.91s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+5.03s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+5.04s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+8.26s] DEBUG: Got signal 30 from process 1197
[+8.26s] DEBUG: XServer 0: Got signal from X server :0
[+8.26s] DEBUG: XServer 0: Connecting to XServer :0
[+8.28s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+8.28s] DEBUG: Session pid=1215: Started with service 'lightdm-greeter', username 'lightdm'
[+8.37s] DEBUG: Session pid=1215: Authentication complete with return value 0: Success
[+8.37s] DEBUG: Seat seat0: Session authenticated, running command
[+8.37s] DEBUG: Session pid=1215: Running command /usr/local/sbin/lightdm-gtk-greeter
[+8.37s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+8.37s] DEBUG: Session pid=1215: Logging to /var/log/lightdm/seat0-greeter.log
[+8.52s] DEBUG: Activating ConsoleKit session tvset.local-1652085268.245376-857830136
[+10.64s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+14.28s] DEBUG: Greeter closed communication channel
[+14.28s] DEBUG: Session pid=1215: Exited with return value 1
[+14.28s] DEBUG: Seat seat0: Session stopped
[+14.28s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+14.28s] DEBUG: Seat seat0: Stopping
[+14.28s] DEBUG: Seat seat0: Stopping display server
[+14.28s] DEBUG: Sending signal 15 to process 1197
[+14.58s] DEBUG: Process 1197 exited with return value 0
[+14.58s] DEBUG: XServer 0: X server stopped
[+14.58s] DEBUG: Releasing VT 9
[+14.58s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+14.58s] DEBUG: Seat seat0: Display server stopped
[+14.58s] DEBUG: Seat seat0: Stopped
[+14.58s] DEBUG: Required seat has stopped
[+14.58s] DEBUG: Stopping display manager
[+14.58s] DEBUG: Display manager stopped
[+14.58s] DEBUG: Stopping daemon
[+14.58s] DEBUG: Exiting with return value 1
root@tvset:/usr/home/werner #

Code:
root@tvset:/usr/home/werner # more /var/log/Xorg.0.log
[    28.542]
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    28.542] Build Operating System: FreeBSD 12.3-RELEASE-p5 amd64
[    28.542] Current Operating System: FreeBSD tvset.local 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 GENERIC amd64
[    28.542] Build Date: 30 April 2022  02:11:56AM
[    28.542] 
[    28.542] Current version of pixman: 0.40.0
[    28.542]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    28.542] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    28.542] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May  9 10:34:21 2022
[    28.648] (==) Using config file: "/etc/X11/xorg.conf"
[    28.648] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    28.712] (==) ServerLayout "Layout0"
[    28.712] (**) |-->Screen "Screen0" (0)
[    28.712] (**) |   |-->Monitor "Monitor0"
[    28.714] (**) |   |-->Device "Device0"
[    28.714] (**) |-->Input Device "Keyboard0"
[    28.714] (**) |-->Input Device "Mouse0"
[    28.714] (==) Automatically adding devices
[    28.714] (==) Automatically enabling devices
[    28.714] (==) Not automatically adding GPU devices
[    28.714] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    28.936] (==) 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
[    28.936] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    28.936] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    28.936] (WW) Disabling Keyboard0
[    28.936] (WW) Disabling Mouse0
[    28.936] (II) Loader magic: 0x4351c0
[    28.936] (II) Module ABI versions:
[    28.936]    X.Org ANSI C Emulation: 0.4
[    28.936]    X.Org Video Driver: 24.1
[    28.936]    X.Org XInput driver : 24.1
[    28.936]    X.Org Server Extension : 10.0
[    28.944] (--) PCI:*(1@0:0:0) 10de:0a65:1043:8334 rev 162, Mem @ 0xd0000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000a000/128, BIOS @ 0x????????/65536
[    28.952] (II) LoadModule: "glx"
[    28.999] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    33.038] (II) Module glx: vendor="NVIDIA Corporation"
[    33.038]    compiled for 4.0.2, module version = 1.0.0
[    33.038]    Module class: X.Org Server Extension
[    33.038] (II) NVIDIA GLX Module  340.108  Wed Dec 11 14:27:50 PST 2019
[    33.046] (II) LoadModule: "nvidia"
[    33.046] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    33.155] (II) Module nvidia: vendor="NVIDIA Corporation"
[    33.155]    compiled for 4.0.2, module version = 1.0.0
[    33.155]    Module class: X.Org Video Driver
[    33.172] (II) NVIDIA dlloader X Driver  340.108  Wed Dec 11 14:09:07 PST 2019
[    33.172] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    33.173] (--) Using syscons driver with X support (version 2.0)
[    33.173] (++) using VT number 9

[    33.197] (II) Loading sub module "fb"
[    33.197] (II) LoadModule: "fb"
[    33.198] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    33.217] (II) Module fb: vendor="X.Org Foundation"
[    33.217]    compiled for 1.20.14, module version = 1.0.0
[    33.217]    ABI class: X.Org ANSI C Emulation, version 0.4
[    33.217] (WW) Unresolved symbol: fbGetGCPrivateKey
[    33.217] (II) Loading sub module "wfb"
[    33.217] (II) LoadModule: "wfb"
[    33.217] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[    33.229] (II) Module wfb: vendor="X.Org Foundation"
[    33.229]    compiled for 1.20.14, module version = 1.0.0
[    33.229]    ABI class: X.Org ANSI C Emulation, version 0.4
[    33.229] (II) Loading sub module "ramdac"
[    33.229] (II) LoadModule: "ramdac"
[    33.229] (II) Module "ramdac" already built-in
[    33.240] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    33.240] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    33.240] (==) NVIDIA(0): RGB weight 888
[    33.240] (==) NVIDIA(0): Default visual is TrueColor
[    33.240] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    33.242] (**) NVIDIA(0): Enabling 2D acceleration
[    33.907] (II) NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0 (GPU-0)
[    33.907] (--) NVIDIA(0): Memory: 524288 kBytes
[    33.907] (--) NVIDIA(0): VideoBIOS: 70.18.39.00.17
[    33.907] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    33.908] (--) NVIDIA(0): Valid display device(s) on GeForce 210 at PCI:1:0:0
[    33.908] (--) NVIDIA(0):     CRT-0
[    33.908] (--) NVIDIA(0):     CRT-1
[    33.908] (--) NVIDIA(0):     DFP-0
[    33.908] (--) NVIDIA(0):     LG Electronics LG TV (DFP-1) (boot, connected)
[    33.908] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    33.908] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[    33.908] (--) NVIDIA(0): DFP-0: Internal TMDS
[    33.908] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    33.908] (--) NVIDIA(0): LG Electronics LG TV (DFP-1): Internal TMDS
[    33.908] (--) NVIDIA(GPU-0): LG Electronics LG TV (DFP-1): 225.0 MHz maximum pixel clock
[    33.908] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    33.908] (**) NVIDIA(0):     device LG Electronics LG TV (DFP-1) (Using EDID
[    33.908] (**) NVIDIA(0):     frequencies has been enabled on all display devices.)
[    33.909] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.909] (WW) NVIDIA(GPU-0):     mode "1280x720" is specified in the EDID; however, the
[    33.909] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.909] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.909] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1280x720".
[    33.909] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.909] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.909] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.909] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.909] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    33.910] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.910] (WW) NVIDIA(GPU-0):     mode "1280x720" is specified in the EDID; however, the
[    33.910] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.910] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.910] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1280x720".
[    33.910] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.910] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.910] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range (30.000-83.000 kHz) would
[    33.910] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (28.1 kHz); ignoring
[    33.910] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
[    33.910] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.910] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.910] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.910] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.910] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "720x576".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range (30.000-83.000 kHz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (27.0 kHz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (24.0 Hz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range (30.000-83.000 kHz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (28.1 kHz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (25.0 Hz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    33.911] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.911] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in the EDID; however, the
[    33.911] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.911] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (30.0 Hz); ignoring
[    33.911] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
[    33.912] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.912] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the EDID; however, the
[    33.912] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range (30.000-83.000 kHz) would
[    33.912] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (15.6 kHz); ignoring
[    33.912] (WW) NVIDIA(GPU-0):     HorizSync check for mode "720x576".
[    33.912] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-1) contradicts itself:
[    33.912] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the EDID; however, the
[    33.912] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range (58.000-62.000 Hz) would
[    33.912] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh (50.0 Hz); ignoring
[    33.912] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "720x576".
[    33.913] (==) NVIDIA(0):
[    33.913] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    33.913] (==) NVIDIA(0):     will be used as the requested mode.
[    33.913] (==) NVIDIA(0):
[    33.914] (II) NVIDIA(0): Validated MetaModes:
[    33.914] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
[    33.914] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    33.943] (--) NVIDIA(0): DPI set to (30, 30); computed from "UseEdidDpi" X config
[    33.944] (--) NVIDIA(0):     option
[    33.944] (II) NVIDIA: Reserving 768.00 MB of virtual memory for indirect memory
[    33.944] (II) NVIDIA:     access.
[    33.947] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[    34.106] (==) NVIDIA(0): Disabling shared memory pixmaps
[    34.106] (==) NVIDIA(0): Backing store enabled
[    34.106] (==) NVIDIA(0): Silken mouse enabled
[    34.144] (**) NVIDIA(0): DPMS enabled
[    34.145] (II) Loading sub module "dri2"
[    34.145] (II) LoadModule: "dri2"
[    34.145] (II) Module "dri2" already built-in
[    34.145] (II) NVIDIA(0): [DRI2] Setup complete
[    34.145] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    34.146] (II) Initializing extension Generic Event Extension
[    34.147] (II) Initializing extension SHAPE
[    34.148] (II) Initializing extension MIT-SHM
[    34.148] (II) Initializing extension XInputExtension
[    34.149] (II) Initializing extension XTEST
[    34.150] (II) Initializing extension BIG-REQUESTS
[    34.150] (II) Initializing extension SYNC
[    34.150] (II) Initializing extension XKEYBOARD
[    34.151] (II) Initializing extension XC-MISC
[    34.152] (II) Initializing extension SECURITY
[    34.152] (II) Initializing extension XFIXES
[    34.152] (II) Initializing extension RENDER
[    34.153] (II) Initializing extension RANDR
[    34.154] (II) Initializing extension COMPOSITE
[    34.155] (II) Initializing extension DAMAGE
[    34.155] (II) Initializing extension MIT-SCREEN-SAVER
[    34.156] (II) Initializing extension DOUBLE-BUFFER
[    34.156] (II) Initializing extension RECORD
[    34.156] (II) Initializing extension DPMS
[    34.157] (II) Initializing extension Present
[    34.157] (II) Initializing extension DRI3
[    34.157] (II) Initializing extension X-Resource
[    34.157] (II) Initializing extension XVideo
[    34.158] (II) Initializing extension XVideo-MotionCompensation
[    34.158] (II) Initializing extension XFree86-VidModeExtension
[    34.158] (II) Initializing extension XFree86-DGA
[    34.158] (II) Initializing extension XFree86-DRI
[    34.159] (II) Initializing extension DRI2
[    34.159] (II) Initializing extension GLX
[    34.159] (II) Initializing extension GLX
[    34.159] (II) Indirect GLX disabled.(II) Initializing extension NV-GLX
[    34.160] (II) Initializing extension NV-CONTROL
[    34.160] (II) Initializing extension XINERAMA
[    34.900] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[    34.900] (**) System mouse: Applying InputClass "libinput pointer catchall"
[    34.900] (II) LoadModule: "libinput"
[    34.916] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[    34.997] (II) Module libinput: vendor="X.Org Foundation"
[    34.997]    compiled for 1.20.14, module version = 0.30.0
[    34.997]    Module class: X.Org XInput Driver
[    34.997]    ABI class: X.Org XInput driver, version 24.1
[    34.998] (II) Using input driver 'libinput' for 'System mouse'
[    34.998] (**) System mouse: always reports core events
[    34.998] (**) Option "Device" "/dev/input/event0"
[    35.006] (**) Option "_source" "server/udev"
[    35.053] (II) event0  - System mouse: is tagged by udev as: Mouse
[    35.057] (II) event0  - System mouse: device is a pointer
[    35.062] (II) event0  - System mouse: device removed
[    35.062] (**) Option "config_info" "udev:/dev/input/event0"
[    35.062] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6)
[    35.062] (**) Option "AccelerationScheme" "none"
[    35.062] (**) System mouse: (accel) selected scheme none/0
[    35.062] (**) System mouse: (accel) acceleration factor: 2.000
[    35.062] (**) System mouse: (accel) acceleration threshold: 4
[    35.068] (II) event0  - System mouse: is tagged by udev as: Mouse
[    35.072] (II) event0  - System mouse: device is a pointer
[    35.076] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[    35.076] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[    35.076] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[    35.076] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[    35.076] (**) System keyboard multiplexer: always reports core events
[    35.076] (**) Option "Device" "/dev/input/event1"
[    35.076] (**) Option "_source" "server/udev"
[    35.083] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[    35.085] (II) event1  - System keyboard multiplexer: device is a keyboard
[    35.091] (II) event1  - System keyboard multiplexer: device removed
[    35.091] (**) Option "config_info" "udev:/dev/input/event1"
[    35.091] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7)
[    35.091] (**) Option "xkb_rules" "evdev"
[    35.189] (II) event1  - System keyboard multiplexer: is tagged by udev as: Keyboard
[    35.191] (II) event1  - System keyboard multiplexer: device is a keyboard
[    35.197] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    35.197] (**) Power Button: Applying InputClass "Evdev keyboard"
[    35.197] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    35.197] (II) Using input driver 'libinput' for 'Power Button'
[    35.197] (**) Power Button: always reports core events
[    35.197] (**) Option "Device" "/dev/input/event2"
[    35.197] (**) Option "_source" "server/udev"
[    35.203] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    35.205] (II) event2  - Power Button: device is a keyboard
[    35.209] (II) event2  - Power Button: device removed
[    35.209] (**) Option "config_info" "udev:/dev/input/event2"
[    35.209] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    35.209] (**) Option "xkb_rules" "evdev"
[    35.216] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    35.218] (II) event2  - Power Button: device is a keyboard
[    35.222] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[    35.222] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[    35.222] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[    35.222] (II) Using input driver 'libinput' for 'AT keyboard'
[    35.222] (**) AT keyboard: always reports core events
[    35.222] (**) Option "Device" "/dev/input/event3"
[    35.222] (**) Option "_source" "server/udev"
[    35.228] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    35.230] (II) event3  - AT keyboard: device is a keyboard
[    35.241] (II) event3  - AT keyboard: device removed
[    35.241] (**) Option "config_info" "udev:/dev/input/event3"
[    35.241] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[    35.241] (**) Option "xkb_rules" "evdev"
[    35.247] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    35.249] (II) event3  - AT keyboard: device is a keyboard
[    35.261] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event4)
[    35.261] (**) Logitech USB Receiver: Applying InputClass "Evdev keyboard"
[    35.261] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[    35.261] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[    35.261] (**) Logitech USB Receiver: always reports core events
[    35.261] (**) Option "Device" "/dev/input/event4"
[    35.261] (**) Option "_source" "server/udev"
[    35.267] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: is tagged by udev as: Keyboard
[    35.269] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device is a keyboard
[    35.277] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device removed
[    35.277] (**) Option "config_info" "udev:/dev/input/event4"
[    35.277] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[    35.277] (**) Option "xkb_rules" "evdev"
[    35.284] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: is tagged by udev as: Keyboard
[    35.286] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device is a keyboard
[    35.294] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event5)
[    35.294] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[    35.294] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[    35.294] (**) Logitech USB Receiver: always reports core events
[    35.294] (**) Option "Device" "/dev/input/event5"
[    35.294] (**) Option "_source" "server/udev"
[    35.300] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: is tagged by udev as: Mouse
[    35.304] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device is a pointer
[    35.310] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device removed
[    35.310] (**) Option "config_info" "udev:/dev/input/event5"
[    35.310] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 11)
[    35.310] (**) Option "AccelerationScheme" "none"
[    35.310] (**) Logitech USB Receiver: (accel) selected scheme none/0
[    35.310] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[    35.310] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[    35.316] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: is tagged by udev as: Mouse
[    35.320] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device is a pointer
[    41.344] (II) event0  - System mouse: device removed
[    41.344] (II) event1  - System keyboard multiplexer: device removed
[    41.344] (II) event2  - Power Button: device removed
[    41.344] (II) event3  - AT keyboard: device removed
[    41.345] (II) event4  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device removed
[    41.345] (II) event5  - Logitech USB Receiver, class 0/0, rev 1.10/21.00, addr 2: device removed
[    41.364] (II) UnloadModule: "libinput"
[    41.364] (II) UnloadModule: "libinput"
[    41.364] (II) UnloadModule: "libinput"
[    41.364] (II) UnloadModule: "libinput"
[    41.364] (II) UnloadModule: "libinput"
[    41.364] (II) UnloadModule: "libinput"
[    41.616] (II) NVIDIA(GPU-0): Deleting GPU-0
[    41.643] (II) Server terminated successfully (0). Closing log file.

Code:
root@tvset:/usr/home/werner # more /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.86

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
 

Columbo0815

Kaffeemann
Teammitglied
Moin,

mE sollte es ausreichend sein, kld_list="nvidia-modeset" in die rc.conf einzutragen. nvidia.ko wird dennoch geladen. Noch folgende Fragen:

1. Warum 12.3 bei einer Neuinstallation?
2. Bei welchen Gruppen bist du Mitglied?
3. Kannst du die /etc/rc.conf und /boot/loader.conf vollständig posten?
4. Was passiert, wenn du keine xorg.conf erstellst? Das sollte eigentlich nicht mehr notwendig sein.
5. Nachtrag: Die Ausgabe von "pkg info" wäre auch interessant.
 

cabriofahrer

Well-Known Member
Warum 12.3 bei einer Neuinstallation?
Das System war ursprünglich auf 12.1. Ich wollte einfach weiter die 12-er Schiene fahren, verlieren oder verpassen tue ich doch nichts, oder? Noch zur Information: Ich hatte vor dem upgrade auf 12.3 noch ein pkg delete -a gemacht, um irgendwelche Probleme mit den Packages zu vermeiden.
Bei welchen Gruppen bist du Mitglied?
Code:
$ id
uid=1001(werner) gid=0(wheel) groups=0(wheel),5(operator),44(video)
$
Wobei man die Gruppe video für nvidia nicht braucht. Hatte ich noch von viel früher wegen einer Radeon-Karte die schon lange nicht mehr funktioniert.
Kannst du die /etc/rc.conf und /boot/loader.conf vollständig posten?
Code:
$ more /etc/rc.conf
clear_tmp_enable="YES"
hostname="tvset.local"
keymap="de.kbd"
#ifconfig_nfe0="DHCP"
ifconfig_dc0="DHCP"
sshd_enable="YES"
#powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
#kld_list="/boot/modules/radeonkms.ko"
kld_list="nvidia-modeset nvidia"
dbus_enable="YES"
hald_enable="NO"
#dsbmd_enable="YES"
lightdm_enable="YES"
linux_enable="YES"
avahi_daemon_enable="YES"
devfs_system_ruleset="localrules"

Code:
$ more /boot/loader.conf
autoboot_delay="3"
hw.vga.textmode=1
#snd_emu10k1_load="YES"
$

Was passiert, wenn du keine xorg.conf erstellst? Das sollte eigentlich nicht mehr notwendig sein.
Dann bekomme ich in twm ein Bild mit geringer Auflösung, wahrscheinlich VESA.

Nachtrag: Die Ausgabe von "pkg info" wäre auch interessant.
Code:
$ pkg info
Imath-3.1.5                    C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics
accountsservice-0.6.55_3       D-Bus interface for user account query and manipulation
adwaita-icon-theme-40.1.1      GNOME Symbolic Icons
aom-3.3.0_1                    AV1 reference encoder/decoder
appres-1.0.5                   Program to list application's resources
argp-standalone-1.3_4          Standalone version of arguments parsing functions from GLIBC
argyllcms-1.9.2_5              ICC compatible color management system
at-spi2-atk-2.34.2             Assisted Technology Provider module for GTK+
at-spi2-core-2.36.0            Assistive Technology Service Provider Interface
atk-2.36.0                     GNOME accessibility toolkit (ATK)
avahi-app-0.8                  Service discovery on a local network
bitmap-1.0.9                   Bitmap editor and converter utilities for X
brotli-1.0.9,1                 Generic-purpose lossless compression algorithm
bsdisks-0.27                   UDisks2 service implementation for FreeBSD
ca_root_nss-3.76               Root certificate bundle from the Mozilla Project
cairo-1.17.4,3                 Vector graphics library with cross-device output support
colord-1.3.5_1                 Manage color profiles to accurately color input/output devices
consolekit2-1.2.4_3            Framework for defining and tracking users
cups-2.3.3op2                  Common UNIX Printing System
curl-7.82.0                    Command line tool and library for transferring data with URLs
cyrus-sasl-2.1.28              RFC 2222 SASL (Simple Authentication and Security Layer)
dav1d-1.0.0                    Small and fast AV1 decoder
dbus-1.12.20_5                 Message bus system for inter-application communication
dbus-glib-0.112                GLib bindings for the D-BUS messaging system
dconf-0.40.0_3                 Configuration database system for GNOME
dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range of characters
desktop-file-utils-0.26_1      Couple of command line utilities for working with desktop entries
double-conversion-3.2.0        Binary-decimal and decimal-binary routines for IEEE doubles
e2fsprogs-libuuid-1.46.5       UUID library from e2fsprogs package
enchant2-2.2.15                Dictionary/spellchecking framework
encodings-1.0.5,1              X.Org Encoding fonts
expat-2.4.8                    XML 1.0 parser written in C
ffmpeg-4.4.2_2,1               Realtime audio/video encoder/converter and streaming server
firefox-100.0_3,2              Web browser based on the browser portion of Mozilla
fluxbox-1.3.7_5                Small and fast window manager based on BlackBox
font-adobe-100dpi-1.0.3_4      X.Org Adobe 100dpi font
font-adobe-75dpi-1.0.3_4       X.Org Adobe 75dpi font
font-adobe-utopia-100dpi-1.0.4_4 X.Org Adobe Utopia 100dpi font
font-adobe-utopia-75dpi-1.0.4_4 X.Org Adobe Utopia 75dpi font
font-adobe-utopia-type1-1.0.4_4 X.Org Adobe Utopia Type1 font
font-alias-1.0.4               X.Org Font aliases
font-arabic-misc-1.0.3_4       X.Org miscellaneous Arabic fonts
font-bh-100dpi-1.0.3_4         X.Org Bigelow Holmes 100dpi font
font-bh-75dpi-1.0.3_4          X.Org Bigelow Holmes 75dpi font
font-bh-lucidatypewriter-100dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 100dpi font
font-bh-lucidatypewriter-75dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 75dpi font
font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
font-bh-type1-1.0.3_4          X.Org Bigelow Holmes Type1 font
font-bitstream-100dpi-1.0.3_4  X.Org Bitstream Vera 100dpi font
font-bitstream-75dpi-1.0.3_4   X.Org Bitstream Vera 75dpi font
font-bitstream-type1-1.0.3_4   X.Org Bitstream Vera Type1 font
font-cronyx-cyrillic-1.0.3_4   X.Org Cronyx Cyrillic font
font-cursor-misc-1.0.3_4       X.Org miscellaneous Cursor fonts
font-daewoo-misc-1.0.3_4       X.Org miscellaneous Daewoo fonts
font-dec-misc-1.0.3_4          X.Org miscellaneous Dec fonts
font-ibm-type1-1.0.3_4         X.Org IBM Type1 font
font-isas-misc-1.0.3_4         X.Org miscellaneous ISAS fonts
font-jis-misc-1.0.3_4          X.Org miscellaneous JIS fonts
font-micro-misc-1.0.3_4        X.Org miscellaneous Micro fonts
font-misc-cyrillic-1.0.3_4     X.Org miscellaneous Cyrillic font
font-misc-ethiopic-1.0.4       X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
font-misc-misc-1.1.2_4         X.Org miscellaneous Misc fonts
font-mutt-misc-1.0.3_4         X.Org miscellaneous Mutt fonts
font-schumacher-misc-1.1.2_4   X.Org miscellaneous Schumacher fonts
font-screen-cyrillic-1.0.4_4   X.Org Screen Cyrillic font
font-sony-misc-1.0.3_4         X.Org miscellaneous Sony fonts
font-sun-misc-1.0.3_4          X.Org miscellaneous Sun fonts
font-winitzki-cyrillic-1.0.3_4 X.Org Winitzki Cyrillic font
font-xfree86-type1-1.0.4_4     X.Org XFree86 Type1 font
fontconfig-2.13.94_2,1         XML-based font configuration API for X Windows
freeglut-3.2.1                 Open source implementation of GLUT library
freetype2-2.11.1               Free and portable TrueType font rendering engine
fribidi-1.0.11                 Free Implementation of the Unicode Bidirectional Algorithm
fstrcmp-0.7.D001               Library for fuzzy string comparisons
gamin-0.1.10_10                File and directory monitoring system
garcon-4.16.1                  Freedesktop compliant menu library
gcr-3.40.0                     Library for bits of crypto UI and parsing
gdbm-1.23                      GNU database manager
gdk-pixbuf2-2.40.0_3           Graphic library for GTK+
geoclue-2.5.7                  D-Bus service that provides location information
gettext-runtime-0.21           GNU gettext runtime libraries and programs
giflib-5.2.1                   Tools and library routines for working with GIF images
glew-2.2.0_3                   OpenGL Extension Wrangler Library
glib-2.70.4_3,2                Some useful routines of C programming (current stable version)
glib-networking-2.70.1         Network-related giomodules for glib
gmp-6.2.1                      Free library for arbitrary precision arithmetic
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
gnutls-3.6.16                  GNU Transport Layer Security library
gobject-introspection-1.72.0,1 Generate interface introspection data for GObject libraries
graphene-1.10.6                Optimizations for speeding up vector operations
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
greybird-theme-3.23.1          Gtk and xfwm4 themes for the Xfce Desktop
gsettings-desktop-schemas-42.0 Collection of globally shared GSetting schemas
gspell-1.9.1_4                 Spell checking for GTK+
gstreamer1-1.16.2              Media applications framework
gstreamer1-plugins-1.16.2_5    GStreamer written collection of plugins handling several media types
gstreamer1-plugins-bad-1.16.2_2 GStreamer-plugins that need more quality, testing or documentation
gstreamer1-plugins-gl-1.16.2_4 GStreamer GL graphics plugin
gtk-murrine-engine-0.98.2_5    Murrine GTK+ 2.x cairo based engine
gtk-update-icon-cache-3.24.31  Gtk-update-icon-cache utility from the Gtk+ toolkit
gtk2-2.24.33                   Gimp Toolkit for X11 GUI (previous stable version)
gtk3-3.24.33                   Gimp Toolkit for X11 GUI (current stable version)
gtksourceview3-3.24.11_2       Text widget that adds syntax highlighting to the GtkTextView widget
gvfs-1.46.2_2                  GNOME virtual file system
harfbuzz-4.2.1                 OpenType text shaping engine
harfbuzz-icu-4.2.1             Harfbuzz ICU support
hicolor-icon-theme-0.17        High-color icon theme shell from the FreeDesktop project
highway-0.16.0_2               Performance-portable, length-agnostic SIMD with runtime dispatch
hunspell-1.7.0_2               Improved spell-checker for Hungarian and other languages
hyphen-2.8.8                   Library for high quality hyphenation and justification
iceauth-1.0.8_2                ICE authority file utility for X
icu-70.1_1,1                   International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
iso-codes-4.7                  Lists of the country, language, and currency iso names
jansson-2.14                   C library for encoding, decoding, and manipulating JSON data
jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.1.3               SIMD-accelerated JPEG codec which replaces libjpeg
json-glib-1.6.2_1              JSON (RFC 4627) interface for Glib
kodi-19.4_3                    Award winning media center application
lame-3.100_4                   Fast MP3 encoder kit
lcms2-2.12                     Accurate, fast, and small-footprint color management engine
libFS-1.0.8                    The FS library
libGLU-9.0.2_1                 OpenGL utility library
libICE-1.0.10,1                Inter Client Exchange library for X11
libSM-1.2.3,1                  Session Management library for X11
libX11-1.7.2,1                 X11 library
libXScrnSaver-1.2.3_2          The XScrnSaver library
libXau-1.0.9                   Authentication Protocol library for X11
libXaw-1.0.14,2                X Athena Widgets library
libXcomposite-0.4.5,1          X Composite extension library
libXcursor-1.2.0               X client-side cursor loading library
libXdamage-1.1.5               X Damage extension library
libXdmcp-1.1.3                 X Display Manager Control Protocol library
libXext-1.3.4,1                X11 Extension library
libXfixes-6.0.0                X Fixes extension library
libXfont-1.5.4_2,2             X font library
libXfont2-2.0.5                X font library
libXft-2.3.4                   Client-sided font API for X applications
libXi-1.8,1                    X Input extension library
libXinerama-1.1.4_2,1          X11 Xinerama library
libXmu-1.1.3,1                 X Miscellaneous Utilities libraries
libXpm-3.5.13                  X Pixmap library
libXpresent-1.0.0              X Present Extension library
libXrandr-1.5.2                X Resize and Rotate extension library
libXrender-0.9.10_2            X Render extension library
libXres-1.2.1                  X Resource usage library
libXt-1.2.1,1                  X Toolkit library
libXtst-1.2.3_2                X Test extension
libXv-1.0.11_2,1               X Video Extension library
libXvMC-1.0.12                 X Video Extension Motion Compensation library
libXxf86dga-1.1.5              X DGA Extension
libXxf86vm-1.1.4_3             X Vidmode Extension
libarchive-3.6.0,1             Library to create and read several streaming archive formats
libass-0.15.2                  Portable ASS/SSA subtitle renderer
libbluray-1.3.0_2,1            Blu-Ray discs playback library for media players
libcddb-1.3.2_4                Library to access data on a CDDB server
libcdio-2.1.0                  Compact Disc Input and Control Library
libcdio-paranoia-10.2+2.0.1    Read audio from the CDROM directly as data
libcec-6.0.2                   Library to control Pulse-Eight's HDMI-CEC adapter
libcrossguid-0.2.2.52,1        Minimal and cross platform C++ GUID library
libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
libdbusmenu-16.04.0_6          GLib and Gtk Implementation of the DBusMenu protocol
libdmx-1.1.4_2                 DMX extension library
libdrm-2.4.110,1               Userspace interface to kernel Direct Rendering Module services
libdvdnav-6.1.1                Videolan version of the libdvdnav project
libdvdread-6.1.2               Videolan version of the libdvdread project
libedit-3.1.20210910,1         Command line editor library
libepoll-shim-0.0.20210418     Small epoll implementation using kqueue
libepoxy-1.5.9                 Library to handle OpenGL function pointer management
libevdev-1.9.1.20200928        Linux Event Device library
libevent-2.1.12                API for executing callback functions on events or timeouts
libexif-0.6.24                 Library to read digital camera file meta-data
libexo-4.16.3                  Application library for the Xfce desktop environment
libffi-3.3_1                   Foreign Function Interface
libfmt-8.1.1                   Formatting library for C++
libfontenc-1.1.4               The fontenc Library
libgcrypt-1.9.4                General purpose cryptographic library based on the code from GnuPG
libgd-2.3.3,1                  Graphics library for fast creation of images
libgepub-0.6.0_3               GObject based library for handling and rendering epub documents
libglvnd-1.4.0_1               GL Vendor-Neutral Dispatch library
libgpg-error-1.44              Common error values for all GnuPG components
libgphoto2-2.5.26_2            Universal digital camera control library
libgsf-1.14.47_3               Extensible I/O abstraction for dealing with structured file formats
libgtop-2.40.0                 GNOME top library
libgudev-234                   GObject bindings for libudev
libiconv-1.16                  Character set conversion library
libidn2-2.3.2                  Implementation of IDNA2008 internationalized domain names
libinotify-20211018            Kevent based inotify compatible library
libinput-1.19.1_1              Generic input library
libjxl-0.6.1_5                 JPEG XL reference encoder/decoder
libltdl-2.4.6                  System independent dlopen wrapper
liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast
libmicrohttpd-0.9.75           C library for embedding HTTP server functionality
libmtdev-1.1.6_1               Multitouch Protocol Translation Library
libmtp-1.1.18                  Media Transfer Protocol (MTP) library
libnfs-4.0.0_1                 Client library for accessing NFS shares over a network
libnghttp2-1.46.0              HTTP/2.0 C Library
libnotify-0.7.9_1              Library for desktop notifications
libogg-1.3.5,4                 Ogg bitstream library
libpaper-1.1.28                Library providing routines for paper size management
libpci-3.7.0_1                 PCI configuration space I/O made easy
libpciaccess-0.16              Generic PCI access library
libproxy-0.4.17_1              Library that provides automatic proxy configuration management
libpsl-0.21.1_3                C library to handle the Public Suffix List
libpthread-stubs-0.4           Weak aliases for pthread functions
librsvg2-rust-2.54.0_2         Library for parsing and rendering SVG vector-graphic files
libsecret-0.20.4_2             Library to access the secret service API
libsoup-2.74.0_3               SOAP (Simple Object Access Protocol) implementation in C
libssh2-1.10.0,3               Library implementing the SSH2 protocol
libsunacl-1.0.1                Wrapper providing SunOS NFSv4 ACL API
libtasn1-4.18.0                ASN.1 structure parser library
libtheora-1.1.1_7              Theora video codec for the Ogg multimedia streaming system
libudev-devd-0.5.0             libudev-compatible interface for devd
libudisks-2.9.2                Library to manipulate storage devices, from udisks
libunistring-1.0               Unicode string library
libunwind-20211201_1           Generic stack unwinding library
libv4l-1.23.0                  Video4Linux library
libva-2.14.0                   VAAPI wrapper and dummy driver
libvdpau-1.5                   VDPAU wrapper and tracing library
libvorbis-1.3.7_2,3            Audio compression codec library
libvpx-1.11.0                  VP8/VP9 reference encoder/decoder
libwacom-1.5                   Adds tablet support to libinput
libwnck3-3.36.0                Library used for writing pagers and taskslists
libwpe-1.12.0                  General-purpose library for WPE WebKit
libx264-0.163.3060             H.264/MPEG-4 AVC Video Encoding (Library)
libxcb-1.14_1                  The X protocol C-language Binding (XCB) library
libxfce4menu-4.16.1            Widgets library for the Xfce desktop environment
libxfce4util-4.16.0            Extension library for the Xfce desktop environment
libxkbcommon-1.4.0_2           Keymap handling library for toolkits and window systems
libxkbfile-1.1.0               XKB file library
libxklavier-5.3_3,1            Utility library to make XKB stuff easier
libxml2-2.9.13_1               XML parser library for GNOME
libxshmfence-1.3_1             Shared memory 'SyncFence' synchronization primitive
libxslt-1.1.35_2               XML stylesheet transformation library
lightdm-1.30.0_3               Lightweight Display Manager
lightdm-gtk-greeter-2.0.8_2    GTK+ greeter for LightDM
llvm13-13.0.1_2                LLVM and Clang
lmdb-0.9.29,1                  OpenLDAP Lightning Memory-Mapped Database
lua53-5.3.6                    Powerful, efficient, lightweight, embeddable scripting language
lzo2-2.10_1                    Portable speedy, lossless data compression library
mesa-demos-8.4.0_3             OpenGL demos distributed with Mesa
mesa-dri-21.3.8                OpenGL hardware acceleration drivers for DRI2+
mesa-libs-21.3.8               OpenGL libraries that support GLX and EGL clients
mkfontscale-1.2.1              Creates an index of scalable font files for X
mousepad-0.5.9_1               Simple text editor for the Xfce Desktop
mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries
nettle-3.7.3                   Low-level cryptographic library
nspr-4.33                      Platform-neutral API for system level and libc like functions
nss-3.77                       Libraries to support development of security-enabled applications
nvidia-driver-340-340.108_3    NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-470.86         Display Control Panel for X NVidia driver
nvidia-xconfig-470.86          Tool to manipulate X configuration files for the NVidia driver
openexr-3.1.5                  High dynamic-range (HDR) image file format
openjpeg-2.4.0                 Open-source JPEG 2000 codec
openldap24-client-2.4.59_4     Open source LDAP client implementation
opus-1.3.1                     IETF audio codec
orc-0.4.31                     Library and toolset to operate arrays of data
p11-kit-0.24.1                 Library for loading and enumerating of PKCS#11 modules
p5-URI-5.10                    Perl5 interface to Uniform Resource Identifier (URI) references
p8-platform-2.1.0.1_2          Platform support library used by libCEC and binary add-ons for Kodi
pango-1.50.6                   Open-source framework for the layout and rendering of i18n text
pciids-20220225                Database of all known IDs used in PCI devices
pcre-8.45_1                    Perl Compatible Regular Expressions library
pcre2-10.39_1                  Perl Compatible Regular Expressions library, version 2
perl5-5.32.1_1                 Practical Extraction and Report Language
pixman-0.40.0_1                Low-level pixel manipulation library
pkg-1.17.5_1                   Package manager
png-1.6.37_1                   Library for manipulating PNG images
polkit-0.120_1                 Framework for controlling access to system-wide components
poppler-22.01.0_1              PDF rendering library
poppler-data-0.4.11            Poppler encoding data
poppler-glib-22.01.0_1         GLib bindings to poppler
popt-1.18_1                    Getopt(3) like library with a number of enhancements, from Redhat
pugixml-1.12.1                 Light-weight, simple and fast XML parser for C++ with XPath support
py38-cairo-1.18.1_2,1          Python bindings for Cairo
py38-dnspython-2.2.1,1         DNS toolkit for Python
py38-evdev-1.4.0               Bindings to the Linux input handling subsystem
py38-gobject3-3.38.0           Python 3.8 bindings for GObject
py38-importlib-metadata-4.8.1  Read metadata from Python packages
py38-markdown-3.3.6            Python implementation of Markdown
py38-pyudev-0.22.0             Pure Python libudev binding
py38-setuptools-57.0.0         Python packages installer
py38-six-1.16.0                Python 2 and 3 compatibility utilities
py38-zipp-3.4.0                Backport of pathlib-compatible object wrapper for zip files
pygobject3-common-3.38.0       Common files for the Python bindings for GObject
python38-3.8.13                Interpreted object-oriented programming language
qt5-core-5.15.2p263_1          Qt core non-graphical module (KDE patched)
qt5-dbus-5.15.2p263            Qt D-Bus inter-process communication module (KDE patched)
readline-8.1.2                 Library for editing command lines as they are typed
samba412-4.12.15_3             Free SMB/CIFS and AD/DC server and client for Unix
sessreg-1.1.2                  Manage utmp/wtmp entries for non-init X clients
setxkbmap-1.3.2                Set the keyboard using the X Keyboard Extension
shared-mime-info-2.2_1         MIME types database from the freedesktop.org project
smproxy-1.0.6                  Session Manager Proxy
spdlog-1.9.2                   Super fast C++ logging library
spidermonkey78-78.9.0_7        Standalone JavaScript based from Mozilla 78-esr
sqlite3-3.37.2,1               SQL database engine in a C library
startup-notification-0.12_4    Library that supports startup notification spec from freedesktop.org
svt-av1-1.0.0                  Scalable AV1 encoder
taglib-1.12                    Library for manipulating ID3 tags and Ogg comments
talloc-2.3.1                   Hierarchical pool based memory allocator
tdb-1.4.3,1                    Trivial Database
tevent-0.10.2_1                Talloc based event loop library
thunar-4.16.10                 Xfce file manager
tiff-4.3.0                     Tools and library routines for working with TIFF images
tinyxml-2.6.2_4                Small C++ XML parser
tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator
trousers-0.3.14_3              Open-source TCG Software Stack
twm-1.0.11_1                   Tab Window Manager for the X Window System
upower-0.99.17_1               D-Bus daemon for simplifying power management tasks
vmaf-2.3.1                     Perceptual video quality assessment based on multi-method fusion
vte3-0.66.2                    Terminal widget with improved accessibility and I18N support
wayland-1.20.0_2               Core Wayland window system code and protocol
waylandpp-0.2.8_1              Wayland C++ bindings
webkit2-gtk3-2.34.6_2          Opensource browser engine using the GTK+ 3 toolkit
webp-1.2.2                     Google WebP image format conversion tool
woff2-1.0.2_4                  Library and converter tools for the WOFF 2.0 web font format
wpebackend-fdo-1.12.0          Freedesktop.org backend for WPE WebKit
x11perf-1.6.1                  X11 server performance test program
x265-3.4_2                     H.265/High Efficiency Video Coding (HEVC) format
xauth-1.1                      X authority file utility
xbacklight-1.2.3               Program to adjust backlight brightness
xbitmaps-1.1.2                 X.Org bitmaps data
xcalc-1.1.0                    Scientific calculator for X
xcb-util-0.4.0_2,1             Module with libxcb/libX11 extension/replacement libraries
xcb-util-wm-0.4.1_3            Framework for window manager implementation
xclock-1.0.9                   Analog and digital clock for X
xcmsdb-1.0.5                   Device Color Characterization utility for X
xconsole-1.0.7_1               Monitor system console messages with X
xcursor-themes-1.0.6           X.org cursors themes
xcursorgen-1.0.7               Create an X cursor file from a collection of PNG images
xdpyinfo-1.3.2_3               Display information utility for X
xdriinfo-1.0.6_4               Query configuration information of DRI drivers
xev-1.2.4                      Print contents of X events
xf86-input-keyboard-1.9.0_4    X.Org keyboard input driver
xf86-input-libinput-0.30.0_1   X.Org libinput input driver
xf86-input-mouse-1.9.3_3       X.Org mouse input driver
xf86-video-scfb-0.0.7          X.Org syscons display driver
xf86-video-vesa-2.5.0          X.Org vesa display driver
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension
xfce-4.16                      Meta-port for the Xfce Desktop Environment
xfce4-appfinder-4.16.1         Application launcher and finder
xfce4-conf-4.16.0              D-Bus-based configuration storage system
xfce4-desktop-4.16.0           Xfce's desktop manager
xfce4-notifyd-0.6.3            Visually-appealing notification daemon for Xfce
xfce4-panel-4.16.3             Xfce's panel
xfce4-power-manager-4.16.0     Power manager for the Xfce Desktop
xfce4-session-4.16.0           Xfce's session manager
xfce4-settings-4.16.2          Xfce 4 settings application
xfce4-terminal-1.0.0_1         Terminal emulator for the X windowing system
xfce4-tumbler-4.16.0_15        Thumbnail service for Xfce desktop
xfce4-wm-4.16.1_1              Xfce's window manager
xgamma-1.0.6                   Gamma correction through the X server
xgc-1.0.5                      X graphics demo
xhost-1.0.8                    Server access control program for X
xinit-1.4.1,1                  X Window System initializer
xinput-1.6.3                   Very useful utility for configuring and testing XInput devices
xkbcomp-1.4.5                  Compile XKB keyboard description
xkbevd-1.1.4                   XKB event daemon
xkbutils-1.0.4_2               XKB utility demos
xkeyboard-config-2.34_2        X Keyboard Configuration Database
xkill-1.0.5                    Utility for killing a client by its X resource
xlsatoms-1.1.3                 List interned atoms defined on a server
xlsclients-1.1.4               List client applications running on a display
xmessage-1.0.5                 Display message or query in a X window
xmodmap-1.0.10                 Utility for modifying keymaps and pointer button mappings in X
xorg-7.7_3                     X.Org complete distribution metaport
xorg-apps-7.7_4                X.org apps meta-port
xorg-docs-1.7.1,1              X.org documentation files
xorg-drivers-7.7_6             X.org drivers meta-port
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-libraries-7.7_4           X.org libraries meta-port
xorg-minimal-7.5.2_3           X.Org minimal distribution metaport
xorg-server-1.20.14,1          X.Org X server and related programs
xorgproto-2021.5               X Window System unified protocol definitions
xpr-1.0.5                      Utility for printing an X window dump
xprop-1.2.5                    Property displayer for X
xrandr-1.5.1                   Primitive command line interface to the RandR extension
xrdb-1.2.0                     X server resource database utility
xrefresh-1.0.6                 Refresh all or part of an X screen
xset-1.2.4_3                   User preference utility for X
xsetroot-1.1.2                 Root window parameter setting utility for X
xterm-372                      Terminal emulator for the X Window System
xtrans-1.4.0                   Abstract network code for X
xvid-1.3.7,1                   Opensource MPEG-4 codec, based on OpenDivx
xvinfo-1.1.4                   Print out X-Video extension adaptor information
xwd-1.0.7                      Dump an image of an X window
xwininfo-1.1.5                 Window information utility for X
xwud-1.0.5                     Image displayer for X
zstd-1.5.2                     Fast real-time compression algorithm
$

Von mir aus noch zusätzlich:
Code:
$ kldstat
Id Refs Address                Size Name
 1   40 0xffffffff80200000  2295a98 kernel
 2    1 0xffffffff82719000     54f8 linprocfs.ko
 3    5 0xffffffff8271f000     cbf0 linux_common.ko
 4    1 0xffffffff8272c000     1f3c linsysfs.ko
 5    1 0xffffffff8272e000     89e0 tmpfs.ko
 6    1 0xffffffff82737000   9624e0 nvidia.ko
 7    1 0xffffffff8309a000    34488 linux.ko
 8    1 0xffffffff830cf000     1860 uhid.ko
 9    1 0xffffffff830d1000     2908 ums.ko
10    1 0xffffffff830d4000    2dd08 linux64.ko
11    1 0xffffffff83102000      4f9 pty.ko
12    1 0xffffffff83103000     1a20 fdescfs.ko
$
 

Columbo0815

Kaffeemann
Teammitglied
Da ich die Lösung nicht kenne, kann ich dir aktuell nur sagen, was mir auffällt und was ich machen würde (auch wenn es teilweise OT ist und nichts mit deinem Problem zu tun hat):

1. Du nvidia_modeset ist gar nicht geladen. Raus damit aus der rc.conf.
2. hald aus der rc.conf werfen. Hast du gar nicht installiert, ist wohl eine Altlast.
3. latest-packages nutzen, dbus gibt es inzwischen in der Version 1.14
4. Die logfiles von X.org auswerten, wenn keine xorg.conf aktiv ist
5. 13.0 installieren (oder noch die ca. 5 Tage warten und 13.1 installieren) (aber das ist wirklich OT).
6. Ein paar Euro investieren und eine Nvidia-Karte holen, die den aktuellen Treiber nutzt (iirc gab es da mal ein Problem mit alten Karten)

Wirklich offensichtliche Probleme sehe ich erstmal keine. Das Problem kommt mir aber bekannt vor, weshalb ich noch auf /var/log setze und vermute, dass man dort irgendwo die Lösung finden könnte.
 

pit234a

Well-Known Member
kann dazu auch eigentlich nichts beitragen, aber die nvidia-Ports geben nach der Installation eine Meldung, was genau wo eingetragen werden soll. Und es ist nicht immer so, dass der angebliche Treiber auch der bessere ist.
Zu verwirrend.
Also, meine Karte sollte eigentlich durch den nvidia-driver-390 unterstützt sein. Inzwischen wurde der aber durch diverse Updates ersetzt und da läuft nun der 560er. Natürlich weiß ich nicht, ob das generell gilt. der 560er scheint so der aktuelle zu sein und ist offenbar rückwärts kompatibel.
Der wiederum zeigt diese Installations-
Nachricht:

Code:
pit@Celsius ~:- > pkg info -D nvidia-driver
nvidia-driver-510.60.02:
On install:
To use these drivers, make sure that you have loaded the NVidia kernel
module, by running

    # kldload nvidia        (or nvidia-modeset, see below)

on the command line, or by putting ``nvidia'' (or ``nvidia-modeset'',
see below again) on ``kld_list'' variable in /etc/rc.conf, either manually
or by running

    # sysrc kld_list+=nvidia    (or nvidia-modeset, see below)

If you build this port with FreeBSD AGP GART driver, make sure you have
agp.ko kernel module installed and loaded, since nvidia.ko will depend
on it, or have your kernel compiled with "device agp".  Otherwise, the
NVidia kernel module will not load.  Also, please set correct value for
``Option "NvAGP"'' in ``Device'' section of your X11 configuration file.

When building with Linux compatibility support, make sure that linux.ko
module is available as well (or have it compiled in kernel).  It can be
loaded via /boot/loader.conf, or later in the boot process if you add

    linux_enable="YES"

to your /etc/rc.conf.

If X.org cannot start and reports

    (EE) NVIDIA(0): Failed to obtain a shared memory identifier.

in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.

Starting with version 358.09, some important functionality of the driver
has been broken out into a separate kernel module, nvidia-modeset.ko.
Users that experience hangs when starting X11 server, or observe

    (II) NVIDIA(0): Validated MetaModes:
    (II) NVIDIA(0):     "NULL"

in /var/log/Xorg.0.log should replace ``nvidia'' with ``nvidia-modeset''
in their /boot/loader.conf or /etc/rc.conf configuration files, depending
on how they prefer to load NVidia driver kernel module.

See /usr/local/share/doc/NVIDIA_GLX-1.0/README for more information.

pit@Celsius ~:- > head -15 /etc/X11/xorg.conf
# # pkg info -a | grep nvidia
#nvidia-driver-390.87           NVidia graphics card binary drivers for hardware OpenGL rendering
#nvidia-settings-396.24         Display Control Panel for X NVidia driver
#nvidia-texture-tools-2.0.8.1_10 Texture Tools with support for DirectX 10 texture formats
#nvidia-xconfig-396.24          Tool to manipulate X configuration files for the NVidia driver

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

#Section "InputDevice"
 

Franky

Member
Was wir hier machen ist schauen in die Glaskugel. Mehr Informationen von deinem PC könnten wir dir gezielter helfen. Ich gehe mal davon aus, dass es sich um einen Desktop PC handelt und nicht Notebook.

Die Nvidia Geforce 220 (wenn es die richtige Angabe zur verbauten Grafikkarte ist) benötigt den Treiber 340.108. In den Ports ist er verfügbar nvidia-driver-340. Dieser müsste installiert werden
Code:
pkg install nvidia-driver-340

Und darin stehen nun fogende Anweisungen das der Treiber aktiviert und geladen wird => pkg-message For install

Diese besagt auch das du die Linux®-Binärkompatibilität benötigst (linux_enable="YES").

Dies entfernst du vor der Treiber Installation
Code:
kld_list="nvidia-modeset nvidia"

Bei meiner Grafikkarte habe ich kld_list+=nvidia-modeset verwendet anstatt kld_list+=nvidia

Es wird zwar viel geschrieben das bei den Nvidia Grafiktreiber keine Linux®-Binärkompatibilität mehr benötigt wird, aber bei den alten Grafikkarten vermute ich aber doch. Meine Nvidia Grafikkarte funktioniert nur damit.

 

pit234a

Well-Known Member
der TE hat ja linux geladen und auch ziemlich viel Information geliefert, in der sich aber kaum etwas finden lässt, was für die beschriebenen Fehler verantwortlich ist.
Im Grunde brauchen (brauchten) die NVIDIA-Treiber keine Linux-Kompatibilität aber wenn man sie selbst kompilieren will, verlangen sie danach, also nicht nur nach einem geladenen Kernel-Modul.

Man sieht aber das Fehlen der Linux-Module, wenn man das nvidia-modul von Hand lädt. Das probiert man ja zuerst und schreibt dann erst den Automatismus.
 

cabriofahrer

Well-Known Member
Ein paar Euro investieren und eine Nvidia-Karte holen, die den aktuellen Treiber nutzt (iirc gab es da mal ein Problem mit alten Karten)
Ich habe zwischendurch mal eine Geforce GTS 450 eingesetzt und nvidia-driver-390 installiert, aber genau das Gleiche. Daran lag es also nicht. Dann wieder die Geforce 210 eingesetzt und das System auf 13.0 gebracht und siehe da, das Problem ist weg. Ich sehe kein Grund, warum es mit 12.3 nicht hätte klappen sollen, mit 12.1 hatte es ja auch geklappt.
Meine Vermutung ist, dass ein Package falsch kompiliert war, sowas habe ich in der Vergangenheit immer wieder erlebt. Wenn man denn nur weiß, welches es ist, kann man es neu kompilieren und gut ist.
Trotzdem sehr ärgerlich, denn ein falsch kompiliertes Paket sollte eigentlich nicht vorkommen. Ich hoffe nur, jetzt kommt keiner und sagt, dass das mit Linux/Debian nicht hätte passieren können...^^.
 
Oben