Solved 12+ seconds to start Xorg

ksiu

Member

Reaction score: 13
Messages: 93

Hi,

I am curious why Xorg sometimes takes over 12 seconds to start up.
I mean, the time from startx to my window manager ready-to-go (DWM) is 12 seconds or more, sometimes.
Sometimes, it's blazing fast, like only 3 seconds. I guess that 80% of time, it's 3 seconds fast. And 20% of time, it's 12 seconds slow. Before FreeBSD, my laptop (Lenovo T440P) was running Artix Linux with same DWM window manager, and Artix Linux would fire up Xorg blazing fast everytime.

I saved the Xorg.0.log when I noticed the slow start. In the log, there's a big delay at 59.658 sec. Is it something to do with my trackpad/trackpointer?

Code:
[    47.394] (II) event5  - SynPS/2 Synaptics TouchPad: device removed
[    59.658] (**) Option "config_info" "udev:/dev/input/event5"

Here is the detail log if it helps...
[ 46.268]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 46.268] Build Operating System: FreeBSD 12.2-RELEASE-p3 amd64
[ 46.268] Current Operating System: FreeBSD t440p.localhost 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
[ 46.268] Build Date: 04 February 2021 03:58:05PM
[ 46.268]
[ 46.268] Current version of pixman: 0.40.0
[ 46.268] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 46.268] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 46.269] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 13 12:02:47 2021
[ 46.272] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 46.274] (==) No Layout section. Using the first Screen section.
[ 46.274] (==) No screen section available. Using defaults.
[ 46.274] (**) |-->Screen "Default Screen Section" (0)
[ 46.274] (**) | |-->Monitor "<default monitor>"
[ 46.275] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 46.275] (==) Automatically adding devices
[ 46.275] (==) Automatically enabling devices
[ 46.275] (==) Not automatically adding GPU devices
[ 46.275] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 46.281] (==) 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
[ 46.281] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 46.281] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 46.281] (II) Loader magic: 0x434a80
[ 46.281] (II) Module ABI versions:
[ 46.281] X.Org ANSI C Emulation: 0.4
[ 46.281] X.Org Video Driver: 24.1
[ 46.281] X.Org XInput driver : 24.1
[ 46.281] X.Org Server Extension : 10.0
[ 46.282] (--) PCI:*(0@0:2:0) 8086:0416:17aa:220e rev 6, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/65536
[ 46.282] (II) LoadModule: "glx"
[ 46.283] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 46.297] (II) Module glx: vendor="X.Org Foundation"
[ 46.297] compiled for 1.20.9, module version = 1.0.0
[ 46.297] ABI class: X.Org Server Extension, version 10.0
[ 46.298] (==) Matched intel as autoconfigured driver 0
[ 46.298] (==) Matched modesetting as autoconfigured driver 1
[ 46.298] (==) Matched scfb as autoconfigured driver 2
[ 46.298] (==) Matched vesa as autoconfigured driver 3
[ 46.298] (==) Assigned the driver to the xf86ConfigLayout
[ 46.298] (II) LoadModule: "intel"
[ 46.299] (WW) Warning, couldn't open module intel
[ 46.299] (EE) Failed to load module "intel" (module does not exist, 0)
[ 46.299] (II) LoadModule: "modesetting"
[ 46.299] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 46.300] (II) Module modesetting: vendor="X.Org Foundation"
[ 46.300] compiled for 1.20.9, module version = 1.20.9
[ 46.300] Module class: X.Org Video Driver
[ 46.300] ABI class: X.Org Video Driver, version 24.1
[ 46.300] (II) LoadModule: "scfb"
[ 46.300] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 46.301] (II) Module scfb: vendor="X.Org Foundation"
[ 46.301] compiled for 1.20.9, module version = 0.0.5
[ 46.301] ABI class: X.Org Video Driver, version 24.1
[ 46.301] (II) LoadModule: "vesa"
[ 46.301] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 46.301] (II) Module vesa: vendor="X.Org Foundation"
[ 46.301] compiled for 1.20.9, module version = 2.5.0
[ 46.301] Module class: X.Org Video Driver
[ 46.301] ABI class: X.Org Video Driver, version 24.1
[ 46.301] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 46.301] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 46.302] (II) VESA: driver for VESA chipsets: vesa
[ 46.302] (--) Using syscons driver with X support (version 2.0)
[ 46.302] (--) using VT number 9

[ 46.325] (**) modeset(0): claimed PCI slot 0@0:2:0
[ 46.325] (II) modeset(0): using default device
[ 46.325] (WW) Falling back to old probe method for scfb
[ 46.325] scfb trace: probe start
[ 46.325] scfb trace: probe done
[ 46.325] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 46.325] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 46.325] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 46.325] (==) modeset(0): RGB weight 888
[ 46.325] (==) modeset(0): Default visual is TrueColor
[ 46.325] (II) Loading sub module "glamoregl"
[ 46.325] (II) LoadModule: "glamoregl"
[ 46.326] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[ 46.369] (II) Module glamoregl: vendor="X.Org Foundation"
[ 46.370] compiled for 1.20.9, module version = 1.0.1
[ 46.370] ABI class: X.Org ANSI C Emulation, version 0.4
[ 46.496] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
[ 46.496] (II) modeset(0): glamor initialized
[ 46.498] (II) modeset(0): Output eDP-1 has no monitor section
[ 46.499] (II) modeset(0): Output VGA-1 has no monitor section
[ 46.499] (II) modeset(0): Output DP-1 has no monitor section
[ 46.650] (II) modeset(0): Output HDMI-1 has no monitor section
[ 46.650] (II) modeset(0): Output DP-2 has no monitor section
[ 46.652] (II) modeset(0): Output HDMI-2 has no monitor section
[ 46.656] (II) modeset(0): EDID for output eDP-1
[ 46.656] (II) modeset(0): Manufacturer: AUO Model: 233e Serial#: 0
[ 46.656] (II) modeset(0): Year: 2012 Week: 0
[ 46.656] (II) modeset(0): EDID Version: 1.4
[ 46.656] (II) modeset(0): Digital Display Input
[ 46.656] (II) modeset(0): 6 bits per channel
[ 46.656] (II) modeset(0): Digital interface is DisplayPort
[ 46.656] (II) modeset(0): Max Image Size [cm]: horiz.: 31 vert.: 17
[ 46.656] (II) modeset(0): Gamma: 2.20
[ 46.656] (II) modeset(0): No DPMS capabilities specified
[ 46.656] (II) modeset(0): Supported color encodings: RGB 4:4:4
[ 46.656] (II) modeset(0): First detailed timing is preferred mode
[ 46.656] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 46.656] (II) modeset(0): redX: 0.590 redY: 0.338 greenX: 0.326 greenY: 0.592
[ 46.656] (II) modeset(0): blueX: 0.156 blueY: 0.127 whiteX: 0.313 whiteY: 0.329
[ 46.656] (II) modeset(0): Manufacturer's mask: 0
[ 46.656] (II) modeset(0): Supported detailed timing:
[ 46.656] (II) modeset(0): clock: 112.6 MHz Image Size: 309 x 174 mm
[ 46.656] (II) modeset(0): h_active: 1600 h_sync: 1664 h_sync_end 1706 h_blank_end 1954 h_border: 0
[ 46.656] (II) modeset(0): v_active: 900 v_sync: 903 v_sync_end 906 v_blanking: 960 v_border: 0
[ 46.656] (II) modeset(0): Unknown vendor-specific block f
[ 46.656] (II) modeset(0): AUO
[ 46.656] (II) modeset(0): B140RTN02.3
[ 46.656] (II) modeset(0): EDID (in hex):
[ 46.657] (II) modeset(0): 00ffffffffffff0006af3e2300000000
[ 46.657] (II) modeset(0): 00160104951f1178022a259756539728
[ 46.657] (II) modeset(0): 20505400000001010101010101010101
[ 46.657] (II) modeset(0): 010101010101fc2b406261843c30402a
[ 46.657] (II) modeset(0): 330035ae100000180000000f00000000
[ 46.657] (II) modeset(0): 00000000000000000020000000fe0041
[ 46.657] (II) modeset(0): 554f0a202020202020202020000000fe
[ 46.657] (II) modeset(0): 004231343052544e30322e33200a00c0
[ 46.657] (II) modeset(0): Printing probed modes for output eDP-1
[ 46.657] (II) modeset(0): Modeline "1600x900"x60.0 112.60 1600 1664 1706 1954 900 903 906 960 -hsync -vsync (57.6 kHz eP)
[ 46.657] (II) modeset(0): Modeline "1600x900"x120.0 246.00 1600 1728 1900 2200 900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[ 46.657] (II) modeset(0): Modeline "1600x900"x119.9 186.50 1600 1624 1640 1680 900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[ 46.657] (II) modeset(0): Modeline "1600x900"x59.9 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync (56.0 kHz d)
[ 46.657] (II) modeset(0): Modeline "1600x900"x59.8 97.50 1600 1648 1680 1760 900 903 908 926 +hsync -vsync (55.4 kHz d)
[ 46.657] (II) modeset(0): Modeline "1400x900"x60.0 103.50 1400 1480 1624 1848 900 903 913 934 -hsync +vsync (56.0 kHz d)
[ 46.657] (II) modeset(0): Modeline "1400x900"x59.9 86.50 1400 1448 1480 1560 900 903 913 926 +hsync -vsync (55.4 kHz d)
[ 46.657] (II) modeset(0): Modeline "1440x810"x120.0 198.12 1440 1548 1704 1968 810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[ 46.657] (II) modeset(0): Modeline "1440x810"x119.9 151.88 1440 1464 1480 1520 810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[ 46.657] (II) modeset(0): Modeline "1368x768"x59.9 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync (47.8 kHz d)
[ 46.657] (II) modeset(0): Modeline "1368x768"x59.9 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync (47.3 kHz d)
[ 46.657] (II) modeset(0): Modeline "1280x800"x120.0 174.25 1280 1380 1516 1752 800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[ 46.657] (II) modeset(0): Modeline "1280x800"x119.9 134.25 1280 1304 1320 1360 800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "1280x720"x120.0 156.12 1280 1376 1512 1744 720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "1280x720"x120.0 120.75 1280 1304 1320 1360 720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[ 46.658] (II) modeset(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz d)
....
(see part 2 below for more)
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

part 2

(see part 1)
...
[ 46.658] (II) modeset(0): Modeline "1280x720"x59.7 63.75 1280 1328 1360 1440 720 723 728 741 +hsync -vsync (44.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 46.658] (II) modeset(0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x576"x119.9 98.50 1024 1092 1200 1376 576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x576"x119.9 78.38 1024 1048 1064 1104 576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x576"x59.9 46.50 1024 1064 1160 1296 576 579 584 599 -hsync +vsync (35.9 kHz d)
[ 46.658] (II) modeset(0): Modeline "1024x576"x59.8 42.00 1024 1072 1104 1184 576 579 584 593 +hsync -vsync (35.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x600"x119.9 96.62 960 1028 1128 1296 600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x600"x120.0 77.00 960 984 1000 1040 600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x540"x119.9 86.50 960 1024 1124 1288 540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x540"x120.0 69.25 960 984 1000 1040 540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x540"x60.0 40.82 960 992 1088 1216 540 541 544 559 -hsync +vsync (33.6 kHz)
[ 46.658] (II) modeset(0): Modeline "960x540"x59.6 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync (33.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "960x540"x59.8 37.25 960 1008 1040 1120 540 543 548 556 +hsync -vsync (33.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 46.658] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 46.658] (II) modeset(0): Modeline "840x525"x120.0 73.12 840 892 980 1120 525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "840x525"x119.8 59.50 840 864 880 920 525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "864x486"x59.9 32.50 864 888 968 1072 486 489 494 506 -hsync +vsync (30.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "864x486"x59.6 30.50 864 912 944 1024 486 489 494 500 +hsync -vsync (29.8 kHz d)
[ 46.658] (II) modeset(0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 46.658] (II) modeset(0): Modeline "800x450"x119.9 59.12 800 848 928 1056 450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "800x450"x119.6 48.75 800 824 840 880 450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "700x450"x119.9 51.75 700 740 812 924 450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "700x450"x119.8 43.25 700 724 740 780 450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "720x405"x59.5 22.50 720 744 808 896 405 408 413 422 -hsync +vsync (25.1 kHz d)
[ 46.658] (II) modeset(0): Modeline "720x405"x59.0 21.75 720 768 800 880 405 408 413 419 +hsync -vsync (24.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "684x384"x119.8 42.62 684 720 788 892 384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[ 46.658] (II) modeset(0): Modeline "684x384"x119.7 36.12 684 708 724 764 384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x400"x119.8 41.75 640 676 740 840 400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x400"x120.0 35.50 640 664 680 720 400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x360"x119.7 37.25 640 672 736 832 360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x360"x119.7 31.88 640 664 680 720 360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x360"x59.8 18.00 640 664 720 800 360 363 368 376 -hsync +vsync (22.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "640x360"x59.3 17.75 640 688 720 800 360 363 368 374 +hsync -vsync (22.2 kHz d)
[ 46.658] (II) modeset(0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 46.658] (II) modeset(0): Modeline "512x288"x120.0 23.25 512 532 580 648 288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[ 46.658] (II) modeset(0): Modeline "512x288"x119.8 21.00 512 536 552 592 288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "480x270"x119.3 20.38 480 496 544 608 270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[ 46.658] (II) modeset(0): Modeline "480x270"x119.6 18.62 480 504 520 560 270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[ 46.659] (II) modeset(0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 46.659] (II) modeset(0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 46.659] (II) modeset(0): Modeline "432x243"x119.8 16.25 432 444 484 536 243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[ 46.659] (II) modeset(0): Modeline "432x243"x119.1 15.25 432 456 472 512 243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[ 46.659] (II) modeset(0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 46.659] (II) modeset(0): Modeline "360x202"x119.0 11.25 360 372 404 448 202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[ 46.659] (II) modeset(0): Modeline "360x202"x118.3 10.88 360 384 400 440 202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[ 46.659] (II) modeset(0): Modeline "320x180"x119.7 9.00 320 332 360 400 180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[ 46.659] (II) modeset(0): Modeline "320x180"x118.6 8.88 320 344 360 400 180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[ 46.660] (II) modeset(0): EDID for output VGA-1
[ 46.660] (II) modeset(0): EDID for output DP-1
[ 46.812] (II) modeset(0): EDID for output HDMI-1
[ 46.812] (II) modeset(0): EDID for output DP-2
[ 46.813] (II) modeset(0): EDID for output HDMI-2
[ 46.813] (II) modeset(0): Output eDP-1 connected
[ 46.813] (II) modeset(0): Output VGA-1 disconnected
[ 46.813] (II) modeset(0): Output DP-1 disconnected
[ 46.813] (II) modeset(0): Output HDMI-1 disconnected
[ 46.813] (II) modeset(0): Output DP-2 disconnected
[ 46.813] (II) modeset(0): Output HDMI-2 disconnected
[ 46.813] (II) modeset(0): Using exact sizes for initial modes
[ 46.813] (II) modeset(0): Output eDP-1 using initial mode 1600x900 +0+0
[ 46.813] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 46.813] (==) modeset(0): DPI set to (96, 96)
[ 46.813] (II) Loading sub module "fb"
[ 46.813] (II) LoadModule: "fb"
[ 46.814] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 46.818] (II) Module fb: vendor="X.Org Foundation"
[ 46.818] compiled for 1.20.9, module version = 1.0.0
[ 46.818] ABI class: X.Org ANSI C Emulation, version 0.4
[ 46.818] (II) UnloadModule: "scfb"
[ 46.818] (II) Unloading scfb
[ 46.818] (II) UnloadModule: "vesa"
[ 46.818] (II) Unloading vesa
[ 46.984] (==) modeset(0): Backing store enabled
[ 46.984] (==) modeset(0): Silken mouse enabled
[ 47.025] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[ 47.025] (==) modeset(0): DPMS enabled
[ 47.026] (II) modeset(0): [DRI2] Setup complete
[ 47.026] (II) modeset(0): [DRI2] DRI driver: i965
[ 47.026] (II) modeset(0): [DRI2] VDPAU driver: va_gl
[ 47.026] (II) Initializing extension Generic Event Extension
[ 47.027] (II) Initializing extension SHAPE
[ 47.027] (II) Initializing extension MIT-SHM
[ 47.027] (II) Initializing extension XInputExtension
[ 47.028] (II) Initializing extension XTEST
[ 47.028] (II) Initializing extension BIG-REQUESTS
[ 47.029] (II) Initializing extension SYNC
[ 47.029] (II) Initializing extension XKEYBOARD
[ 47.030] (II) Initializing extension XC-MISC
[ 47.030] (II) Initializing extension SECURITY
[ 47.030] (II) Initializing extension XFIXES
[ 47.031] (II) Initializing extension RENDER
[ 47.031] (II) Initializing extension RANDR
[ 47.032] (II) Initializing extension COMPOSITE
[ 47.032] (II) Initializing extension DAMAGE
[ 47.032] (II) Initializing extension MIT-SCREEN-SAVER
[ 47.033] (II) Initializing extension DOUBLE-BUFFER
[ 47.033] (II) Initializing extension RECORD
[ 47.034] (II) Initializing extension DPMS
[ 47.034] (II) Initializing extension Present
[ 47.034] (II) Initializing extension DRI3
[ 47.035] (II) Initializing extension X-Resource
[ 47.035] (II) Initializing extension XVideo
[ 47.035] (II) Initializing extension XVideo-MotionCompensation
[ 47.035] (II) Initializing extension GLX
[ 47.044] (II) AIGLX: Loaded and initialized i965
[ 47.044] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 47.044] (II) Initializing extension XFree86-VidModeExtension
[ 47.045] (II) Initializing extension XFree86-DGA
[ 47.045] (II) Initializing extension XFree86-DRI
[ 47.045] (II) Initializing extension DRI2
[ 47.050] (II) modeset(0): Damage tracking initialized
[ 47.050] (II) modeset(0): Setting screen physical size to 423 x 238
[ 47.185] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0)
[ 47.185] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 47.185] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 47.185] (II) LoadModule: "libinput"
[ 47.185] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 47.210] (II) Module libinput: vendor="X.Org Foundation"
[ 47.210] compiled for 1.20.9, module version = 0.30.0
[ 47.210] Module class: X.Org XInput Driver
[ 47.210] ABI class: X.Org XInput driver, version 24.1
[ 47.210] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 47.210] (**) System keyboard multiplexer: always reports core events
[ 47.210] (**) Option "Device" "/dev/input/event0"
[ 47.211] (**) Option "_source" "server/udev"
[ 47.218] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 47.218] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 47.219] (II) event0 - System keyboard multiplexer: device removed
[ 47.219] (**) Option "config_info" "udev:/dev/input/event0"
[ 47.219] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 6)
[ 47.219] (**) Option "xkb_rules" "evdev"
[ 47.263] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 47.263] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 47.264] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[ 47.264] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 47.264] (II) Using input driver 'libinput' for 'System mouse'
[ 47.264] (**) System mouse: always reports core events
[ 47.264] (**) Option "Device" "/dev/input/event1"
[ 47.264] (**) Option "_source" "server/udev"
[ 47.265] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 47.265] (II) event1 - System mouse: device is a pointer
[ 47.265] (II) event1 - System mouse: device removed
[ 47.265] (**) Option "config_info" "udev:/dev/input/event1"
[ 47.265] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 47.266] (**) Option "AccelerationScheme" "none"
[ 47.266] (**) System mouse: (accel) selected scheme none/0
[ 47.266] (**) System mouse: (accel) acceleration factor: 2.000
[ 47.266] (**) System mouse: (accel) acceleration threshold: 4
[ 47.267] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 47.267] (II) event1 - System mouse: device is a pointer
[ 47.267] (II) config/udev: Adding input device Control Method Lid Switch (/dev/input/event2)
[ 47.267] (II) No input driver specified, ignoring this device.
[ 47.267] (II) This device may have been added with another device file.
[ 47.267] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[ 47.267] (**) Sleep Button: Applying InputClass "Evdev keyboard"
[ 47.267] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 47.267] (II) Using input driver 'libinput' for 'Sleep Button'
[ 47.267] (**) Sleep Button: always reports core events
[ 47.267] (**) Option "Device" "/dev/input/event3"
[ 47.267] (**) Option "_source" "server/udev"
[ 47.268] (II) event3 - Sleep Button: is tagged by udev as: Keyboard
[ 47.268] (II) event3 - Sleep Button: device is a keyboard
[ 47.269] (II) event3 - Sleep Button: device removed
[ 47.269] (**) Option "config_info" "udev:/dev/input/event3"
[ 47.269] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 47.269] (**) Option "xkb_rules" "evdev"
[ 47.270] (II) event3 - Sleep Button: is tagged by udev as: Keyboard
[ 47.270] (II) event3 - Sleep Button: device is a keyboard
[ 47.270] (II) config/udev: Adding input device AT keyboard (/dev/input/event4)
[ 47.270] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[ 47.270] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 47.270] (II) Using input driver 'libinput' for 'AT keyboard'
[ 47.270] (**) AT keyboard: always reports core events
[ 47.270] (**) Option "Device" "/dev/input/event4"
[ 47.270] (**) Option "_source" "server/udev"
[ 47.271] (II) event4 - AT keyboard: is tagged by udev as: Keyboard
[ 47.271] (II) event4 - AT keyboard: device is a keyboard
[ 47.272] (II) event4 - AT keyboard: device removed
[ 47.272] (**) Option "config_info" "udev:/dev/input/event4"
[ 47.272] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[ 47.272] (**) Option "xkb_rules" "evdev"
[ 47.273] (II) event4 - AT keyboard: is tagged by udev as: Keyboard
[ 47.273] (II) event4 - AT keyboard: device is a keyboard
[ 47.274] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[ 47.274] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput pointer catchall"
[ 47.274] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 47.274] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[ 47.274] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 47.274] (**) Option "Device" "/dev/input/event5"
[ 47.274] (**) Option "_source" "server/udev"
[ 47.388] (II) event5 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Mouse Touchpad
[ 47.394] (II) event5 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 47.394] (II) event5 - SynPS/2 Synaptics TouchPad: device removed
[ 59.658] (**) Option "config_info" "udev:/dev/input/event5"
[ 59.658] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[ 59.659] (**) Option "AccelerationScheme" "none"
[ 59.659] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[ 59.659] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 59.659] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 59.708] (II) event5 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Mouse Touchpad
[ 59.709] (II) event5 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 59.709] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
[ 59.709] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[ 59.709] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[ 59.709] (**) TPPS/2 IBM TrackPoint: always reports core events
[ 59.709] (**) Option "Device" "/dev/input/event6"
[ 59.709] (**) Option "_source" "server/udev"
[ 59.710] (II) event6 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse
[ 59.710] (II) event6 - TPPS/2 IBM TrackPoint: device is a pointer
[ 59.711] (II) event6 - TPPS/2 IBM TrackPoint: device removed
[ 59.711] (**) Option "config_info" "udev:/dev/input/event6"
[ 59.711] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[ 59.711] (**) Option "AccelerationScheme" "none"
[ 59.711] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[ 59.711] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[ 59.711] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[ 59.711] (II) event6 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse
[ 59.712] (II) event6 - TPPS/2 IBM TrackPoint: device is a pointer
[ 84.604] (EE) event5 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details
[ 84.604] (EE) event5 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details
[ 84.604] (EE) event5 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details
[ 88.977] (EE) event5 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details
[ 95.680] (EE) event5 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details
[ 95.680] (EE) event5 - SynPS/2 Synaptics TouchPad: WARNING: log rate limit exceeded (5 msgs per 2h). Discarding future messages.
[ 310.364] (II) event0 - System keyboard multiplexer: device removed
[ 310.364] (II) event1 - System mouse: device removed
[ 310.365] (II) event3 - Sleep Button: device removed
[ 310.365] (II) event4 - AT keyboard: device removed
[ 310.365] (II) event5 - SynPS/2 Synaptics TouchPad: device removed
[ 310.365] (II) event6 - TPPS/2 IBM TrackPoint: device removed
[ 317.379] (II) UnloadModule: "libinput"
[ 317.379] (II) UnloadModule: "libinput"
[ 317.379] (II) UnloadModule: "libinput"
[ 317.379] (II) UnloadModule: "libinput"
[ 317.379] (II) UnloadModule: "libinput"
[ 317.379] (II) UnloadModule: "libinput"
[ 317.397] (II) Server terminated successfully (0). Closing log file.
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

Welcome, you passed the wc -l test, that's fine
Ok noiw I'll star ti ponm^Hder about your issue. Please be patient, hopefulley others have some non-void thoughts to help you, too.
 

Trihexagonal

Son of Beastie

Reaction score: 2,289
Messages: 2,856

I have a T400 with Switchable Graphics with Intel GMA 4500MHD and ATI Mobility Radeon HD 3470, using the Radeon chip by setting it to Discreet, running FreeBSD 12.2 RELEASE-p4.

This is the relative portion of my /var/log/Xorg.0.log from the start point cut to where it gets to Synaptics, Synaptics TouchPad and IBM TrackPoint at log finish in under 6 seconds. Where mine ends yours starts to have the problem and I show where:

Code:
[    52.744]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    52.744] Build Operating System: FreeBSD 12.2-RELEASE-p1 amd64
[    52.744] Current Operating System: FreeBSD onryo 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
[    52.745] Build Date: 28 January 2021  01:42:09AM
[    52.745]
[    52.745] Current version of pixman: 0.40.0
*
break
*
[    57.913] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[    57.913] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput pointer catchall"
[    57.913] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    57.913] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    57.913] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    57.913] (II) LoadModule: "synaptics"
[    57.914] (II) Loading /usr/local/lib/xorg/modules/input/synaptics_drv.so
[    57.929] (II) Module synaptics: vendor="X.Org Foundation"
[    57.929]     compiled for 1.20.9, module version = 1.9.1
[    57.929]     Module class: X.Org XInput Driver
[    57.929]     ABI class: X.Org XInput driver, version 24.1
[    57.929] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    57.929] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    57.929] (**) Option "Device" "/dev/input/event5"
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5598 (res 67)
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4670 (res 111)
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    58.085] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    58.085] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    58.123] (**) Option "config_info" "udev:/dev/input/event5"
[    58.123] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[    58.123] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    58.123] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    58.123] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.038
[    58.124] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    58.124] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    58.124] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    58.124] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    58.181] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    58.181] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
[    58.181] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    58.181] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    58.181] (**) TPPS/2 IBM TrackPoint: always reports core events
[    58.181] (**) Option "Device" "/dev/input/event6"
[    58.181] (**) Option "_source" "server/udev"
[    58.182] (II) event6  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse
[    58.183] (II) event6  - TPPS/2 IBM TrackPoint: device is a pointer
[    58.183] (II) event6  - TPPS/2 IBM TrackPoint: device removed
[    58.183] (**) Option "config_info" "udev:/dev/input/event6"
[    58.183] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[    58.184] (**) Option "AccelerationScheme" "none"
[    58.184] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    58.184] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    58.184] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    58.185] (II) event6  - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse
[    58.185] (II) event6  - TPPS/2 IBM TrackPoint: device is a pointer

There's where yours runs into trouble right after that point:

Code:
[   84.604] (EE) event5  - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
 

Snurg

Daemon

Reaction score: 589
Messages: 1,349

Wayland libinput developers say it is a kernel bug.

But, I know the attitude of the Wayland libinput developers of saying "not our mistake" when they introduce bugs or break things.
I guess regular forum visitors have, for example, noticed how the long-running mouse wheel problems started to appear when Waylands' libinput was added into FreeBSD.
Regarding this, Wayland libinput developers say: We don't care. We won't fix that. Buy another mouse that (hopefully) works with libinput.

So I personally don't really buy their "kernel bug" story.
I rather consider it as a probable attempt of Waylands' libinput developers to deflect their responsibility to deal with glitches, which can appear with all input devices due to dirt, ESD and such.

Nevertheless:
The Wayland libinput people kindly ask affected trackpad users to file a bug report.
No guarantees though, that they won't close your PR with the reason "WONTFIX" or even "NOTABUG" and tell you to buy another laptop.
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

Trihexagonal, the point of interest is that (assuming the OP is not trying to fool us) the startup time varies significantly. Let's go the scientific way to adress this, ok?
 

Snurg

Daemon

Reaction score: 589
Messages: 1,349

Let's go the scientific way to adress this
I know that this may be not very scientific, but when I got a replacement HD for my Thinkpad, I'll try to find out how easy it is to reproduce the "bug", by simulating a nervous user giving the touchpad a rough time, while impatiently waiting for the system to booting up. 😁
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

There's where yours runs into trouble right after that point:

Code:
[   84.604] (EE) event5  - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.

based on Xorg.0.log, my startx command was issued at 46.268 sec. Xorg was writing alot of ouput to log until 47.394 sec. there is no log output between 47.395 and 59.658 sec. So there is this 12 sec gap. i assume there is some problem here.

59.712 sec is the last entry for Xorg startup. i assume this is when the DWM is starting.

i believe Xorg and DWM are finished startup at around 60 sec.

i believe at 84.604sec is when my finger first touch the trackpad or the trackpoint.

by the way, the trackpad and trackpoint are both working fine for me in Freebsd, despite the error messages in log.

One reason, i switched to Freebsd was because my trackpoint in Linux would lock up frequently.
 

Trihexagonal

Son of Beastie

Reaction score: 2,289
Messages: 2,856

Trihexagonal, the point of interest is that (assuming the OP is not trying to fool us) the startup time varies significantly. Let's go the scientific way to adress this, ok?
I realize English is not your Native Language but am beginning to question your reading comprehension.

You do see I used scientific methodology to address it by example in comparison of my T400 log and his T440 log, pointed out where the problem occurred and what it was, don't you?

Just because he gave some background stating he had previously used Linux on the box, I don't ever automatically assume somebody is trying to pull one over on us by asking a question. Not when they've done some work to see what could possible be the problem and just haven't got the experience to figure it out themselves yet.

It will become obvious in time if they're playing a game and I don't see it yet so have no reason but to try and help him as much as I can without being disparaging about it.

There is plenty of time for that if it comes down to it but give the person a fair chance first. I always feel better about it if I do and they disappoint me.
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

ksiu, please post the ouput of
  • pciconf -lv | fgrep -B 3 display
  • fgrep -H -m 1 -A 42 -- '---<<BOOT>>---' /var/log/mess*
 

Trihexagonal

Son of Beastie

Reaction score: 2,289
Messages: 2,856

based on Xorg.0.log, my startx command was issued at 46.268 sec. Xorg was writing alot of ouput to log until 47.394 sec. there is no log output until 59.658 sec. So there is this 12 sec gap of no log output. i assume something is stuck here for 12 sec.
I'll attach my full log as a .txt file but you can see the longest delay was less than 2 seconds between steps:

Code:
[    54.714] (II) Module "dri2" already built-in
[    56.564] (II) Loading sub module "glamoregl"
 

Attachments

  • synaptics.txt
    27.7 KB · Views: 28
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

I'll attach my full log as a .txt file but you can see the longest delay was less than 2 seconds between steps:

Code:
[    54.714] (II) Module "dri2" already built-in
[    56.564] (II) Loading sub module "glamoregl"
i havent tried to do anything to the trackpad/trackpoint...because they both are working fine. Maybe there is some pkg i need to install or something. i have not even done any research on this topic.
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

ksiu, please post the ouput of
  • pciconf -lv | fgrep -B 3 display
  • fgrep -H -m 1 -A 42 -- '---<<BOOT>>---' /var/log/mess*
Code:
$     pciconf -lv | fgrep -B 3 display
vgapci0@pci0:0:2:0:    class=0x030000 card=0x220e17aa chip=0x04168086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '4th Gen Core Processor Integrated Graphics Controller'
    class      = display

Code:
$     fgrep -H -m 1 -A 42 -- '---<<BOOT>>---' /var/log/mess*
/var/log/messages:Mar  1 22:55:27 t440p kernel: ---<<BOOT>>---
/var/log/messages-Mar  1 22:55:27 t440p kernel: Copyright (c) 1992-2020 The FreeBSD Project.
/var/log/messages-Mar  1 22:55:27 t440p kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
/var/log/messages-Mar  1 22:55:27 t440p kernel:     The Regents of the University of California. All rights reserved.
/var/log/messages-Mar  1 22:55:27 t440p kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
/var/log/messages-Mar  1 22:55:27 t440p kernel: FreeBSD 12.2-RELEASE-p4 GENERIC amd64
/var/log/messages-Mar  1 22:55:27 t440p kernel: FreeBSD clang version 10.0.1 ([EMAIL]git@github.com[/EMAIL]:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
/var/log/messages-Mar  1 22:55:27 t440p kernel: VT(vga): resolution 640x480
/var/log/messages-Mar  1 22:55:27 t440p kernel: CPU: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz (2594.05-MHz K8-class CPU)
/var/log/messages-Mar  1 22:55:27 t440p kernel:   Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
/var/log/messages-Mar  1 22:55:27 t440p kernel:   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   AMD Features2=0x21<LAHF,ABM>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   Structured Extended Features3=0xc000000<IBPB,STIBP>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   XSAVE Features=0x1<XSAVEOPT>
/var/log/messages-Mar  1 22:55:27 t440p kernel:   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
/var/log/messages-Mar  1 22:55:27 t440p kernel:   TSC: P-state invariant, performance statistics
/var/log/messages-Mar  1 22:55:27 t440p kernel: real memory  = 4294967296 (4096 MB)
/var/log/messages-Mar  1 22:55:27 t440p kernel: avail memory = 3787362304 (3611 MB)
/var/log/messages-Mar  1 22:55:27 t440p kernel: Event timer "LAPIC" quality 600
/var/log/messages-Mar  1 22:55:27 t440p kernel: ACPI APIC Table: <LENOVO TP-GL   >
/var/log/messages-Mar  1 22:55:27 t440p kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
/var/log/messages-Mar  1 22:55:27 t440p kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
/var/log/messages-Mar  1 22:55:27 t440p kernel: random: unblocking device.
/var/log/messages-Mar  1 22:55:27 t440p kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
/var/log/messages-Mar  1 22:55:27 t440p kernel: Launching APs: 1 3 2
/var/log/messages-Mar  1 22:55:27 t440p kernel: Timecounter "TSC-low" frequency 1297026581 Hz quality 1000
/var/log/messages-Mar  1 22:55:27 t440p kernel: random: entropy device external interface
/var/log/messages-Mar  1 22:55:27 t440p kernel: kbd1 at kbdmux0
/var/log/messages-Mar  1 22:55:27 t440p kernel: 000.000023 [4336] netmap_init               netmap: loaded module
/var/log/messages-Mar  1 22:55:27 t440p kernel: [ath_hal] loaded
/var/log/messages-Mar  1 22:55:27 t440p kernel: module_register_init: MOD_LOAD (vesa, 0xffffffff81114e40, 0) error 19
/var/log/messages-Mar  1 22:55:27 t440p kernel: random: registering fast source Intel Secure Key RNG
/var/log/messages-Mar  1 22:55:27 t440p kernel: random: fast provider: "Intel Secure Key RNG"
/var/log/messages-Mar  1 22:55:27 t440p kernel: nexus0
/var/log/messages-Mar  1 22:55:27 t440p kernel: vtvga0: <VT VGA driver> on motherboard
/var/log/messages-Mar  1 22:55:27 t440p kernel: cryptosoft0: <software crypto> on motherboard
/var/log/messages-Mar  1 22:55:27 t440p kernel: acpi0: <LENOVO TP-GL> on motherboard
/var/log/messages-Mar  1 22:55:27 t440p kernel: acpi_ec0: <Embedded Controller: GPE 0x11, ECDT> port 0x62,0x66 on acpi0
/var/log/messages-Mar  1 22:55:27 t440p kernel: acpi0: Power Button (fixed)
/var/log/messages-Mar  1 22:55:27 t440p kernel: cpu0: <ACPI CPU> on acpi0

edit: Is this another test? I noticed the dates above in the fgrep output are old, from March 1.
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

Everyone here is playing a guessing game without information.
Please, master, take over.
FMLU, the BeaSD is riding on bare metal. Whereas the 12+ seconds occasional delay is beyond my power to explain coherences where they're not, but s/t fools believe me.
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

Okay...so I assume I need to extract only the data from the last BOOT out of /var/log/messages. So I did, and I then did fgrep again.

$ fgrep -H -m 1 -A 42 -- '---<<BOOT>>---' out
out:Mar 13 19:16:23 t440p kernel: ---<<BOOT>>---
out-Mar 13 19:16:23 t440p kernel: Copyright (c) 1992-2020 The FreeBSD Project.
out-Mar 13 19:16:23 t440p kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
out-Mar 13 19:16:23 t440p kernel: The Regents of the University of California. All rights reserved.
out-Mar 13 19:16:23 t440p kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
out-Mar 13 19:16:23 t440p kernel: FreeBSD 12.2-RELEASE-p4 GENERIC amd64
out-Mar 13 19:16:23 t440p kernel: FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
out-Mar 13 19:16:23 t440p kernel: VT(vga): resolution 640x480
out-Mar 13 19:16:23 t440p kernel: CPU: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz (2594.06-MHz K8-class CPU)
out-Mar 13 19:16:23 t440p kernel: Origin="GenuineIntel" Id=0x306c3 Family=0x6 Model=0x3c Stepping=3
out-Mar 13 19:16:23 t440p kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
out-Mar 13 19:16:23 t440p kernel: Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
out-Mar 13 19:16:23 t440p kernel: AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
out-Mar 13 19:16:23 t440p kernel: AMD Features2=0x21<LAHF,ABM>
out-Mar 13 19:16:23 t440p kernel: Structured Extended Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
out-Mar 13 19:16:23 t440p kernel: Structured Extended Features3=0xc000000<IBPB,STIBP>
out-Mar 13 19:16:23 t440p kernel: XSAVE Features=0x1<XSAVEOPT>
out-Mar 13 19:16:23 t440p kernel: VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
out-Mar 13 19:16:23 t440p kernel: TSC: P-state invariant, performance statistics
out-Mar 13 19:16:23 t440p kernel: real memory = 4294967296 (4096 MB)
out-Mar 13 19:16:23 t440p kernel: avail memory = 3787362304 (3611 MB)
out-Mar 13 19:16:23 t440p kernel: Event timer "LAPIC" quality 600
out-Mar 13 19:16:23 t440p kernel: ACPI APIC Table: <LENOVO TP-GL >
out-Mar 13 19:16:23 t440p kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
out-Mar 13 19:16:23 t440p kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
out-Mar 13 19:16:23 t440p kernel: random: unblocking device.
out-Mar 13 19:16:23 t440p kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
out-Mar 13 19:16:23 t440p kernel: Launching APs: 1 3 2
out-Mar 13 19:16:23 t440p kernel: Timecounter "TSC-low" frequency 1297028421 Hz quality 1000
out-Mar 13 19:16:23 t440p kernel: random: entropy device external interface
out-Mar 13 19:16:23 t440p kernel: kbd1 at kbdmux0
out-Mar 13 19:16:23 t440p kernel: 000.000023 [4336] netmap_init netmap: loaded module
out-Mar 13 19:16:23 t440p kernel: [ath_hal] loaded
out-Mar 13 19:16:23 t440p kernel: module_register_init: MOD_LOAD (vesa, 0xffffffff81114e40, 0) error 19
out-Mar 13 19:16:23 t440p kernel: random: registering fast source Intel Secure Key RNG
out-Mar 13 19:16:23 t440p kernel: random: fast provider: "Intel Secure Key RNG"
out-Mar 13 19:16:23 t440p kernel: nexus0
out-Mar 13 19:16:23 t440p kernel: vtvga0: <VT VGA driver> on motherboard
out-Mar 13 19:16:23 t440p kernel: cryptosoft0: <software crypto> on motherboard
out-Mar 13 19:16:23 t440p kernel: acpi0: <LENOVO TP-GL> on motherboard
out-Mar 13 19:16:23 t440p kernel: acpi_ec0: <Embedded Controller: GPE 0x11, ECDT> port 0x62,0x66 on acpi0
out-Mar 13 19:16:23 t440p kernel: acpi0: Power Button (fixed)
out-Mar 13 19:16:23 t440p kernel: cpu0: <ACPI CPU> on acpi0
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

If you have some periodic tasks run via crontab(5) frequently (e.g. every 5 min. or so), these could occasionally interfere with your interactive tasks, i.e. starting X11. Pondering deeper...
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

If you have some periodic tasks run via crontab(5) frequently (e.g. every 5 min. or so), these could occasionally interfere with your interactive tasks, i.e. starting X11. Pondering deeper...
no, i never use crontab. i dont even know how to use it.
 

Alexander88207

Aspiring Daemon

Reaction score: 414
Messages: 638

Code:
[    46.298] (II) LoadModule: "intel"
[    46.299] (WW) Warning, couldn't open module intel
[    46.299] (EE) Failed to load module "intel" (module does not exist, 0)

Looks like you have set a Xorg configuartion that you want to use the intel module instead of modesetting.

This needs x11-drivers/xf86-video-intel to be installed.
 

Mjölnir

Daemon

Reaction score: 1,509
Messages: 2,114

Please post the output of sysrc moused_{enable,flags} & sysctl kern.evdev.rcpt_mask
 
OP
K

ksiu

Member

Reaction score: 13
Messages: 93

Code:
[    46.298] (II) LoadModule: "intel"
[    46.299] (WW) Warning, couldn't open module intel
[    46.299] (EE) Failed to load module "intel" (module does not exist, 0)

Looks like you have set a Xorg configuartion that you want to use the intel module instead of modesetting.

This needs x11-drivers/xf86-video-intel to be installed.
i already tried xf86videointel pkg, a while back. Graphics didnt work quite right with this package. Very slow youtube video (lots of frame drop).
and system locked up sometimes.
so i delete that pkg. and graphics working fine without it.

i think it is usiing modesetting.
 

chrbr

Aspiring Daemon

Reaction score: 356
Messages: 869

Please excuse me to be a little late. I run x11-wm/dwm on three old machines with three different graphic cards. It starts within a few seconds, may be about 3 seconds. As far as I remember it never took longer.
 

Snurg

Daemon

Reaction score: 589
Messages: 1,349

Just FYI, the xf86-video-intel driver is only for chips after i740 and before i915.

# supported by xf86-video-intel
my $intelpciid_oldintel = {
'7121' => 'i810',
'7123' => 'i810-DC100',
'7125' => 'i810E i810E2',
'1131' => 'i815 i815E i815G i815EG AGP mode',
'1132' => 'i815 i815E i815G i815EG GFX mode',
'2562' => 'i845G i845GL i845GV',
'3577' => 'i830M i830MG',
'2572' => 'i865G i865GV',
'3582' => 'i852GM i852GME i852GMV',
'358E' => 'i854',
'3582' => 'i855GM i855GME',
};

If I read your logs correctly, you are using the fb driver.

So I believe the correct driver is /boot/modules/i915kms.ko. (add to kldlist, kldload to onestart)
graphics/drm-kmod might also need to be installed.
 
Top