NetBSD Problem Report #58858
From www@netbsd.org Thu Nov 28 07:25:52 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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id DFDCF1A9238
for <gnats-bugs@gnats.NetBSD.org>; Thu, 28 Nov 2024 07:25:51 +0000 (UTC)
Message-Id: <20241128072550.670231A923E@mollari.NetBSD.org>
Date: Thu, 28 Nov 2024 07:25:50 +0000 (UTC)
From: earldridgejazzedpineda@gmail.com
Reply-To: earldridgejazzedpineda@gmail.com
To: gnats-bugs@NetBSD.org
Subject: wm/mutter is missing a dependency (graphics/MesaLib)
X-Send-Pr-Version: www-1.0
>Number: 58858
>Category: pkg
>Synopsis: wm/mutter is missing a dependency (graphics/MesaLib)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: cirnatdan
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 28 07:30:00 +0000 2024
>Last-Modified: Sun Dec 15 16:45:01 +0000 2024
>Originator: Earldridge Jazzed Pineda
>Release: NetBSD 10.0
>Organization:
>Environment:
NetBSD vbox 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Running the Mutter window manager (wm/mutter) without graphics/MesaLib installed causes windows to render as a black rectangle or even not render at all. This can be seen when using the GNOME desktop environment.
>How-To-Repeat:
1. Install the following packages: wm/mutter x11/gnome-session x11/gnome-shell
2. Enable and start the "dbus" service
3. Edit .xinitrc or .xsession and add "gnome-session"
4. Run "startx" or log in using XDM
>Fix:
Add one of the following lines to the Makefile of wm/mutter:
.include "../../graphics/MesaLib/buildlink3.mk"
DEPENDS+=MesaLib-[0-9]*:../../graphics/MesaLib
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cirnatdan
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Thu, 28 Nov 2024 08:51:20 +0000
Responsible-Changed-Why:
Dan, can you please give it a look?
(over to MAINTAINER)
From: =?utf-8?Q?Dan_C=C3=AErna=C8=9B?= <dan@alt.md>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/58858 (wm/mutter is missing a dependency (graphics/MesaLib))
Date: Thu, 28 Nov 2024 08:56:41 +0000
Hi,
On Thursday, November 28th, 2024 at 09:51, leot@NetBSD.org <leot@NetBSD.org=
> wrote:
> Synopsis: wm/mutter is missing a dependency (graphics/MesaLib)
>=20
> Responsible-Changed-From-To: pkg-manager->cirnatdan
>=20
> Responsible-Changed-By: leot@NetBSD.org
> Responsible-Changed-When: Thu, 28 Nov 2024 08:51:20 +0000
> Responsible-Changed-Why:
> Dan, can you please give it a look?
> (over to MAINTAINER)
>=20
Thanks for letting me know. Will look into it over the weekend.
Dan
From: =?utf-8?Q?Dan_C=C3=AErna=C8=9B?= <dan@alt.md>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/58858
Date: Sun, 15 Dec 2024 16:41:37 +0000
After investigation it appears that the black windows on VirtualBox is due =
to a missing driver. Normally, the Mesa LLVMpipe driver would be loaded but=
this doesn't seem to happen with the native X sets.
I would say the proposed fix is unnecessary. Simply installing `graphics/Me=
saLib` solves the problem. It doesn't need to be explicitly added to depend=
encies. A mention in the docs would suffice IMO.
I couldn't figure out why the LLVMpipe driver is not loaded when only nativ=
e X sets are installed. Any guidance on the subject is welcome.
Dan
>Unformatted:
(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.