On Sun, Nov 14, 2021 at 10:19:43AM -0800, ariel a wrote:
>
> >Synopsis: Xorg segmentation fault
> >Category: amd64
> >Environment:
> System : OpenBSD 7.0
> Details : OpenBSD 7.0-current (GENERIC.MP) #87: Wed Nov 10 10:29:31
> MST 2021
>
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> Architecture: OpenBSD.amd64
> Machine : amd64
> >Description:
> I believe I noticed the graphical interface stutter or slow down
> during mouse movement just before the crash. The X server
> crashed (see log below), dropping into the console for a moment
> and then displaying the xenodm login screen.
> >How-To-Repeat:
> I don't know how to repeat it. The crash seemed to happen during
> normal system use: running graphical programs, with a monitor
> attached, during mouse cursor movement, but has not repeated
> itself yet. Let me know if there's something I can do to try to
> make this repeatable.
>
> Someone else got this on different hardware, also amd64, see
> https://marc.info/?l=openbsd-misc&m=163673726428574&w=2
>
> Xorg.0.log.old:
>
> [ 29.449] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
> (Operation not permitted)
> Check that you have set 'machdep.allowaperture=1'
> in /etc/sysctl.conf and reboot your machine
> refer to xf86(4) for details
> [ 29.449] linear framebuffer access unavailable
> [ 29.479] (--) Using wscons driver on /dev/ttyC4
> [ 29.498]
> X.Org X Server 1.20.13
> X Protocol Version 11, Revision 0
Can you try with an /etc/X11/xorg.conf file containing just the 4
lines below ? The intel(4) driver has not been updated for a while and
is almost abandonned upstreams. Your hardware should work with
modesetting(4) too:
Section Device
Identifier "modesetting"
Driver "modesetting"
EndSection
--
Matthieu Herrb