Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2019 19:54:56 +0000 (UTC)
From:      Jacob Meadows <jardows@sbcglobal.net>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: drm-kmod vmwgfx.ko Crashes system
Message-ID:  <1116357723.2415607.1571428496412@mail.yahoo.com>
In-Reply-To: <CAN6yY1tpzxMp-FLbBh%2B31j39saaK0K9CS60jyicd-imHij%2BkBg@mail.gmail.com>
References:  <1412799887.2347100.1571413522294@mail.yahoo.com> <CAN6yY1tpzxMp-FLbBh%2B31j39saaK0K9CS60jyicd-imHij%2BkBg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=20
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 curre=
ntly installed vmware version. I am currently using VMWare Workstation Play=
er 15.5.0 build-14665864 installed on Windows 10 1809 Enterprise.

     On Friday, October 18, 2019, 1:57:32 PM EDT, Kevin Oberman <rkoberman@=
gmail.com> wrote: =20
=20
 On Fri, Oct 18, 2019 at 8:45 AM Jacob Meadows <jardows@sbcglobal.net> wrot=
e:

I saw that drm-kmod installs vmwgfx.ko.=C2=A0 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 dire=
ctly loading via kldload.=C2=A0 I have tried with the VM setting 3d acceler=
ation on and off.=C2=A0 I have tried with 12.0-RELEASE, 13-CURRENT, and now=
 12.1-RC1.=C2=A0 The crazy thing is I cannot find any errors recorded /var/=
log/messages, simply some information about the driver loading, then nothin=
g and the system locks up.

I am having a hard time finding any documentation regarding this driver.=C2=
=A0 Is it designed to work with VMWare player, or perhaps it is for ESXi on=
ly?


Check the mtime on /boot/kernel/kernel and /boot/modules/vmwgfx.ko. Since t=
his 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 si=
nce 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 w=
ith the currently installed vmware.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683=C2=A0 =20
From owner-freebsd-x11@freebsd.org  Fri Oct 18 21:01:21 2019
Return-Path: <owner-freebsd-x11@freebsd.org>
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 B42E315ABA4
 for <freebsd-x11@mailman.nyi.freebsd.org>;
 Fri, 18 Oct 2019 21:01:21 +0000 (UTC)
 (envelope-from pete@nomadlogic.org)
Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mail.nomadlogic.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 46vz3N4502z41ml
 for <freebsd-x11@freebsd.org>; Fri, 18 Oct 2019 21:01:20 +0000 (UTC)
 (envelope-from pete@nomadlogic.org)
Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com
 [23.243.162.239])
 by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id e765e439
 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO;
 Fri, 18 Oct 2019 21:01:13 +0000 (UTC)
Subject: Re: Problems with AMDGPU and two grafic cards
To: Miranda van den Breukelingen <mms.vanbreukelingen@gmail.com>,
 gljennjohn@gmail.com
Cc: freebsd-x11@freebsd.org
References: <mailman.69.1571313603.12335.freebsd-x11@freebsd.org>
 <76704353-023d-347d-5704-335582473082@gmail.com>
 <20191017173204.3a14266d@ernst.home>
 <4c94a2f5-4bca-33fe-7c5c-85a58d4e4d89@gmail.com>
From: Pete Wright <pete@nomadlogic.org>
Message-ID: <2b693b11-0775-b0ae-47d7-d3afd45e2482@nomadlogic.org>
Date: Fri, 18 Oct 2019 14:01:12 -0700
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.1.1
MIME-Version: 1.0
In-Reply-To: <4c94a2f5-4bca-33fe-7c5c-85a58d4e4d89@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Rspamd-Queue-Id: 46vz3N4502z41ml
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates
 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org
X-Spamd-Result: default: False [-4.92 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net
 : 127.0.0.10]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3];
 R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[nomadlogic.org]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 IP_SCORE(-2.62)[ip: (-9.24), ipnet: 174.136.96.0/20(-3.49), asn: 25795(-0.32),
 country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com];
 FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-x11@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: X11 on FreeBSD -- maintaining and support <freebsd-x11.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-x11/>;
List-Post: <mailto:freebsd-x11@freebsd.org>
List-Help: <mailto:freebsd-x11-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Oct 2019 21:01:21 -0000



On 10/18/19 2:55 AM, Miranda van den Breukelingen wrote:
> Oct 18 05:48:02 freebsd13 kernel: drmn0: failed to link firmware kernel
> module with mapped name: radeon_si58_mc_bin
> Oct 18 05:48:02 freebsd13 kernel: radeon/si58_mc.bin: could not load
> firmware image, error 2
> Oct 18 05:48:02 freebsd13 syslogd: last message repeated 1 times
> Oct 18 05:48:02 freebsd13 kernel: drmn0: failed to load firmware with
> name: radeon/si58_mc.bin
> Oct 18 05:48:02 freebsd13 kernel: drmn0: si_mc: Failed to load firmware
> "radeon/si58_mc.bin"
> Oct 18 05:48:02 freebsd13 kernel: drmn0: Failed to load mc firmware!
> Oct 18 05:48:02 freebsd13 kernel: [drm:amdgpu_device_ip_init] sw_init of
> IP block <gmc_v6_0> failed -2
> Oct 18 05:48:02 freebsd13 kernel: drmn0: amdgpu_device_ip_init failed
> Oct 18 05:48:02 freebsd13 kernel: drmn0: Fatal error during GPU init
> Oct 18 05:48:02 freebsd13 kernel: [drm] amdgpu: finishing device.
so this is odd, it looks like it can't load the appropriate firmware for 
your graphics card.  on my system with is using the drm-current-kmod and 
gpu-firmware-kdmod packages the following firmware module is available 
"amdgpu_si58_mc_bin.ko", but i do not see a corresponding radeon kernel 
mod though.

are you using the drm-current-kmod port/pkg or the drm-legacy-kmod on 
your system?  also, sorry if i missed this earlier in the thread - which 
graphics adapter is this?

-p

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116357723.2415607.1571428496412>