Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2021 18:35:23 +0100
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        freebsd-x11@freebsd.org 
Subject:   Sloow blender on FreeBSD (vs Ubuntu)
Message-ID:  <86mtxk8xb8.fsf@virtual-earth.de>

next in thread | raw e-mail | index | archive | help
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 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 Pencil=20
strokes hang back 1-2 seconds from my stylus.

Then I tried my 1st gen Surface Go 8Gb running Ubuntu: Blender is=20
blazing fast for these simple tasks. Fluid rotation, allmost 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 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



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