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 4NvbXZ5jxHz2r0ZQ 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 4NvbXZ4XCrz3Kdc 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; bh=XHOIu1wxs4sg13AQQ+sAjLXsI2+fnZMSzc+DrZ11L+g=; b=hW6r13g6knidbKMqx92VsT83ovmzMnS5CSKjmpmvYEeatqvgUBlfhpRTF1/iVU97B5TQmX DF8CfZn0OHXdz4SZXN5haXUimE1sHPHtMaP2p+SdlQgyBE13igtyfHLCbIZtHSUYGT7kkv DGPmw/JsVPzCtB47ILFljp3tXD9eJLzkQqE+/QKFFwi9hBT/CJY8cjmS28ZhDFKV9dwNDM +DIU0AWovRQTVS0QJxkQUbks2VAPL9+P0qelKNqTQZJxW7aJPN95KfxHeithA5qF8z8H3E /yGNvMR6Q18RShxRP5XiPy0BQ4EajNsG4pRpFrLFFU/TF4JNYS/V6YdHfJkFHg== 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=C+4vMf6l0XkYFTk+jASDOpzDjf3CvAssJY9J9qv0sLtDekJpQOEJN5pLkgcKDlQklkjfaz IR3LmCtq5L1uvSzp3QCh6Jy59l+uJJwfwWb9ou7NLKbzLo9IC/CXnndZep3LOUOGQ03aZ1 FUVsxJEhwxvkCNYqbJuaG9OLlrPSHJOG3wPwAfXAEV0hQCNBUlhdFR6qeQYy2bMI9HQuW1 f8p6FNEAtIclgCkrYPu24FcPyfG9EBpW2ZHiBv4UHXnqEikHkxs1X8rQzJkx/vncFQM+cU n0M5Oj8DBstlGQyjxrgGgH+NvFq9aMkKukV6JhLPb4SrSiU4efK+quoQtFsCsA== 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 4NvbXZ3bl1z173c 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 30F0PYVN044486 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 30F0PYmw044485 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 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [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-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: george@m5p.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268962 Bug ID: 268962 Summary: graphics/drm-510-kmod: amdgpu.ko doesn't load properly from loader.conf Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: george@m5p.com Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org 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. --=20 You are receiving this mail because: You are the assignee for the bug.=