From owner-freebsd-x11@freebsd.org Sun Oct 20 00:02:57 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 9779B15A72B for ; Sun, 20 Oct 2019 00:02:57 +0000 (UTC) (envelope-from jardows@sbcglobal.net) Received: from sonic301-4.consmr.mail.bf2.yahoo.com (sonic301-4.consmr.mail.bf2.yahoo.com [74.6.129.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46wg2R5g0Fz3JSg for ; Sun, 20 Oct 2019 00:02:55 +0000 (UTC) (envelope-from jardows@sbcglobal.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1571529773; bh=qPguo/7pn1U/3Yz36Zff1wQBlDip7IQLOcewEofykuY=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From:Subject; b=QZuWGrbXJrlHrQzzWWT79rb0pANCX+Bjn9wHXdcuLUc9XHCLPQMEskrqw5kHUC6lMd+zGROFZmpZBmrXLxWjYf910uy3KhvAsoSdx1vB+0Oftlje2XwfF9tg6SJ1IyyeRAHbVa5k5J2N/FGN0ksIWqF3KhYTJmhF3ep13u7GhokWcwq+fz5vRdNms9htYv6+r+SzZAxwPlI9Tjhs1rG2XdKWtm3xuGus88p6fU8MTFkRusSF8rWUxjQhxucgMr2UKNZ62M4UQROKjRbb8DurKs/X/FQGUz89Y0MYgYIXfybsjXkC8lvytOPUAAYXN1gcvW8zx3JHLYurXLhOpN5tqA== X-YMail-OSG: 6uIO0NoVM1nYgDJ_tzetUaTCcX7rR_85dnm.IVtAmz2Y.gdD0FDnXO.0edNoPt1 D2c_.b3AMqIt0RO..dXiM4JQSRXfJ35BKOkJ74tVb0eHaH3loPYziSubPx5EladWrj4KhYzStSmT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ntopaD1MhVwv4cpa7Oh_3HZMxnv44sdn6dPUQ6nt_I7jutVGyxqU2EuwcpYTO4LewgYuL92i j7ajUqL6ZOXSS5Zuh4Si56TwgcmQjRGPsU22lUHFM5vpJAA3lYrVbQAx1Amx.kr3nDEmgAYSlPaL k7eVfv.mgpNOxPXKKoxUF6581jIV0ZGuqRfWs8GSqFA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 20 Oct 2019 00:02:53 +0000 Received: by smtp420.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d6bff0eac447ecc92525d6e3820f39d4; Sun, 20 Oct 2019 00:02:50 +0000 (UTC) From: To: "'Johannes Lundberg'" Cc: References: <1412799887.2347100.1571413522294@mail.yahoo.com> <1116357723.2415607.1571428496412@mail.yahoo.com> <001e01d586ad$6c9ab4c0$45d01e40$@sbcglobal.net> In-Reply-To: Subject: RE: drm-kmod vmwgfx.ko Crashes system Date: Sat, 19 Oct 2019 20:02:50 -0400 Message-ID: <008601d586d9$b6bc0be0$243423a0$@sbcglobal.net> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKRSiAd5RZMPDVq9vyQ33lx5769QwJmMGBkAkiN/lgA1xxGSQLLzCGFAg9QIkalmBVMYA== Content-Language: en-us X-Rspamd-Queue-Id: 46wg2R5g0Fz3JSg X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sbcglobal.net header.s=s2048 header.b=QZuWGrbX; dmarc=none; spf=none (mx1.freebsd.org: domain of jardows@sbcglobal.net has no SPF policy when checking 74.6.129.43) smtp.mailfrom=jardows@sbcglobal.net X-Spamd-Result: default: False [3.69 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[sbcglobal.net]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[sbcglobal.net:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[sbcglobal.net]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[sbcglobal.net:s=s2048]; IP_SCORE(0.00)[ip: (4.14), ipnet: 74.6.128.0/21(1.46), asn: 26101(1.17), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[sbcglobal.net]; NEURAL_SPAM_MEDIUM(0.70)[0.696,0]; BAD_REP_POLICIES(0.10)[]; DWL_DNSWL_LOW(-1.00)[sbcglobal.net.dwl.dnswl.org : 127.0.5.1]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.996,0]; RCVD_IN_DNSWL_NONE(0.00)[43.129.6.74.list.dnswl.org : 127.0.5.0]; FROM_NO_DN(0.00)[]; R_SPF_NA(0.00)[]; RBL_SENDERSCORE(2.00)[43.129.6.74.bl.score.senderscore.com]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 20 Oct 2019 00:02:57 -0000 Thank you for the information. I tried starting up a 13-CURRENT = 20191011-r353427 VM with only one CPU and installed drm-devel-kmod from = ports. The whole VM crashed when I loaded the module! Considering the = 20191018 ISO wouldn=E2=80=99t even load in the VM, and based on what you = said, I=E2=80=99ll just keep an eye on it, and try every now and then = with the devel-kmod to see if anything works. I am not doing anything = with a VM right now that needs the 3d acceleration, but figured if I = could get it to work, that would be a neat thing to play with. = I=E2=80=99d help with the development, but I have never done any serious = programming, so I wouldn=E2=80=99t even know where to start. Keep up = the good work! =20 From: Johannes Lundberg =20 Sent: Saturday, October 19, 2019 3:49 PM To: jardows@sbcglobal.net Cc: Kevin Oberman ; freebsd-x11@freebsd.org Subject: Re: drm-kmod vmwgfx.ko Crashes system =20 Hi =20 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.=20 =20 =20 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 via 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 = make 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 >=20 Sent: Friday, October 18, 2019 11:35 PM To: Jacob Meadows = > Cc: freebsd-x11@freebsd.org =20 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 = 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. 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. 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 = >=20 PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Friday, October 18, 2019, 1:57:32 PM EDT, Kevin Oberman = = > > wrote:=20 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 = >=20 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 = "