Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: xenocara: segfault on old NetBook (i945 graphics)
To:
Matthieu Herrb <matthieu@openbsd.org>
Cc:
SASANO Takayoshi <uaa@mx5.nisiq.net>, tech@cvs.openbsd.org
Date:
Sun, 4 Jan 2026 01:23:45 +1100

Download raw body.

Thread
On Sat, Jan 03, 2026 at 02:11:49PM +0100, Matthieu Herrb wrote:
> On Sat, Jan 03, 2026 at 08:55:13PM +0900, SASANO Takayoshi wrote:
> > Hello,
> > 
> > I am trying OpenBSD/i386-current on old WindowsXP-era NetBook,
> > X.org crashes with segmentation fault.
> > 
> > ----
> > 
> > I found that drmmode_load_cursor_argb_check() in 
> > /usr/xenocara/xserver/hw/xfree86/drivers/modesetting/drmmode_display.c,
> > drmmode_crtc->cursor_bo->ptr is NULL. But I don't know why this is NULL.
> 
> Hi,
> 
> There is probably something missing for this old chipset in the modern
> world. Maybe jsg@ has some idea ?

startx will only try modesetting after setuid was dropped some years
ago.  xenodm will default to intel as it can read pci.
default is decided based on pci id
xserver/hw/xfree86/common/xf86pciBus.c xf86VideoPtrToDriverList()
/* Use modesetting driver on 4th generation and up */

this hardware is gen 3

> 
> In the mean time, you can try the old "intel" driver, by creating an
> /etc/X11/xorg.conf file containing just:
> 
> --- cut here ---
> Section "Devicë
>         Identifier "i945"
>         Driver "intel"
> EndSection
> --- cut here
> 
> Another option could be to disable the hardware cursor on the
> modesetting driver :
> 
> --- cut here ---
> Section "Devicë
>         Identifier "i945"
>         Driver "modesetting"
>         Option "SWCursor" "on"
> 	EndSection
> --- cut here ---
> 
> I don't think any of the other options listed in modesetting(4) will
> have an impact.
> 
> -- 
> Matthieu Herrb
> 
>