Re: X.org segmentation fault - snapshot amd64

2021-11-14 Thread ariel a
On Sun Nov 14, 2021 at 11:09 AM PST, Matthieu Herrb wrote:
> 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
> >  
> > dera...@amd64.openbsd.org:/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=163673726428574=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

Will do, thanks!

The reason I have been using the intel driver is solve some tearing I
was experiencing (with Option "TearFree" "true") so I will look into
other fixes for that.



X.org segmentation fault - snapshot amd64

2021-11-14 Thread ariel a


>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
 
dera...@amd64.openbsd.org:/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=163673726428574=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
[29.498] Build Operating System: OpenBSD 7.0 amd64 
[29.498] Current Operating System: OpenBSD puffy.lan 7.0 GENERIC.MP#87 amd64
[29.498] Build Date: 10 November 2021  10:46:38AM
[29.498]  
[29.498] Current version of pixman: 0.40.0
[29.498]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[29.498] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[29.499] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 10 16:56:02 
2021
[29.500] (==) Using config directory: "/etc/X11/xorg.conf.d"
[29.500] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[29.505] (==) No Layout section.  Using the first Screen section.
[29.505] (==) No screen section available. Using defaults.
[29.505] (**) |-->Screen "Default Screen Section" (0)
[29.505] (**) |   |-->Monitor ""
[29.507] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[29.507] (**) |   |-->Device "Intel Graphics"
[29.507] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[29.507] (==) Automatically adding devices
[29.507] (==) Automatically enabling devices
[29.507] (==) Not automatically adding GPU devices
[29.507] (==) Max clients allowed: 256, resource mask: 0x1f
[29.508] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[29.508] (==) ModulePath set to "/usr/X11R6/lib/modules"
[29.508] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[29.508] (II) Loader magic: 0x7ab32fdfeb0
[29.508] (II) Module ABI versions:
[29.508]X.Org ANSI C Emulation: 0.4
[29.508]X.Org Video Driver: 24.1
[29.508]X.Org XInput driver : 24.1
[29.508]X.Org Server Extension : 10.0
[29.509] (--) PCI:*(0@0:2:0) 8086:1916:17aa:5053 rev 7, Mem @ 
0xe000/16777216, 0xc000/536870912, I/O @ 0xe000/64
[29.509] (II) LoadModule: "glx"
[29.510] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[29.553] (II) Module glx: vendor="X.Org Foundation"
[29.553]compiled for 1.20.13, module version = 1.0.0
[29.553]ABI class: X.Org Server Extension, version 10.0
[29.553] (II) LoadModule: "intel"
[29.554] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[29.564] (II) Module intel: vendor="X.Org Foundation"
[29.565]compiled for 1.20.13, module version = 2.99.916
[29.565]Module class: X.Org Video Driver
[29.565]ABI class: X.Org Video Driver, version 24.1
[29.565] (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
[29.565] (II) intel: Driver