You are not logged in.

#1 2019-03-02 13:46:47

anvil
Member
Registered: 2019-02-02
Posts: 10

[SOLVED] Xorg not starting after system update

What happens:
When I run startx it outputs the usual:

X.Org X Server 1.20.4
<snip>
(==) Using system config directory "/usr/share/X11/xorg.conf.d

(Sorry pasting actual output is hard without X environment)

And then nothing happens. CTRL-C and CTRL-\  have no visible effect, and if I switch to another tty with CTRL-ALT-F2 (ALT-<arrow-key> doesn't work) and back the server crashes with:

(**) Option "fd" "14"
(II) event1 - Power Button: device removed
(**) Option "fd" "17"
(II) event7 - Video Bus: device removed
(**) Option "fd" "18"
(II) event2 - AT Translated Set 2 keyboard: device removed
(**) Option "fd" "19"
(II) event6 - Synaptics TM3127-001: device removed
(**) Option "fd" "20"
(II) event4 - Power Button: device removed
(**) Option "fd" "21"
(II) event5 - HP WMI hotkeys: device removed
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) systemd-logind: got pause for 13:66
(II) systemd-logind: got pause for 226:0
(II) systemd-logind: got pause for 13:69
(II) systemd-logind: got pause for 13:68
(II) systemd-logind: got pause for 13:65
(II) systemd-logind: got pause for 13:71
(II) systemd-logind: got pause for 13:70
(II) systemd-logind: got resume for 13:66
(II) systemd-logind: got resume for 266:0
(II) AIGLX: Resuming AIGLX clients after VT switch
(EE) modeset(0): failed to set mode: Invalid argument
(EE)
Fatal server error:
(EE) EnterVT failed for screen 0
(EE)
(EE)
Please consult the The  X.Org Foundation support
    at http:wiki.x.org
 for help.
(EE) Please also check the log file at <snip>
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.

(from the Xorg.log.0 at the point I switched consoles. It all happened within a second).

My .xinitrc:

exec i3

This morning everything still worked and I did the following upgrades:
libibus 1.5.19-1 -> 1.5.20-1
linux 4.20.12.arch1-1 -> 4.20.13.arch1-1
linux-headers 4.20.12.arch1-1 -> 4.20.13.arch1-1
I already tried to boot the lts kernel, but the no improvment. Also I downgraded libibus back to 1.5.19, this didn't help as well.

Any ideas? Thanks in avance!

Last edited by anvil (2019-05-05 10:33:02)

Offline

#2 2019-03-02 14:10:28

anvil
Member
Registered: 2019-02-02
Posts: 10

Re: [SOLVED] Xorg not starting after system update

I just tried downgrading the kernel as well to 4.20.12 and now it works again (but it is obviously not a long term solution so I leave this thread open).

Offline

#3 2019-03-02 14:50:33

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

Same issue hit me as well. Downgrading the kernel fixed it for me.

sudo pacman -U linux-4.20.12.arch1-1-x86_64.pkg.tar.xz linux-headers-4.20.12.arch1-1-x86_64.pkg.tar.xz

GPU info:

VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21)

Offline

#4 2019-03-02 15:05:22

anvil
Member
Registered: 2019-02-02
Posts: 10

Re: [SOLVED] Xorg not starting after system update

My GPU is:

VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)

What I think is strange, is that the problem was not only with 4.20.13 but with LTS as well...

I also quickly looked at "git log --oneline v4.20.12-arch1..v4.20.13-arch1" but I am too inexperienced to see something that could be the source.

Is this enough to file a bug for the linux 4.20.13-arch1 kernel?

Offline

#5 2019-03-02 17:45:13

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

Please post the full contents of Xorg.log.
Edit:
and the output of dmesg from 4.20.13-arch1

anvil wrote:

Is this enough to file a bug for the linux 4.20.13-arch1 kernel?

Edit2:
Unless you have a patch or a kernel config option that can be changed to resolve the issue opening a bug on the arch bug tracker would lead to it being assigned without further action.
You are generally expected to work with upstream directly for none packaging / integration issues.

Last edited by loqs (2019-03-02 17:52:12)

Offline

#6 2019-03-02 21:02:47

liara
Member
Registered: 2013-04-10
Posts: 32

Re: [SOLVED] Xorg not starting after system update

Same here. My Atomic mess from today:

[   444.484] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   444.485] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   444.485] Build Operating System: Linux Arch Linux
[   444.485] Current Operating System: Linux ping 4.20.13-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 27 19:10:28 UTC 2019 x86_64
[   444.485] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img cryptdevice=/dev/mmcblk0p2:vg:allow-discards root=/dev/mapper/vg-lvroot resume=/dev/mapper/vg-lvswap rw
[   444.486] Build Date: 27 February 2019  04:04:00PM
[   444.486]  
[   444.486] Current version of pixman: 0.38.0
[   444.486] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   444.486] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   444.488] (==) Log file: "/home/user/.local/share/xorg/Xorg.1.log", Time: Sat Mar  2 10:20:22 2019
[   444.488] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   444.488] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   444.489] (==) No Layout section.  Using the first Screen section.
[   444.489] (==) No screen section available. Using defaults.
[   444.489] (**) |-->Screen "Default Screen Section" (0)
[   444.489] (**) |   |-->Monitor "<default monitor>"
[   444.490] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   444.490] (==) Automatically adding devices
[   444.490] (==) Automatically enabling devices
[   444.490] (==) Automatically adding GPU devices
[   444.490] (==) Automatically binding GPU devices
[   444.490] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   444.490] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   444.490] 	Entry deleted from font path.
[   444.490] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   444.490] (==) ModulePath set to "/usr/lib/xorg/modules"
[   444.490] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   444.490] (II) Module ABI versions:
[   444.490] 	X.Org ANSI C Emulation: 0.4
[   444.490] 	X.Org Video Driver: 24.0
[   444.490] 	X.Org XInput driver : 24.1
[   444.490] 	X.Org Server Extension : 10.0
[   444.498] (++) using VT number 2

[   444.517] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   444.520] (II) xfree86: Adding drm device (/dev/dri/card0)
[   444.523] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   444.535] (--) PCI:*(0@0:2:0) 8086:22b0:8086:7270 rev 54, Mem @ 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   444.535] (II) Open ACPI successful (/var/run/acpid.socket)
[   444.535] (II) LoadModule: "glx"
[   444.536] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   444.541] (II) Module glx: vendor="X.Org Foundation"
[   444.541] 	compiled for 1.20.4, module version = 1.0.0
[   444.541] 	ABI class: X.Org Server Extension, version 10.0
[   444.541] (==) Matched intel as autoconfigured driver 0
[   444.541] (==) Matched modesetting as autoconfigured driver 1
[   444.541] (==) Matched fbdev as autoconfigured driver 2
[   444.541] (==) Matched vesa as autoconfigured driver 3
[   444.541] (==) Assigned the driver to the xf86ConfigLayout
[   444.541] (II) LoadModule: "intel"
[   444.541] (WW) Warning, couldn't open module intel
[   444.541] (EE) Failed to load module "intel" (module does not exist, 0)
[   444.541] (II) LoadModule: "modesetting"
[   444.542] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   444.543] (II) Module modesetting: vendor="X.Org Foundation"
[   444.543] 	compiled for 1.20.4, module version = 1.20.4
[   444.543] 	Module class: X.Org Video Driver
[   444.543] 	ABI class: X.Org Video Driver, version 24.0
[   444.543] (II) LoadModule: "fbdev"
[   444.544] (WW) Warning, couldn't open module fbdev
[   444.544] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   444.544] (II) LoadModule: "vesa"
[   444.544] (WW) Warning, couldn't open module vesa
[   444.544] (EE) Failed to load module "vesa" (module does not exist, 0)
[   444.544] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   444.544] (II) modeset(0): using drv /dev/dri/card0
[   444.544] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   444.544] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   444.544] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   444.544] (==) modeset(0): RGB weight 888
[   444.545] (==) modeset(0): Default visual is TrueColor
[   444.545] (II) Loading sub module "glamoregl"
[   444.545] (II) LoadModule: "glamoregl"
[   444.545] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   444.555] (II) Module glamoregl: vendor="X.Org Foundation"
[   444.555] 	compiled for 1.20.4, module version = 1.0.1
[   444.555] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   444.598] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) HD Graphics (Cherrytrail) 
[   444.598] (II) modeset(0): glamor initialized
[   444.600] (II) modeset(0): Output eDP-1 has no monitor section
[   444.601] (II) modeset(0): Output DP-1 has no monitor section
[   444.603] (II) modeset(0): Output HDMI-1 has no monitor section
[   444.605] (II) modeset(0): EDID for output eDP-1
[   444.605] (II) modeset(0): Manufacturer: AUO  Model: 505d  Serial#: 0
[   444.605] (II) modeset(0): Year: 2014  Week: 26
[   444.605] (II) modeset(0): EDID Version: 1.3
[   444.605] (II) modeset(0): Digital Display Input
[   444.605] (II) modeset(0): DFP 1.x compatible TMDS
[   444.605] (II) modeset(0): Max Image Size [cm]: horiz.: 26  vert.: 14
[   444.605] (II) modeset(0): Gamma: 2.20
[   444.605] (II) modeset(0): No DPMS capabilities specified
[   444.605] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   444.605] (II) modeset(0): First detailed timing is preferred mode
[   444.605] (II) modeset(0): redX: 0.619 redY: 0.334   greenX: 0.306 greenY: 0.605
[   444.605] (II) modeset(0): blueX: 0.148 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[   444.605] (II) modeset(0): Manufacturer's mask: 0
[   444.605] (II) modeset(0): Supported detailed timing:
[   444.605] (II) modeset(0): clock: 141.4 MHz   Image Size:  256 x 144 mm
[   444.605] (II) modeset(0): h_active: 1920  h_sync: 1978  h_sync_end 2020 h_blank_end 2108 h_border: 0
[   444.605] (II) modeset(0): v_active: 1080  v_sync: 1088  v_sync_end 1102 v_blanking: 1118 v_border: 0
[   444.605] (II) modeset(0): Unknown vendor-specific block f
[   444.605] (II) modeset(0):  AUO
[   444.605] (II) modeset(0):  B116HAN05.0
[   444.605] (II) modeset(0): EDID (in hex):
[   444.605] (II) modeset(0): 	00ffffffffffff0006af5d5000000000
[   444.605] (II) modeset(0): 	1a180103a51a0e780aa4159e554e9b26
[   444.605] (II) modeset(0): 	0f505400000001010101010101010101
[   444.605] (II) modeset(0): 	0101010101013d3780bc703826403a2a
[   444.606] (II) modeset(0): 	8e000090100000180000000f00000000
[   444.606] (II) modeset(0): 	00000000000000000020000000fe0041
[   444.606] (II) modeset(0): 	554f0a202020202020202020000000fe
[   444.606] (II) modeset(0): 	004231313648414e30352e30200a0061
[   444.606] (II) modeset(0): Printing probed modes for output eDP-1
[   444.606] (II) modeset(0): Modeline "1920x1080"x60.0  141.41  1920 1978 2020 2108  1080 1088 1102 1118 -hsync -vsync (67.1 kHz eP)
[   444.606] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   444.606] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   444.606] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   444.606] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   444.606] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   444.606] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   444.607] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   444.607] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   444.607] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   444.607] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   444.607] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   444.607] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   444.607] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   444.607] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   444.607] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   444.607] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   444.607] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   444.607] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   444.608] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   444.608] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   444.608] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   444.608] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   444.608] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   444.608] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   444.608] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   444.608] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   444.608] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   444.608] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   444.608] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   444.608] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   444.608] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   444.608] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   444.608] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   444.608] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   444.608] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   444.608] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   444.608] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   444.608] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   444.608] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   444.608] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   444.608] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   444.608] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   444.608] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   444.608] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   444.608] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   444.608] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   444.608] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   444.609] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   444.609] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   444.609] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   444.609] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   444.609] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   444.609] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   444.609] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   444.609] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   444.609] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   444.609] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   444.609] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   444.609] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   444.609] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   444.609] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   444.610] (II) modeset(0): EDID for output DP-1
[   444.612] (II) modeset(0): EDID for output HDMI-1
[   444.612] (II) modeset(0): Output eDP-1 connected
[   444.612] (II) modeset(0): Output DP-1 disconnected
[   444.612] (II) modeset(0): Output HDMI-1 disconnected
[   444.612] (II) modeset(0): Using exact sizes for initial modes
[   444.612] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[   444.612] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   444.612] (==) modeset(0): DPI set to (96, 96)
[   444.612] (II) Loading sub module "fb"
[   444.612] (II) LoadModule: "fb"
[   444.612] (II) Loading /usr/lib/xorg/modules/libfb.so
[   444.613] (II) Module fb: vendor="X.Org Foundation"
[   444.613] 	compiled for 1.20.4, module version = 1.0.0
[   444.613] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   444.631] (==) modeset(0): Backing store enabled
[   444.632] (==) modeset(0): Silken mouse disabled
[   444.689] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   444.690] (==) modeset(0): DPMS enabled
[   444.694] (II) modeset(0): [DRI2] Setup complete
[   444.694] (II) modeset(0): [DRI2]   DRI driver: i965
[   444.694] (II) modeset(0): [DRI2]   VDPAU driver: i965
[   444.695] (II) Initializing extension Generic Event Extension
[   444.695] (II) Initializing extension SHAPE
[   444.695] (II) Initializing extension MIT-SHM
[   444.695] (II) Initializing extension XInputExtension
[   444.695] (II) Initializing extension XTEST
[   444.695] (II) Initializing extension BIG-REQUESTS
[   444.696] (II) Initializing extension SYNC
[   444.696] (II) Initializing extension XKEYBOARD
[   444.696] (II) Initializing extension XC-MISC
[   444.696] (II) Initializing extension SECURITY
[   444.696] (II) Initializing extension XFIXES
[   444.696] (II) Initializing extension RENDER
[   444.696] (II) Initializing extension RANDR
[   444.696] (II) Initializing extension COMPOSITE
[   444.697] (II) Initializing extension DAMAGE
[   444.697] (II) Initializing extension MIT-SCREEN-SAVER
[   444.697] (II) Initializing extension DOUBLE-BUFFER
[   444.697] (II) Initializing extension RECORD
[   444.697] (II) Initializing extension DPMS
[   444.697] (II) Initializing extension Present
[   444.697] (II) Initializing extension DRI3
[   444.698] (II) Initializing extension X-Resource
[   444.698] (II) Initializing extension XVideo
[   444.698] (II) Initializing extension XVideo-MotionCompensation
[   444.698] (II) Initializing extension GLX
[   444.711] (II) AIGLX: Loaded and initialized i965
[   444.711] (II) GLX: Initialized DRI2 GL provider for screen 0
[   444.711] (II) Initializing extension XFree86-VidModeExtension
[   444.711] (II) Initializing extension XFree86-DGA
[   444.711] (II) Initializing extension XFree86-DRI
[   444.711] (II) Initializing extension DRI2
[   444.718] (II) modeset(0): Damage tracking initialized
[   444.718] (II) modeset(0): Setting screen physical size to 508 x 285
[   444.991] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   444.991] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   444.991] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   444.991] (II) LoadModule: "libinput"
[   444.991] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   444.996] (II) Module libinput: vendor="X.Org Foundation"
[   444.996] 	compiled for 1.20.3, module version = 0.28.2
[   444.996] 	Module class: X.Org XInput Driver
[   444.996] 	ABI class: X.Org XInput driver, version 24.1
[   444.996] (II) Using input driver 'libinput' for 'Power Button'
[   445.002] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 15 paused 0
[   445.002] (**) Power Button: always reports core events
[   445.002] (**) Option "Device" "/dev/input/event2"
[   445.003] (**) Option "_source" "server/udev"
[   445.011] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   445.011] (II) event2  - Power Button: device is a keyboard
[   445.012] (II) event2  - Power Button: device removed
[   445.012] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   445.012] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   445.017] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   445.017] (II) event2  - Power Button: device is a keyboard
[   445.019] (II) config/udev: Adding input device Video Bus (/dev/input/event15)
[   445.019] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   445.019] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   445.019] (II) Using input driver 'libinput' for 'Video Bus'
[   445.026] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 18 paused 0
[   445.026] (**) Video Bus: always reports core events
[   445.026] (**) Option "Device" "/dev/input/event15"
[   445.026] (**) Option "_source" "server/udev"
[   445.028] (II) event15 - Video Bus: is tagged by udev as: Keyboard
[   445.029] (II) event15 - Video Bus: device is a keyboard
[   445.029] (II) event15 - Video Bus: device removed
[   445.029] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input25/event15"
[   445.029] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   445.032] (II) event15 - Video Bus: is tagged by udev as: Keyboard
[   445.032] (II) event15 - Video Bus: device is a keyboard
[   445.034] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   445.034] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   445.034] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   445.034] (II) Using input driver 'libinput' for 'Power Button'
[   445.038] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 19 paused 0
[   445.038] (**) Power Button: always reports core events
[   445.038] (**) Option "Device" "/dev/input/event0"
[   445.038] (**) Option "_source" "server/udev"
[   445.041] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   445.041] (II) event0  - Power Button: device is a keyboard
[   445.041] (II) event0  - Power Button: device removed
[   445.041] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   445.041] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   445.044] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   445.044] (II) event0  - Power Button: device is a keyboard
[   445.046] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   445.046] (II) No input driver specified, ignoring this device.
[   445.046] (II) This device may have been added with another device file.
[   445.050] (II) config/udev: Adding input device ELAN ELAN:Fingerprint (/dev/input/event3)
[   445.050] (**) ELAN ELAN:Fingerprint: Applying InputClass "evdev pointer catchall"
[   445.050] (**) ELAN ELAN:Fingerprint: Applying InputClass "libinput pointer catchall"
[   445.050] (II) Using input driver 'libinput' for 'ELAN ELAN:Fingerprint'
[   445.054] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 20 paused 0
[   445.054] (**) ELAN ELAN:Fingerprint: always reports core events
[   445.054] (**) Option "Device" "/dev/input/event3"
[   445.054] (**) Option "_source" "server/udev"
[   445.059] (II) event3  - ELAN ELAN:Fingerprint: is tagged by udev as: Mouse
[   445.059] (II) event3  - ELAN ELAN:Fingerprint: device is a pointer
[   445.060] (II) event3  - ELAN ELAN:Fingerprint: device removed
[   445.060] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:04F3:0C16.0001/input/input3/event3"
[   445.060] (II) XINPUT: Adding extended input device "ELAN ELAN:Fingerprint" (type: MOUSE, id 9)
[   445.060] (**) Option "AccelerationScheme" "none"
[   445.060] (**) ELAN ELAN:Fingerprint: (accel) selected scheme none/0
[   445.061] (**) ELAN ELAN:Fingerprint: (accel) acceleration factor: 2.000
[   445.061] (**) ELAN ELAN:Fingerprint: (accel) acceleration threshold: 4
[   445.065] (II) event3  - ELAN ELAN:Fingerprint: is tagged by udev as: Mouse
[   445.065] (II) event3  - ELAN ELAN:Fingerprint: device is a pointer
[   445.068] (II) config/udev: Adding input device ELAN ELAN:Fingerprint (/dev/input/mouse0)
[   445.068] (II) No input driver specified, ignoring this device.
[   445.068] (II) This device may have been added with another device file.
[   445.070] (II) config/udev: Adding input device Hantick USB Keyboard (/dev/input/event4)
[   445.070] (**) Hantick USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   445.070] (**) Hantick USB Keyboard: Applying InputClass "libinput keyboard catchall"
[   445.070] (II) Using input driver 'libinput' for 'Hantick USB Keyboard'
[   445.074] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 21 paused 0
[   445.074] (**) Hantick USB Keyboard: always reports core events
[   445.074] (**) Option "Device" "/dev/input/event4"
[   445.074] (**) Option "_source" "server/udev"
[   445.082] (II) event4  - Hantick USB Keyboard: is tagged by udev as: Keyboard
[   445.083] (II) event4  - Hantick USB Keyboard: device is a keyboard
[   445.083] (II) event4  - Hantick USB Keyboard: device removed
[   445.083] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.0/0003:0911:2188.0002/input/input4/event4"
[   445.083] (II) XINPUT: Adding extended input device "Hantick USB Keyboard" (type: KEYBOARD, id 10)
[   445.088] (II) event4  - Hantick USB Keyboard: is tagged by udev as: Keyboard
[   445.088] (II) event4  - Hantick USB Keyboard: device is a keyboard
[   445.092] (II) config/udev: Adding input device Hantick USB Keyboard Touchpad (/dev/input/event5)
[   445.092] (**) Hantick USB Keyboard Touchpad: Applying InputClass "evdev touchpad catchall"
[   445.092] (**) Hantick USB Keyboard Touchpad: Applying InputClass "libinput touchpad catchall"
[   445.092] (**) Hantick USB Keyboard Touchpad: Applying InputClass "touchpad"
[   445.092] (II) Using input driver 'libinput' for 'Hantick USB Keyboard Touchpad'
[   445.096] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 22 paused 0
[   445.097] (**) Hantick USB Keyboard Touchpad: always reports core events
[   445.097] (**) Option "Device" "/dev/input/event5"
[   445.097] (**) Option "_source" "server/udev"
[   445.101] (II) event5  - Hantick USB Keyboard Touchpad: is tagged by udev as: Touchpad
[   445.102] (EE) event5  - Hantick USB Keyboard Touchpad: kernel bug: clickpad advertising right button
[   445.104] (II) event5  - Hantick USB Keyboard Touchpad: device is a touchpad
[   445.104] (II) event5  - Hantick USB Keyboard Touchpad: device removed
[   445.105] (**) Option "Tapping" "on"
[   445.105] (**) Option "TappingButtonMap" "lmr"
[   445.105] (**) Option "NaturalScrolling" "true"
[   445.105] (**) Option "ScrollMethod" "twofinger"
[   445.105] (**) Option "ClickMethod" "clickfinger"
[   445.105] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:0911:2188.0003/input/input12/event5"
[   445.105] (II) XINPUT: Adding extended input device "Hantick USB Keyboard Touchpad" (type: TOUCHPAD, id 11)
[   445.109] (**) Option "AccelerationScheme" "none"
[   445.109] (**) Hantick USB Keyboard Touchpad: (accel) selected scheme none/0
[   445.109] (**) Hantick USB Keyboard Touchpad: (accel) acceleration factor: 2.000
[   445.109] (**) Hantick USB Keyboard Touchpad: (accel) acceleration threshold: 4
[   445.114] (II) event5  - Hantick USB Keyboard Touchpad: is tagged by udev as: Touchpad
[   445.114] (EE) event5  - Hantick USB Keyboard Touchpad: kernel bug: clickpad advertising right button
[   445.116] (II) event5  - Hantick USB Keyboard Touchpad: device is a touchpad
[   445.119] (II) config/udev: Adding input device Hantick USB Keyboard Touchpad (/dev/input/mouse1)
[   445.119] (**) Hantick USB Keyboard Touchpad: Applying InputClass "touchpad"
[   445.119] (II) Using input driver 'libinput' for 'Hantick USB Keyboard Touchpad'
[   445.119] (**) Hantick USB Keyboard Touchpad: always reports core events
[   445.119] (**) Option "Device" "/dev/input/mouse1"
[   445.119] (**) Option "_source" "server/udev"
[   445.119] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse1
	Permission denied.
[   445.119] (II) mouse1: opening input device '/dev/input/mouse1' failed (Permission denied).
[   445.119] (II) mouse1  - failed to create input device '/dev/input/mouse1'.
[   445.119] (EE) libinput: Hantick USB Keyboard Touchpad: Failed to create a device for /dev/input/mouse1
[   445.119] (EE) PreInit returned 2 for "Hantick USB Keyboard Touchpad"
[   445.120] (II) UnloadModule: "libinput"
[   445.122] (II) config/udev: Adding input device Hantick USB Keyboard System Control (/dev/input/event6)
[   445.122] (**) Hantick USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
[   445.122] (**) Hantick USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[   445.122] (II) Using input driver 'libinput' for 'Hantick USB Keyboard System Control'
[   445.127] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 23 paused 0
[   445.127] (**) Hantick USB Keyboard System Control: always reports core events
[   445.127] (**) Option "Device" "/dev/input/event6"
[   445.128] (**) Option "_source" "server/udev"
[   445.132] (II) event6  - Hantick USB Keyboard System Control: is tagged by udev as: Keyboard
[   445.132] (II) event6  - Hantick USB Keyboard System Control: device is a keyboard
[   445.133] (II) event6  - Hantick USB Keyboard System Control: device removed
[   445.133] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:0911:2188.0003/input/input13/event6"
[   445.133] (II) XINPUT: Adding extended input device "Hantick USB Keyboard System Control" (type: KEYBOARD, id 12)
[   445.138] (II) event6  - Hantick USB Keyboard System Control: is tagged by udev as: Keyboard
[   445.138] (II) event6  - Hantick USB Keyboard System Control: device is a keyboard
[   445.141] (II) config/udev: Adding input device Hantick USB Keyboard Consumer Control (/dev/input/event7)
[   445.141] (**) Hantick USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
[   445.142] (**) Hantick USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[   445.142] (II) Using input driver 'libinput' for 'Hantick USB Keyboard Consumer Control'
[   445.148] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 24 paused 0
[   445.148] (**) Hantick USB Keyboard Consumer Control: always reports core events
[   445.148] (**) Option "Device" "/dev/input/event7"
[   445.148] (**) Option "_source" "server/udev"
[   445.153] (II) event7  - Hantick USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   445.153] (II) event7  - Hantick USB Keyboard Consumer Control: device is a keyboard
[   445.154] (II) event7  - Hantick USB Keyboard Consumer Control: device removed
[   445.154] (II) libinput: Hantick USB Keyboard Consumer Control: needs a virtual subdevice
[   445.154] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:0911:2188.0003/input/input14/event7"
[   445.154] (II) XINPUT: Adding extended input device "Hantick USB Keyboard Consumer Control" (type: MOUSE, id 13)
[   445.154] (**) Option "AccelerationScheme" "none"
[   445.154] (**) Hantick USB Keyboard Consumer Control: (accel) selected scheme none/0
[   445.154] (**) Hantick USB Keyboard Consumer Control: (accel) acceleration factor: 2.000
[   445.154] (**) Hantick USB Keyboard Consumer Control: (accel) acceleration threshold: 4
[   445.159] (II) event7  - Hantick USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   445.159] (II) event7  - Hantick USB Keyboard Consumer Control: device is a keyboard
[   445.162] (II) config/udev: Adding input device Hantick USB Keyboard Wireless Radio Control (/dev/input/event8)
[   445.162] (**) Hantick USB Keyboard Wireless Radio Control: Applying InputClass "evdev keyboard catchall"
[   445.162] (**) Hantick USB Keyboard Wireless Radio Control: Applying InputClass "libinput keyboard catchall"
[   445.162] (II) Using input driver 'libinput' for 'Hantick USB Keyboard Wireless Radio Control'
[   445.168] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 25 paused 0
[   445.168] (**) Hantick USB Keyboard Wireless Radio Control: always reports core events
[   445.168] (**) Option "Device" "/dev/input/event8"
[   445.168] (**) Option "_source" "server/udev"
[   445.175] (II) event8  - Hantick USB Keyboard Wireless Radio Control: is tagged by udev as: Keyboard
[   445.175] (II) event8  - Hantick USB Keyboard Wireless Radio Control: device is a keyboard
[   445.175] (II) event8  - Hantick USB Keyboard Wireless Radio Control: device removed
[   445.175] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:0911:2188.0003/input/input15/event8"
[   445.175] (II) XINPUT: Adding extended input device "Hantick USB Keyboard Wireless Radio Control" (type: KEYBOARD, id 14)
[   445.181] (II) event8  - Hantick USB Keyboard Wireless Radio Control: is tagged by udev as: Keyboard
[   445.181] (II) event8  - Hantick USB Keyboard Wireless Radio Control: device is a keyboard
[   445.183] (II) config/udev: Adding input device HD Camera: HD Camera (/dev/input/event16)
[   445.183] (**) HD Camera: HD Camera: Applying InputClass "evdev keyboard catchall"
[   445.183] (**) HD Camera: HD Camera: Applying InputClass "libinput keyboard catchall"
[   445.183] (II) Using input driver 'libinput' for 'HD Camera: HD Camera'
[   445.189] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 26 paused 0
[   445.189] (**) HD Camera: HD Camera: always reports core events
[   445.189] (**) Option "Device" "/dev/input/event16"
[   445.190] (**) Option "_source" "server/udev"
[   445.198] (II) event16 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[   445.198] (II) event16 - HD Camera: HD Camera: device is a keyboard
[   445.198] (II) event16 - HD Camera: HD Camera: device removed
[   445.198] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input26/event16"
[   445.198] (II) XINPUT: Adding extended input device "HD Camera: HD Camera" (type: KEYBOARD, id 15)
[   445.202] (II) event16 - HD Camera: HD Camera: is tagged by udev as: Keyboard
[   445.202] (II) event16 - HD Camera: HD Camera: device is a keyboard
[   445.204] (II) config/udev: Adding input device chtnau8824 Headset (/dev/input/event14)
[   445.204] (**) chtnau8824 Headset: Applying InputClass "evdev keyboard catchall"
[   445.204] (**) chtnau8824 Headset: Applying InputClass "libinput keyboard catchall"
[   445.205] (II) Using input driver 'libinput' for 'chtnau8824 Headset'
[   445.210] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 27 paused 0
[   445.210] (**) chtnau8824 Headset: always reports core events
[   445.210] (**) Option "Device" "/dev/input/event14"
[   445.210] (**) Option "_source" "server/udev"
[   445.219] (II) event14 - chtnau8824 Headset: is tagged by udev as: Keyboard Switch
[   445.219] (II) event14 - chtnau8824 Headset: device is a keyboard
[   445.219] (II) event14 - chtnau8824 Headset: device removed
[   445.220] (**) Option "config_info" "udev:/sys/devices/pci0000:00/808622A8:00/cht-bsw-nau8824/sound/card0/input24/event14"
[   445.220] (II) XINPUT: Adding extended input device "chtnau8824 Headset" (type: KEYBOARD, id 16)
[   445.224] (II) event14 - chtnau8824 Headset: is tagged by udev as: Keyboard Switch
[   445.224] (II) event14 - chtnau8824 Headset: device is a keyboard
[   445.226] (II) config/udev: Adding input device FTSC1000:00 2808:5012 (/dev/input/event11)
[   445.226] (**) FTSC1000:00 2808:5012: Applying InputClass "evdev touchscreen catchall"
[   445.226] (**) FTSC1000:00 2808:5012: Applying InputClass "libinput touchscreen catchall"
[   445.226] (II) Using input driver 'libinput' for 'FTSC1000:00 2808:5012'
[   445.230] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 28 paused 0
[   445.230] (**) FTSC1000:00 2808:5012: always reports core events
[   445.230] (**) Option "Device" "/dev/input/event11"
[   445.230] (**) Option "_source" "server/udev"
[   445.235] (II) event11 - FTSC1000:00 2808:5012: is tagged by udev as: Touchscreen
[   445.235] (II) event11 - FTSC1000:00 2808:5012: device is a touch device
[   445.236] (II) event11 - FTSC1000:00 2808:5012: device removed
[   445.236] (**) Option "config_info" "udev:/sys/devices/pci0000:00/808622C1:05/i2c-5/i2c-FTSC1000:00/0018:2808:5012.0004/input/input19/event11"
[   445.236] (II) XINPUT: Adding extended input device "FTSC1000:00 2808:5012" (type: TOUCHSCREEN, id 17)
[   445.236] (**) Option "AccelerationScheme" "none"
[   445.236] (**) FTSC1000:00 2808:5012: (accel) selected scheme none/0
[   445.236] (**) FTSC1000:00 2808:5012: (accel) acceleration factor: 2.000
[   445.236] (**) FTSC1000:00 2808:5012: (accel) acceleration threshold: 4
[   445.241] (II) event11 - FTSC1000:00 2808:5012: is tagged by udev as: Touchscreen
[   445.241] (II) event11 - FTSC1000:00 2808:5012: device is a touch device
[   445.243] (II) config/udev: Adding input device FTSC1000:00 2808:5012 (/dev/input/mouse2)
[   445.243] (II) No input driver specified, ignoring this device.
[   445.243] (II) This device may have been added with another device file.
[   445.244] (II) config/udev: Adding input device Intel HID events (/dev/input/event9)
[   445.244] (**) Intel HID events: Applying InputClass "evdev keyboard catchall"
[   445.244] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[   445.244] (II) Using input driver 'libinput' for 'Intel HID events'
[   445.249] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 29 paused 0
[   445.249] (**) Intel HID events: always reports core events
[   445.249] (**) Option "Device" "/dev/input/event9"
[   445.249] (**) Option "_source" "server/udev"
[   445.252] (II) event9  - Intel HID events: is tagged by udev as: Keyboard
[   445.252] (II) event9  - Intel HID events: device is a keyboard
[   445.252] (II) event9  - Intel HID events: device removed
[   445.252] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT33D5:00/input/input17/event9"
[   445.252] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 18)
[   445.254] (II) event9  - Intel HID events: is tagged by udev as: Keyboard
[   445.254] (II) event9  - Intel HID events: device is a keyboard
[   445.256] (II) config/udev: Adding input device gpio-keys (/dev/input/event12)
[   445.256] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[   445.256] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[   445.256] (II) Using input driver 'libinput' for 'gpio-keys'
[   445.259] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 30 paused 0
[   445.259] (**) gpio-keys: always reports core events
[   445.260] (**) Option "Device" "/dev/input/event12"
[   445.260] (**) Option "_source" "server/udev"
[   445.266] (II) event12 - gpio-keys: is tagged by udev as: Keyboard
[   445.266] (II) event12 - gpio-keys: device is a keyboard
[   445.267] (II) event12 - gpio-keys: device removed
[   445.267] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys.2.auto/input/input22/event12"
[   445.267] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 19)
[   445.271] (II) event12 - gpio-keys: is tagged by udev as: Keyboard
[   445.271] (II) event12 - gpio-keys: device is a keyboard
[   445.272] (II) config/udev: Adding input device gpio-keys (/dev/input/event13)
[   445.272] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[   445.272] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[   445.272] (II) Using input driver 'libinput' for 'gpio-keys'
[   445.276] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 31 paused 0
[   445.277] (**) gpio-keys: always reports core events
[   445.277] (**) Option "Device" "/dev/input/event13"
[   445.277] (**) Option "_source" "server/udev"
[   445.280] (II) event13 - gpio-keys: is tagged by udev as: Keyboard
[   445.280] (II) event13 - gpio-keys: device is a keyboard
[   445.280] (II) event13 - gpio-keys: device removed
[   445.280] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys.3.auto/input/input23/event13"
[   445.280] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 20)
[   445.283] (II) event13 - gpio-keys: is tagged by udev as: Keyboard
[   445.283] (II) event13 - gpio-keys: device is a keyboard
[   445.284] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[   445.285] (II) No input driver specified, ignoring this device.
[   445.285] (II) This device may have been added with another device file.
[   445.299] (**) Hantick USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
[   445.299] (**) Hantick USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[   445.299] (II) Using input driver 'libinput' for 'Hantick USB Keyboard Consumer Control'
[   445.299] (II) systemd-logind: returning pre-existing fd for /dev/input/event7 13:71
[   445.299] (**) Hantick USB Keyboard Consumer Control: always reports core events
[   445.299] (**) Option "Device" "/dev/input/event7"
[   445.299] (**) Option "_source" "_driver/libinput"
[   445.299] (II) libinput: Hantick USB Keyboard Consumer Control: is a virtual subdevice
[   445.299] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:0911:2188.0003/input/input14/event7"
[   445.299] (II) XINPUT: Adding extended input device "Hantick USB Keyboard Consumer Control" (type: KEYBOARD, id 21)
[   445.303] (EE) modeset(0): failed to set mode: Invalid argument
[   446.920] (II) modeset(0): EDID vendor "AUO", prod id 20573
[   446.920] (II) modeset(0): Printing DDC gathered Modelines:
[   446.920] (II) modeset(0): Modeline "1920x1080"x0.0  141.41  1920 1978 2020 2108  1080 1088 1102 1118 -hsync -vsync (67.1 kHz eP)
[   467.120] (**) Option "fd" "15"
[   467.120] (II) event2  - Power Button: device removed
[   467.122] (**) Option "fd" "18"
[   467.122] (II) event15 - Video Bus: device removed
[   467.123] (**) Option "fd" "19"
[   467.123] (II) event0  - Power Button: device removed
[   467.124] (**) Option "fd" "20"
[   467.124] (II) event3  - ELAN ELAN:Fingerprint: device removed
[   467.126] (**) Option "fd" "21"
[   467.127] (II) event4  - Hantick USB Keyboard: device removed
[   467.127] (**) Option "fd" "22"
[   467.128] (II) event5  - Hantick USB Keyboard Touchpad: device removed
[   467.128] (**) Option "fd" "23"
[   467.128] (II) event6  - Hantick USB Keyboard System Control: device removed
[   467.128] (**) Option "fd" "24"
[   467.128] (**) Option "fd" "25"
[   467.128] (II) event8  - Hantick USB Keyboard Wireless Radio Control: device removed
[   467.129] (**) Option "fd" "26"
[   467.129] (II) event16 - HD Camera: HD Camera: device removed
[   467.129] (**) Option "fd" "27"
[   467.129] (II) event14 - chtnau8824 Headset: device removed
[   467.129] (**) Option "fd" "28"
[   467.129] (II) event11 - FTSC1000:00 2808:5012: device removed
[   467.130] (**) Option "fd" "29"
[   467.130] (II) event9  - Intel HID events: device removed
[   467.130] (**) Option "fd" "30"
[   467.130] (II) event12 - gpio-keys: device removed
[   467.130] (**) Option "fd" "31"
[   467.130] (II) event13 - gpio-keys: device removed
[   467.131] (**) Option "fd" "24"
[   467.131] (II) event7  - Hantick USB Keyboard Consumer Control: device removed
[   467.131] (II) AIGLX: Suspending AIGLX clients for VT switch
[   467.134] (II) systemd-logind: got pause for 13:66
[   467.134] (II) systemd-logind: got pause for 13:77
[   467.137] (II) systemd-logind: got pause for 13:70
[   467.137] (II) systemd-logind: got pause for 13:79
[   467.137] (II) systemd-logind: got pause for 13:76
[   467.137] (II) systemd-logind: got pause for 13:67
[   467.138] (II) systemd-logind: got pause for 13:72
[   467.138] (II) systemd-logind: got pause for 13:69
[   467.140] (II) systemd-logind: got pause for 13:68
[   467.140] (II) systemd-logind: got pause for 226:0
[   467.140] (II) systemd-logind: got pause for 13:64
[   467.140] (II) systemd-logind: got pause for 13:80
[   467.141] (II) systemd-logind: got pause for 13:75
[   467.142] (II) systemd-logind: got pause for 13:73
[   467.143] (II) systemd-logind: got pause for 13:71
[   467.143] (II) systemd-logind: got pause for 13:78
[   602.871] (II) systemd-logind: got resume for 13:66
[   602.903] (II) systemd-logind: got resume for 13:77
[   602.938] (II) systemd-logind: got resume for 13:70
[   602.977] (II) systemd-logind: got resume for 13:79
[   603.004] (II) systemd-logind: got resume for 13:76
[   603.031] (II) systemd-logind: got resume for 13:67
[   603.057] (II) systemd-logind: got resume for 13:72
[   603.084] (II) systemd-logind: got resume for 13:69
[   603.111] (II) systemd-logind: got resume for 13:68
[   603.111] (II) systemd-logind: got resume for 226:0
[   603.112] (II) Open ACPI successful (/var/run/acpid.socket)
[   603.112] (II) AIGLX: Resuming AIGLX clients after VT switch
[   603.113] (EE) modeset(0): failed to set mode: Invalid argument
[   603.113] (EE) 
Fatal server error:
[   603.113] (EE) EnterVT failed for screen 0
[   603.113] (EE) 
[   603.113] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   603.114] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.1.log" for additional information.
[   603.114] (EE) 
[   603.115] (II) AIGLX: Suspending AIGLX clients for VT switch
[   603.305] (EE) Server terminated with error (1). Closing log file.

Packages updated:

[2019-03-02 09:15] [PACMAN] Running 'pacman -Syu'
[2019-03-02 09:15] [PACMAN] synchronizing package lists
[2019-03-02 09:15] [PACMAN] starting full system upgrade
[2019-03-02 09:16] [ALPM] running 'ghc-unregister.hook'...
[2019-03-02 09:16] [ALPM] transaction started
[2019-03-02 09:17] [ALPM] upgraded linux (4.20.12.arch1-1 -> 4.20.13.arch1-1)
[2019-03-02 09:17] [ALPM] upgraded acpi_call (1.1.0-195 -> 1.1.0-196)
[2019-03-02 09:17] [ALPM] upgraded haskell-skylighting-core (0.7.6-4 -> 0.7.7-1)
[2019-03-02 09:17] [ALPM] upgraded haskell-skylighting (0.7.6-4 -> 0.7.7-1)
[2019-03-02 09:17] [ALPM] upgraded libibus (1.5.19-1 -> 1.5.20-1)
[2019-03-02 09:17] [ALPM] upgraded linux-headers (4.20.12.arch1-1 -> 4.20.13.arch1-1)
[2019-03-02 09:17] [ALPM] upgraded pandoc (2.6-13 -> 2.6-15)
[2019-03-02 09:17] [ALPM] upgraded pandoc-citeproc (0.16.1-7 -> 0.16.1-8)
[2019-03-02 09:17] [ALPM] upgraded pandoc-crossref (0.3.4.0-52 -> 0.3.4.0-53)
[2019-03-02 09:18] [ALPM] upgraded webkit2gtk (2.22.6-1 -> 2.22.7-1)
[2019-03-02 09:18] [ALPM] transaction completed

Same with lts, that's why i thought it might not be the kernel. But I didn't have much time, so I just downgraded for now.

Offline

#7 2019-03-02 21:18:56

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

The only i915 commit was https://git.kernel.org/pub/scm/linux/ke … 285ee2bc5b
Can someone test with that commit reverted failing that please perform a bisection.

Offline

#8 2019-03-03 12:12:13

robin67
Member
From: the Netherlands
Registered: 2012-02-18
Posts: 45

Re: [SOLVED] Xorg not starting after system update

I also had the "modeset(0): failed to set mode: Invalid argument" error and temporary worked around it by disabling the modesetting driver for Xorg so I didn't have to downgrade.
So I am now using the intel driver again. Hopefully it will be fixed in the next kernel update

Last edited by robin67 (2019-03-03 12:12:36)

Offline

#9 2019-03-03 12:42:09

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

@robin67 you could test linux 5.0-rc8 see if that has the issue.  There is currently nothing i915 specific in https://git.kernel.org/pub/scm/linux/ke … queue-4.20
Does anyone plan to work with upstream to resolve the issue?

Offline

#10 2019-03-03 17:49:44

anvil
Member
Registered: 2019-02-02
Posts: 10

Re: [SOLVED] Xorg not starting after system update

I just compiled a kernel with the commit loqs suggested (d179b88deb3bf6fed4991a31fd6f0f2cad21fab5) reverted and it worked.

I am still new to this, I guess the next thing would be to send a patch to the linux fbdev mailing list?

Thanks for the help everybody!

Offline

#11 2019-03-03 18:21:22

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

https://bugs.freedesktop.org/show_bug.cgi?id=109806
Edit:
@anvil If you could confirm you have successfully tested reverting the commit that would be great.

Last edited by loqs (2019-03-03 18:23:12)

Offline

#12 2019-03-04 14:11:33

liara
Member
Registered: 2013-04-10
Posts: 32

Re: [SOLVED] Xorg not starting after system update

Thanks for the good news @anvil. @loqs, tried the mainline 5.0rc8 kernel from the AUR, had the same "modeset(0): failed to set mode: Invalid argument" issue for me,  I see that today there's a new linux-mainline 5.0-1 out.

Offline

#13 2019-03-04 14:31:50

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

@liara thank you for trying 5.0-rc8 between that and 5.0 release there have been no i915 commits so the issue should still be present
as anvil confirmed the cause was d179b88deb3bf6fed4991a31fd6f0f2cad21fab5 in 4.20.13 which was cherry-picked from d179b88deb3bf6fed4991a31fd6f0f2cad21fab5 in mainline.
Waiting for someone affected to confirm on https://bugs.freedesktop.org/show_bug.cgi?id=109806 that reverting
d179b88deb3bf6fed4991a31fd6f0f2cad21fab5 resolved the issue then upstream can start working on a fix.

Offline

#14 2019-03-04 16:26:42

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

Looks like someone in that link (https://bugs.freedesktop.org/show_bug.cgi?id=109806) confirmed that that hash revert fixed it. Would be happy to test that on my box, but since I've never compiled a kernel before a link to instructions would be handy.

Offline

#15 2019-03-04 17:00:50

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

Arch_Build_System#Retrieve_PKGBUILD_source_using_Git
I think the following should be enough

asp checkout linux
cd linux/trunk
git checkout b44aa57a4ff15e6c41d24429aff240d2e3980645 #4.20.13.arch1-1
makepkg -o
cd src/archlinux-linux
git revert -n d179b88deb3bf6fed4991a31fd6f0f2cad21fab5
cd ../..
makepkg -ersi

Edit:
added -e to use the existing src directory with the revert

Last edited by loqs (2019-03-04 17:01:34)

Offline

#16 2019-03-04 17:22:21

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

Alright, starting the build now. My laptop is a piece of crap, so this may take a long while. Will post back when complete and tested

Offline

#17 2019-03-04 17:33:06

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

piratebill wrote:

Alright, starting the build now. My laptop is a piece of crap, so this may take a long while.

Makepkg#Parallel_compilation may reduce the build time.
Edit:
https://bugs.freedesktop.org/show_bug.cgi?id=109806#c9

Jason Tibbitts wrote:

So far the problematic machines have all had 4th gen Intel CPUs (i5-4670 or i3-4130), Asus H81I-plus or H87I-plus motherboards and dual monitors.

Does that hardware match the affected systems? (Possibly not the motherboard but 4th gen Intel with multiple connected displays)

Last edited by loqs (2019-03-04 19:43:52)

Offline

#18 2019-03-04 19:54:22

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

loqs wrote:

https://bugs.freedesktop.org/show_bug.cgi?id=109806#c9

Jason Tibbitts wrote:

So far the problematic machines have all had 4th gen Intel CPUs (i5-4670 or i3-4130), Asus H81I-plus or H87I-plus motherboards and dual monitors.

Does that hardware match the affected systems? (Possibly not the motherboard but 4th gen Intel with multiple connected displays)

Not mine. Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series. The only display is the laptop screen. I am using nomode set like the others though

Last edited by piratebill (2019-03-04 19:55:06)

Offline

#19 2019-03-05 03:33:28

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

Confirmed. Reverting the specified commit fixed the issue for me. Is there anything I should do to help report this upstream?

Last edited by piratebill (2019-03-05 03:36:05)

Offline

#20 2019-03-05 08:48:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [SOLVED] Xorg not starting after system update

Participate in the posted bug report and specify that you are also experiencing this albeit with different hardware.

Offline

#21 2019-03-05 14:12:30

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

Done. Thank you all for your help debugging this.

Offline

#22 2019-03-06 13:00:07

liara
Member
Registered: 2013-04-10
Posts: 32

Re: [SOLVED] Xorg not starting after system update

I also reported upstream, hope it helps. Thanks @loqs for your guidance. I guess now we wait

Offline

#23 2019-03-06 15:56:31

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: [SOLVED] Xorg not starting after system update

The bug report now wants a drm-tip build
The following assumes the base-devel group and git are installed and I recomend enabling Makepkg#Parallel_compilation to reduce build times

$ git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux"
$ cd packages/trunk
$ git checkout 88bced9118156f0e11267dbab1bfdb77cada9022 #5.0.arch1-1
$ cd ../..
$ cp -r packages/trunk linux-drm-tip-git
$ rm -rf packages
$ cd linux-drm-tip-git
# Edit replace the PKGBUILD and 90-linux.hook with the ones below
$ makepkg -rsi #press enter to select default choice for new options present in drp-tip not in 5.0

PKGBUILD

# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>

pkgbase=linux-drm-tip-git
_srcname=drm-tip
pkgver=r814667.221f1aafa4d6
pkgrel=1
arch=('x86_64')
url="https://www.kernel.org/"
license=('GPL2')
makedepends=('kmod' 'inetutils' 'bc' 'libelf')
options=('!strip')
source=('git+https://anongit.freedesktop.org/git/drm-tip.git'
#        'git+https://github.com/freedesktop/drm-tip.git#branch=drm-tip' use github mirror instead
  'config'   # the main kernel config file
  '60-linux.hook'  # pacman hook for depmod
  '90-linux.hook'  # pacman hook for initramfs regeneration
  'linux.preset'   # standard config files for mkinitcpio ramdisk
)

sha256sums=('SKIP'
            'df2ce998b050c707950c555f7f6ec0efcb8498fca10b4bce45f681844c8aa0ab'
            'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
            'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
            'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')

_kernelname=${pkgbase#linux}
: ${_kernelname:=-ARCH}

pkgver() {
  cd "${_srcname}"

  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd ${_srcname}

  cp -Tf ../config .config

  # set localversion to git commit
  sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
  sed -i "s|^.*CONFIG_LOCALVERSION_AUTO.*|CONFIG_LOCALVERSION_AUTO=y|" ./.config

  # don't run depmod on 'make install'. We'll do this ourselves in packaging
#  git tracks scripts/depmod.sh so do not change it when using the existing source dir for bisection
#  sed -i '2iexit 0' scripts/depmod.sh

  # get kernel version
  make prepare

  # load configuration
  # Configure the kernel. Replace the line below with one of your choice.
  #make menuconfig # CLI menu for configuration
  #make nconfig # new CLI menu for configuration
  #make xconfig # X-based configuration
  #make oldconfig # using old config from previous kernel version
  make olddefconfig # old config from previous kernel, defaults for new options
  # ... or manually edit .config
}

build() {
  cd ${_srcname}

  make bzImage modules
}

_package() {
  pkgdesc="The Linux kernel and modules (drm-tip version)"
  depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
  optdepends=('crda: to set the correct wireless channels of your country')
  backup=("etc/mkinitcpio.d/${pkgbase}.preset")
  install=linux.install

  cd ${_srcname}

  # get kernel version
  _kernver="$(make kernelrelease)"
  _kernver=${_kernver%-dirty} #https://bbs.archlinux.org/viewtopic.php?id=236702
  _basekernel="$(make kernelversion)"
  _basekernel=${_basekernel%.*}

  mkdir -p "${pkgdir}"/{boot,usr/lib/modules}
  make INSTALL_MOD_PATH="${pkgdir}/usr" modules_install
  cp arch/x86/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"

  # make room for external modules
  local _extramodules="extramodules-${_basekernel}${_kernelname}"
  ln -s "../${_extramodules}" "${pkgdir}/usr/lib/modules/${_kernver}/extramodules"

  # add real version for building modules and running depmod from hook
  echo "${_kernver}" |
    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules/${_extramodules}/version"

  # remove build and source links
  rm "${pkgdir}"/usr/lib/modules/${_kernver}/{source,build}

  # now we call depmod...
  depmod -b "${pkgdir}/usr" -F System.map "${_kernver}"

  # add vmlinux
  install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/build" -m644 vmlinux

  # sed expression for following substitutions
  local _subst="
    s|%PKGBASE%|${pkgbase}|g
    s|%KERNVER%|${_kernver}|g
    s|%EXTRAMODULES%|${_extramodules}|g
  "

  # hack to allow specifying an initially nonexisting install file
  sed "${_subst}" "${startdir}/${install}" > "${startdir}/${install}.pkg"
  true && install=${install}.pkg

  # install mkinitcpio preset file
  sed "${_subst}" ../linux.preset |
    install -Dm644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"

  # install pacman hooks
  sed "${_subst}" ../60-linux.hook |
    install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/60-${pkgbase}.hook"
  sed "${_subst}" ../90-linux.hook |
    install -Dm644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
}

_package-headers() {
  pkgdesc="Header files and scripts for building modules for Linux kernel (drm-tip version)"

  cd ${_srcname}
  local _builddir="${pkgdir}/usr/lib/modules/${_kernver}/build"

  install -Dt "${_builddir}" -m644 Makefile .config Module.symvers
  install -Dt "${_builddir}/kernel" -m644 kernel/Makefile

  mkdir "${_builddir}/.tmp_versions"

  cp -t "${_builddir}" -a include scripts

  install -Dt "${_builddir}/arch/x86" -m644 arch/x86/Makefile
  install -Dt "${_builddir}/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s

  cp -t "${_builddir}/arch/x86" -a arch/x86/include

  install -Dt "${_builddir}/drivers/md" -m644 drivers/md/*.h
  install -Dt "${_builddir}/net/mac80211" -m644 net/mac80211/*.h

  # http://bugs.archlinux.org/task/13146
  install -Dt "${_builddir}/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h

  # http://bugs.archlinux.org/task/20402
  install -Dt "${_builddir}/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
  install -Dt "${_builddir}/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
  install -Dt "${_builddir}/drivers/media/tuners" -m644 drivers/media/tuners/*.h

  # add xfs and shmem for aufs building
  mkdir -p "${_builddir}"/{fs/xfs,mm}

  # copy in Kconfig files
  find . -name Kconfig\* -exec install -Dm644 {} "${_builddir}/{}" \;

  # add objtool for external module building and enabled VALIDATION_STACK option
  install -Dt "${_builddir}/tools/objtool" tools/objtool/objtool

  # remove unneeded architectures
  local _arch
  for _arch in "${_builddir}"/arch/*/; do
    [[ ${_arch} == */x86/ ]] && continue
    rm -r "${_arch}"
  done

  # remove files already in linux-docs package
  rm -r "${_builddir}/Documentation"

  # remove now broken symlinks
  find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete

  # Fix permissions
  chmod -R u=rwX,go=rX "${_builddir}"

  # strip scripts directory
  local _binary _strip
  while read -rd '' _binary; do
    case "$(file -bi "${_binary}")" in
      *application/x-sharedlib*)  _strip="${STRIP_SHARED}"   ;; # Libraries (.so)
      *application/x-archive*)    _strip="${STRIP_STATIC}"   ;; # Libraries (.a)
      *application/x-executable*) _strip="${STRIP_BINARIES}" ;; # Binaries
      *) continue ;;
    esac
    /usr/bin/strip ${_strip} "${_binary}"
  done < <(find "${_builddir}/scripts" -type f -perm -u+w -print0 2>/dev/null)
}

_package-docs() {
  pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"

  cd ${_srcname}
  local _builddir="${pkgdir}/usr/lib/modules/${_kernver}/build"

  mkdir -p "${_builddir}"
  cp -t "${_builddir}" -a Documentation

  # Fix permissions
  chmod -R u=rwX,go=rX "${_builddir}"
}

pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
  eval "package_${_p}() {
    $(declare -f "_package${_p#${pkgbase}}")
    _package${_p#${pkgbase}}
  }"
done

90-linux.hook

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = boot/vmlinuz-%PKGBASE%
Target = usr/lib/initcpio/*

[Action]
Description = Updating %PKGBASE% initcpios...
When = PostTransaction
Exec = /usr/bin/mkinitcpio -p %PKGBASE%

Offline

#24 2019-03-06 16:12:44

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

loqs, I have access to a threadripper at home. I'll attempt to do the build later tonight once I get home (or tomorrow worst case). Last time i tried compiling the kernel on my laptop it was still going about 5 hours into it.

Offline

#25 2019-03-07 21:43:46

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 133

Re: [SOLVED] Xorg not starting after system update

drm-tip built, problem persists. I have reported this in the bug report

Offline

Board footer

Powered by FluxBB