Date: Wed, 23 Mar 2022 16:42:41 +0100 (CET) From: Ronald Klop <ronald-lists@klop.ws> To: Alexander Coers <alexander.coers@gmx.de> Cc: "freebsd-x11@freebsd.org" <freebsd-x11@FreeBSD.org> Subject: Re: Fixed virtual box driver (drm_v5.4.144_6), sort of Message-ID: <1270986992.107.1648050161092@mailrelay> In-Reply-To: <6ADD603F-E8ED-4883-9E09-DD5FDEDBBB77@gmx.de> References: <50E4A7BF-A89A-4B66-9709-3AA247D52B83@gmx.de> <728905678.132.1648028482165@mailrelay> <6ADD603F-E8ED-4883-9E09-DD5FDEDBBB77@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_106_1303158156.1648050161083 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable =20 Van: Alexander Coers <alexander.coers@gmx.de> Datum: woensdag, 23 maart 2022 14:39 Aan: Ronald Klop <ronald-lists@klop.ws> CC: "freebsd-x11@freebsd.org" <freebsd-x11@FreeBSD.org> Onderwerp: Re: Fixed virtual box driver (drm_v5.4.144_6), sort of >=20 >=20 > > Am 23.03.2022 um 10:41 schrieb Ronald Klop <ronald-lists@klop.ws>: > > > > Van: Alexander Coers <alexander.coers@gmx.de> > > Datum: zondag, 20 maart 2022 16:20 > > Aan: "freebsd-x11@freebsd.org" <freebsd-x11@FreeBSD.org> > > Onderwerp: Fixed virtual box driver (drm_v5.4.144_6), sort of > > > > 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 ru= nning in Virtual Box 6.x on FBSD13 host. Now I fixed the Makefiles and foun= d the issue for the kernel panic which happens directly after loading the v= box DRM driver. > > Within X11 everything looks now okay, multiple monitors as well as diff= erent resolutions work, but in the console there is still a bug making it u= nusable: > > You can=E2=80=99t see any output, the console is frozen. If you force t= he repaint of the virtual machine window (moving other windows around or op= en 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 Git= hub? > > > > Best, > > Alexander > > > > =20 > > > > > > Hi, > > > > This sounds very promising. I think you can ask the maintainer of Virtu= alBox how to proceed with this: vbox@FreeBSD.org. Or is the driver not in t= he VirtualBox source. > > See: https://www.freshports.org/emulators/virtualbox-ose/ > > > > A possibility is to create a PR in https://bugs.freebsd.org/bugzilla/, = but I'm not authoritative in development of the virtualbox software on Free= BSD. ;-) > > > > Regards, > > Ronald. > > =20 >=20 > Hi Ronald, >=20 > the driver source is part of the drm-fbsd-kmod repo and the driver behave= s always the same on different host systems, like Windows, Linux or FreeBSD= . So I think the console issue needs to be fixed somewhere in the drm sourc= e, but I have no clue about the inner workings, so any hint or help would b= e appreciated. >=20 > Best, > Alexander >=20 >=20 >=20 > =20 >=20 >=20 >=20 Hi, Sorry, I don't have knowledge about the inner workings of X. So I hope some= body else answers that question. But if you post your patch somewhere I'm willing to test it. Regards, Ronald. =20 ------=_Part_106_1303158156.1648050161083 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body> <p><strong>Van:</strong> Alexander Coers <alexander.coers@gmx.de><br = /> <strong>Datum:</strong> woensdag, 23 maart 2022 14:39<br /> <strong>Aan:</strong> Ronald Klop <ronald-lists@klop.ws><br /> <strong>CC:</strong> "freebsd-x11@freebsd.org" <freebsd-x11@Fr= eeBSD.org><br /> <strong>Onderwerp:</strong> Re: Fixed virtual box driver (drm_v5.4.144_6), = sort of</p> <blockquote style=3D"padding-right: 0px; padding-left: 5px; margin-left: 5p= x; border-left: #000000 2px solid; margin-right: 0px"> <div class=3D"MessageRFC822Viewer" id=3D"P"> <div class=3D"TextPlainViewer" id=3D"P.P"><br /> > Am 23.03.2022 um 10:41 schrieb Ronald Klop <ronald-lists@klop.ws>= ;:<br /> ><br /> > Van: Alexander Coers <alexander.coers@gmx.de><br /> > Datum: zondag, 20 maart 2022 16:20<br /> > Aan: "freebsd-x11@freebsd.org" <freebsd-x11@FreeBSD.org&g= t;<br /> > Onderwerp: Fixed virtual box driver (drm_v5.4.144_6), sort of<br /> ><br /> > Hi everyone,<br /> ><br /> > 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 r= unning in Virtual Box 6.x on FBSD13 host. Now I fixed the Makefiles and fou= nd the issue for the kernel panic which happens directly after loading the = vbox DRM driver.<br /> > Within X11 everything looks now okay, multiple monitors as well as dif= ferent resolutions work, but in the console there is still a bug making it = unusable:<br /> > 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 o= pen 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.<br /> > Do you have an idea where I could look to fix this issue? Is there any= more documentation on how DRM works?<br /> > Also, how should I provide the fix? Diff here in the list, or PR in Gi= thub?<br /> ><br /> > Best,<br /> > Alexander<br /> ><br /> > <br /> ><br /> ><br /> > Hi,<br /> ><br /> > This sounds very promising. I think you can ask the maintainer of Virt= ualBox how to proceed with this: vbox@FreeBSD.org. Or is the driver not in = the VirtualBox source.<br /> > See: <a href=3D"https://www.freshports.org/emulators/virtualbox-ose/">= https://www.freshports.org/emulators/virtualbox-ose/</a><br /> ><br /> > A possibility is to create a PR in <a href=3D"https://bugs.freebsd.org= /bugzilla/">https://bugs.freebsd.org/bugzilla/</a>, but I'm not authoritati= ve in development of the virtualbox software on FreeBSD. ;-)<br /> ><br /> > Regards,<br /> > Ronald.<br /> > <br /> <br /> Hi Ronald,<br /> <br /> the driver source is part of the drm-fbsd-kmod repo and the driver behaves = always the same on different host systems, like Windows, Linux or FreeBSD. = So I think the console issue needs to be fixed somewhere in the drm source,= but I have no clue about the inner workings, so any hint or help would be = appreciated.<br /> <br /> Best,<br /> Alexander<br /> <br /> <br /> <br /> </div> <hr /></div> </blockquote> <br /> <br /> Hi,<br /> <br /> Sorry, I don't have knowledge about the inner workings of X. So I hope some= body else answers that question.<br /> But if you post your patch somewhere I'm willing to test it.<br /> <br /> Regards,<br /> Ronald.<br /> </body></html> ------=_Part_106_1303158156.1648050161083--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1270986992.107.1648050161092>