Date: Sat, 19 Oct 2019 12:49:27 -0700 From: Johannes Lundberg <johalun0@gmail.com> To: jardows@sbcglobal.net Cc: Kevin Oberman <rkoberman@gmail.com>, freebsd-x11@freebsd.org Subject: Re: drm-kmod vmwgfx.ko Crashes system Message-ID: <CAECmPwubprUpcsDAU_3A3LXf6OoDQyERxjcw9v0DcusqA-c-hQ@mail.gmail.com> In-Reply-To: <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net> References: <1412799887.2347100.1571413522294@mail.yahoo.com> <CAN6yY1tpzxMp-FLbBh%2B31j39saaK0K9CS60jyicd-imHij%2BkBg@mail.gmail.com> <1116357723.2415607.1571428496412@mail.yahoo.com> <CAN6yY1u4LUGJnOPj5fb%2BGHohU1UKh-dnn2f-9fAHgZwzymRdJA@mail.gmail.com> <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Don=E2=80=99t expect anything from 4.16 based kmods. It works better with 5= .0 branches but still there are bugs that need to be fixed for vmwgfx. for example race condition on multi-cpu vms. I meant to write up a blog post about the driver ones it was in workable state. Work has gotten in between so the whole thing has been delayed. On Sat, Oct 19, 2019 at 11:46 <jardows@sbcglobal.net> wrote: > I appreciate the insight, but I do not believe that is what I am > experiencing. I just installed a 12.0-RELEASE VM, installed src, updated > with freebsd-update, downloaded the ports tree, then installed drm-kmod v= ia > ports. I am experiencing the same issue. > > > > If this driver works at all, I figure there should be somebody who has > used it successfully, and would know what conditions are necessary to mak= e > it work. > > > > Even though I cannot find any documentation as to its use, I am beginning > to suspect that this driver only works with ESXi, and not VMWare > Workstation. > > > > From: Kevin Oberman <rkoberman@gmail.com> > Sent: Friday, October 18, 2019 11:35 PM > To: Jacob Meadows <jardows@sbcglobal.net> > Cc: freebsd-x11@freebsd.org > Subject: Re: drm-kmod vmwgfx.ko Crashes system > > > > On Fri, Oct 18, 2019 at 12:54 PM Jacob Meadows <jardows@sbcglobal.net > <mailto:jardows@sbcglobal.net> > wrote: > > > I have installed with pkg on latest and on release_1 (currently running o= n > 12.1-RC1, but have used other versions with the same results). > I have also freshly installed from ports with the latest updates. > I have not rebuilt my kernel after system installation. > I am not sure what version of kmod I would need to be in sync with my > currently installed vmware version. I am currently using VMWare Workstati= on > Player 15.5.0 build-14665864 installed on Windows 10 1809 Enterprise. > > > > This is a problem. ATM, packages for 12 are being compiled against > 12.0-RELEASE. KBI stability between minor releases is not guaranteed. At > least once in the 11-STABLE tree, a change broke the virtualbox-ose-kmod > resulting in a system panic. Until the first build of packages after 11.1 > went EOL, the only fix was to download port and kernel sources and build > the port against those sources. This may be another case. It's why it is > recommended that all kernel modules in ports be rebuilt whenever the kern= el > is updated, but that does not work with packages and, in the last case, i= t > did not work until 11.2 reached EOL and the packages were built against > 11.2. > > > > This could well be totally wrong. It's really speculation. > > -- > > > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com> > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > > > > On Friday, October 18, 2019, 1:57:32 PM EDT, Kevin Oberman < > rkoberman@gmail.com <mailto:rkoberman@gmail.com> > wrote: > > > > > > On Fri, Oct 18, 2019 at 8:45 AM Jacob Meadows <jardows@sbcglobal.net > <mailto:jardows@sbcglobal.net> > wrote: > > I saw that drm-kmod installs vmwgfx.ko. I thought this would be nice to > enable 3d acceleration in my VMWare player VM, but every time I load it, > the virtual machine freezes. > > I have tried putting a line in the rc.conf like for the amdgpu.ko, and > directly loading via kldload. I have tried with the VM setting 3d > acceleration on and off. I have tried with 12.0-RELEASE, 13-CURRENT, and > now 12.1-RC1. The crazy thing is I cannot find any errors recorded > /var/log/messages, simply some information about the driver loading, then > nothing and the system locks up. > > I am having a hard time finding any documentation regarding this driver. > Is it designed to work with VMWare player, or perhaps it is for ESXi only= ? > > > > Check the mtime on /boot/kernel/kernel and /boot/modules/vmwgfx.ko. Since > this module is installed by a port, not the base system, it is critical > that it be in sync with the kernel. Have you rebuilt your drm kmod port > port since your kernel was last built? It's really critical that kernel > modules be in sync with the kernel. It is also possible that it needs to = be > in sync with the currently installed vmware. > > -- > > > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com> > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwubprUpcsDAU_3A3LXf6OoDQyERxjcw9v0DcusqA-c-hQ>