Re: Xorg server segmentation fault when monitor is not connected.

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Chung-Yeol Lee <[email protected]> writes:

>> > Is this a known issue?
>>
>> Not enough details. The crash fingerprint is obscured by lack of symbols,
>> so it's not possible to search if anyone reported a similar issue upstream.
>>
>
> Sorry for the lack of context. I hoped this is known issue or something
> obvious from its symptom.
> here's better stack trace with debug symbol:
> #0  memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306
> #1  0x0000000802834af8 in r600_create_vertex_fetch_shader (ctx=0x8010fa340,
> count=2, elements=0x7fffffffd8c0) at r600_asm.c:2783
> #2  0x0000000802690636 in util_blitter_create (pipe=0x8010fa340) at
> util/u_blitter.c:302
> #3  0x000000080283cd5f in r600_create_context (screen=0x806674100,
> priv=0x0, flags=0) at r600_pipe.c:231
[...]

Looks similar to https://lists.freedesktop.org/archives/amd-gfx/2018-May/022218.html
fixed by https://github.com/FreeBSDDesktop/kms-drm/commit/1d67729d7c5f
which is part of drm-fbsd12.0-kmod >= 4.16.g20181210.

xf86-video-ati better works on radeonkms under /boot/modules/ from drm-fbsd12.0-kmod.
xf86-video-ati-legacy is for radeonkms under /boot/kernel/ from base system.

Check which kernel driver is loaded via
$ kldstat -v | fgrep radeon

As AMD Radeon 7450 (aka ARUBA 0x9993) is supported by both base and
ports I wonder if you've accidentally loaded the wrong one.

> #13 0x0000000801b2b1be in gbm_create_device () from
> /usr/local/lib/libgbm.so.1
> #14 0x0000000801b0299d in radeon_glamor_pre_init (scrn=0x801ba5000) at
> radeon_glamor.c:135
> #15 0x0000000801aee262 in RADEONPreInitAccel_KMS (pScrn=0x801ba5000) at
> radeon_kms.c:1358
> #16 0x0000000801aecffe in RADEONPreInit_KMS (pScrn=0x801ba5000, flags=0) at
> radeon_kms.c:1773

Looks like a crash from glamor. If switching drivers didn't help try
forcing DRI2 and/or using EXA instead. See radeon(4x) manpage.

--
Disclaimer: I don't use AMD hardware (yet), so you may want to wait for
            feedback from others.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.