From nobody Sun Jan 15 00:25:34 2023 X-Original-To: x11@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 4NvbXZ5Nrrz2r0QC for ; Sun, 15 Jan 2023 00:25:34 +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 4NvbXZ2fYDz3L1J for ; Sun, 15 Jan 2023 00:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673742334; 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: in-reply-to:in-reply-to:references:references; bh=mDAum9hC5cTmAvCclzG2IX9MZ859zCoDXfwen+q6+qc=; b=QtjhEcZOw1Gjcc5WXA/V8CyP2gk0BSKmEn56Di43x/CgcvCxmiXDtmMapoZvhNxjEmebQq 1BwlwUWJr8/+eO66g19K/QUhfjd7ssL2ZqwpXAF2QwLdomu6UfDnwjT6EEDnWAfY4bG9S0 7Tz452OFHB2cs2UpEpP8d6oDCVY5oNQmQ+lBS9ol5Ii1/4wjmEDHStOyUazGgCbrTR3hA7 /xHsFTIZxgnbi5GQM937kR6Ec6X84o4+q4cMmw1ixwDxSpoFDfX+SFUHuxVJY7MCIkejvY Q6anfFMFukvG34ORCJjQLTKKy1vUwK0F1VVvniwGmRua9dH+qsEe7/tZDGuJiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673742334; a=rsa-sha256; cv=none; b=e/J0N9RmP2/VO7qLfiwrTHndQNk8YVq2wPeAZ+4+7uPMi8kJ6PcJnF+p4yWoP18L7U+5Gm U5Qis++RTZafut1NSCamC5HW+zT6JTy0qYK/IoicnaUMXrttH/TYxOTBpueacNMLDTprNT rtlyUEyj7a/moacOuJTNLDmDFsscZLR7B3ZIOf7uCG/uKuBJ7lgqaRQUJDy3pZnR1ipyT9 HhblP/iTj+6os1vBpADAhb/5xIygygKXPzRxIiEY3snUFPKvi79vfvwuAvxSNl1OmjGVd0 QHoKkovv0EaXrIYZRqo/Bd3oiO0OO9IrkG9nbLK4ZGo17VSj+bWnRpP6BbaniA== 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 4NvbXZ1hv7z16Hv for ; Sun, 15 Jan 2023 00:25:34 +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 30F0PYFd044477 for ; Sun, 15 Jan 2023 00:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30F0PYMV044476 for x11@FreeBSD.org; Sun, 15 Jan 2023 00:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 268962] graphics/drm-510-kmod: amdgpu.ko doesn't load properly from loader.conf Date: Sun, 15 Jan 2023 00:25:34 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 268962: graphics/drm-510-kmod: amdgpu.ko doesn't load properly from loader.conf https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268962 --- Description --- When I include: amdgpu_load=3D"YES" amdgpu_name=3D"/boot/modules/amdgpu.ko in my /boot/loader.conf, it loads amdgpu.ko, and also loads drm.ko, linuxkpi_gplv2.ko, dmabuf.ko, and ttm.ko (which I hypothesize happens becau= se the top Makefile specifies: DEFAULT_KMODS=3D dmabuf \ linuxkpi \ ttm \ drm \ amd \ radeon But in order to work, we also need firmware for my graphics card to load, w= hich means amdgpu_raven_{gpu_info,sdma,asd,ta,pfp,me,ce,rlc,mec,mec2,vcn}_bin.ko also have to be loaded in my case. And they are, if I kldload amdgpu.ko by hand in single-user mode or include amdgpu.ko in kld_list in my /etc/rc.con= f.=20 (And in that case, X windows comes up nicely using the "amdgpu" driver, whe= reas otherwise it comes up in VESA mode.) In conjunction with bug #267028, it would be nice if I could load amdgpu.ko= at /boot/loader.conf time, since loading it later on increases the chance of a kernel crash in ZFS code. Don't ask me why.