On Tue, Aug 27, 2019 at 10:17:41PM +0100, Ken Moffat via blfs-dev wrote:
> On Tue, Aug 27, 2019 at 03:12:05PM -0500, Bruce Dubbs via blfs-dev wrote:
> > On 8/27/19 2:41 PM, Ken Moffat via blfs-dev wrote:
> > >
And now my results.
(I'll snip your examples here, but try to keep the versions I used
in a similar order in the data below).
> > root 1069 1 0 Aug25 ? 00:00:00 elogind-daemon
I didn't actually grep for elogind daemon for these runs, but
previous experiments confirm it does start automatically when I
login.
> Thanks, I'll try this within the next couple of hours on intel
> (haswell), also modesetting on my old phenom (my current
> expectation is that modesetting is not going to work, stiartx fails),
> and then install radeon on the phenom and retry. The intel uses
> libinput, I think the phenom uses just evdev.
>
Overview:
--------
On intel haswell, startx fluxbox started it, again with no mouse or
keyboard.
On the phenom (using evdev rather than libinput), initially with the
modesetting driver from xorg-server, but also after then installing
the ati video driver, X failed to start (details under 'modesetting'
below).
On the phenom, to prove nothing else was missing to cause X to fail
to start, I then ran 'chmod 4755 /usr/libexec/Xorg' and 'startx
fluxbox' now worked and let me select from the menu to logout of
it.
After that, I thought about the 'eudev must be built with acl'
comment. I'm not sure that both of these machines were running a
kernel where the tmpfs POSIX ACL option was set when I built them in
chroot, so I thought I'd retry configuring eudev and looking at
config.log. But the only match for 'acl' was in
ACLOCAL='${SHELL} /tmp/eudev-3.2.8/missing aclocal-1.16'.
haswell
-------
-rwxr-xr-x 1 root root 2501536 Aug 25 23:48 /usr/libexec/Xorg
-rwsr-xr-x 1 root root 17616 Aug 25 23:48 /usr/libexec/Xorg.wrap
libevdev-1.7.0
mtdev-1.1.5
libinput-1.14.0
xf86-input-libinput-0.29.0
xf86-video-intel-20190723
[ 112.806] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will
not be created.
[ 112.808]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 112.810] Build Operating System: Linux 5.2.8 x86_64
[ 112.810] Current Operating System: Linux plexi 5.2.8 #2 SMP PREEMPT Sun Aug
25 21:52:57 BST 2019 x86_64
[ 112.810] Kernel command line: BOOT_IMAGE=/vmlinuz-5.2.8-sda5 root=/dev/sda5
ro resume=/dev/sdb1
[...]
[ 112.818] (==) Log file: "/home/ken/.local/share/xorg/Xorg.0.log", Time: Tue
Aug 27 22:25:10 2019
[ 112.820] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 112.820] (==) No Layout section. Using the first Screen section.
[ 112.820] (==) No screen section available. Using defaults.
[ 112.820] (**) |-->Screen "Default Screen Section" (0)
[ 112.820] (**) | |-->Monitor "<default monitor>"
[ 112.820] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 112.820] (==) Automatically adding devices
[ 112.820] (==) Automatically enabling devices
[ 112.820] (==) Automatically adding GPU devices
[ 112.821] (==) Max clients allowed: 256, resource mask: 0x1fffff
[...]
[ 112.825] (II) LoadModule: "glx"
[ 112.825] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 112.833] (II) Module glx: vendor="X.Org Foundation"
[ 112.833] compiled for 1.20.5, module version = 1.0.0
[ 112.833] ABI class: X.Org Server Extension, version 10.0
[ 112.833] (==) Matched intel as autoconfigured driver 0
[...]
[ 112.833] (II) LoadModule: "intel"
[ 112.834] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 112.836] (II) Module intel: vendor="X.Org Foundation"
[ 112.836] compiled for 1.20.5, module version = 2.99.917
[...]
[ 112.837] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 112.837] (II) intel: Driver for Intel(R) HD Graphics
[ 112.837] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 112.837] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 112.837] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 112.837] (++) using VT number 1
[ 112.838] (II) intel(0): Using Kernel Mode Setting driver: i915, version
1.6.0 20190417
[ 112.850] (WW) Falling back to old probe method for modesetting
[ 112.850] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 112.850] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
4600
[ 112.850] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2,
avx, avx2; using a maximum of 4 threads
[ 112.850] (II) intel(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 24/32
[...]
[ 112.851] (II) UnloadModule: "modesetting"
[ 112.851] (II) Unloading modesetting
[ 112.853] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[ 112.853] (==) intel(0): Backing store enabled
[ 112.853] (==) intel(0): Silken mouse enabled
[ 112.854] (II) intel(0): HW Cursor enabled
[ 112.854] (==) intel(0): DPMS enabled
[ 112.854] (==) intel(0): Display hotplug detection enabled
[ 112.854] (II) intel(0): [DRI2] Setup complete
[ 112.854] (II) intel(0): [DRI2] DRI driver: i965
[ 112.854] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 112.854] (II) intel(0): direct rendering: DRI2 enabled
[...]
[ 112.890] (II) intel(0): Setting screen physical size to 423 x 317
[ 112.916] (II) config/udev: Adding input device Power Button
(/dev/input/event1)
[ 112.916] (**) Power Button: Applying InputClass "keyboard-all"
[ 112.916] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 112.916] (II) LoadModule: "libinput"
[ 112.916] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 112.919] (II) Module libinput: vendor="X.Org Foundation"
[ 112.919] compiled for 1.20.5, module version = 0.29.0
[ 112.919] Module class: X.Org XInput Driver
[ 112.919] ABI class: X.Org XInput driver, version 24.1
[ 112.919] (II) Using input driver 'libinput' for 'Power Button'
[ 112.919] (**) Power Button: always reports core events
[ 112.919] (**) Option "Device" "/dev/input/event1"
[ 112.919] (**) Option "_source" "server/udev"
[ 112.923] (EE) xf86OpenSerial: Cannot open device /dev/input/event1
Permission denied.
[ 112.923] (II) event1: opening input device '/dev/input/event1' failed
(Permission denied).
[ 112.923] (II) event1 - failed to create input device '/dev/input/event1'.
[ 112.923] (EE) libinput: Power Button: Failed to create a device for
/dev/input/event1
[ 112.923] (EE) PreInit returned 2 for "Power Button"
[ 112.923] (II) UnloadModule: "libinput"
And similarly for every other /dev/input/event* devices,
each followed by unloading libinput.
modesetting
-----------
-rwxr-xr-x 1 root root 2585080 Aug 26 05:47 /usr/libexec/Xorg
-rwsr-xr-x 1 root root 17632 Aug 26 05:47 /usr/libexec/Xorg.wrap
libevdev-1.7.0
mtdev-1.1.5
xf86-input-evdev-2.10.6
xorg-server-1.20.5 for modesetting
When I ran startx, the following appeared on the tty
xauth: file /home/ken/.serverauth.1153 does not exist
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.2.8 x86_64
Current Operating System: Linux ac4tv 5.2.8 #2 SMP PREEMPT Mon Aug 26 03:43:25
BST 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.2.8-sda12 root=/dev/sda12 ro
resume=/dev/sda8
Build Date: 26 August 2019 05:46:19AM
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/ken/.local/share/xorg/Xorg.0.log", Time: Tue Aug 27
23:40:08 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
for additional information.(EE) (EE) Server terminated with error (1). Closing
log file.nsult the The X.Org Foundation support at http://wiki.x.org for
help. (EE) Please also check the log file at
"/home/ken/.local/share/xorg/Xorg.0.log"
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
ati
---
With radeon driver, as for modesetting except add
xf86-video-ati-19.0.1
Summary:
-------
I just wish I knew what was different. At this point I'm guessing
something in the kernel config, but there are more than 3000 items
in that, it would be like looking for a needle in a haystack.
ĸen
--
Adopted by dwarfs, brought up by dwarfs. To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
Captain Carrot Ironfoundersson (in The Fifth Elephant)
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page