Hi,
this is related to my other topic here: ACPI: no desktop after sleep with nvidia driver installed?
The following comment appears in /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
Is that the case? Can I force the nvidia module to load first?
With the desktop visible:Startup in /var/log/Xorg.0.log:
this is related to my other topic here: ACPI: no desktop after sleep with nvidia driver installed?
The following comment appears in /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
How can I check or ensure this. In the Xorg log (see below) it looks like the nouveau module might be loaded when X starts ([ 2624.681]..[ 2624.754]).# This xorg.conf.d configuration snippet configures the X server to
# automatically load the nvidia X driver when it detects a device driven by the
# nvidia-drm.ko kernel module. Please note that this only works on Linux kernels
# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
# kernel module is loaded before the X server is started.
Is that the case? Can I force the nvidia module to load first?
With the desktop visible:
Code:
$ lsmod | grep -iE 'nvidia|nouveau'nvidia_uvm 4661248 0nvidia_drm 102400 5drm_kms_helper 208896 1 nvidia_drmnvidia_modeset 1347584 8 nvidia_drmnvidia 54059008 100 nvidia_uvm,nvidia_modesetdrm 614400 9 drm_kms_helper,nvidia,nvidia_drmvideo 65536 1 nvidia_modeset
Code:
[ 2624.382] X.Org X Server 1.21.1.7X Protocol Version 11, Revision 0[ 2624.382] Current Operating System: Linux host 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64[ 2624.382] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-20-amd64 root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ro quiet[ 2624.382] xorg-server 2:21.1.7-3+deb12u7 (https://www.debian.org/support) [ 2624.382] Current version of pixman: 0.42.2[ 2624.382] Before reporting problems, check http://wiki.x.orgto make sure that you have the latest version.[ 2624.382] Markers: (--) probed, (**) from config file, (==) default setting,(++) from command line, (!!) notice, (II) informational,(WW) warning, (EE) error, (NI) not implemented, (??) unknown.[ 2624.382] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 19 18:41:07 2024[ 2624.382] (==) Using system config directory "/usr/share/X11/xorg.conf.d"[ 2624.382] (==) No Layout section. Using the first Screen section.[ 2624.382] (==) No screen section available. Using defaults.[ 2624.382] (**) |-->Screen "Default Screen Section" (0)[ 2624.382] (**) | |-->Monitor "<default monitor>"[ 2624.383] (==) No monitor specified for screen "Default Screen Section".Using a default monitor configuration.[ 2624.383] (==) Automatically adding devices[ 2624.383] (==) Automatically enabling devices[ 2624.383] (==) Automatically adding GPU devices[ 2624.383] (==) Automatically binding GPU devices[ 2624.383] (==) Max clients allowed: 256, resource mask: 0x1fffff[ 2624.383] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.[ 2624.383] Entry deleted from font path.[ 2624.383] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.[ 2624.383] Entry deleted from font path.[ 2624.383] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.[ 2624.383] Entry deleted from font path.[ 2624.383] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.[ 2624.383] Entry deleted from font path.[ 2624.383] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.[ 2624.383] Entry deleted from font path.[ 2624.383] (==) FontPath set to:/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins[ 2624.383] (==) ModulePath set to "/usr/lib/xorg/modules"[ 2624.383] (II) The server relies on udev to provide the list of input devices.If no devices become available, reconfigure udev or disable AutoAddDevices.[ 2624.383] (II) Loader magic: 0x55f41798ef00[ 2624.383] (II) Module ABI versions:[ 2624.383] X.Org ANSI C Emulation: 0.4[ 2624.383] X.Org Video Driver: 25.2[ 2624.383] X.Org XInput driver : 24.4[ 2624.383] X.Org Server Extension : 10.0[ 2624.383] (++) using VT number 7[ 2624.383] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration[ 2624.383] (II) xfree86: Adding drm device (/dev/dri/card0)[ 2624.383] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0[ 2624.385] (--) PCI:*(1@0:0:0) 10de:13ba:10de:1097 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072[ 2624.385] (II) LoadModule: "glx"[ 2624.385] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so[ 2624.385] (II) Module glx: vendor="X.Org Foundation"[ 2624.385] compiled for 1.21.1.7, module version = 1.0.0[ 2624.385] ABI class: X.Org Server Extension, version 10.0[ 2624.385] (II) Applying OutputClass "nvidia" to /dev/dri/card0[ 2624.385] loading driver: nvidia[ 2624.608] (==) Matched nvidia as autoconfigured driver 0[ 2624.608] (==) Matched nouveau as autoconfigured driver 1[ 2624.608] (==) Matched nv as autoconfigured driver 2[ 2624.608] (==) Matched modesetting as autoconfigured driver 3[ 2624.608] (==) Matched fbdev as autoconfigured driver 4[ 2624.608] (==) Matched vesa as autoconfigured driver 5[ 2624.608] (==) Assigned the driver to the xf86ConfigLayout[ 2624.608] (II) LoadModule: "nvidia"[ 2624.608] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so[ 2624.608] (II) Module nvidia: vendor="NVIDIA Corporation"[ 2624.608] compiled for 1.6.99.901, module version = 1.0.0[ 2624.608] Module class: X.Org Video Driver[ 2624.608] (II) LoadModule: "nouveau"[ 2624.608] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so[ 2624.608] (II) Module nouveau: vendor="X.Org Foundation"[ 2624.608] compiled for 1.21.1.3, module version = 1.0.17[ 2624.608] Module class: X.Org Video Driver[ 2624.608] ABI class: X.Org Video Driver, version 25.2[ 2624.608] (II) LoadModule: "nv"[ 2624.608] (WW) Warning, couldn't open module nv[ 2624.608] (EE) Failed to load module "nv" (module does not exist, 0)[ 2624.608] (II) LoadModule: "modesetting"[ 2624.608] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so[ 2624.608] (II) Module modesetting: vendor="X.Org Foundation"[ 2624.608] compiled for 1.21.1.7, module version = 1.21.1[ 2624.608] Module class: X.Org Video Driver[ 2624.608] ABI class: X.Org Video Driver, version 25.2[ 2624.608] (II) LoadModule: "fbdev"[ 2624.609] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so[ 2624.609] (II) Module fbdev: vendor="X.Org Foundation"[ 2624.609] compiled for 1.21.1.3, module version = 0.5.0[ 2624.609] Module class: X.Org Video Driver[ 2624.609] ABI class: X.Org Video Driver, version 25.2[ 2624.609] (II) LoadModule: "vesa"[ 2624.609] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so[ 2624.609] (II) Module vesa: vendor="X.Org Foundation"[ 2624.609] compiled for 1.21.1.3, module version = 2.5.0[ 2624.609] Module class: X.Org Video Driver[ 2624.609] ABI class: X.Org Video Driver, version 25.2[ 2624.609] (II) NVIDIA dlloader X Driver 550.54.15 Tue Mar 5 22:03:48 UTC 2024[ 2624.609] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs[ 2624.609] (II) NOUVEAU driver Date: Sat Jan 23 12:24:42 2021 -0500[ 2624.609] (II) NOUVEAU driver for NVIDIA chipset families :[ 2624.609] RIVA TNT (NV04)[ 2624.609] RIVA TNT2 (NV05)[ 2624.609] GeForce 256 (NV10)[ 2624.609] GeForce 2 (NV11, NV15)[ 2624.609] GeForce 4MX (NV17, NV18)[ 2624.609] GeForce 3 (NV20)[ 2624.609] GeForce 4Ti (NV25, NV28)[ 2624.609] GeForce FX (NV3x)[ 2624.609] GeForce 6 (NV4x)[ 2624.609] GeForce 7 (G7x)[ 2624.609] GeForce 8 (G8x)[ 2624.609] GeForce 9 (G9x)[ 2624.609] GeForce GTX 2xx/3xx (GT2xx)[ 2624.609] GeForce GTX 4xx/5xx (GFxxx)[ 2624.609] GeForce GTX 6xx/7xx (GKxxx)[ 2624.609] GeForce GTX 9xx (GMxxx)[ 2624.609] GeForce GTX 10xx (GPxxx)[ 2624.609] (II) modesetting: Driver for Modesetting Kernel Drivers: kms[ 2624.609] (II) FBDEV: driver for framebuffer: fbdev[ 2624.609] (II) VESA: driver for VESA chipsets: vesa[ 2624.615] (II) Loading sub module "fb"[ 2624.615] (II) LoadModule: "fb"[ 2624.615] (II) Module "fb" already built-in[ 2624.615] (II) Loading sub module "wfb"[ 2624.615] (II) LoadModule: "wfb"[ 2624.615] (II) Loading /usr/lib/xorg/modules/libwfb.so[ 2624.615] (II) Module wfb: vendor="X.Org Foundation"[ 2624.615] compiled for 1.21.1.7, module version = 1.0.0[ 2624.615] ABI class: X.Org ANSI C Emulation, version 0.4[ 2624.616] (WW) Falling back to old probe method for modesetting[ 2624.616] (WW) Falling back to old probe method for fbdev[ 2624.616] (II) Loading sub module "fbdevhw"[ 2624.616] (II) LoadModule: "fbdevhw"[ 2624.616] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so[ 2624.616] (II) Module fbdevhw: vendor="X.Org Foundation"[ 2624.616] compiled for 1.21.1.7, module version = 0.0.2[ 2624.616] ABI class: X.Org Video Driver, version 25.2[ 2624.616] (EE) open /dev/fb0: No such file or directory[ 2624.616] (II) NVIDIA(0): Creating default Display subsection in Screen section"Default Screen Section" for depth/fbbpp 24/32[ 2624.616] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32[ 2624.616] (==) NVIDIA(0): RGB weight 888[ 2624.616] (==) NVIDIA(0): Default visual is TrueColor[ 2624.616] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)[ 2624.616] (**) NVIDIA(0): Enabling 2D acceleration[ 2624.616] (II) Loading sub module "glxserver_nvidia"[ 2624.616] (II) LoadModule: "glxserver_nvidia"[ 2624.616] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so[ 2624.624] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"[ 2624.624] compiled for 1.6.99.901, module version = 1.0.0[ 2624.624] Module class: X.Org Server Extension[ 2624.624] (II) NVIDIA GLX Module 550.54.15 Tue Mar 5 22:04:43 UTC 2024[ 2624.624] (II) NVIDIA: The X server supports PRIME Render Offload.[ 2624.624] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0[ 2624.624] (--) NVIDIA(0): CRT-0[ 2624.624] (--) NVIDIA(0): DFP-0[ 2624.624] (--) NVIDIA(0): DFP-1 (boot)[ 2624.624] (--) NVIDIA(0): DFP-2[ 2624.624] (--) NVIDIA(0): DFP-3[ 2624.624] (--) NVIDIA(0): DFP-4[ 2624.625] (II) NVIDIA(0): NVIDIA GPU Quadro K2200 (GM107GL-A) at PCI:1:0:0 (GPU-0)[ 2624.625] (--) NVIDIA(0): Memory: 4194304 kBytes[ 2624.625] (--) NVIDIA(0): VideoBIOS: 82.07.5a.00.0a[ 2624.625] (II) NVIDIA(0): Detected PCI Express Link width: 16X[ 2624.629] (--) NVIDIA(GPU-0): CRT-0: disconnected[ 2624.629] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock[ 2624.629] (--) NVIDIA(GPU-0): [ 2624.633] (--) NVIDIA(GPU-0): DFP-0: disconnected[ 2624.633] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS[ 2624.633] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock[ 2624.633] (--) NVIDIA(GPU-0): [ 2624.678] (--) NVIDIA(GPU-0): AOC 2450W (DFP-1): connected[ 2624.678] (--) NVIDIA(GPU-0): AOC 2450W (DFP-1): Internal TMDS[ 2624.678] (--) NVIDIA(GPU-0): AOC 2450W (DFP-1): 165.0 MHz maximum pixel clock[ 2624.678] (--) NVIDIA(GPU-0): [ 2624.678] (--) NVIDIA(GPU-0): DFP-2: disconnected[ 2624.678] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS[ 2624.678] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock[ 2624.678] (--) NVIDIA(GPU-0): [ 2624.678] (--) NVIDIA(GPU-0): DFP-3: disconnected[ 2624.678] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort[ 2624.678] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock[ 2624.678] (--) NVIDIA(GPU-0): [ 2624.678] (--) NVIDIA(GPU-0): DFP-4: disconnected[ 2624.678] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort[ 2624.678] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock[ 2624.678] (--) NVIDIA(GPU-0): [ 2624.681] (==) NVIDIA(0): [ 2624.681] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"[ 2624.681] (==) NVIDIA(0): will be used as the requested mode.[ 2624.681] (==) NVIDIA(0): [ 2624.681] (II) NVIDIA(0): Validated MetaModes:[ 2624.681] (II) NVIDIA(0): "DFP-1:nvidia-auto-select"[ 2624.681] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080[ 2624.686] (--) NVIDIA(0): DPI set to (93, 94); computed from "UseEdidDpi" X config[ 2624.686] (--) NVIDIA(0): option[ 2624.686] (II) UnloadModule: "nouveau"[ 2624.686] (II) Unloading nouveau[ 2624.686] (II) UnloadModule: "modesetting"[ 2624.686] (II) Unloading modesetting[ 2624.686] (II) UnloadModule: "fbdev"[ 2624.686] (II) Unloading fbdev[ 2624.686] (II) UnloadSubModule: "fbdevhw"[ 2624.686] (II) Unloading fbdevhw[ 2624.686] (II) UnloadModule: "vesa"[ 2624.686] (II) Unloading vesa[ 2624.686] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory[ 2624.686] (II) NVIDIA: access.[ 2624.689] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon[ 2624.689] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X[ 2624.689] (II) NVIDIA(0): configuration option may not be set correctly. When the[ 2624.689] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will[ 2624.689] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For[ 2624.689] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and[ 2624.689] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X[ 2624.689] (II) NVIDIA(0): Config Options in the README.[ 2624.708] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"[ 2624.754] (==) NVIDIA(0): Disabling shared memory pixmaps[ 2624.754] (==) NVIDIA(0): Backing store enabled[ 2624.754] (==) NVIDIA(0): Silken mouse enabled[ 2624.754] (==) NVIDIA(0): DPMS enabled[ 2624.754] (II) Loading sub module "dri2"[ 2624.754] (II) LoadModule: "dri2"[ 2624.754] (II) Module "dri2" already built-in[ 2624.754] (II) NVIDIA(0): [DRI2] Setup complete[ 2624.754] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia[ 2624.754] (II) Initializing extension Generic Event Extension[ 2624.754] (II) Initializing extension SHAPE[ 2624.754] (II) Initializing extension MIT-SHM[ 2624.754] (II) Initializing extension XInputExtension[ 2624.754] (II) Initializing extension XTEST[ 2624.755] (II) Initializing extension BIG-REQUESTS[ 2624.755] (II) Initializing extension SYNC[ 2624.755] (II) Initializing extension XKEYBOARD[ 2624.755] (II) Initializing extension XC-MISC[ 2624.755] (II) Initializing extension SECURITY[ 2624.755] (II) Initializing extension XFIXES[ 2624.755] (II) Initializing extension RENDER[ 2624.755] (II) Initializing extension RANDR[ 2624.755] (II) Initializing extension COMPOSITE[ 2624.755] (II) Initializing extension DAMAGE[ 2624.755] (II) Initializing extension MIT-SCREEN-SAVER[ 2624.756] (II) Initializing extension DOUBLE-BUFFER[ 2624.756] (II) Initializing extension RECORD[ 2624.756] (II) Initializing extension DPMS[ 2624.756] (II) Initializing extension Present[ 2624.756] (II) Initializing extension DRI3[ 2624.756] (II) Initializing extension X-Resource[ 2624.756] (II) Initializing extension XVideo[ 2624.756] (II) Initializing extension XVideo-MotionCompensation[ 2624.756] (II) Initializing extension SELinux[ 2624.756] (II) SELinux: Disabled on system[ 2624.756] (II) Initializing extension GLX[ 2624.756] (II) Initializing extension GLX[ 2624.756] (II) Indirect GLX disabled.[ 2624.756] (II) GLX: Another vendor is already registered for screen 0[ 2624.756] (II) Initializing extension XFree86-VidModeExtension[ 2624.756] (II) Initializing extension XFree86-DGA[ 2624.756] (II) Initializing extension XFree86-DRI[ 2624.756] (II) Initializing extension DRI2[ 2624.756] (II) Initializing extension NV-GLX[ 2624.756] (II) Initializing extension NV-CONTROL[ 2624.756] (II) Initializing extension XINERAMA[ 2624.791] (II) config/udev: Adding input device Power Button (/dev/input/event2)[ 2624.791] (**) Power Button: Applying InputClass "libinput keyboard catchall"[ 2624.791] (II) LoadModule: "libinput"[ 2624.791] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so[ 2624.792] (II) Module libinput: vendor="X.Org Foundation"[ 2624.792] compiled for 1.21.1.3, module version = 1.2.1[ 2624.792] Module class: X.Org XInput Driver[ 2624.792] ABI class: X.Org XInput driver, version 24.4[ 2624.792] (II) Using input driver 'libinput' for 'Power Button'[ 2624.792] (**) Power Button: always reports core events[ 2624.792] (**) Option "Device" "/dev/input/event2"[ 2624.794] (II) event2 - Power Button: is tagged by udev as: Keyboard[ 2624.794] (II) event2 - Power Button: device is a keyboard[ 2624.794] (II) event2 - Power Button: device removed[ 2624.828] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"[ 2624.828] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)[ 2624.828] (**) Option "xkb_model" "pc105"[ 2624.828] (**) Option "xkb_layout" "us"[ 2624.829] (II) event2 - Power Button: is tagged by udev as: Keyboard[ 2624.829] (II) event2 - Power Button: device is a keyboard[ 2624.830] (II) config/udev: Adding input device Power Button (/dev/input/event0)[ 2624.830] (**) Power Button: Applying InputClass "libinput keyboard catchall"[ 2624.830] (II) Using input driver 'libinput' for 'Power Button'[ 2624.830] (**) Power Button: always reports core events[ 2624.830] (**) Option "Device" "/dev/input/event0"[ 2624.830] (II) event0 - Power Button: is tagged by udev as: Keyboard[ 2624.830] (II) event0 - Power Button: device is a keyboard[ 2624.830] (II) event0 - Power Button: device removed[ 2624.856] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"[ 2624.856] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)[ 2624.856] (**) Option "xkb_model" "pc105"[ 2624.856] (**) Option "xkb_layout" "us"[ 2624.856] (II) event0 - Power Button: is tagged by udev as: Keyboard[ 2624.856] (II) event0 - Power Button: device is a keyboard[ 2624.857] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)[ 2624.857] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"[ 2624.857] (II) Using input driver 'libinput' for 'Sleep Button'[ 2624.857] (**) Sleep Button: always reports core events[ 2624.857] (**) Option "Device" "/dev/input/event1"[ 2624.857] (II) event1 - Sleep Button: is tagged by udev as: Keyboard[ 2624.857] (II) event1 - Sleep Button: device is a keyboard[ 2624.857] (II) event1 - Sleep Button: device removed[ 2624.880] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"[ 2624.880] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)[ 2624.880] (**) Option "xkb_model" "pc105"[ 2624.880] (**) Option "xkb_layout" "us"[ 2624.880] (II) event1 - Sleep Button: is tagged by udev as: Keyboard[ 2624.880] (II) event1 - Sleep Button: device is a keyboard...
Statistics: Posted by bitrat — 2024-04-21 22:15 — Replies 0 — Views 19