From owner-freebsd-x11@freebsd.org Sat Oct 19 19:49:40 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0E1F154D28 for ; Sat, 19 Oct 2019 19:49:40 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46wYQC5Wnqz4Y75 for ; Sat, 19 Oct 2019 19:49:39 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id e11so7819151otl.5 for ; Sat, 19 Oct 2019 12:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lENbVofKkyYcOQfRY6nxGKL/N0aZsuJHfPxJvf3AH2U=; b=GwgA14gfLOsClq0GCRtcEQ4yF0fgFZAtfC699uNUdkXI7wOECuPONcCF8TJjzdQg+y yRD20U8oF5Eq/mShF/Jz5I9cK1fKyA5Oab5HgnCblPERr93y8d5dvl6qAvZCMcpoTHOJ pbwjs8uMb0x0nwVj1WjjD8vvOoH4yt4z0NZn/1igAkBqTKAl5FRuxzddvb1Jb+N2cxM/ zHgzuW5uMGXodaLVYmD1gK1VS1FMVQIMH++jW376/0h/469Pf/Wg9Z4Ky7O/K3BIj/pU BTrEjw7wreS76SAzJZWwAlNMJoRFegtll/wegJZqOjELOiv1SMRt78nmg9dimpnhItK4 /y2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lENbVofKkyYcOQfRY6nxGKL/N0aZsuJHfPxJvf3AH2U=; b=KeQuyKmZn5Q+Cdb81hqgrU/ADca2gZlmgItGT/3ZH1tkmlzndf2e+CmUaw4++qPG1a mFLnYC/lRgpqHhO3FR6KGK4U7mgefNu7MzmuH0OVjOmAgvIfbovZo0jDwAoVsW+rIWUR Mcv3qKDw+yo28y8Cfa7ezypFyQDT56pCKTBrezG4q+ArOryU35xnCbNY9j49RPbPfVB6 zoSkmq1YHDpmojoXlBhBcbqeJKNPo3cTcncGyQIpA9C2Z45avU0vgwpid9x+nU666ZX1 jxk+6cwPOfCqf+ARjiuYT9v7sxdMO71ABYl5oWgRQz8gEnAgjPIJxkXiixDpak7bXMYl 20wA== X-Gm-Message-State: APjAAAW25drCe91LmZzzqEP4JdVza3h3n8O7H58eeErrR9JtsV4aUc4c 6ZQDvLSCeBK7IBBmBNnY4yDkW15sNRxNEGTdIyc= X-Google-Smtp-Source: APXvYqxGOG78EXnsVGlrq1zUkOx6ol5sMkZsCT7fQ688QyAiOomGS0WUxU8II/JNqE/NWYJ1Qv+bebbNcZvUcuj57ps= X-Received: by 2002:a9d:138:: with SMTP id 53mr9846479otu.265.1571514578206; Sat, 19 Oct 2019 12:49:38 -0700 (PDT) MIME-Version: 1.0 References: <1412799887.2347100.1571413522294@mail.yahoo.com> <1116357723.2415607.1571428496412@mail.yahoo.com> <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net> In-Reply-To: <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net> From: Johannes Lundberg Date: Sat, 19 Oct 2019 12:49:27 -0700 Message-ID: Subject: Re: drm-kmod vmwgfx.ko Crashes system To: jardows@sbcglobal.net Cc: Kevin Oberman , freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 46wYQC5Wnqz4Y75 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GwgA14gf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johalun0@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=johalun0@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[sbcglobal.net]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-7.86), ipnet: 2607:f8b0::/32(-2.46), asn: 15169(-2.09), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2019 19:49:40 -0000 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 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 > Sent: Friday, October 18, 2019 11:35 PM > To: Jacob Meadows > Cc: freebsd-x11@freebsd.org > Subject: Re: drm-kmod vmwgfx.ko Crashes system > > > > On Fri, Oct 18, 2019 at 12:54 PM Jacob Meadows > 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 > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > > > > On Friday, October 18, 2019, 1:57:32 PM EDT, Kevin Oberman < > rkoberman@gmail.com > wrote: > > > > > > On Fri, Oct 18, 2019 at 8:45 AM Jacob Meadows > 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 > > 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" >