X Server with loaded nvidia driver spams log files

Hey there dear developers. I’m facing a problem around X with nvidia drivers loaded. 3600s after starting the X server some nvidia component is spamming the /var/log/Xorg.0.log file with a huge amount of similar messages at a high rate. This leads to sometimes 7GB sized Xorg.0.log files and fills the file system.

$ cat /var/log/Xorg.0.log
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[129705.406] Build Operating System: Linux 4.4.0-184-generic x86_64 Ubuntu
[129705.406] Current Operating System: Linux ids-geo 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64
[129705.406] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=6dfa9fb5-2338-45c1-bf6d-f140292e4f20 ro quiet splash vt.handoff=1
[129705.406] Build Date: 03 July 2020  07:00:25AM
[129705.406] xorg-server-hwe-18.04 2:1.20.8-2ubuntu2.2~18.04.1 (For technical support please see http://www.ubuntu.com/support) 
[129705.406] Current version of pixman: 0.34.0
[129705.406]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[129705.406] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[129705.406] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 17 13:05:34 2020
[129705.406] (==) Using config file: "/etc/X11/xorg.conf"
[129705.407] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[129705.407] (==) No Layout section.  Using the first Screen section.
[129705.407] (==) No screen section available. Using defaults.
[129705.407] (**) |-->Screen "Default Screen Section" (0)
[129705.407] (**) |   |-->Monitor "<default monitor>"
[129705.407] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[129705.407] (**) |   |-->Device "Device0"
[129705.407] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[129705.407] (==) Automatically adding devices
[129705.407] (==) Automatically enabling devices
[129705.407] (==) Automatically adding GPU devices
[129705.407] (==) Automatically binding GPU devices
[129705.407] (==) Max clients allowed: 256, resource mask: 0x1fffff
[129705.407] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[129705.407]    Entry deleted from font path.
[129705.407] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[129705.407]    Entry deleted from font path.
[129705.407] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[129705.407]    Entry deleted from font path.
[129705.407] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[129705.407]    Entry deleted from font path.
[129705.407] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[129705.407]    Entry deleted from font path.
[129705.407] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[129705.407] (==) ModulePath set to "/usr/lib/xorg/modules"
[129705.407] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[129705.407] (II) Loader magic: 0x5556af286020
[129705.407] (II) Module ABI versions:
[129705.407]    X.Org ANSI C Emulation: 0.4
[129705.407]    X.Org Video Driver: 24.1
[129705.407]    X.Org XInput driver : 24.1
[129705.407]    X.Org Server Extension : 10.0
[129705.408] (++) using VT number 7

[129705.408] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[129705.408] (II) xfree86: Adding drm device (/dev/dri/card0)
[129705.412] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[129705.415] (--) PCI:*(1@0:0:0) 10de:13c2:3842:2974 rev 161, Mem @ 0xfa000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[129705.415] (II) LoadModule: "glx"
[129705.415] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[129705.416] (II) Module glx: vendor="X.Org Foundation"
[129705.416]    compiled for 1.20.8, module version = 1.0.0
[129705.416]    ABI class: X.Org Server Extension, version 10.0
[129705.416] (II) LoadModule: "nvidia"
[129705.416] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so                                                                                                     
[129705.416] (II) Module nvidia: vendor="NVIDIA Corporation"                                                                                                                      
[129705.416]    compiled for 1.6.99.901, module version = 1.0.0
[129705.416]    Module class: X.Org Video Driver
[129705.416] (II) NVIDIA dlloader X Driver  450.51.05  Sun Jun 28 10:19:24 UTC 2020
[129705.416] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[129705.416] (II) Loading sub module "fb"
[129705.416] (II) LoadModule: "fb"
[129705.416] (II) Loading /usr/lib/xorg/modules/libfb.so
[129705.416] (II) Module fb: vendor="X.Org Foundation"
[129705.416]    compiled for 1.20.8, module version = 1.0.0
[129705.416]    ABI class: X.Org ANSI C Emulation, version 0.4
[129705.416] (II) Loading sub module "wfb"
[129705.416] (II) LoadModule: "wfb"
[129705.416] (II) Loading /usr/lib/xorg/modules/libwfb.so
[129705.416] (II) Module wfb: vendor="X.Org Foundation"
[129705.416]    compiled for 1.20.8, module version = 1.0.0
[129705.416]    ABI class: X.Org ANSI C Emulation, version 0.4
[129705.416] (II) Loading sub module "ramdac"
[129705.417] (II) LoadModule: "ramdac"
[129705.417] (II) Module "ramdac" already built-in
[129705.417] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[129705.417] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[129705.417] (==) NVIDIA(0): RGB weight 888
[129705.417] (==) NVIDIA(0): Default visual is TrueColor
[129705.417] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[129705.417] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[129705.417] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[129705.417] (**) NVIDIA(0): Enabling 2D acceleration
[129705.417] (II) Loading sub module "glxserver_nvidia"
[129705.417] (II) LoadModule: "glxserver_nvidia"
[129705.417] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
[129705.423] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[129705.423]    compiled for 1.6.99.901, module version = 1.0.0
[129705.423]    Module class: X.Org Server Extension
[129705.423] (II) NVIDIA GLX Module  450.51.05  Sun Jun 28 10:16:40 UTC 2020
[129705.423] (II) NVIDIA: The X server supports PRIME Render Offload.
[129705.470] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[129705.470] (--) NVIDIA(0):     CRT-0
[129705.470] (--) NVIDIA(0):     DFP-0 (boot)
[129705.470] (--) NVIDIA(0):     DFP-1
[129705.470] (--) NVIDIA(0):     DFP-2
[129705.470] (--) NVIDIA(0):     DFP-3
[129705.470] (--) NVIDIA(0):     DFP-4 (boot)
[129705.470] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 970 (GM204-A) at PCI:1:0:0 (GPU-0)
[129705.470] (--) NVIDIA(0): Memory: 4194304 kBytes
[129705.470] (--) NVIDIA(0): VideoBIOS: 84.04.84.00.71
[129705.470] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[129705.487] (--) NVIDIA(GPU-0): CRT-0: disconnected
[129705.487] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[129705.487] (--) NVIDIA(GPU-0): 
[129705.520] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): connected
[129705.520] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): Internal TMDS
[129705.520] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[129705.520] (--) NVIDIA(GPU-0): 
[129705.520] (--) NVIDIA(GPU-0): DFP-1: disconnected
[129705.520] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[129705.520] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[129705.520] (--) NVIDIA(GPU-0): 
[129705.520] (--) NVIDIA(GPU-0): DFP-2: disconnected
[129705.520] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[129705.520] (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
[129705.520] (--) NVIDIA(GPU-0): 
[129705.520] (--) NVIDIA(GPU-0): DFP-3: disconnected
[129705.520] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[129705.520] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[129705.520] (--) NVIDIA(GPU-0): 
[129705.551] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): connected
[129705.551] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): Internal TMDS
[129705.551] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): 330.0 MHz maximum pixel clock
[129705.551] (--) NVIDIA(GPU-0): 
[129705.557] (==) NVIDIA(0): 
[129705.557] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[129705.557] (==) NVIDIA(0):     will be used as the requested mode.
[129705.557] (==) NVIDIA(0): 
[129705.558] (II) NVIDIA(0): Validated MetaModes:
[129705.558] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select,DFP-4:nvidia-auto-select"
[129705.558] (II) NVIDIA(0): Virtual screen size determined to be 3520 x 1200
[129705.563] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X config
[129705.563] (--) NVIDIA(0):     option
[129705.563] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[129705.563] (II) NVIDIA:     access.
[129705.588] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select,DFP-4:nvidia-auto-select"
[129705.644] (==) NVIDIA(0): Disabling shared memory pixmaps
[129705.644] (==) NVIDIA(0): Backing store enabled
[129705.644] (==) NVIDIA(0): Silken mouse enabled
[129705.644] (==) NVIDIA(0): DPMS enabled
[129705.644] (II) Loading sub module "dri2"
[129705.644] (II) LoadModule: "dri2"
[129705.644] (II) Module "dri2" already built-in
[129705.644] (II) NVIDIA(0): [DRI2] Setup complete
[129705.644] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[129705.644] (II) Initializing extension Generic Event Extension
[129705.644] (II) Initializing extension SHAPE
[129705.645] (II) Initializing extension MIT-SHM
[129705.645] (II) Initializing extension XInputExtension
[129705.645] (II) Initializing extension XTEST
[129705.645] (II) Initializing extension BIG-REQUESTS
[129705.645] (II) Initializing extension SYNC
[129705.645] (II) Initializing extension XKEYBOARD
[129705.645] (II) Initializing extension XC-MISC
[129705.645] (II) Initializing extension SECURITY
[129705.645] (II) Initializing extension XFIXES
[129705.645] (II) Initializing extension RENDER
[129705.645] (II) Initializing extension RANDR
[129705.645] (II) Initializing extension COMPOSITE
[129705.646] (II) Initializing extension DAMAGE
[129705.646] (II) Initializing extension MIT-SCREEN-SAVER
[129705.646] (II) Initializing extension DOUBLE-BUFFER
[129705.646] (II) Initializing extension RECORD
[129705.646] (II) Initializing extension DPMS
[129705.646] (II) Initializing extension Present
[129705.646] (II) Initializing extension DRI3
[129705.646] (II) Initializing extension X-Resource
[129705.646] (II) Initializing extension XVideo
[129705.646] (II) Initializing extension XVideo-MotionCompensation
[129705.646] (II) Initializing extension SELinux
[129705.646] (II) SELinux: Disabled on system
[129705.646] (II) Initializing extension GLX
[129705.646] (II) Initializing extension GLX
[129705.646] (II) Indirect GLX disabled.
[129705.646] (II) GLX: Another vendor is already registered for screen 0
[129705.646] (II) Initializing extension XFree86-VidModeExtension
[129705.646] (II) Initializing extension XFree86-DGA
[129705.646] (II) Initializing extension XFree86-DRI
[129705.646] (II) Initializing extension DRI2
[129705.646] (II) Initializing extension NV-GLX
[129705.647] (II) Initializing extension NV-CONTROL
[129705.647] (II) Initializing extension XINERAMA
[129705.689] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[129705.689] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[129705.689] (II) LoadModule: "libinput"
[129705.689] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[129705.690] (II) Module libinput: vendor="X.Org Foundation"
[129705.690]    compiled for 1.20.1, module version = 0.28.1
[129705.690]    Module class: X.Org XInput Driver
[129705.690]    ABI class: X.Org XInput driver, version 24.1
[129705.690] (II) Using input driver 'libinput' for 'Power Button'
[129705.690] (**) Power Button: always reports core events
[129705.690] (**) Option "Device" "/dev/input/event1"
[129705.690] (**) Option "_source" "server/udev"
[129705.690] (II) event1  - Power Button: is tagged by udev as: Keyboard
[129705.690] (II) event1  - Power Button: device is a keyboard
[129705.690] (II) event1  - Power Button: device removed
[129705.714] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[129705.714] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[129705.714] (**) Option "xkb_model" "pc105"
[129705.714] (**) Option "xkb_layout" "de"
[129705.736] (II) event1  - Power Button: is tagged by udev as: Keyboard
[129705.736] (II) event1  - Power Button: device is a keyboard
[129705.737] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[129705.737] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[129705.737] (II) Using input driver 'libinput' for 'Power Button'
[129705.737] (**) Power Button: always reports core events
[129705.737] (**) Option "Device" "/dev/input/event0"
[129705.737] (**) Option "_source" "server/udev"
[129705.737] (II) event0  - Power Button: is tagged by udev as: Keyboard
[129705.737] (II) event0  - Power Button: device is a keyboard
[129705.737] (II) event0  - Power Button: device removed
[129705.766] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[129705.766] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[129705.766] (**) Option "xkb_model" "pc105"
[129705.766] (**) Option "xkb_layout" "de"
[129705.766] (II) event0  - Power Button: is tagged by udev as: Keyboard
[129705.766] (II) event0  - Power Button: device is a keyboard
[129705.767] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[129705.767] (II) No input driver specified, ignoring this device.
[129705.767] (II) This device may have been added with another device file.
[129705.768] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[129705.768] (II) No input driver specified, ignoring this device.
[129705.768] (II) This device may have been added with another device file.
[129705.768] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[129705.768] (II) No input driver specified, ignoring this device.
[129705.768] (II) This device may have been added with another device file.
[129705.769] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event17)
[129705.769] (II) No input driver specified, ignoring this device.
[129705.769] (II) This device may have been added with another device file.
[129705.770] (II) config/udev: Adding input device Cherry USB keyboard (/dev/input/event2)
[129705.770] (**) Cherry USB keyboard: Applying InputClass "libinput keyboard catchall"
[129705.770] (II) Using input driver 'libinput' for 'Cherry USB keyboard'
[129705.770] (**) Cherry USB keyboard: always reports core events
[129705.770] (**) Option "Device" "/dev/input/event2"
[129705.770] (**) Option "_source" "server/udev"
[129705.771] (II) event2  - Cherry USB keyboard: is tagged by udev as: Keyboard
[129705.771] (II) event2  - Cherry USB keyboard: device is a keyboard
[129705.771] (II) event2  - Cherry USB keyboard: device removed
[129705.802] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.0/0003:046A:B090.0001/input/input2/event2"
[129705.802] (II) XINPUT: Adding extended input device "Cherry USB keyboard" (type: KEYBOARD, id 8)
[129705.802] (**) Option "xkb_model" "pc105"
[129705.802] (**) Option "xkb_layout" "de"
[129705.803] (II) event2  - Cherry USB keyboard: is tagged by udev as: Keyboard
[129705.803] (II) event2  - Cherry USB keyboard: device is a keyboard
[129705.804] (II) config/udev: Adding input device Cherry USB keyboard System Control (/dev/input/event3)
[129705.804] (**) Cherry USB keyboard System Control: Applying InputClass "libinput keyboard catchall"
[129705.804] (II) Using input driver 'libinput' for 'Cherry USB keyboard System Control'
[129705.804] (**) Cherry USB keyboard System Control: always reports core events
[129705.804] (**) Option "Device" "/dev/input/event3"
[129705.804] (**) Option "_source" "server/udev"
[129705.805] (II) event3  - Cherry USB keyboard System Control: is tagged by udev as: Keyboard
[129705.805] (II) event3  - Cherry USB keyboard System Control: device is a keyboard
[129705.805] (II) event3  - Cherry USB keyboard System Control: device removed
[129705.830] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.1/0003:046A:B090.0002/input/input3/event3"
[129705.830] (II) XINPUT: Adding extended input device "Cherry USB keyboard System Control" (type: KEYBOARD, id 9)
[129705.830] (**) Option "xkb_model" "pc105"
[129705.830] (**) Option "xkb_layout" "de"
[129705.831] (II) event3  - Cherry USB keyboard System Control: is tagged by udev as: Keyboard
[129705.831] (II) event3  - Cherry USB keyboard System Control: device is a keyboard
[129705.832] (II) config/udev: Adding input device Cherry USB keyboard Consumer Control (/dev/input/event4)
[129705.832] (**) Cherry USB keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[129705.832] (II) Using input driver 'libinput' for 'Cherry USB keyboard Consumer Control'
[129705.832] (**) Cherry USB keyboard Consumer Control: always reports core events
[129705.832] (**) Option "Device" "/dev/input/event4"
[129705.832] (**) Option "_source" "server/udev"
[129705.833] (II) event4  - Cherry USB keyboard Consumer Control: is tagged by udev as: Keyboard
[129705.833] (II) event4  - Cherry USB keyboard Consumer Control: device is a keyboard
[129705.833] (II) event4  - Cherry USB keyboard Consumer Control: device removed
[129705.862] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.1/0003:046A:B090.0002/input/input4/event4"
[129705.862] (II) XINPUT: Adding extended input device "Cherry USB keyboard Consumer Control" (type: KEYBOARD, id 10)
[129705.862] (**) Option "xkb_model" "pc105"
[129705.862] (**) Option "xkb_layout" "de"
[129705.863] (II) event4  - Cherry USB keyboard Consumer Control: is tagged by udev as: Keyboard
[129705.863] (II) event4  - Cherry USB keyboard Consumer Control: device is a keyboard
[129705.864] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event5)
[129705.864] (**) Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[129705.864] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[129705.864] (**) Logitech USB Optical Mouse: always reports core events
[129705.864] (**) Option "Device" "/dev/input/event5"
[129705.864] (**) Option "_source" "server/udev"
[129705.865] (II) event5  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[129705.865] (II) event5  - Logitech USB Optical Mouse: device is a pointer
[129705.865] (II) event5  - Logitech USB Optical Mouse: device removed
[129705.926] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.0/0003:046D:C077.0003/input/input5/event5"
[129705.926] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 11)
[129705.926] (**) Option "AccelerationScheme" "none"
[129705.926] (**) Logitech USB Optical Mouse: (accel) selected scheme none/0
[129705.926] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[129705.926] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[129705.927] (II) event5  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[129705.927] (II) event5  - Logitech USB Optical Mouse: device is a pointer
[129705.928] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[129705.928] (II) No input driver specified, ignoring this device.
[129705.928] (II) This device may have been added with another device file.
[129705.929] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event10)
[129705.929] (II) No input driver specified, ignoring this device.
[129705.929] (II) This device may have been added with another device file.
[129705.929] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event11)
[129705.929] (II) No input driver specified, ignoring this device.
[129705.929] (II) This device may have been added with another device file.
[129705.930] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event12)
[129705.930] (II) No input driver specified, ignoring this device.
[129705.930] (II) This device may have been added with another device file.
[129705.931] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event13)
[129705.931] (II) No input driver specified, ignoring this device.
[129705.931] (II) This device may have been added with another device file.
[129705.931] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event7)
[129705.931] (II) No input driver specified, ignoring this device.
[129705.931] (II) This device may have been added with another device file.                                                                                                       
[129705.932] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event8)                                                                                     
[129705.932] (II) No input driver specified, ignoring this device.
[129705.932] (II) This device may have been added with another device file.
[129705.932] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event9)
[129705.932] (II) No input driver specified, ignoring this device.
[129705.932] (II) This device may have been added with another device file.
[129705.933] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event6)
[129705.933] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[129705.933] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
[129705.933] (**) Eee PC WMI hotkeys: always reports core events
[129705.933] (**) Option "Device" "/dev/input/event6"
[129705.933] (**) Option "_source" "server/udev"
[129705.934] (II) event6  - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[129705.934] (II) event6  - Eee PC WMI hotkeys: device is a keyboard
[129705.934] (II) event6  - Eee PC WMI hotkeys: device removed
[129705.958] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input6/event6"
[129705.958] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 12)
[129705.958] (**) Option "xkb_model" "pc105"
[129705.958] (**) Option "xkb_layout" "de"
[129705.958] (II) event6  - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[129705.958] (II) event6  - Eee PC WMI hotkeys: device is a keyboard
[132744.203] (--) NVIDIA(GPU-0): CRT-0: disconnected
[132744.203] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[132744.203] (--) NVIDIA(GPU-0): 
[132744.235] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): connected
[132744.235] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): Internal TMDS
[132744.235] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[132744.235] (--) NVIDIA(GPU-0): 
[132744.235] (--) NVIDIA(GPU-0): DFP-1: disconnected
[132744.235] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[132744.235] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[132744.235] (--) NVIDIA(GPU-0): 
[132744.235] (--) NVIDIA(GPU-0): DFP-2: disconnected
[132744.235] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[132744.235] (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
[132744.235] (--) NVIDIA(GPU-0): 
[132744.235] (--) NVIDIA(GPU-0): DFP-3: disconnected
[132744.235] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[132744.235] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[132744.235] (--) NVIDIA(GPU-0): 
[132744.266] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): connected
[132744.266] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): Internal TMDS
[132744.266] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): 330.0 MHz maximum pixel clock
[132744.266] (--) NVIDIA(GPU-0): 
[132744.283] (--) NVIDIA(GPU-0): CRT-0: disconnected
[132744.283] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[132744.283] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): connected
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-1: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-2: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[132744.316] (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-3: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): connected
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): Internal TMDS
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): 330.0 MHz maximum pixel clock
[132744.347] (--) NVIDIA(GPU-0): 
[132744.368] (--) NVIDIA(GPU-0): CRT-0: disconnected
[132744.368] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
...

The last lines

[132744.283] (--) NVIDIA(GPU-0): CRT-0: disconnected
[132744.283] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[132744.283] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): connected
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-1: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-2: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[132744.316] (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.316] (--) NVIDIA(GPU-0): DFP-3: disconnected
[132744.316] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[132744.316] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[132744.316] (--) NVIDIA(GPU-0): 
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): connected
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): Internal TMDS
[132744.347] (--) NVIDIA(GPU-0): Samsung S24C650 (DFP-4): 330.0 MHz maximum pixel clock
[132744.347] (--) NVIDIA(GPU-0): 

are repeated a million times. Here some additional infos about the system and nvidia driver

$ modinfo nvidia                                                                                                                                                 
filename:       /lib/modules/5.4.0-42-generic/updates/dkms/nvidia.ko                                                                                                              
alias:          char-major-195-*                                                                                                                                                  
version:        450.51.05
supported:      external
license:        NVIDIA
srcversion:     EAC48A690FFFFCEEFF53536
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        
retpoline:      Y
name:           nvidia
vermagic:       5.4.0-42-generic SMP mod_unload 
signat:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           nv_cap_enable_devfs:nv_cap_enable_devfs=0 or 1 (int)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_MapRegistersEarly:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_EnableBacklightHandler:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_AssignGpus:charp

$ uname -r                                                                                                                                                       
5.4.0-42-generic                                                                                                                                                                  

$ lsb_release -a                                                                                                                                                 
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic

Please tell me what else you may need to identify the source of the problem.

The driver logs those messages when it re-probes the connected display devices. If this happens with high frequency, then it’s either because a display device is triggering rapid hot-plug/unplug events, or because some X client is triggering a re-probe frequently. This sometimes happens with third-party “system monitor”-type applications that query the NV-CONTROL or XRandR extensions frequently. If you’re running an application like that, please try disabling it to see if these messages go away.

Thanks for your quick reply. I’m going to disable one application after another that may match your description. Due to the delay of 3600s it takes some time until I might get lucky but I’m reporting back.

That delay sounds like a screensaver timeout. You could try running something like sleep 10; xset dpms force off to trigger the screensaver immediately to see if that causes the messages to start being logged.

You might also want to check your monitor to see if it has some sort of deep sleep option in is onscreen menu. If it does, please try disabling it to see if that helps.

I already tried disabling everything around screensavers with

xset -display :0 -dpms
xset -display :0 s off

without stopping the spam. The display device had no deep sleep option the first time I’ve searched for it but I’m going through it again.

I think I got a big piece of the puzzle. There are two scripts calling

xrandr --display :0

three times every hour. However I stopped the application around these scripts and the spamming goes away. Digging deeper I executed xrandr alone in the terminal and this caused a re-probe of the connected display devices but only once.

All in all the spamming is still a little bit confusing because the scripts execute only once every hour and should cause only 3 re-probes.

Thanks for your great help so far. However some questions came to my mind. Is it intended behaviour to re-probe the display devices on xrandr execution and why? Can it be switched off?

EDIT: Can the logging of the re-probes be switched off?

If I remember correctly, xrandr --current will skip the forced re-probe.

Nice.

It is definitely a problem with the application which invokes xrandr after 3600s a million times and not a nvidia driver problem. This issue is solved from my perspective.