Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2020 12:54:17 +0100
From:      =?UTF-8?Q?BERTRAND_Jo=c3=abl?= <joel.bertrand@systella.fr>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: [Long] Segfault on applications using qt5
Message-ID:  <f95359ff-d461-abbb-2a46-e12c9686cf30@systella.fr>
In-Reply-To: <zh2x-ddu8-wny@FreeBSD.org>
References:  <5317a148-0957-aad5-151b-c59aee0e1e58@systella.fr> <zh2x-ddu8-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich a écrit :
> BERTRAND Joël <joel.bertrand@systella.fr> writes:
> 
>> For a long time, some applications abort with segfault or bus error. I
>> have seen that all of them were linked against qt5.
> 
> Qt5 uses OpenGL by default, so make sure drm-*-kmod works. Software rendering
> tends to be more buggy.
> 
>> 	First constatation, I cannot start Xorg with intel driver. Only vesa
>> seems to run (but I obtain an accelerated X). I don't understand why I
>> cannot start X with regular intel driver (same motherboard in the same
>> configuration runs Xorg with intel driver without any trouble).
> 
> Can you try running graphics/kmscube on console? If it doesn't work then
> drm-*-kmod is likely broken e.g., maybe you forgot to rebuild the port
> after upgrading to 12.2 as the binary package is built against 12.1 thus
> will not be compatible until EOL on 2021-01-31.

kmscube returns :
drmGetDevices2 failed: No such file or directory
could not open drm device
failed to initialize legacy DRM

	This issues was the same with 12.0 and 12.1, but I will try to rebuild drm.

> Alternatively, try removing both xf86-video-intel and xf86-video-vesa in
> order to let Xorg fall back to "modesetting" driver.

I have to run accelerated X...

	Best regards,

	JKB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f95359ff-d461-abbb-2a46-e12c9686cf30>