From owner-freebsd-x11@freebsd.org Thu Jan 7 19:12:30 2021 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 A05264D8D4D for ; Thu, 7 Jan 2021 19:12:30 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBbTT5ydvz3hpZ for ; Thu, 7 Jan 2021 19:12:29 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:In-reply-to:Subject:To:From:References:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=dNvwHdj7iJHSYsoUxDdHe97Qabr4Pyd7pwoBIazMh44=; b=qm+GRL7pPT96akQPT2eGriSSDV IUpvl6ou1Q3RpAY/+zExIf5nT32bxO8VMH3Fx7Vr4UtoH4ENLPwDojGq5Z5TjwYK7Al3F6kVxcrEk 6o3XEyjoqmIibaJJKTRLG9rgLQ0J3Q53u7O+W7b+NaWsGmAc0l+O7yc8hXP81UuobPsEyt2q8VAxT gqGnIwDU6ktEkHTcZST7Q/FG7H5o9pKCMp7X6Q6KQ3A3ovf3ahk7f05rLhBixpXkhKDZfZiORP+DJ 5uEhYIgzZLW9uYWQeYsyeufSaFCAQSAVad92xrksK627z6Qxbyw+rSBOiJ7lTpo/K5gcOX5nmBGZs rF5ysFyw==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www94.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kxahw-0007vN-8t for freebsd-x11@freebsd.org; Thu, 07 Jan 2021 20:12:28 +0100 Received: from [77.2.149.244] (helo=Danton.virtual-earth.de) by sslproxy02.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxahw-0009IE-4E for freebsd-x11@freebsd.org; Thu, 07 Jan 2021 20:12:28 +0100 References: <86mtxk8xb8.fsf@virtual-earth.de> User-agent: mu4e 1.2.0; emacs 27.1 From: Mathias Picker To: freebsd-x11@freebsd.org Subject: Re: Sloow blender on FreeBSD (vs Ubuntu) In-reply-to: <86mtxk8xb8.fsf@virtual-earth.de> Date: Thu, 07 Jan 2021 20:12:27 +0100 Message-ID: <86lfd4tvc4.fsf@virtual-earth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.102.4/26042/Thu Jan 7 13:37:55 2021) X-Rspamd-Queue-Id: 4DBbTT5ydvz3hpZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=qm+GRL7p; dmarc=pass (policy=none) header.from=virtual-earth.de; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[virtual-earth.de:+]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RECEIVED_SPAMHAUS_PBL(0.00)[77.2.149.244:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.133.104.94:from]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; RCVD_IN_DNSWL_LOW(-0.10)[213.133.104.94:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[213.133.104.94:from:127.0.2.255]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2021 19:12:30 -0000 Well, I forgot to include some info about the system: dmesg https://pastebin.com/RGA3VLiB xorg.log https://pastebin.com/8C49UGKk anything else, just ask. Mathias Picker writes: > Hi all, > > the last days I tried to get blender into working state on a 2nd=20 > gen Thinkpad X1 Yoga. > > tl;dr > > blender is stuttering and jerky on my X1 running an I7-8550U /=20 > UHD620 (4-core, 2/4Ghz) and FreeBSD, while it works like a charm=20 > on my Surface Go Pentium Gold 4415Y/HD615 (2-core, 1.6Ghz) with=20 > Ubuntu. > This is both on 12-STABLE and -CURRENT. It=E2=80=99s a bit better on=20 > -CURRENT, but still horrible. > > Is there any way to speed blender up on FreeBSD? > > > Long version: > I wanted to try out blenders Grease Pencil, up until now I only=20 > used blender for video editing. > > GP or rotating 3D-Scenes in blender 2.90 on 12-STABLE was=20 > abysmally slow and crashed repeatedly after a few strokes with=20 > grease pencil or a few minutes work in the 3D-view with: > Jan 4 23:04:17 Danton kernel: drmn0: GPU HANG: ecode=20 > 9:1:0x87f99eb9, in blender [100824], hang on rcs0 > Jan 4 23:04:17 Danton kernel: drmn0: Resetting rcs0 for hang on=20 > rcs0 > > The GPU reset did not work, machine hangs, reboot via ssh. > > Recompiled blender, tried older version, all with the same=20 > result,=20 > although 2.8x seemed a bit faster, but still slow & crashes. > > Searched the web, found similar problems by others on Linux,=20 > suggested KMS update. > > So I switched to -CURRENT with drm-current-kmod (5.4 instead of=20 > 4.5) > > Same GPU hang, but here the reset works. Performance *slightly*=20 > better, but every hang takes about 2 sec, no way to work with=20 > this. > > Updating X1 bios - now the error did not happen for quite some=20 > time.=20 > > But still, quite slow. Stuttering when rotating the default cube=20 > in simple solid or wireframe mode. On a I7-8550U running full=20 > speed (hwpstate_intel with epp=3D0), cpu freq between 2500 and=20 > 3900). > > Installed mesa-devel=EF=BC=9Athe GPU hang is back. > > Recompiled blender to 2.91.0_2, mesa-devel, drm everything. No=20 > more GPU hang for now, but still stuttering motions, Grease=20 > Pencil=20 > strokes hang back 1-2 seconds from my stylus. > > Then I tried my 1st gen Surface Go 8Gb running Ubuntu: Blender=20 > is=20 > blazing fast for these simple tasks. Fluid rotation, allmost=20 > real=20 > time grease pencil=EF=BC=9AWTF? > > This is an i7-8550U quad core running 2/4Ghz with an UHD620 GPU=20 > against a Pentium Gold, and the Pentium wins hands down? > > I would really *love* to get blender up even only to Pentium=20 > speed. Blender with simple models in solid mode should *fly* on=20 > my=20 > X1, same with a few Grease Pencil strokes=E2=80=A6 > > > Any ideas, help, suggestion? > > Thanks, Mathias --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20