From nobody Wed Aug 17 20:25:42 2022 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 4M7KK266kRz4ZB1w for ; Wed, 17 Aug 2022 20:25: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 4M7KK23cg8z3DhS for ; Wed, 17 Aug 2022 20:25:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M7KK22VTzz12cF for ; Wed, 17 Aug 2022 20:25:42 +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 27HKPgFx082203 for ; Wed, 17 Aug 2022 20:25:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27HKPge1082202 for bugs@FreeBSD.org; Wed, 17 Aug 2022 20:25:42 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 265920] drm radeonkms doesn't work for DVI on RS780, RS880 Date: Wed, 17 Aug 2022 20:25:42 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alomobeto277@magenta.de 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 attachments.created 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: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660767942; 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=E7+7+jxkdidS8ry/9DVx4GNH8DWb47kknWze7vmU1WY=; b=jZzSbOBlZoickyv+zhQNJYIUrTOeJap2HT/6o0fh0xRrDF72gKA9JI9cQPoT9IBajlhtM1 AsUWXaLjaaPZ5FS8TFIhD1NsU6NkwnFwBFo/WuTU6hTWUU3/0iWjG8kt4IMmT1RuO+Q3vD anOQQlcYdsc7UHgDh+OtSPrYLijSyRMnEbzbZBYIQWdridg8Rwc4wgo70I+I5f6VEPTgOX xy1qkCpWWaecBT/raCpnXNytzjqScJNwcUdUKLz6IlREiz4qn1CXpkRwWSssvQ95dPC6cy TkUw3VIgRN7Cs2YOpZmbUgvdgFHyTyvd07jNcjePya/eT82tXT094JQRTmSCnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660767942; a=rsa-sha256; cv=none; b=aW/YZmejZiQYOi9p4ml7TgxGNu1pQIG6mPm3u97/lXksv5KVM0RI5wUZW9wzPO88yuFF+p NxsQquOJLe6lFx7+ZBJ+HErzolcnxbUdxq2kmVgEXlz0ozcb/jBNJXUY0cHlpPpHqSlSxl 3wXC/kkM76CL5y/UpDdTRxAch5nOHbfyTrZcJ//4GIyaaWOD4jsq2kGiPacyrUGKuAQe7I IUYTLJE9+YqZtY9+Wyc4VohFRwQvz84jrTgz8KWmZyvcT+d5uPpo1qx4gy0vsXWAmvveU3 qEvDBd3D106lcb9OxkWs03ZHTft3Vihs2jNU9xA/v3VwMLdUeyq7J3fGbdfVtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265920 Bug ID: 265920 Summary: drm radeonkms doesn't work for DVI on RS780, RS880 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alomobeto277@magenta.de Created attachment 235980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235980&action= =3Dedit logfiles from FreeBSD 11.2 on RS880 and 14-CURRENT on RS780 I'm running FreeBSD 11.2 with radeonkms without problems, but I need to upgrade. So I tried 14-CURRENT. I built the drm modules and firmware from ports. When I load radeonkms my monitor attached to DVI goes blank. I found a simi= lar bug here: https://github.com/freebsd/drm-kmod/issues/117, so I played arou= nd a bit. My RS880 board (GA-880GA-UD3H) has one monitor attached to the dual-li= nk DVI output using a 2560x1440 solution. I also have a RS780 board (M3A78-CM) with 3 monitors for VGA, DVI and DisplayPort. I focused on the Asus board s= ince it allows more test cases. When only DVI is connected, the screen goes blank after loading radeonkms. = The connected monitor cannot be found. If I start Xorg with xf86-video-ati from ports, Xorg logs about using KMS to the console and the kernel hangs - no output, no ping, nothing (no crash dump). When DVI and DisplayPort is connected the DVI monitor goes blank after load= ing radeonkms, but the Displayport Monitor works as expected. The DVI connectio= n is not detected, the Displayport is. Xorg only works on the Displayport monito= r in the correct resolution. When DVI and VGA is connected, after loading radeonkms the DVI monitor shows exactly what the VGA monitor shows, same resolution. However, no monitor connection is detected. On this board VGA and DVI can't be used separately - DVI and Displayport can. So, the VGA Monitor works as expected, the DVI Mon= itor is a clone - if you unplug the VGA monitor the DVI monitor goes blank. Same behavior when you start Xorg. A single monitor attached to VGA or Displayport works as expected, monitor = and resolutions get detected. I attach logfiles for the different scenarios. A few additional remarks: loading the drm module before the radeonkms never made a difference. It also doesn't matter if the DVI connection is single- or dual-link. In case the radeonkms module found a connected monitor dmesg shows kernel locking probl= ems, so there's something not working correctly, yet. Since using dual-link DVI is the only option to drive my monitor I'd really like you to fix this regression ;-) BTW. earlier attempts with live CDs (GhostBSD) had a similar effect - this bug may already be on previous relea= ses. --=20 You are receiving this mail because: You are the assignee for the bug.=