UP / HOME

Fatal IO error 35 on OpenBSD

I was facing this issue last month on OpenBSD 6.8. It left this message in my .xsession-errors file. I posted about it here:

I asked about it again on #openbsd@freenode & got it fixed! Thanks to bodie & sdk_.

I had these lines in /etc/X11/xorg.conf.d/intel.conf, they were causing this issue:

Section "Device"
  Identifier "drm"
  Driver "intel"
  Option "TearFree" "true"
EndSection

This is what sdk_ says, so I changed from intel driver to modesetting driver & that fixed it.

[...]
03:56 <sdk_> I was told that one should use the modesetting driver over intel for 10 years already.
03:56 <notandinus> i see, should i set that then?
03:56 <sdk_> you just did
03:56 <sdk_> it's the default for intel
03:56 <sdk_> if no configuration is present, modesetting is used
03:56 <notandinus> ah i see, so was that config turning it off or something?
[...]
03:57 <sdk_> yes, your config switched to the intel driver
[...]

Files

I've included relevant parts of /var/log/xenodm.log & ~/.xsession-errors below.

/var/log/xenodm.log

[...]
(EE) Segmentation fault at address 0x2d3bca1b000
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
xenodm error (pid 24611): Server for display :0 terminated unexpectedly: 1536
[...]

~/.xsession-errors

[...]
X I/O error
[/usr/obj/ports/i3-4.18.2/i3-4.18.2/../i3-4.18.2/i3bar/src/xcb.c:1162] ERROR: X11 connection was closed unexpectedly - maybe your X server terminated / crashed?
i3status: exiting due to signal.
i3: Cannot open display
[libi3] /usr/obj/ports/i3-4.18.2/i3-4.18.2/../i3-4.18.2/libi3/font.c Using [REDACTED FONT DETAILS]
X connection to :0 broken (explicit kill or server shutdown).
Gdk-Message: 07:31:20.776: /usr/local/lib/firefox-esr/firefox-esr: Fatal IO error 35 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 07:31:20.791: firefox: Fatal IO error 2 (No such file or directory) on X server :0.

Andinus / 2020-12-24 / Modified: 2021-09-28 Tue 09:41 Emacs 27.2 (Org mode 9.4.4)