From nobody Sun Mar 20 15:20:48 2022 X-Original-To: freebsd-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 8835D1A1F493 for ; Sun, 20 Mar 2022 15:21:00 +0000 (UTC) (envelope-from alexander.coers@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KM1fg24dHz3h6Y for ; Sun, 20 Mar 2022 15:20:56 +0000 (UTC) (envelope-from alexander.coers@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647789649; bh=HcAWs6B+JrcT54Kg2rPuyMuxaxFY9YHtX0hfHYP2VEE=; h=X-UI-Sender-Class:From:Subject:Date:To; b=eeEaCBL9mAGDtfTbaNRoMFLMcpKbO9/FBZUxGqEZGBqTZgHg+G/FCw006dJY1dsAi PjvfnNjIhvzJMeEKCiBRQzJnbSyX4O2C8adwydDBO+9CgeeS8XTbdKqQ4sV9jC1hFI cnKmLdsz4a9iCqyY7lrJ+8ZDeilzDbb4wbCoHwWA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from smtpclient.apple ([91.9.234.35]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MiJZO-1nzFlX1hf4-00fO3x for ; Sun, 20 Mar 2022 16:20:49 +0100 From: Alexander Coers Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Fixed virtual box driver (drm_v5.4.144_6), sort of Message-Id: <50E4A7BF-A89A-4B66-9709-3AA247D52B83@gmx.de> Date: Sun, 20 Mar 2022 16:20:48 +0100 To: "freebsd-x11@freebsd.org" X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Provags-ID: V03:K1:Ye8JN/s4Jl5JhYMYYtG/mFOZFmaZ9YY7id/felRjejL5Rdu/zV/ WaFIunBlXjSssIrewyVO32YnYMkUU3t+zVMkhv9y03kP8VRgE5HLeOSGdRV8IzqDluJfitE 5j7Bn6PT+7OpWAqp4mhWuP/S9g8eUa9GMmE1AaGCeQW+BDy85zFTDM0OhTlg4eAMf8Nhkpn y9peK/e/99JtFAgBwlL6Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fr2HLpWKJxM=:DRx3XXpwsuXDsXEs+vgJ8J mgCFgrp4coRybvnwr/kGJi6IZM5ZSYdP5bDztqwkGKMr5svj50xVGaeVp3bvhPW1wb8If2JHx GJTQrPi0Wh9i28Aixeb8DiWLCTffNWLpgH1259gaU5Ss76FXxUch6GODKEk1yurx/7h0I/ri9 /IpTpzLtV4YIDkJF2mOZ4dXkaXGSPpX33LRarWMQwraZbybaiGn2Q64hdxpWKK7BkUKBvgZiu qhZZS/ZbOAvd136pt1EucLOi0CrTKHWppfkpdv8WgL+SK3jZLWvDQCwkZX6XcN3p+VIcYmH9C 4tt5DL1BlYuTfKVuNFQWGqbBzDQeLWdrOEDyjU0feph5I8AMAtV0QBbG85azdocIWk99TVFwA PNzTST3e4ZGnwH/9Lhv5G4MV4iv61R04colRiMxM+JpG19vA6mlPhL4EOxuAYyjqDCD7i0bwJ vLEmVLShe7zLy99Bp5cuqm/hnGt/acpFssWynW2dnNd3Z0ccxCEzpVJZDj7di56Fh8MykBqh9 h+mE3fUHpQxUKxAPMI2wLXpW4j4sHQ+E61V8VB7+Cq5r0ZliftjPc0QCx3vqH3kSec/qAHx01 2bMuKDoagaf78AykbzZkIxQ/MJ2WMHxYyrjHB3lR9pMCaVK+P3hy5wNFFVS0S7iGWxJ93fuVi CfVq2hIPIEpeNWhCLMiah4soprcJU7hoq+Pm+F2s4C9tAvWfjCdmXcxTpnsnXQzLEQFIvro5a wUWczYE60fa+iZxtKJMUjkqDHhioj+36RXdR9mgaEVNAD5kepYMBzGHvc62vzsEUSluRWyPnP 2ppJ3YUBmL0JiQJ9CPjt1tHE2pn2L1+15h+5dhaQrdqBAddvN6j6PnjFVssCk6Jo59+lPRgEV a87vt8MoUPQ+Sb68b/OTe3M1BW/i6qWFEGweGVb+nEoOd8QZRfN8fFsbH2EH1P0Y7XJw94TiR rX0sc35UVGrmADJsPRwTQC0os6fJO7u+bozEnG93QYJsZ8GKHXNrYzHpZE050vm5rPXSvRUE0 XXiuv14PmvmQm7IbaUxlS/ZdU2cg6LahdDAgEsaOHJTu7BLUjMV4hSLuJ2TemuSOdy9VOr4F0 K0ntpEodek8NyQ= X-Rspamd-Queue-Id: 4KM1fg24dHz3h6Y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=eeEaCBL9; dmarc=pass (policy=none) header.from=gmx.de; spf=pass (mx1.freebsd.org: domain of alexander.coers@gmx.de designates 212.227.17.21 as permitted sender) smtp.mailfrom=alexander.coers@gmx.de X-Spamd-Result: default: False [-4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[212.227.17.21:from]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27:c]; FREEMAIL_FROM(0.00)[gmx.de]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmx.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[91.9.234.35:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[gmx.net:dkim]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-x11]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi everyone, Since I wanted to know how all things are working out between FreeBSD, = DRM and Linux, I skimmed through the source and tested a lot with FBSD13 = running in Virtual Box 6.x on FBSD13 host. Now I fixed the Makefiles and = found the issue for the kernel panic which happens directly after = loading the vbox DRM driver. Within X11 everything looks now okay, multiple monitors as well as = different resolutions work, but in the console there is still a bug = making it unusable: You can=E2=80=99t see any output, the console is frozen. If you force = the repaint of the virtual machine window (moving other windows around = or open the =E2=80=9Eabout dialog=E2=80=9C of Virtual Box), the output = is drawn. So console works, but the framebuffer output seems to have = issues. Do you have an idea where I could look to fix this issue? Is there any = more documentation on how DRM works? Also, how should I provide the fix? Diff here in the list, or PR in = Github? Best, Alexander