From nobody Tue Jun 13 03:47:41 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 4QgDz20FVwz4chyT for ; Tue, 13 Jun 2023 03:47:42 +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 4QgDz161zlz4NJW for ; Tue, 13 Jun 2023 03:47:41 +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=1686628061; 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=IWMNbPtl+Oxng5mphmV96duYzUGwOB2ntqEP32+vcq4=; b=g0PFtOrfOW/7f1RCVpSwGiSQBH2e4iLuVIvwT1Zr9OtAMi/Vz+pdVzQpjXKpSYkJ41hRwb 0Ct8lJnPbEZrVt4rTTmBiZaIkVMzVfLH4Bpi7z6OxuVL9Q0yzeZmr0tFXQz1yT+K5T5m6F sgWv0nNA+Kw3NtPxNFpk8TfPy6k5Kgbt4aa2ZFWFI84xZhXz0f4uWiM8WFBDkelsNZOQro GNz3sdGYTsq4x7gfiA1RHO8ciev5Evv9LcC0H9Wgm0RWVWeAQaopV5O5RzDBCDen5mEdww /GEUUvPMFosp9WbdFmP+fl1rBSl7X7JlJiuTwWnrBP2cIHFcl1S/+PhmlEvsFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686628061; a=rsa-sha256; cv=none; b=XzP193z9ZTxwItvtUxk5htx9iHX6CQetnVRcStL/FVXDb4c0IcwjJu/2olHzFW6fBxJoyw mqZcGkMY4Ac/8eQJmLZv2ggnSMeG2MOvhboGRDl+6H8KZxOmDW24TOuk/OgPCp9B7VzYQh 3i4gbAUaj1uT2p1aJUSKBxN2HngLR97ao7wKZnPTYPetacQ+JRyXMQIDScrFSM9G1fQz8c OBiG2jvQh12HP5c/Pipyw5qrvRtyi5d5Jlr6c7Q/sqKnmE3jc7rSfkCY/tG8cYrevkbIMH jLc2etNHlVH7jeKzkanxEYUBqS1rn8lZO47N0H8NnNae2h6xwBoteYnKb17cDw== 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 4QgDz14pJcz16Dn for ; Tue, 13 Jun 2023 03:47:41 +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 35D3lf67094724 for ; Tue, 13 Jun 2023 03:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35D3lfr5094723 for x11@FreeBSD.org; Tue, 13 Jun 2023 03:47:41 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 271897] graphics/drm-510-kmod: loading amdgpu and i915kms kernel modules simultaneously causes the system to crash Date: Tue, 13 Jun 2023 03:47:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: doctorwhoguy@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D271897 --- Comment #11 from Patrick McMunn --- I spent ~5 hours after work this evening troubleshooting at the prompting of rkoberman's comments. First of all, under 13.2-RELEASE, I found that the order in which the modul= es appear in kld_list does make a difference. If kld_list=3D"amdgpu i915kms", = the the kernel panics, dumps core, and reboots. If kld_list=3D"i916kms amdgpu",= the the system reboots without dumping core. I tried building drm-515-kmod under 13.2-RELEASE, but it faild to compile. = So I downloaded and installed FreeBSD-14.0-CURRENT-amd64-20230608-653738e895ba-263444. Under 14.0-CURRENT, both modules can appear in kld_list, and the system will continue to boot successfully without panicking. So that's good. But it is still exhibiting undesirable as well as baffling behavior. Under 14.0-CURRENT, if i915ms either appears first or alone, the system will boot, but SDDM will error with "Failed to read display number from pipe" and "Could not start Display server on vt 9". But if kld_list=3D"amdgpu i915kms= ", then SDDM will start successfully, and I can log into Plasma 5. But, only my secondary display connected to the integrated Intel graphics will have a graphical display. The boot messages appear on my primary display connected= to my Radeon RX 240 until the drm kernel modules load. Then the text on the primary display freezes and continues on my secondary display. So once the = drm kernel modules load, only my secondary display is functional. At least with 13.2-RELEASE, I could load amdgpu alone and my primary display alone would be functional. But under 14.0-CURRENT, amdgpu alone results in a black screen on my primary display as soon as the drm kernel module loads. = All I can do at that point is press CTRL-ALT-DEL to reboot. All tests on 14.0-CURRENT were with drm-515-kmod-5.15.25_3. I have not yet tried drm-510-kmod on 14.0-CURRENT. --=20 You are receiving this mail because: You are the assignee for the bug.=