From nobody Sun Apr 14 15:27:07 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VHZ0q6MM4z5GmrG for ; Sun, 14 Apr 2024 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VHZ0q4cKQz4KH0 for ; Sun, 14 Apr 2024 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713108427; a=rsa-sha256; cv=none; b=YcgUZE1jZgF83r8miUQQKD5dolXedI49uzMvu+Cdcw2APeixnJF6yCgYurNMggBt1Nn+A3 BYUzOyF+lQx3/onjMaQAwADdfhMw+8Rf8AgvHP8n6m3ikIZ6UaLTX/PXChVCymLPSMzi0M udCFji4zgXR5S9cMkL83BgFgyazb8eRal9hbsuyI8V7XctNsp5VDANA7uvWOUfZrDBaLtt D8zYPuptOxlJXBkcUNxWdfzjxjSKPe2eIssr1hUMxcZZHSjsOf3bYBPu0faAqbdkvNjK8d QFUDqWCp18a5z86PnXdtyNcky2nhpbXZumvYEXeLKKtZjrbxi2EYO505fxiOJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713108427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uXLZxzu1XnmubALG9l/T6Rc7X1WswLdJs8daRcPwkqY=; b=pj7S2/daIxN3jJMu9C/jGZCaDyXzmuuImkvRizhpU4TnDVZ5Qku4v40GoXWf5a76E5HRPU TUp7X4Td0ldtkBVmuTh0k2jdlxAaVoQ9J0r9La8onxWKUNKfWP+EmoCB9LLUCD30PtP1DT gnlorX+ePZeR0vHuRoyPOtjiHY2aLmOUuojP3PZxQuG76hs9tN5VK0mNY8Hhq5BH0IdTMn LiThQsodPGZWjGAsFvFL0VD1NaoRuw+RKCNaIVKsPL3udi6v2KvG6qzVGenc7gmOXM6iX5 rXtCG85Z1QsDhsykZ9U5iCIWotny9eLmu2C1dCI7TnXcOp6qYrCruZr64S0mGg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VHZ0q3tJRzMDW for ; Sun, 14 Apr 2024 15:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43EFR79c059282 for ; Sun, 14 Apr 2024 15:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43EFR7L7059281 for bugs@FreeBSD.org; Sun, 14 Apr 2024 15:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278363] linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri Date: Sun, 14 Apr 2024 15:27:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iwtcex@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278363 Bug ID: 278363 Summary: linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: iwtcex@gmail.com There are two significant issues here: 1. linsysfs creates entries for everything that has vgapci attached to it, regardless of whether the GPU has any associated /dev/dri/card* nodes =E2= =80=94 this might (and occasionally does) result in Mesa's libGL picking the wrong driv= er in multi-GPU configurations; 2. there are no entries for /dev/dri/renderD* nodes, which breaks Vulkan initialization, forcing Mesa to choose the software rendering fallback. (See https://github.com/freebsd/drm-kmod/issues/290 and https://forums.freebsd.org/threads/linuxulator-vs-intel-amd-gpus.92445/ for context.) --=20 You are receiving this mail because: You are the assignee for the bug.=