You are not logged in.

#1 2019-12-09 22:00:04

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

[solved] startx displays X wrong at startup (only after switching tty)

Hi,

I've got some weird behaviour when starting X with the startx command. My windowmanager is dwm, but as far as I can tell, the WM is not the problem.
When I run startx as normal user, I get a black screen with only a mouse cursor on it, which can be moved. I can exit my windowmanager with the command defined by the windowmanager, so somehow the wm has to be running. What I discovered later, is that after switching to the tty2 and then back to the tty1 (where I run startx) X displays dwm (my windowmanager) correctly, which is a bit weird.

I've tried starting X (with startx) as root too, this worked completely fine, as well as starting X by running the command xinit /usr/local/dwm.
But running xinit /usr/local/dwm as normal user again,  X crashes and displays that the permission on tty was denied.

I also tried starting dwm by a displaymanager (lightdm in my case) that worked totally fine too.


So what do I want? I'm simply wondering why the normal startx command as normal user won't work (normally, so why do I have to switch tty back and forth to be able to see my windowmanager)? Until now startx worked always for me and I like using It that way (that's why I'm not satisfied with starting X by the displaymanager)

Does anybody have an Idea why it is the way it is? (I've already asked many people if they know what is wrong but no one had an Idea. Therefore I'm glad about any faint idea)


Thanks in advance!

Last edited by Attius_Sullivan (2019-12-10 21:37:46)

Offline

#2 2019-12-09 22:05:30

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

black screen with only a mouse cursor on it, which can be moved

Do you run a compositor next to DWM?

Offline

#3 2019-12-09 22:08:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] startx displays X wrong at startup (only after switching tty)

Please paste your xinitrc.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-12-09 22:09:07

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Seth wrote:

Do you run a compositor next to DWM?

Nope (at least not until now). I've just installed Arch on that new Laptop (had a brief problem with the graphics driver) and am now trying to start X as normally (everything else, like installing the programs I use etc comes after the configuration of the X server)

Last edited by Attius_Sullivan (2019-12-09 22:14:20)

Offline

#5 2019-12-09 22:12:56

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Simply the default .xinitrc file without starting the xterms etc but starting dwm instead

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login

exec dwm

Offline

#6 2019-12-10 08:12:43

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

had a brief problem with the graphics driver

Can you elaborate? Also post the Xorg log (mostly to see the available HW and used driver/config)

Offline

#7 2019-12-10 10:35:50

bachtiar
Member
Registered: 2005-02-08
Posts: 65

Re: [solved] startx displays X wrong at startup (only after switching tty)

Please check if this applies to you:

https://bugs.archlinux.org/task/64383

Offline

#8 2019-12-10 11:30:02

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

seth wrote:

had a brief problem with the graphics driver

Can you elaborate? Also post the Xorg log (mostly to see the available HW and used driver/config)

Actually, the problem was me using the LTS Kernel, but actually the Intel UHD 620 seems only to work with the normal kernel. But since I'm using the lts Kernel as far from what I can tell there is no problem with the driver anymore.

output of the normal startx on the console: (first line is outputted by me, this is the command I run)

command: startx


X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux archRoot 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5a1e75cd-395e-44de-b262-40a3b619d853 rw loglevel=3
Build Date: 23 November 2019  06:54:33AM

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/user/.local/share/xorg/Xorg.0.log", Time: Tue Dec 10 12:12:00 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

logfile for that:

[   284.639] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   284.640] 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[   284.640] Build Operating System: Linux Arch Linux
[   284.640] Current Operating System: Linux archRoot 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
[   284.640] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5a1e75cd-395e-44de-b262-40a3b619d853 rw loglevel=3
[   284.640] Build Date: 23 November 2019  06:54:33AM
[   284.640]  
[   284.640] Current version of pixman: 0.38.4
[   284.640] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   284.640] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   284.640] (==) Log file: "/home/user/.local/share/xorg/Xorg.0.log", Time: Tue Dec 10 12:12:00 2019
[   284.640] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   284.640] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   284.640] (==) No Layout section.  Using the first Screen section.
[   284.640] (==) No screen section available. Using defaults.
[   284.640] (**) |-->Screen "Default Screen Section" (0)
[   284.640] (**) |   |-->Monitor "<default monitor>"
[   284.640] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   284.640] (**) |   |-->Device "Intel Graphics"
[   284.640] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   284.640] (==) Automatically adding devices
[   284.640] (==) Automatically enabling devices
[   284.640] (==) Automatically adding GPU devices
[   284.640] (==) Automatically binding GPU devices
[   284.640] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   284.640] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   284.640] 	Entry deleted from font path.
[   284.640] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[   284.640] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   284.640] 	Entry deleted from font path.
[   284.640] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   284.640] 	Entry deleted from font path.
[   284.640] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   284.640] 	Entry deleted from font path.
[   284.640] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   284.640] (==) ModulePath set to "/usr/lib/xorg/modules"
[   284.640] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   284.640] (II) Module ABI versions:
[   284.640] 	X.Org ANSI C Emulation: 0.4
[   284.640] 	X.Org Video Driver: 24.0
[   284.640] 	X.Org XInput driver : 24.1
[   284.640] 	X.Org Server Extension : 10.0
[   284.641] (++) using VT number 1

[   284.642] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   284.642] (II) xfree86: Adding drm device (/dev/dri/card0)
[   284.643] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   284.644] (--) PCI:*(0@0:2:0) 8086:9b41:1558:1403 rev 2, Mem @ 0x6024000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   284.644] (II) Open ACPI successful (/var/run/acpid.socket)
[   284.644] (II) LoadModule: "glx"
[   284.644] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   284.645] (II) Module glx: vendor="X.Org Foundation"
[   284.645] 	compiled for 1.20.6, module version = 1.0.0
[   284.645] 	ABI class: X.Org Server Extension, version 10.0
[   284.645] (II) LoadModule: "intel"
[   284.645] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   284.645] (II) Module intel: vendor="X.Org Foundation"
[   284.645] 	compiled for 1.20.6, module version = 2.99.917
[   284.645] 	Module class: X.Org Video Driver
[   284.645] 	ABI class: X.Org Video Driver, version 24.0
[   284.645] (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
[   284.645] (II) intel: Driver for Intel(R) HD Graphics
[   284.645] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   284.645] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   284.645] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   284.645] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190822
[   284.645] (II) intel(0): SNA compiled from 2.99.917-897-g0867eea6
[   284.662] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   284.662] (WW) intel(0): Unknown chipset
[   284.662] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[   284.662] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   284.662] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   284.662] (==) intel(0): RGB weight 888
[   284.662] (==) intel(0): Default visual is TrueColor
[   284.663] (II) intel(0): Output eDP1 has no monitor section
[   284.663] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[   284.663] (II) intel(0): Enabled output eDP1
[   284.663] (II) intel(0): Output DP1 has no monitor section
[   284.663] (II) intel(0): Enabled output DP1
[   284.663] (II) intel(0): Output HDMI1 has no monitor section
[   284.664] (II) intel(0): Enabled output HDMI1
[   284.664] (II) intel(0): Output HDMI2 has no monitor section
[   284.664] (II) intel(0): Enabled output HDMI2
[   284.664] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   284.664] (II) intel(0): Output VIRTUAL1 has no monitor section
[   284.664] (II) intel(0): Enabled output VIRTUAL1
[   284.664] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[   284.664] (==) intel(0): TearFree disabled
[   284.664] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   284.664] (==) intel(0): DPI set to (96, 96)
[   284.664] (II) Loading sub module "dri3"
[   284.664] (II) LoadModule: "dri3"
[   284.664] (II) Module "dri3" already built-in
[   284.664] (II) Loading sub module "dri2"
[   284.664] (II) LoadModule: "dri2"
[   284.664] (II) Module "dri2" already built-in
[   284.664] (II) Loading sub module "present"
[   284.664] (II) LoadModule: "present"
[   284.664] (II) Module "present" already built-in
[   284.664] (II) intel(0): SNA initialized with disabled backend
[   284.664] (==) intel(0): Backing store enabled
[   284.664] (==) intel(0): Silken mouse disabled
[   284.664] (II) intel(0): HW Cursor enabled
[   284.664] (==) intel(0): DPMS enabled
[   284.665] (==) intel(0): Display hotplug detection enabled
[   284.665] (II) intel(0): Textured video not supported on this hardware or backend
[   284.665] (WW) intel(0): loading DRI2 whilst acceleration is disabled.
[   284.665] (II) intel(0): [DRI2] Setup complete
[   284.665] (II) intel(0): [DRI2]   DRI driver: i965
[   284.665] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   284.665] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[   284.665] (II) intel(0): hardware support for Present enabled
[   284.665] (II) Initializing extension Generic Event Extension
[   284.665] (II) Initializing extension SHAPE
[   284.665] (II) Initializing extension MIT-SHM
[   284.665] (II) Initializing extension XInputExtension
[   284.665] (II) Initializing extension XTEST
[   284.665] (II) Initializing extension BIG-REQUESTS
[   284.665] (II) Initializing extension SYNC
[   284.665] (II) Initializing extension XKEYBOARD
[   284.665] (II) Initializing extension XC-MISC
[   284.665] (II) Initializing extension SECURITY
[   284.665] (II) Initializing extension XFIXES
[   284.665] (II) Initializing extension RENDER
[   284.665] (II) Initializing extension RANDR
[   284.665] (II) Initializing extension COMPOSITE
[   284.665] (II) Initializing extension DAMAGE
[   284.665] (II) Initializing extension MIT-SCREEN-SAVER
[   284.665] (II) Initializing extension DOUBLE-BUFFER
[   284.665] (II) Initializing extension RECORD
[   284.665] (II) Initializing extension DPMS
[   284.665] (II) Initializing extension Present
[   284.665] (II) Initializing extension DRI3
[   284.665] (II) Initializing extension X-Resource
[   284.665] (II) Initializing extension XVideo
[   284.665] (II) Initializing extension XVideo-MotionCompensation
[   284.665] (II) Initializing extension GLX
[   284.670] (II) AIGLX: Loaded and initialized i965
[   284.670] (II) GLX: Initialized DRI2 GL provider for screen 0
[   284.670] (II) Initializing extension XFree86-VidModeExtension
[   284.670] (II) Initializing extension XFree86-DGA
[   284.670] (II) Initializing extension XFree86-DRI
[   284.670] (II) Initializing extension DRI2
[   284.672] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   284.687] (II) intel(0): Setting screen physical size to 508 x 285
[   284.723] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   284.723] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   284.723] (II) LoadModule: "libinput"
[   284.723] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   284.724] (II) Module libinput: vendor="X.Org Foundation"
[   284.724] 	compiled for 1.20.5, module version = 0.29.0
[   284.724] 	Module class: X.Org XInput Driver
[   284.724] 	ABI class: X.Org XInput driver, version 24.1
[   284.724] (II) Using input driver 'libinput' for 'Power Button'
[   284.725] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 17 paused 0
[   284.725] (**) Power Button: always reports core events
[   284.725] (**) Option "Device" "/dev/input/event3"
[   284.725] (**) Option "_source" "server/udev"
[   284.725] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   284.725] (II) event3  - Power Button: device is a keyboard
[   284.725] (II) event3  - Power Button: device removed
[   284.726] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   284.726] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   284.726] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   284.726] (II) event3  - Power Button: device is a keyboard
[   284.726] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[   284.726] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   284.726] (II) Using input driver 'libinput' for 'Video Bus'
[   284.727] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 20 paused 0
[   284.727] (**) Video Bus: always reports core events
[   284.727] (**) Option "Device" "/dev/input/event4"
[   284.727] (**) Option "_source" "server/udev"
[   284.727] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   284.727] (II) event4  - Video Bus: device is a keyboard
[   284.727] (II) event4  - Video Bus: device removed
[   284.727] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[   284.727] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   284.728] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   284.728] (II) event4  - Video Bus: device is a keyboard
[   284.728] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   284.728] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   284.728] (II) Using input driver 'libinput' for 'Power Button'
[   284.728] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 21 paused 0
[   284.728] (**) Power Button: always reports core events
[   284.728] (**) Option "Device" "/dev/input/event0"
[   284.728] (**) Option "_source" "server/udev"
[   284.729] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   284.729] (II) event0  - Power Button: device is a keyboard
[   284.729] (II) event0  - Power Button: device removed
[   284.729] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   284.729] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   284.729] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   284.729] (II) event0  - Power Button: device is a keyboard
[   284.730] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[   284.730] (II) No input driver specified, ignoring this device.
[   284.730] (II) This device may have been added with another device file.
[   284.730] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   284.730] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   284.730] (II) Using input driver 'libinput' for 'Sleep Button'
[   284.730] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 22 paused 0
[   284.730] (**) Sleep Button: always reports core events
[   284.730] (**) Option "Device" "/dev/input/event1"
[   284.730] (**) Option "_source" "server/udev"
[   284.731] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   284.731] (II) event1  - Sleep Button: device is a keyboard
[   284.731] (II) event1  - Sleep Button: device removed
[   284.731] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   284.731] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   284.731] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   284.731] (II) event1  - Sleep Button: device is a keyboard
[   284.731] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event8)
[   284.731] (II) No input driver specified, ignoring this device.
[   284.731] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event10)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event11)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event12)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event13)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.732] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event14)
[   284.732] (II) No input driver specified, ignoring this device.
[   284.732] (II) This device may have been added with another device file.
[   284.733] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event15)
[   284.733] (II) No input driver specified, ignoring this device.
[   284.733] (II) This device may have been added with another device file.
[   284.733] (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
[   284.733] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[   284.733] (II) Using input driver 'libinput' for 'Intel HID events'
[   284.733] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 23 paused 0
[   284.733] (**) Intel HID events: always reports core events
[   284.733] (**) Option "Device" "/dev/input/event6"
[   284.733] (**) Option "_source" "server/udev"
[   284.734] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[   284.734] (II) event6  - Intel HID events: device is a keyboard
[   284.734] (II) event6  - Intel HID events: device removed
[   284.734] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input10/event6"
[   284.734] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 10)
[   284.734] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[   284.734] (II) event6  - Intel HID events: device is a keyboard
[   284.734] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[   284.734] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   284.734] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   284.735] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 24 paused 0
[   284.735] (**) AT Translated Set 2 keyboard: always reports core events
[   284.735] (**) Option "Device" "/dev/input/event5"
[   284.735] (**) Option "_source" "server/udev"
[   284.735] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   284.735] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   284.736] (II) event5  - AT Translated Set 2 keyboard: device removed
[   284.736] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[   284.736] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   284.736] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   284.736] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   284.737] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event16)
[   284.737] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   284.737] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   284.737] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 25 paused 0
[   284.737] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   284.737] (**) Option "Device" "/dev/input/event16"
[   284.737] (**) Option "_source" "server/udev"
[   284.738] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   284.738] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   284.738] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[   284.738] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input13/event16"
[   284.738] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[   284.738] (**) Option "AccelerationScheme" "none"
[   284.738] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   284.738] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   284.738] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   284.739] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   284.739] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   284.739] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   284.739] (II) No input driver specified, ignoring this device.
[   284.739] (II) This device may have been added with another device file.
[   284.740] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   284.740] (II) No input driver specified, ignoring this device.
[   284.740] (II) This device may have been added with another device file.
[   286.667] (II) intel(0): EDID vendor "AUO", prod id 21565
[   286.667] (II) intel(0): Printing DDC gathered Modelines:
[   286.667] (II) intel(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 2080  1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[   286.667] (II) intel(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 2080  1080 1083 1088 1712 -hsync -vsync (68.6 kHz e)
[   287.111] (**) Option "fd" "17"
[   287.111] (II) event3  - Power Button: device removed
[   287.111] (**) Option "fd" "20"
[   287.111] (II) event4  - Video Bus: device removed
[   287.111] (**) Option "fd" "21"
[   287.111] (II) event0  - Power Button: device removed
[   287.111] (**) Option "fd" "22"
[   287.111] (II) event1  - Sleep Button: device removed
[   287.111] (**) Option "fd" "23"
[   287.111] (II) event6  - Intel HID events: device removed
[   287.111] (**) Option "fd" "24"
[   287.111] (II) event5  - AT Translated Set 2 keyboard: device removed
[   287.111] (**) Option "fd" "25"
[   287.111] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[   287.111] (II) UnloadModule: "libinput"
[   287.111] (II) systemd-logind: releasing fd for 13:80
[   287.188] (II) UnloadModule: "libinput"
[   287.188] (II) systemd-logind: releasing fd for 13:69
[   287.218] (II) UnloadModule: "libinput"
[   287.218] (II) systemd-logind: releasing fd for 13:70
[   287.238] (II) UnloadModule: "libinput"
[   287.238] (II) systemd-logind: releasing fd for 13:65
[   287.268] (II) UnloadModule: "libinput"
[   287.268] (II) systemd-logind: releasing fd for 13:64
[   287.288] (II) UnloadModule: "libinput"
[   287.288] (II) systemd-logind: releasing fd for 13:68
[   287.308] (II) UnloadModule: "libinput"
[   287.308] (II) systemd-logind: releasing fd for 13:67
[   287.372] (II) Server terminated successfully (0). Closing log file.

Same with root: (first line is outputted by me, this is the command I run)

command: sudo startx /home/user/.xinitrc


X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux archRoot 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5a1e75cd-395e-44de-b262-40a3b619d853 rw loglevel=3
Build Date: 23 November 2019  06:54:33AM
 
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: "/var/log/Xorg.0.log", Time: Tue Dec 10 12:13:12 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Failed to connect to bus: No such file or directory
dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

And the logfile:

[   388.799] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   388.799] 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[   388.799] Build Operating System: Linux Arch Linux
[   388.799] Current Operating System: Linux archRoot 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
[   388.799] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5a1e75cd-395e-44de-b262-40a3b619d853 rw loglevel=3
[   388.799] Build Date: 23 November 2019  06:54:33AM
[   388.799]  
[   388.799] Current version of pixman: 0.38.4
[   388.800] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   388.800] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   388.800] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 10 12:13:44 2019
[   388.800] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   388.800] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   388.800] (==) No Layout section.  Using the first Screen section.
[   388.800] (==) No screen section available. Using defaults.
[   388.800] (**) |-->Screen "Default Screen Section" (0)
[   388.800] (**) |   |-->Monitor "<default monitor>"
[   388.800] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   388.800] (**) |   |-->Device "Intel Graphics"
[   388.800] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   388.800] (==) Automatically adding devices
[   388.800] (==) Automatically enabling devices
[   388.800] (==) Automatically adding GPU devices
[   388.800] (==) Automatically binding GPU devices
[   388.800] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   388.800] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   388.800] 	Entry deleted from font path.
[   388.800] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[   388.800] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   388.800] 	Entry deleted from font path.
[   388.800] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   388.800] 	Entry deleted from font path.
[   388.800] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   388.800] 	Entry deleted from font path.
[   388.800] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   388.800] (==) ModulePath set to "/usr/lib/xorg/modules"
[   388.800] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   388.800] (II) Module ABI versions:
[   388.800] 	X.Org ANSI C Emulation: 0.4
[   388.800] 	X.Org Video Driver: 24.0
[   388.800] 	X.Org XInput driver : 24.1
[   388.800] 	X.Org Server Extension : 10.0
[   388.801] (++) using VT number 1

[   388.802] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   388.802] (II) xfree86: Adding drm device (/dev/dri/card0)
[   388.803] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   388.804] (--) PCI:*(0@0:2:0) 8086:9b41:1558:1403 rev 2, Mem @ 0x6024000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   388.804] (II) Open ACPI successful (/var/run/acpid.socket)
[   388.804] (II) LoadModule: "glx"
[   388.804] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   388.805] (II) Module glx: vendor="X.Org Foundation"
[   388.805] 	compiled for 1.20.6, module version = 1.0.0
[   388.805] 	ABI class: X.Org Server Extension, version 10.0
[   388.805] (II) LoadModule: "intel"
[   388.805] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   388.805] (II) Module intel: vendor="X.Org Foundation"
[   388.805] 	compiled for 1.20.6, module version = 2.99.917
[   388.805] 	Module class: X.Org Video Driver
[   388.805] 	ABI class: X.Org Video Driver, version 24.0
[   388.805] (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
[   388.806] (II) intel: Driver for Intel(R) HD Graphics
[   388.806] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   388.806] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   388.806] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190822
[   388.806] (II) intel(0): SNA compiled from 2.99.917-897-g0867eea6
[   388.822] (WW) intel(0): Unknown chipset
[   388.822] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[   388.822] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   388.822] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   388.822] (==) intel(0): RGB weight 888
[   388.822] (==) intel(0): Default visual is TrueColor
[   388.823] (II) intel(0): Output eDP1 has no monitor section
[   388.823] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[   388.823] (II) intel(0): Enabled output eDP1
[   388.823] (II) intel(0): Output DP1 has no monitor section
[   388.823] (II) intel(0): Enabled output DP1
[   388.823] (II) intel(0): Output HDMI1 has no monitor section
[   388.823] (II) intel(0): Enabled output HDMI1
[   388.823] (II) intel(0): Output HDMI2 has no monitor section
[   388.823] (II) intel(0): Enabled output HDMI2
[   388.823] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   388.823] (II) intel(0): Output VIRTUAL1 has no monitor section
[   388.823] (II) intel(0): Enabled output VIRTUAL1
[   388.823] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[   388.823] (==) intel(0): TearFree enabled
[   388.823] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   388.823] (==) intel(0): DPI set to (96, 96)
[   388.823] (II) Loading sub module "dri3"
[   388.823] (II) LoadModule: "dri3"
[   388.823] (II) Module "dri3" already built-in
[   388.823] (II) Loading sub module "dri2"
[   388.823] (II) LoadModule: "dri2"
[   388.823] (II) Module "dri2" already built-in
[   388.823] (II) Loading sub module "present"
[   388.823] (II) LoadModule: "present"
[   388.823] (II) Module "present" already built-in
[   388.824] (II) intel(0): SNA initialized with disabled backend
[   388.824] (==) intel(0): Backing store enabled
[   388.824] (==) intel(0): Silken mouse disabled
[   388.824] (II) intel(0): HW Cursor enabled
[   388.824] (==) intel(0): DPMS enabled
[   388.824] (==) intel(0): Display hotplug detection enabled
[   388.824] (II) intel(0): Textured video not supported on this hardware or backend
[   388.824] (WW) intel(0): loading DRI2 whilst acceleration is disabled.
[   388.824] (II) intel(0): [DRI2] Setup complete
[   388.824] (II) intel(0): [DRI2]   DRI driver: i965
[   388.824] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   388.824] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[   388.824] (II) intel(0): hardware support for Present enabled
[   388.824] (II) Initializing extension Generic Event Extension
[   388.824] (II) Initializing extension SHAPE
[   388.824] (II) Initializing extension MIT-SHM
[   388.824] (II) Initializing extension XInputExtension
[   388.824] (II) Initializing extension XTEST
[   388.824] (II) Initializing extension BIG-REQUESTS
[   388.824] (II) Initializing extension SYNC
[   388.824] (II) Initializing extension XKEYBOARD
[   388.824] (II) Initializing extension XC-MISC
[   388.824] (II) Initializing extension SECURITY
[   388.824] (II) Initializing extension XFIXES
[   388.824] (II) Initializing extension RENDER
[   388.824] (II) Initializing extension RANDR
[   388.824] (II) Initializing extension COMPOSITE
[   388.824] (II) Initializing extension DAMAGE
[   388.824] (II) Initializing extension MIT-SCREEN-SAVER
[   388.824] (II) Initializing extension DOUBLE-BUFFER
[   388.824] (II) Initializing extension RECORD
[   388.824] (II) Initializing extension DPMS
[   388.824] (II) Initializing extension Present
[   388.824] (II) Initializing extension DRI3
[   388.824] (II) Initializing extension X-Resource
[   388.824] (II) Initializing extension XVideo
[   388.824] (II) Initializing extension XVideo-MotionCompensation
[   388.824] (II) Initializing extension GLX
[   388.830] (II) AIGLX: Loaded and initialized i965
[   388.830] (II) GLX: Initialized DRI2 GL provider for screen 0
[   388.830] (II) Initializing extension XFree86-VidModeExtension
[   388.830] (II) Initializing extension XFree86-DGA
[   388.830] (II) Initializing extension XFree86-DRI
[   388.830] (II) Initializing extension DRI2
[   388.833] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   388.846] (II) intel(0): Setting screen physical size to 508 x 285
[   388.889] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   388.889] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   388.889] (II) LoadModule: "libinput"
[   388.889] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   388.890] (II) Module libinput: vendor="X.Org Foundation"
[   388.890] 	compiled for 1.20.5, module version = 0.29.0
[   388.890] 	Module class: X.Org XInput Driver
[   388.890] 	ABI class: X.Org XInput driver, version 24.1
[   388.890] (II) Using input driver 'libinput' for 'Power Button'
[   388.890] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 20 paused 0
[   388.890] (**) Power Button: always reports core events
[   388.890] (**) Option "Device" "/dev/input/event3"
[   388.891] (**) Option "_source" "server/udev"
[   388.891] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   388.891] (II) event3  - Power Button: device is a keyboard
[   388.891] (II) event3  - Power Button: device removed
[   388.891] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   388.892] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   388.892] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   388.892] (II) event3  - Power Button: device is a keyboard
[   388.892] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[   388.892] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   388.892] (II) Using input driver 'libinput' for 'Video Bus'
[   388.893] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 23 paused 0
[   388.893] (**) Video Bus: always reports core events
[   388.893] (**) Option "Device" "/dev/input/event4"
[   388.893] (**) Option "_source" "server/udev"
[   388.893] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   388.893] (II) event4  - Video Bus: device is a keyboard
[   388.893] (II) event4  - Video Bus: device removed
[   388.893] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[   388.893] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   388.894] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[   388.894] (II) event4  - Video Bus: device is a keyboard
[   388.894] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   388.894] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   388.894] (II) Using input driver 'libinput' for 'Power Button'
[   388.895] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 24 paused 0
[   388.895] (**) Power Button: always reports core events
[   388.895] (**) Option "Device" "/dev/input/event0"
[   388.895] (**) Option "_source" "server/udev"
[   388.895] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   388.895] (II) event0  - Power Button: device is a keyboard
[   388.895] (II) event0  - Power Button: device removed
[   388.895] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   388.895] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   388.896] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   388.896] (II) event0  - Power Button: device is a keyboard
[   388.896] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[   388.896] (II) No input driver specified, ignoring this device.
[   388.896] (II) This device may have been added with another device file.
[   388.896] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   388.896] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   388.896] (II) Using input driver 'libinput' for 'Sleep Button'
[   388.897] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 25 paused 0
[   388.897] (**) Sleep Button: always reports core events
[   388.897] (**) Option "Device" "/dev/input/event1"
[   388.897] (**) Option "_source" "server/udev"
[   388.897] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   388.897] (II) event1  - Sleep Button: device is a keyboard
[   388.897] (II) event1  - Sleep Button: device removed
[   388.897] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   388.897] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   388.898] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   388.898] (II) event1  - Sleep Button: device is a keyboard
[   388.898] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event8)
[   388.898] (II) No input driver specified, ignoring this device.
[   388.898] (II) This device may have been added with another device file.
[   388.898] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[   388.898] (II) No input driver specified, ignoring this device.
[   388.898] (II) This device may have been added with another device file.
[   388.899] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event10)
[   388.899] (II) No input driver specified, ignoring this device.
[   388.899] (II) This device may have been added with another device file.
[   388.899] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event11)
[   388.899] (II) No input driver specified, ignoring this device.
[   388.899] (II) This device may have been added with another device file.
[   388.899] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event12)
[   388.899] (II) No input driver specified, ignoring this device.
[   388.899] (II) This device may have been added with another device file.
[   388.899] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event13)
[   388.899] (II) No input driver specified, ignoring this device.
[   388.899] (II) This device may have been added with another device file.
[   388.899] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event14)
[   388.899] (II) No input driver specified, ignoring this device.
[   388.899] (II) This device may have been added with another device file.
[   388.900] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event15)
[   388.900] (II) No input driver specified, ignoring this device.
[   388.900] (II) This device may have been added with another device file.
[   388.900] (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
[   388.900] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[   388.900] (II) Using input driver 'libinput' for 'Intel HID events'
[   388.900] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 26 paused 0
[   388.900] (**) Intel HID events: always reports core events
[   388.900] (**) Option "Device" "/dev/input/event6"
[   388.900] (**) Option "_source" "server/udev"
[   388.901] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[   388.901] (II) event6  - Intel HID events: device is a keyboard
[   388.901] (II) event6  - Intel HID events: device removed
[   388.901] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input10/event6"
[   388.901] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 10)
[   388.901] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[   388.901] (II) event6  - Intel HID events: device is a keyboard
[   388.901] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[   388.901] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   388.901] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   388.902] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 27 paused 0
[   388.902] (**) AT Translated Set 2 keyboard: always reports core events
[   388.902] (**) Option "Device" "/dev/input/event5"
[   388.902] (**) Option "_source" "server/udev"
[   388.902] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   388.903] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   388.903] (II) event5  - AT Translated Set 2 keyboard: device removed
[   388.903] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[   388.903] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   388.903] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   388.903] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[   388.904] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event16)
[   388.904] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   388.904] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   388.904] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 28 paused 0
[   388.904] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   388.904] (**) Option "Device" "/dev/input/event16"
[   388.904] (**) Option "_source" "server/udev"
[   388.905] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   388.905] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   388.906] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[   388.906] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input13/event16"
[   388.906] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[   388.906] (**) Option "AccelerationScheme" "none"
[   388.906] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   388.906] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   388.906] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   388.906] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   388.907] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   388.907] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   388.907] (II) No input driver specified, ignoring this device.
[   388.907] (II) This device may have been added with another device file.
[   388.907] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   388.907] (II) No input driver specified, ignoring this device.
[   388.907] (II) This device may have been added with another device file.
[   390.098] (**) Option "fd" "20"
[   390.098] (II) event3  - Power Button: device removed
[   390.098] (**) Option "fd" "23"
[   390.098] (II) event4  - Video Bus: device removed
[   390.098] (**) Option "fd" "24"
[   390.098] (II) event0  - Power Button: device removed
[   390.098] (**) Option "fd" "25"
[   390.098] (II) event1  - Sleep Button: device removed
[   390.098] (**) Option "fd" "26"
[   390.098] (II) event6  - Intel HID events: device removed
[   390.098] (**) Option "fd" "27"
[   390.098] (II) event5  - AT Translated Set 2 keyboard: device removed
[   390.098] (**) Option "fd" "28"
[   390.098] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[   390.098] (II) UnloadModule: "libinput"
[   390.098] (II) systemd-logind: releasing fd for 13:80
[   390.202] (II) UnloadModule: "libinput"
[   390.202] (II) systemd-logind: releasing fd for 13:69
[   390.255] (II) UnloadModule: "libinput"
[   390.255] (II) systemd-logind: releasing fd for 13:70
[   390.308] (II) UnloadModule: "libinput"
[   390.308] (II) systemd-logind: releasing fd for 13:65
[   390.362] (II) UnloadModule: "libinput"
[   390.362] (II) systemd-logind: releasing fd for 13:64
[   390.388] (II) UnloadModule: "libinput"
[   390.388] (II) systemd-logind: releasing fd for 13:68
[   390.428] (II) UnloadModule: "libinput"
[   390.428] (II) systemd-logind: releasing fd for 13:67
[   390.499] (II) Server terminated successfully (0). Closing log file.

Offline

#9 2019-12-10 11:35:19

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

bachtiar wrote:

Please check if this applies to you:

https://bugs.archlinux.org/task/64383


well the output I have is differnt from the one on that bug report. But I think I should mention that I got a output similar to

[ALPM] running '30-systemd-daemon-reload.hook'...
[ALPM-SCRIPTLET] Running in chroot, ignoring request: daemon-reload

when installing arch. (I'll look up where this happens, but I actually know this is already outputted when running the pacstrap command)

Offline

#10 2019-12-10 11:52:36

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Ive checked, and it seams I get the

[ALPM] running '30-systemd-daemon-reload.hook'...
[ALPM-SCRIPTLET] Running in chroot, ignoring request: daemon-reload

output with running following commands (in chroot):

pacstrap /mnt base base-devel linux-lts linux-lts-headers linux-firmware bash bash-completion networkmanager network-manager-applet nm-connection-editor dhcpcd vim
pacman -S cups acpid acpi ntp cronie
pacman -S xorg-server xorg-xinit dkms
pacman -S alsa-tools alsa-utils pulseaudio-alsa pavucontrol pulseaudio
pacman -S xf86-video-intel

Which package in which pacman command wants to run the systemd-hook is unknown to me.
Apparnantly that is almost every pacman I run in chroot to install arch except where I install grub.

Offline

#11 2019-12-10 15:38:09

bachtiar
Member
Registered: 2005-02-08
Posts: 65

Re: [solved] startx displays X wrong at startup (only after switching tty)

As far as I can see from your logs, the cause of the problem in your case is not the same as in https://bugs.archlinux.org/task/64383.

Notably, your X does start up and terminates successfully.

To narrow down the problem, you could do a pacman -S xterm and then put just "exec xterm" in your ~/.xinitrc.

Offline

#12 2019-12-10 16:09:53

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

Try "pacman -Rs xf86-video-intel" (ie. the modesetting driver)

Offline

#13 2019-12-10 16:15:15

cprt
Member
Registered: 2019-12-10
Posts: 18

Re: [solved] startx displays X wrong at startup (only after switching tty)

Hello,
it seems I have the same problem (prev. thread: https://bbs.archlinux.org/viewtopic.php … #p1876976), here is my log:

[  1254.462] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  1254.463] 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[  1254.464] Build Operating System: Linux Arch Linux
[  1254.464] Current Operating System: Linux hushpc 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
[  1254.464] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5b780644-8382-11e9-a363-1b71c3bf36e9 rw loglevel=3 quiet
[  1254.465] Build Date: 23 November 2019  06:54:33AM
[  1254.466]  
[  1254.466] Current version of pixman: 0.38.4
[  1254.467] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1254.468] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1254.470] (==) Log file: "/home/user/.local/share/xorg/Xorg.1.log", Time: Tue Dec 10 15:35:56 2019
[  1254.471] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1254.472] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1254.472] (==) No Layout section.  Using the first Screen section.
[  1254.472] (==) No screen section available. Using defaults.
[  1254.472] (**) |-->Screen "Default Screen Section" (0)
[  1254.472] (**) |   |-->Monitor "<default monitor>"
[  1254.472] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1254.472] (**) |   |-->Device "Intel Graphics"
[  1254.472] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1254.472] (**) Option "DontVTSwitch" "off"
[  1254.472] (==) Automatically adding devices
[  1254.472] (==) Automatically enabling devices
[  1254.472] (==) Automatically adding GPU devices
[  1254.472] (==) Automatically binding GPU devices
[  1254.472] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1254.472] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1254.472] 	Entry deleted from font path.
[  1254.472] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  1254.472] 	Entry deleted from font path.
[  1254.472] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  1254.472] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[  1254.472] 	Entry deleted from font path.
[  1254.472] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[  1254.472] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[  1254.472] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1254.472] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1254.472] (II) Module ABI versions:
[  1254.472] 	X.Org ANSI C Emulation: 0.4
[  1254.472] 	X.Org Video Driver: 24.0
[  1254.472] 	X.Org XInput driver : 24.1
[  1254.472] 	X.Org Server Extension : 10.0
[  1254.473] (++) using VT number 2

[  1254.474] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_314
[  1254.475] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1254.476] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[  1254.478] (--) PCI:*(0@0:2:0) 8086:9b41:1558:1403 rev 2, Mem @ 0x6024000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  1254.479] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1254.479] (II) LoadModule: "glx"
[  1254.479] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1254.480] (II) Module glx: vendor="X.Org Foundation"
[  1254.480] 	compiled for 1.20.6, module version = 1.0.0
[  1254.480] 	ABI class: X.Org Server Extension, version 10.0
[  1254.480] (II) LoadModule: "intel"
[  1254.480] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1254.480] (II) Module intel: vendor="X.Org Foundation"
[  1254.480] 	compiled for 1.20.6, module version = 2.99.917
[  1254.480] 	Module class: X.Org Video Driver
[  1254.480] 	ABI class: X.Org Video Driver, version 24.0
[  1254.480] (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
[  1254.481] (II) intel: Driver for Intel(R) HD Graphics
[  1254.481] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1254.481] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1254.481] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  1254.481] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190822
[  1254.481] (II) intel(0): SNA compiled from 2.99.917-897-g0867eea6
[  1254.497] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1254.497] (WW) intel(0): Unknown chipset
[  1254.497] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[  1254.497] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1254.497] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1254.497] (==) intel(0): RGB weight 888
[  1254.497] (==) intel(0): Default visual is TrueColor
[  1254.498] (II) intel(0): Output eDP1 has no monitor section
[  1254.498] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[  1254.498] (II) intel(0): Enabled output eDP1
[  1254.498] (II) intel(0): Output DP1 has no monitor section
[  1254.498] (II) intel(0): Enabled output DP1
[  1254.498] (II) intel(0): Output HDMI1 has no monitor section
[  1254.498] (II) intel(0): Enabled output HDMI1
[  1254.498] (II) intel(0): Output HDMI2 has no monitor section
[  1254.498] (II) intel(0): Enabled output HDMI2
[  1254.498] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1254.498] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1254.498] (II) intel(0): Enabled output VIRTUAL1
[  1254.498] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[  1254.498] (==) intel(0): TearFree disabled
[  1254.498] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  1254.498] (==) intel(0): DPI set to (96, 96)
[  1254.498] (II) Loading sub module "dri3"
[  1254.498] (II) LoadModule: "dri3"
[  1254.498] (II) Module "dri3" already built-in
[  1254.498] (II) Loading sub module "dri2"
[  1254.498] (II) LoadModule: "dri2"
[  1254.498] (II) Module "dri2" already built-in
[  1254.498] (II) Loading sub module "present"
[  1254.498] (II) LoadModule: "present"
[  1254.498] (II) Module "present" already built-in
[  1254.499] (II) intel(0): SNA initialized with disabled backend
[  1254.499] (==) intel(0): Backing store enabled
[  1254.499] (==) intel(0): Silken mouse disabled
[  1254.499] (II) intel(0): HW Cursor enabled
[  1254.499] (==) intel(0): DPMS enabled
[  1254.499] (==) intel(0): Display hotplug detection enabled
[  1254.499] (II) intel(0): Textured video not supported on this hardware or backend
[  1254.499] (WW) intel(0): loading DRI2 whilst acceleration is disabled.
[  1254.499] (II) intel(0): [DRI2] Setup complete
[  1254.499] (II) intel(0): [DRI2]   DRI driver: i965
[  1254.499] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1254.499] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[  1254.499] (II) intel(0): hardware support for Present enabled
[  1254.499] (II) Initializing extension Generic Event Extension
[  1254.499] (II) Initializing extension SHAPE
[  1254.499] (II) Initializing extension MIT-SHM
[  1254.499] (II) Initializing extension XInputExtension
[  1254.499] (II) Initializing extension XTEST
[  1254.499] (II) Initializing extension BIG-REQUESTS
[  1254.499] (II) Initializing extension SYNC
[  1254.499] (II) Initializing extension XKEYBOARD
[  1254.499] (II) Initializing extension XC-MISC
[  1254.499] (II) Initializing extension SECURITY
[  1254.499] (II) Initializing extension XFIXES
[  1254.499] (II) Initializing extension RENDER
[  1254.499] (II) Initializing extension RANDR
[  1254.499] (II) Initializing extension COMPOSITE
[  1254.499] (II) Initializing extension DAMAGE
[  1254.499] (II) Initializing extension MIT-SCREEN-SAVER
[  1254.499] (II) Initializing extension DOUBLE-BUFFER
[  1254.499] (II) Initializing extension RECORD
[  1254.499] (II) Initializing extension DPMS
[  1254.499] (II) Initializing extension Present
[  1254.499] (II) Initializing extension DRI3
[  1254.499] (II) Initializing extension X-Resource
[  1254.499] (II) Initializing extension XVideo
[  1254.499] (II) Initializing extension XVideo-MotionCompensation
[  1254.499] (II) Initializing extension GLX
[  1254.504] (II) AIGLX: Loaded and initialized i965
[  1254.504] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1254.504] (II) Initializing extension XFree86-VidModeExtension
[  1254.504] (II) Initializing extension XFree86-DGA
[  1254.504] (II) Initializing extension XFree86-DRI
[  1254.504] (II) Initializing extension DRI2
[  1254.507] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1254.507] (II) intel(0): Setting screen physical size to 508 x 285
[  1254.527] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  1254.527] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1254.527] (II) LoadModule: "libinput"
[  1254.527] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1254.528] (II) Module libinput: vendor="X.Org Foundation"
[  1254.528] 	compiled for 1.20.5, module version = 0.29.0
[  1254.528] 	Module class: X.Org XInput Driver
[  1254.528] 	ABI class: X.Org XInput driver, version 24.1
[  1254.528] (II) Using input driver 'libinput' for 'Power Button'
[  1254.529] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 15 paused 0
[  1254.529] (**) Power Button: always reports core events
[  1254.529] (**) Option "Device" "/dev/input/event3"
[  1254.529] (**) Option "_source" "server/udev"
[  1254.530] (II) event3  - Power Button: is tagged by udev as: Keyboard
[  1254.530] (II) event3  - Power Button: device is a keyboard
[  1254.530] (II) event3  - Power Button: device removed
[  1254.530] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[  1254.530] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1254.530] (II) event3  - Power Button: is tagged by udev as: Keyboard
[  1254.530] (II) event3  - Power Button: device is a keyboard
[  1254.530] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[  1254.530] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  1254.530] (II) Using input driver 'libinput' for 'Video Bus'
[  1254.531] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 18 paused 0
[  1254.531] (**) Video Bus: always reports core events
[  1254.531] (**) Option "Device" "/dev/input/event4"
[  1254.531] (**) Option "_source" "server/udev"
[  1254.531] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[  1254.531] (II) event4  - Video Bus: device is a keyboard
[  1254.532] (II) event4  - Video Bus: device removed
[  1254.532] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[  1254.532] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  1254.532] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[  1254.532] (II) event4  - Video Bus: device is a keyboard
[  1254.532] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[  1254.532] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1254.532] (II) Using input driver 'libinput' for 'Power Button'
[  1254.533] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 19 paused 0
[  1254.533] (**) Power Button: always reports core events
[  1254.533] (**) Option "Device" "/dev/input/event0"
[  1254.533] (**) Option "_source" "server/udev"
[  1254.533] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  1254.533] (II) event0  - Power Button: device is a keyboard
[  1254.533] (II) event0  - Power Button: device removed
[  1254.533] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[  1254.533] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  1254.534] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  1254.534] (II) event0  - Power Button: device is a keyboard
[  1254.534] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[  1254.534] (II) No input driver specified, ignoring this device.
[  1254.534] (II) This device may have been added with another device file.
[  1254.534] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  1254.534] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[  1254.534] (II) Using input driver 'libinput' for 'Sleep Button'
[  1254.535] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 20 paused 0
[  1254.535] (**) Sleep Button: always reports core events
[  1254.535] (**) Option "Device" "/dev/input/event1"
[  1254.535] (**) Option "_source" "server/udev"
[  1254.535] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1254.535] (II) event1  - Sleep Button: device is a keyboard
[  1254.535] (II) event1  - Sleep Button: device removed
[  1254.535] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[  1254.535] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[  1254.536] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1254.536] (II) event1  - Sleep Button: device is a keyboard
[  1254.536] (II) config/udev: Adding input device Chicony USB2.0 Camera: Chicony  (/dev/input/event7)
[  1254.536] (**) Chicony USB2.0 Camera: Chicony : Applying InputClass "libinput keyboard catchall"
[  1254.536] (II) Using input driver 'libinput' for 'Chicony USB2.0 Camera: Chicony '
[  1254.537] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 21 paused 0
[  1254.537] (**) Chicony USB2.0 Camera: Chicony : always reports core events
[  1254.537] (**) Option "Device" "/dev/input/event7"
[  1254.537] (**) Option "_source" "server/udev"
[  1254.538] (II) event7  - Chicony USB2.0 Camera: Chicony : is tagged by udev as: Keyboard
[  1254.538] (II) event7  - Chicony USB2.0 Camera: Chicony : device is a keyboard
[  1254.538] (II) event7  - Chicony USB2.0 Camera: Chicony : device removed
[  1254.538] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input11/event7"
[  1254.538] (II) XINPUT: Adding extended input device "Chicony USB2.0 Camera: Chicony " (type: KEYBOARD, id 10)
[  1254.538] (II) event7  - Chicony USB2.0 Camera: Chicony : is tagged by udev as: Keyboard
[  1254.538] (II) event7  - Chicony USB2.0 Camera: Chicony : device is a keyboard
[  1254.538] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[  1254.538] (II) No input driver specified, ignoring this device.
[  1254.538] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event11)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event14)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.539] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event15)
[  1254.539] (II) No input driver specified, ignoring this device.
[  1254.539] (II) This device may have been added with another device file.
[  1254.540] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event16)
[  1254.540] (II) No input driver specified, ignoring this device.
[  1254.540] (II) This device may have been added with another device file.
[  1254.540] (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
[  1254.540] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[  1254.540] (II) Using input driver 'libinput' for 'Intel HID events'
[  1254.540] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 22 paused 0
[  1254.540] (**) Intel HID events: always reports core events
[  1254.540] (**) Option "Device" "/dev/input/event6"
[  1254.540] (**) Option "_source" "server/udev"
[  1254.541] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[  1254.541] (II) event6  - Intel HID events: device is a keyboard
[  1254.541] (II) event6  - Intel HID events: device removed
[  1254.541] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input10/event6"
[  1254.541] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 11)
[  1254.541] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[  1254.541] (II) event6  - Intel HID events: device is a keyboard
[  1254.541] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[  1254.542] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1254.542] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1254.542] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 23 paused 0
[  1254.542] (**) AT Translated Set 2 keyboard: always reports core events
[  1254.542] (**) Option "Device" "/dev/input/event5"
[  1254.542] (**) Option "_source" "server/udev"
[  1254.543] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1254.543] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[  1254.543] (II) event5  - AT Translated Set 2 keyboard: device removed
[  1254.543] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[  1254.543] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[  1254.543] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1254.543] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[  1254.544] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
[  1254.544] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[  1254.544] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[  1254.544] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[  1254.544] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[  1254.544] (II) LoadModule: "synaptics"
[  1254.544] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  1254.544] (II) Module synaptics: vendor="X.Org Foundation"
[  1254.544] 	compiled for 1.20.0, module version = 1.9.1
[  1254.544] 	Module class: X.Org XInput Driver
[  1254.544] 	ABI class: X.Org XInput driver, version 24.1
[  1254.544] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  1254.545] (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 24 paused 0
[  1254.545] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1254.545] (**) Option "Device" "/dev/input/event17"
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1238 - 5718 (res 55)
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 956 - 4908 (res 102)
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[  1254.545] (**) Option "FingerLow" "30"
[  1254.545] (**) Option "FingerHigh" "50"
[  1254.545] (**) Option "MaxTapTime" "125"
[  1254.545] (**) Option "EmulateTwoFingerMinZ" "40"
[  1254.545] (**) Option "EmulateTwoFingerMinW" "8"
[  1254.545] (**) Option "VertEdgeScroll" "on"
[  1254.545] (**) Option "HorizEdgeScroll" "on"
[  1254.545] (**) Option "VertTwoFingerScroll" "on"
[  1254.545] (**) Option "HorizTwoFingerScroll" "on"
[  1254.545] (**) Option "TapButton1" "1"
[  1254.545] (**) Option "TapButton2" "3"
[  1254.545] (**) Option "TapButton3" "2"
[  1254.545] (**) Option "CircularScrolling" "on"
[  1254.545] (**) Option "CircScrollTrigger" "2"
[  1254.545] (**) Option "CoastingSpeed" "0"
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  1254.545] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1254.545] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input14/event17"
[  1254.545] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[  1254.545] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[  1254.545] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[  1254.545] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.033
[  1254.545] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  1254.545] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[  1254.545] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  1254.545] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  1254.545] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  1254.545] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  1254.545] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[  1254.545] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[  1254.545] (II) No input driver specified, ignoring this device.
[  1254.545] (II) This device may have been added with another device file.
[  1256.500] (II) intel(0): EDID vendor "AUO", prod id 21565
[  1256.500] (II) intel(0): Printing DDC gathered Modelines:
[  1256.500] (II) intel(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 2080  1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[  1256.500] (II) intel(0): Modeline "1920x1080"x0.0  142.60  1920 1936 1952 2080  1080 1083 1088 1712 -hsync -vsync (68.6 kHz e)
[  1257.726] (**) Option "fd" "15"
[  1257.726] (II) event3  - Power Button: device removed
[  1257.726] (**) Option "fd" "18"
[  1257.726] (II) event4  - Video Bus: device removed
[  1257.726] (**) Option "fd" "19"
[  1257.726] (II) event0  - Power Button: device removed
[  1257.726] (**) Option "fd" "20"
[  1257.726] (II) event1  - Sleep Button: device removed
[  1257.726] (**) Option "fd" "21"
[  1257.726] (II) event7  - Chicony USB2.0 Camera: Chicony : device removed
[  1257.726] (**) Option "fd" "22"
[  1257.726] (II) event6  - Intel HID events: device removed
[  1257.726] (**) Option "fd" "23"
[  1257.726] (II) event5  - AT Translated Set 2 keyboard: device removed
[  1257.726] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1257.808] (II) systemd-logind: got pause for 13:69
[  1257.808] (II) systemd-logind: got pause for 13:68
[  1257.808] (II) systemd-logind: got pause for 13:67
[  1257.808] (II) systemd-logind: got pause for 13:71
[  1257.808] (II) systemd-logind: got pause for 13:65
[  1257.808] (II) systemd-logind: got pause for 13:70
[  1257.808] (II) systemd-logind: got pause for 13:81
[  1257.808] (II) systemd-logind: got pause for 13:64
[  1257.808] (II) systemd-logind: got pause for 226:0
[  1258.553] (II) systemd-logind: got resume for 13:69
[  1258.579] (II) systemd-logind: got resume for 13:68
[  1258.599] (II) systemd-logind: got resume for 13:67
[  1258.629] (II) systemd-logind: got resume for 13:71
[  1258.649] (II) systemd-logind: got resume for 13:65
[  1258.679] (II) systemd-logind: got resume for 13:70
[  1258.699] (II) systemd-logind: got resume for 13:81
[  1258.729] (II) systemd-logind: got resume for 13:64
[  1258.729] (II) systemd-logind: got resume for 226:0
[  1258.729] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1258.729] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1258.823] (II) event3  - Power Button: is tagged by udev as: Keyboard
[  1258.823] (II) event3  - Power Button: device is a keyboard
[  1258.824] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[  1258.824] (II) event4  - Video Bus: device is a keyboard
[  1258.824] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  1258.824] (II) event0  - Power Button: device is a keyboard
[  1258.825] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1258.825] (II) event1  - Sleep Button: device is a keyboard
[  1258.825] (II) event7  - Chicony USB2.0 Camera: Chicony : is tagged by udev as: Keyboard
[  1258.825] (II) event7  - Chicony USB2.0 Camera: Chicony : device is a keyboard
[  1258.826] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[  1258.826] (II) event6  - Intel HID events: device is a keyboard
[  1258.826] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1258.826] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[  1258.826] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  1391.325] (**) Option "fd" "20"
[  1391.325] (II) event3  - Power Button: device removed
[  1391.325] (**) Option "fd" "19"
[  1391.325] (II) event4  - Video Bus: device removed
[  1391.325] (**) Option "fd" "26"
[  1391.325] (II) event0  - Power Button: device removed
[  1391.325] (**) Option "fd" "22"
[  1391.325] (II) event1  - Sleep Button: device removed
[  1391.325] (**) Option "fd" "21"
[  1391.325] (II) event7  - Chicony USB2.0 Camera: Chicony : device removed
[  1391.325] (**) Option "fd" "23"
[  1391.325] (II) event6  - Intel HID events: device removed
[  1391.325] (**) Option "fd" "18"
[  1391.325] (II) event5  - AT Translated Set 2 keyboard: device removed
[  1391.325] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1391.400] (II) systemd-logind: got pause for 13:69
[  1391.400] (II) systemd-logind: got pause for 13:68
[  1391.400] (II) systemd-logind: got pause for 13:67
[  1391.400] (II) systemd-logind: got pause for 13:71
[  1391.400] (II) systemd-logind: got pause for 13:65
[  1391.400] (II) systemd-logind: got pause for 13:70
[  1391.400] (II) systemd-logind: got pause for 13:81
[  1391.400] (II) systemd-logind: got pause for 13:64
[  1391.400] (II) systemd-logind: got pause for 226:0
[  1406.153] (II) systemd-logind: got resume for 13:69
[  1406.193] (II) systemd-logind: got resume for 13:68
[  1406.220] (II) systemd-logind: got resume for 13:67
[  1406.246] (II) systemd-logind: got resume for 13:71
[  1406.273] (II) systemd-logind: got resume for 13:65
[  1406.306] (II) systemd-logind: got resume for 13:70
[  1406.340] (II) systemd-logind: got resume for 13:81
[  1406.366] (II) systemd-logind: got resume for 13:64
[  1406.366] (II) systemd-logind: got resume for 226:0
[  1406.366] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1406.366] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1406.457] (II) event3  - Power Button: is tagged by udev as: Keyboard
[  1406.457] (II) event3  - Power Button: device is a keyboard
[  1406.457] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[  1406.457] (II) event4  - Video Bus: device is a keyboard
[  1406.458] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  1406.458] (II) event0  - Power Button: device is a keyboard
[  1406.458] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1406.458] (II) event1  - Sleep Button: device is a keyboard
[  1406.458] (II) event7  - Chicony USB2.0 Camera: Chicony : is tagged by udev as: Keyboard
[  1406.459] (II) event7  - Chicony USB2.0 Camera: Chicony : device is a keyboard
[  1406.459] (II) event6  - Intel HID events: is tagged by udev as: Keyboard
[  1406.459] (II) event6  - Intel HID events: device is a keyboard
[  1406.459] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1406.459] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[  1406.460] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

Offline

#14 2019-12-10 16:49:03

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

bachtiar wrote:

As far as I can see from your logs, the cause of the problem in your case is not the same as in https://bugs.archlinux.org/task/64383.

Notably, your X does start up and terminates successfully.

To narrow down the problem, you could do a pacman -S xterm and then put just "exec xterm" in your ~/.xinitrc.


Already tried this, same thing with starting xterms instead of my WM

Offline

#15 2019-12-10 16:49:51

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

seth wrote:

Try "pacman -Rs xf86-video-intel" (ie. the modesetting driver)

But then my driver wil be gone. And without driver X doesn't start at all

Offline

#16 2019-12-10 16:56:18

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

No. You'll be, as indicated, using the modesetting driver. X will start fine as long as you don't have some config flying around that tells it to use the intel driver (you might want to check /{etc,usr/share}/X11/xorg.conf* about this)

Offline

#17 2019-12-10 18:01:10

cprt
Member
Registered: 2019-12-10
Posts: 18

Re: [solved] startx displays X wrong at startup (only after switching tty)

Yes removing the intel driver as suggested solves the issue for me.

Offline

#18 2019-12-10 19:03:56

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Not in my case. In my case after removing X won't start at all (as it was before even installing the diver). The Error is "no screens found"

Offline

#19 2019-12-10 20:00:01

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

Please post the Xorg log for that case.

Offline

#20 2019-12-10 21:04:54

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

[    17.273] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    17.273]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[    17.273] Build Operating System: Linux Arch Linux
[    17.273] Current Operating System: Linux archRoot 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64
[    17.273] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=5a1e75cd-395e-44de-b262-40a3b619d853 rw loglevel=3
[    17.273] Build Date: 23 November 2019  06:54:33AM
[    17.273]
[    17.273] Current version of pixman: 0.38.4
[    17.273] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    17.274] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.274] (==) Log file: "/home/user/.local/share/xorg/Xorg.0.log", Time: Tue Dec 10 20:01:56 2019
[    17.275] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    17.275] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.275] (==) No Layout section.  Using the first Screen section.
[    17.275] (==) No screen section available. Using defaults.
[    17.275] (**) |-->Screen "Default Screen Section" (0)
[    17.275] (**) |   |-->Monitor "<default monitor>"
[    17.276] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    17.276] (**) |   |-->Device "Intel Graphics"
[    17.276] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    17.276] (==) Automatically adding devices
[    17.276] (==) Automatically enabling devices
[    17.276] (==) Automatically adding GPU devices
[    17.276] (==) Automatically binding GPU devices
[    17.276] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    17.276] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[    17.276] 	Entry deleted from font path.
[    17.276] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[    17.276] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    17.276] 	Entry deleted from font path.
[    17.276] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    17.276] 	Entry deleted from font path.
[    17.276] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    17.276] 	Entry deleted from font path.
[    17.277] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    17.277] (==) ModulePath set to "/usr/lib/xorg/modules"
[    17.277] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.277] (II) Module ABI versions:
[    17.277] 	X.Org ANSI C Emulation: 0.4
[    17.277] 	X.Org Video Driver: 24.0
[    17.277] 	X.Org XInput driver : 24.1
[    17.277] 	X.Org Server Extension : 10.0
[    17.277] (++) using VT number 1

[    17.279] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    17.279] (II) xfree86: Adding drm device (/dev/dri/card0)
[    17.279] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    17.281] (--) PCI:*(0@0:2:0) 8086:9b41:1558:1403 rev 2, Mem @ 0x6024000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    17.281] (II) Open ACPI successful (/var/run/acpid.socket)
[    17.281] (II) LoadModule: "glx"
[    17.282] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.285] (II) Module glx: vendor="X.Org Foundation"
[    17.285] 	compiled for 1.20.6, module version = 1.0.0
[    17.285] 	ABI class: X.Org Server Extension, version 10.0
[    17.285] (II) LoadModule: "intel"
[    17.285] (WW) Warning, couldn't open module intel
[    17.285] (EE) Failed to load module "intel" (module does not exist, 0)
[    17.285] (EE) No drivers available.
[    17.285] (EE)
Fatal server error:
[    17.285] (EE) no screens found(EE)
[    17.285] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[    17.286] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[    17.286] (EE)
[    17.332] (EE) Server terminated with error (1). Closing log file.F

Offline

#21 2019-12-10 21:06:42

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

look, the problem is that there is no driver for the graphic card (

[    17.285] (EE) No drivers available.

)

Offline

#22 2019-12-10 21:08:46

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

Because of

[    17.285] (II) LoadModule: "intel"
seth wrote:

as long as you don't have some config flying around that tells it to use the intel driver (you might want to check /{etc,usr/share}/X11/xorg.conf* about this)

Offline

#23 2019-12-10 21:24:54

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Yes I've created this file:

Section "Device"
	Identifier "Intel Graphics"
	Driver "intel"
EndSection

This is stored at /etc/share/X11/xorg.conf.d/ (but I don't have a xorg.conf is that is mandatory)

Offline

#24 2019-12-10 21:27:34

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: [solved] startx displays X wrong at startup (only after switching tty)

Well, that worked. Deinstall xf86-video-intel and removing that file

Offline

#25 2019-12-10 21:27:39

seth
Member
Registered: 2012-09-03
Posts: 51,905

Re: [solved] startx displays X wrong at startup (only after switching tty)

And this is precisely why X11 fails w/o the intel driver… so delete that file.

Does the original prblem remain?

Last edited by seth (2019-12-10 21:28:10)

Offline

Board footer

Powered by FluxBB