From owner-freebsd-x11@freebsd.org Sat Oct 19 03:34:59 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 8F00A1509F7 for ; Sat, 19 Oct 2019 03:34:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (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 46w7nY6s7xz4cCF for ; Sat, 19 Oct 2019 03:34:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x336.google.com with SMTP id 89so6620964oth.13 for ; Fri, 18 Oct 2019 20:34:57 -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=iYxJPwoFHr72Pb9t18LqI2t65eoIj6h1a69bbJhWU0k=; b=j1VsSwKX8/7ubjuqDjOUsrVJf7DlNyjrNaXWE9csz05DP2Rd44TrKuM7WoUEfigcrs GXOWf/tCvaHnRAMOoRz0LCNu8637c5MhQ4btSo9a+uHk2E5RnM5Y1yVgPUzLmYwomK79 B46z3Hgz8D+ekSH4SGaruKAlwRQZqMwfNCt2jUZ3evC6KYypF4KUFm3xCiPUs0VFsW8E 9LHd3TShW8CSYpBJmOgsbHzY57lkM+iufA4u86p09peOXX09UDRBhernOvEUBZvXqyCb AcHiLHqWSDJlEm71/VVlxJeWR5+zyaJOGrI5MjPs5lE2WK5EXBEroashWuFQdEyJHJJJ ZNzQ== 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=iYxJPwoFHr72Pb9t18LqI2t65eoIj6h1a69bbJhWU0k=; b=D+PYVwkxEXx8T+Huf/AZ0J4gPxjK6pUghcwS4r6hPfD8vEEvmdOG8xyCIA1/Bzu8mc Ncq6EIzrzXUF/skSSoYrzjAKl+pEobvM0D8xt92jIRbcbE6KCpba7Drm40/TgXHFZluf z+P1ffmhphMC+EZv1i2yE6E5llWZLa+zl4FqKNAiQtfxk9iw7n5gvA+0h3GC7LmSjksE 0c3zqR052nvTuB5MphKuhJNn+sAz1JlV7+5oX0vNCS2E8OiwmrFYYxcjH4B1jFftmTva fNW8cAdZ7mvzWYy219R0x0s21qVbLCq8GZR+LujuyaECWWQDlVoGTWWMC4CO6rSEk9ju JaMA== X-Gm-Message-State: APjAAAUDetLI/3pqxJZ4ZB85tHdWwkVZdqq5r4V0fypuSUX7Yhz3FnCS XU1LBJdIZgfPXjk27QYzwHt3tP1zvm6gUwzmq3k= X-Google-Smtp-Source: APXvYqws1HI0gqKX1gisArL8smJzyzTQI5biLga3EQSw2EzG3LsBsXKKhHBrWjArrVgOG6bEO/aMZvvXPxtfrOWC2Cs= X-Received: by 2002:a9d:4597:: with SMTP id x23mr10332782ote.199.1571456096384; Fri, 18 Oct 2019 20:34:56 -0700 (PDT) MIME-Version: 1.0 References: <1412799887.2347100.1571413522294@mail.yahoo.com> <1116357723.2415607.1571428496412@mail.yahoo.com> In-Reply-To: <1116357723.2415607.1571428496412@mail.yahoo.com> From: Kevin Oberman Date: Fri, 18 Oct 2019 20:34:39 -0700 Message-ID: Subject: Re: drm-kmod vmwgfx.ko Crashes system To: Jacob Meadows Cc: "freebsd-x11@freebsd.org" X-Rspamd-Queue-Id: 46w7nY6s7xz4cCF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=j1VsSwKX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::336 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; FREEMAIL_TO(0.00)[sbcglobal.net]; IP_SCORE(0.00)[ip: (-8.13), 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]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; 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)[]; 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)[6.3.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]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" 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 03:34:59 -0000 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 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 > >