Hi all.
How can identify what trouble X?
I run OpenBSD 6.3 - amd64 on my laptop Dell Alienware 13.
Something fill both logs:
- /var/log/Xorg.0.log
- /var/log/xenodm.log
with this repeated message : "WaitForSomething(): poll: Invalid argument"
I use a custom xorg.conf, as:
----
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr" # "fr-oss" pour Feisty et +
#Option "XkbVariant" "latin9"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "intel" #modesetting, or Intel Graphics
Driver "intel" #modesetting
Option "AccelMethod" "sna" #sna by default
Option "DDC" "true" #true by default
Option "DRI" "true"
Option "HotPlug" "true"
Option "NoAccel" "false" #false by default
Option "RelaxedFencing" "true" #true if G33 Model & >
Option "SwapbuffersWait" "true" #true by default (avoid
tearing)
Option "TearFree" "true" #false by default
(avoid tearing)
Option "Throttle" "true" #true by default
Option "Tiling" "true" #true by default
Option "TripleBuffer" "true" #true by default
#Option "VideoRAM" ???
Option "VSync" "true" #true by default
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "intel"
Monitor "Monitor0"
DefaultDepth 24 #Choose the depth (16|24)
SubSection "Display"
Depth 16
Modes "1920x1080" "1400x1050" "1290X1024"
"1280X960" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1080" "1400x1050"
"1290X1024" "1280X960" "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
#InputDevice "Generic Keyboard"
#InputDevice "Configured Mouse"
EndSection
----
Egual for xenodm, i use two custom files:
=> Xsetup_0:
----
#!/bin/sh
# $OpenBSD: Xsetup_0,v 1.1 2016/10/23 08:30:37 matthieu Exp $
if [ "$DISPLAY" = ":0" -o "$DISPLAY" = ":0.0" ]
then
/usr/local/bin/qiv -zrd7 /home/zou/Images/Wallpapers/* &
/usr/X11R6/bin/xclock -digital -update 1 -render &
echo $! > /var/run/xclock.pid
fi
#sxpm OpenBSD.xpm &
----
=> GiveConsole
----
#!/bin/sh
# Assign ownership of the console to the invoking user
# $OpenBSD: GiveConsole,v 1.1 2016/10/23 08:30:37 matthieu Exp $
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
chown $USER /dev/console
if [ -c /dev/drm0 ]; then
chown $USER /dev/drm0
fi
/usr/X11R6/bin/sessreg -a -l $DISPLAY -u none -x
/etc/X11/xenodm/Xservers $USER
if test -r /var/run/xclock.pid; then kill $(cat /var/run/xclock.pid); fi
----
=> Xenodm.log:
----
$ head -n25 /var/log/xenodm.log
xenodm info (pid 46359): Starting
xenodm info (pid 46359): Starting X server on :0
X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 6.3 amd64
Current Operating System: OpenBSD ptb-aw13zou.stephane-huc.net 6.3
GENERIC.MP#107 amd64
Build Date: 24 March 2018 02:38:24PM
Current version of pixman: 0.34.0
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 Apr 3 17:06:54 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
xenodm info (pid 80557): sourcing /home/zou/.config/xenodm/Xsetup_0
xenodm info (pid 80557): sourcing /home/zou/.config/xenodm/GiveConsole
xenodm info (pid 4308): executing session /etc/X11/xenodm/Xsession
WaitForSomething(): poll: Invalid argument
WaitForSomething(): poll: Invalid argument
WaitForSomething(): poll: Invalid argument
----
=> Xorg.0.log:
----
$ tail -n25 /var/log/Xorg.0.log
[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
----
--
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>[email protected]</mail>