NetBSD Problem Report #58077
From www@netbsd.org Mon Mar 25 19:47:11 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id AA4FB1A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 25 Mar 2024 19:47:11 +0000 (UTC)
Message-Id: <20240325194710.25B7C1A923A@mollari.NetBSD.org>
Date: Mon, 25 Mar 2024 19:47:10 +0000 (UTC)
From: naguam@ik.me
Reply-To: naguam@ik.me
To: gnats-bugs@NetBSD.org
Subject: Mesa Crocus
X-Send-Pr-Version: www-1.0
>Number: 58077
>Category: pkg
>Synopsis: Mesa Crocus
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 25 19:50:01 +0000 2024
>Originator: Naguam
>Release: NetBSD 10.0_RC6
>Organization:
None
>Environment:
NetBSD i5-1gen.Home 10.0_RC6 NetBSD 10.0_RC6 (GENERIC) #0: Tue Mar 12 10:19:02 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Hello,
I don't know many things about system programming for now, especially regarding gpu and OpenGL driver.
However I know for sure that as Iris improved Gen 8 (Broadwell) gpu drivers.
Crocus helped a lot on older drivers (I have a gen5 Ironlake mobile gpu supporting crocus)
For now I am using the installed 19 (and sometimes tries the pkgsrc version 21.3) and there are still problems (not sure it is not related to kernel driver though) but I was curious if the MesaLib maintainer tried to enable crocus. This could help with problems.
I know it is not enabled in the PKG src binary build because the MESA_LOADER_DRIVER_Override=crocus global env variable does not find the right crocus.so in any of /usr/X11R7/lib/modules/dri or /usr/pkg/lib/dri/ (for pkgsrc version.
Crocus was added in Mesa 21.2 or something like that and this could be a nice addition (It brings some better responsiveness) for older laptop hardware (and NetBSD is often better supporting old hardware AFAIK).
This report is just a suggestion.
I am currently trying to reproduce the Issue I faced recently on RC6 on my GPU to make another bug report.
(Coredump on glxgears with both Integrated and pkgsrc MesaLib). But it is not working so nicely and I understand why webgl is not enabled by default in firefox... (also had crash on some websites)
All the best,
>How-To-Repeat:
None
>Fix:
Enable Crocus on MesaLib
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.