Skip to main content
Topic: Long Display Freeze on "Reloading device manager configuration..." (Read 573 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Long Display Freeze on "Reloading device manager configuration..."

I'm encountering a complete display freeze (Xorg freezing up) every time I update my system with Pacman:
Code: [Select]
pacman -Syu
...
:: Running post-transaction hooks...
(1/4) Updating udev hardware database...
(2/4) Reloading device manager configuration...

At Reloading device manager configuration... the screen freezes for a few seconds, before returning to normal.

The root of the problem lies in /usr/share/libalpm/scripts/udev-hook, which is called every time the system updates. When Reloading device manager configuration.. is running, the following commands are executed:

Code: [Select]
/usr/bin/udevadm control --reload
/usr/bin/udevadm trigger -c change
/usr/bin/udevadm settle

The culprit appears to be udevadm trigger -c change, which upon running causes my entire screen to freeze, just like when running Pacman.

I believe this may have something to do with me running this on a LUKS encrypted drive, with Runit. Does anyone have any suggestions on how to avoid this every time I update?


Re: Long Display Freeze on "Reloading device manager configuration..."

Reply #2
Thank you for the reply! Here's what I get in /var/log/Xorg.0.log when I run udevadm trigger -c change:

Code: [Select]
[    65.132] (II) modeset(0): EDID vendor "CMN", prod id 5388
[    65.132] (II) modeset(0): DDCModeFromDetailedTiming: Ignoring tiny 839x0 mode
[    65.132] (II) modeset(0): Printing DDC gathered Modelines:
[    65.132] (II) modeset(0): Modeline "1920x1080"x0.0  138.78  1920 2000 2054 2080  1080 1086 1094 1112 -hsync -vsync (66.7 kHz eP)
[    68.749] (II) modeset(0): EDID vendor "CMN", prod id 5388
[    68.749] (II) modeset(0): DDCModeFromDetailedTiming: Ignoring tiny 839x0 mode
[    68.749] (II) modeset(0): Printing DDC gathered Modelines:
[    68.749] (II) modeset(0): Modeline "1920x1080"x0.0  138.78  1920 2000 2054 2080  1080 1086 1094 1112 -hsync -vsync (66.7 kHz eP)
[    70.538] (II) config/udev: Adding input device Logitech G305 (/dev/input/mouse0)
[    70.538] (II) No input driver specified, ignoring this device.
[    70.538] (II) This device may have been added with another device file.
[    70.539] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[    70.539] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    70.539] (II) config/udev: Adding input device TPPS/2 Elan TrackPoint (/dev/input/mouse2)
[    70.540] (II) No input driver specified, ignoring this device.
[    70.540] (II) This device may have been added with another device file.
[    70.540] (II) config/udev: removing device Power Button
[    70.540] (**) Option "fd" "48"
[    70.540] (II) event2  - Power Button: device removed
[    70.540] (II) UnloadModule: "libinput"
[    70.540] (II) systemd-logind: releasing fd for 13:66
[    70.570] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    70.570] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    70.570] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    70.570] (II) Using input driver 'libinput' for 'Power Button'
[    70.571] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 74 paused 0
[    70.571] (**) Power Button: always reports core events
[    70.571] (**) Option "Device" "/dev/input/event2"
[    70.573] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    70.573] (II) event2  - Power Button: device is a keyboard
[    70.573] (II) event2  - Power Button: device removed
[    70.573] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    70.573] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    70.575] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    70.575] (II) event2  - Power Button: device is a keyboard
[    70.581] (II) config/udev: removing device Video Bus
[    70.581] (**) Option "fd" "51"
[    70.581] (II) event6  - Video Bus: device removed
[    70.581] (II) UnloadModule: "libinput"
[    70.581] (II) systemd-logind: releasing fd for 13:70
[    70.620] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    70.620] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    70.620] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    70.620] (II) Using input driver 'libinput' for 'Video Bus'
[    70.621] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 51 paused 0
[    70.622] (**) Video Bus: always reports core events
[    70.622] (**) Option "Device" "/dev/input/event6"
[    70.623] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    70.623] (II) event6  - Video Bus: device is a keyboard
[    70.624] (II) event6  - Video Bus: device removed
[    70.624] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input17/event6"
[    70.624] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    70.626] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    70.626] (II) event6  - Video Bus: device is a keyboard
[    70.628] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    70.628] (II) No input driver specified, ignoring this device.
[    70.628] (II) This device may have been added with another device file.
[    70.631] (II) config/udev: removing device Video Bus
[    70.631] (**) Option "fd" "52"
[    70.631] (II) event5  - Video Bus: device removed
[    70.631] (II) UnloadModule: "libinput"
[    70.631] (II) systemd-logind: releasing fd for 13:69
[    70.681] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    70.681] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    70.681] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    70.681] (II) Using input driver 'libinput' for 'Video Bus'
[    70.682] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 52 paused 0
[    70.682] (**) Video Bus: always reports core events
[    70.682] (**) Option "Device" "/dev/input/event5"
[    70.684] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    70.684] (II) event5  - Video Bus: device is a keyboard
[    70.685] (II) event5  - Video Bus: device removed
[    70.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input16/event5"
[    70.685] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    70.687] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    70.687] (II) event5  - Video Bus: device is a keyboard
[    70.688] (II) config/udev: removing device Sleep Button
[    70.689] (**) Option "fd" "53"
[    70.689] (II) event0  - Sleep Button: device removed
[    70.689] (II) UnloadModule: "libinput"
[    70.689] (II) systemd-logind: releasing fd for 13:64
[    70.707] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[    70.707] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    70.707] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    70.707] (II) Using input driver 'libinput' for 'Sleep Button'
[    70.708] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 53 paused 0
[    70.708] (**) Sleep Button: always reports core events
[    70.708] (**) Option "Device" "/dev/input/event0"
[    70.710] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[    70.710] (II) event0  - Sleep Button: device is a keyboard
[    70.711] (II) event0  - Sleep Button: device removed
[    70.711] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[    70.711] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    70.712] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[    70.713] (II) event0  - Sleep Button: device is a keyboard
[    70.719] (II) config/udev: removing device TPPS/2 Elan TrackPoint
[    70.719] (**) Option "fd" "57"
[    70.719] (II) event19 - TPPS/2 Elan TrackPoint: device removed
[    70.719] (II) UnloadModule: "libinput"
[    70.719] (II) systemd-logind: releasing fd for 13:83
[    70.774] (II) config/udev: Adding input device TPPS/2 Elan TrackPoint (/dev/input/event19)
[    70.774] (**) TPPS/2 Elan TrackPoint: Applying InputClass "evdev pointer catchall"
[    70.774] (**) TPPS/2 Elan TrackPoint: Applying InputClass "libinput pointer catchall"
[    70.774] (II) Using input driver 'libinput' for 'TPPS/2 Elan TrackPoint'
[    70.775] (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 57 paused 0
[    70.775] (**) TPPS/2 Elan TrackPoint: always reports core events
[    70.775] (**) Option "Device" "/dev/input/event19"
[    70.777] (II) event19 - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
[    70.778] (II) event19 - TPPS/2 Elan TrackPoint: device is a pointer
[    70.780] (II) event19 - TPPS/2 Elan TrackPoint: device removed
[    70.780] (II) libinput: TPPS/2 Elan TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.780] (II) libinput: TPPS/2 Elan TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.780] (II) libinput: TPPS/2 Elan TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.780] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input27/event19"
[    70.780] (II) XINPUT: Adding extended input device "TPPS/2 Elan TrackPoint" (type: MOUSE, id 13)
[    70.780] (**) Option "AccelerationScheme" "none"
[    70.780] (**) TPPS/2 Elan TrackPoint: (accel) selected scheme none/0
[    70.780] (**) TPPS/2 Elan TrackPoint: (accel) acceleration factor: 2.000
[    70.780] (**) TPPS/2 Elan TrackPoint: (accel) acceleration threshold: 4
[    70.782] (II) event19 - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
[    70.783] (II) event19 - TPPS/2 Elan TrackPoint: device is a pointer
[    70.789] (II) config/udev: removing device AT Translated Set 2 keyboard
[    70.789] (**) Option "fd" "55"
[    70.789] (II) event3  - AT Translated Set 2 keyboard: device removed
[    70.789] (II) UnloadModule: "libinput"
[    70.789] (II) systemd-logind: releasing fd for 13:67
[    70.814] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    70.814] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    70.814] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    70.814] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    70.815] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 55 paused 0
[    70.815] (**) AT Translated Set 2 keyboard: always reports core events
[    70.815] (**) Option "Device" "/dev/input/event3"
[    70.816] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    70.817] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    70.818] (II) event3  - AT Translated Set 2 keyboard: device removed
[    70.818] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    70.818] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    70.820] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    70.820] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    70.822] (II) config/udev: removing device Logitech G305
[    70.822] (**) Option "fd" "54"
[    70.823] (II) UnloadModule: "libinput"
[    70.823] (II) systemd-logind: not releasing fd for 13:68, still in use
[    70.823] (II) config/udev: removing device Logitech G305
[    70.823] (**) Option "fd" "54"
[    70.823] (II) event4  - Logitech G305: device removed
[    70.823] (II) UnloadModule: "libinput"
[    70.823] (II) systemd-logind: releasing fd for 13:68
[    70.851] (II) config/udev: Adding input device Logitech G305 (/dev/input/event4)
[    70.851] (**) Logitech G305: Applying InputClass "evdev pointer catchall"
[    70.851] (**) Logitech G305: Applying InputClass "evdev keyboard catchall"
[    70.851] (**) Logitech G305: Applying InputClass "libinput pointer catchall"
[    70.851] (**) Logitech G305: Applying InputClass "libinput keyboard catchall"
[    70.851] (II) Using input driver 'libinput' for 'Logitech G305'
[    70.852] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 54 paused 0
[    70.852] (**) Logitech G305: always reports core events
[    70.852] (**) Option "Device" "/dev/input/event4"
[    70.855] (II) event4  - Logitech G305: is tagged by udev as: Keyboard Mouse
[    70.855] (II) event4  - Logitech G305: device is a pointer
[    70.855] (II) event4  - Logitech G305: device is a keyboard
[    70.856] (II) event4  - Logitech G305: device removed
[    70.856] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.856] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.856] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.856] (II) libinput: Logitech G305: needs a virtual subdevice
[    70.856] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C53F.0003/0003:046D:4074.0004/input/input15/event4"
[    70.856] (II) XINPUT: Adding extended input device "Logitech G305" (type: MOUSE, id 10)
[    70.857] (**) Option "AccelerationScheme" "none"
[    70.857] (**) Logitech G305: (accel) selected scheme none/0
[    70.857] (**) Logitech G305: (accel) acceleration factor: 2.000
[    70.857] (**) Logitech G305: (accel) acceleration threshold: 4
[    70.859] (II) event4  - Logitech G305: is tagged by udev as: Keyboard Mouse
[    70.860] (II) event4  - Logitech G305: device is a pointer
[    70.860] (II) event4  - Logitech G305: device is a keyboard
[    70.863] (**) Logitech G305: Applying InputClass "evdev pointer catchall"
[    70.863] (**) Logitech G305: Applying InputClass "evdev keyboard catchall"
[    70.863] (**) Logitech G305: Applying InputClass "libinput pointer catchall"
[    70.863] (**) Logitech G305: Applying InputClass "libinput keyboard catchall"
[    70.863] (II) Using input driver 'libinput' for 'Logitech G305'
[    70.863] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[    70.863] (**) Logitech G305: always reports core events
[    70.863] (**) Option "Device" "/dev/input/event4"
[    70.863] (II) libinput: Logitech G305: is a virtual subdevice
[    70.863] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.863] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.863] (II) libinput: Logitech G305: Step value 0 was provided, libinput Fallback acceleration function is used.
[    70.863] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C53F.0003/0003:046D:4074.0004/input/input15/event4"
[    70.863] (II) XINPUT: Adding extended input device "Logitech G305" (type: KEYBOARD, id 15)
[    70.865] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event16)
[    70.865] (II) No input driver specified, ignoring this device.
[    70.865] (II) This device may have been added with another device file.
[    70.865] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event9)
[    70.865] (II) No input driver specified, ignoring this device.
[    70.865] (II) This device may have been added with another device file.
[    70.869] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[    70.869] (II) No input driver specified, ignoring this device.
[    70.869] (II) This device may have been added with another device file.
[    70.870] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event8)
[    70.870] (II) No input driver specified, ignoring this device.
[    70.870] (II) This device may have been added with another device file.
[    70.873] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event11)
[    70.873] (II) No input driver specified, ignoring this device.
[    70.873] (II) This device may have been added with another device file.
[    70.874] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event10)
[    70.874] (II) No input driver specified, ignoring this device.
[    70.874] (II) This device may have been added with another device file.
[    70.874] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
[    70.874] (II) No input driver specified, ignoring this device.
[    70.874] (II) This device may have been added with another device file.
[    70.875] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event18)
[    70.875] (II) No input driver specified, ignoring this device.
[    70.875] (II) This device may have been added with another device file.
[    70.875] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event17)
[    70.875] (II) No input driver specified, ignoring this device.
[    70.875] (II) This device may have been added with another device file.
[    70.875] (II) config/udev: removing device ThinkPad Extra Buttons
[    70.876] (**) Option "fd" "58"
[    70.876] (II) event12 - ThinkPad Extra Buttons: device removed
[    70.876] (II) UnloadModule: "libinput"
[    70.876] (II) systemd-logind: releasing fd for 13:76
[    70.907] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event12)
[    70.907] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    70.907] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    70.907] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    70.908] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 58 paused 0
[    70.908] (**) ThinkPad Extra Buttons: always reports core events
[    70.908] (**) Option "Device" "/dev/input/event12"
[    70.910] (II) event12 - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    70.910] (II) event12 - ThinkPad Extra Buttons: device is a keyboard
[    70.910] (II) event12 - ThinkPad Extra Buttons: device removed
[    70.910] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input22/event12"
[    70.910] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 14)
[    70.912] (II) event12 - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    70.912] (II) event12 - ThinkPad Extra Buttons: device is a keyboard
[    70.914] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event14)
[    70.914] (II) No input driver specified, ignoring this device.
[    70.914] (II) This device may have been added with another device file.
[    70.914] (II) config/udev: removing device SynPS/2 Synaptics TouchPad
[    70.914] (II) UnloadModule: "synaptics"
[    70.914] (II) systemd-logind: releasing fd for 13:77
[    70.954] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event13)
[    70.954] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    70.954] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    70.954] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    70.954] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    70.954] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    70.955] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 56 paused 0
[    70.955] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    70.955] (**) Option "Device" "/dev/input/event13"
[    70.955] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 5678 (res 44)
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1162 - 4694 (res 50)
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    70.955] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    70.955] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    70.955] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    70.955] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input21/event13"
[    70.955] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[    70.955] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    70.955] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    70.955] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[    70.956] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    70.956] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    70.956] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    70.956] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    70.956] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

Nothing sticks out to me, other than the fact most of the time seems to take place after:

Code: [Select]
[    65.132] (II) modeset(0): Modeline "1920x1080"x0.0  138.78  1920 2000 2054 2080  1080 1086 1094 1112 -hsync -vsync (66.7 kHz eP)

and also:

Code: [Select]
[    68.749] (II) modeset(0): Modeline "1920x1080"x0.0  138.78  1920 2000 2054 2080  1080 1086 1094 1112 -hsync -vsync (66.7 kHz eP)

Both of these seem to displace around 2-3 seconds, which is approximately consistent with the freezing time I experience.

Is this a good time to disclose I'm using NVIDIA drivers?

Re: Long Display Freeze on "Reloading device manager configuration..."

Reply #3
Not sure what more to add other than you you could use tail -f to follow the log before you do the update (or just execute udevadm trigger -c to test) and also dmesg -w might show something ?
So then you can see the log messages in real time.

Has this just started happening or is it from the off on a new install ?

Re: Long Display Freeze on "Reloading device manager configuration..."

Reply #4
Thanks for the reply.

I've been experiencing this ever since I've started using a LUKS encrypted root partition with BTRFS.

As for the log, the one I posted is what happens when running tail -f on the Xorg log file after the udev command is executed. I made sure to take note of the log contents before and after the udev command, and I posted the difference. It seems to be cycling through all devices, and it seems to hang on the display 2 times.

Running dmesg -w shows the following:

Code: [Select]
[ 3446.161360] elogind-daemon[1278]: Watching system buttons on /dev/input/event2 (Power Button)
[ 3446.170895] BTRFS info: devid 1 device path /dev/mapper/cryptroot changed to /dev/dm-0 scanned by (udev-worker) (31398)
[ 3446.171273] BTRFS info: devid 1 device path /dev/dm-0 changed to /dev/mapper/cryptroot scanned by (udev-worker) (31398)
[ 3446.184381] elogind-daemon[1278]: Watching system buttons on /dev/input/event1 (Lid Switch)
[ 3446.187605] elogind-daemon[1278]: Watching system buttons on /dev/input/event0 (Sleep Button)
[ 3446.190999] elogind-daemon[1278]: Watching system buttons on /dev/input/event3 (AT Translated Set 2 keyboard)
[ 3446.194868] elogind-daemon[1278]: Watching system buttons on /dev/input/event4 (Logitech G305)
[ 3446.234448] elogind-daemon[1278]: Watching system buttons on /dev/input/event8 (ThinkPad Extra Buttons)

I'm thinking it might have something to do with BTRFS.

 

Re: Long Display Freeze on "Reloading device manager configuration..."

Reply #5
You could add the (-v) verbose switch to udevadm trigger and test that as well. If really lucky you might get an error but more likely you'll get a bit more of a idea of the culprit if the output of the list of devices pauses / freezes during the process. Check the man page to see if the other options might help (nothing jumped out at me).

To be honest if it was me I think I'd decide to just cut my losses and ignore it ! Close my eyes and meditate for a few seconds :)

If I was to take a wild guess I go with some sort of race condition where both the display and disk / filesystem events have started but for some reason the display event can't finish until the disk event has completed. And the disk event can't complete until luks has done it's decryption stuff.
And I'm going to qualify that as an uneducated guess as I know next to nothing about LUKS and only the very basics about btrfs.