Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2019 14:45:47 -0400
From:      <jardows@sbcglobal.net>
To:        "'Kevin Oberman'" <rkoberman@gmail.com>
Cc:        <freebsd-x11@freebsd.org>
Subject:   RE: drm-kmod vmwgfx.ko Crashes system
Message-ID:  <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net>
In-Reply-To: <CAN6yY1u4LUGJnOPj5fb%2BGHohU1UKh-dnn2f-9fAHgZwzymRdJA@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 via ports.  I am experiencing the same issue.

=20

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 =
make it work.

=20

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.

=20

From: Kevin Oberman <rkoberman@gmail.com>=20
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

=20

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 =
on 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 =
Workstation Player 15.5.0 build-14665864 installed on Windows 10 1809 =
Enterprise.

=20

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 kernel is updated, but that does not work with packages and, in the =
last case, it did not work until 11.2 reached EOL and the packages were =
built against 11.2.

=20

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>=20

PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

=20

=20

On Friday, October 18, 2019, 1:57:32 PM EDT, Kevin Oberman =
<rkoberman@gmail.com <mailto:rkoberman@gmail.com> > wrote:=20

=20

=20

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?

=20

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>=20

PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01d586ad$6c9ab4c0$45d01e40$>