MoI discussion forum
MoI discussion forum

Full Version: Workaround for Linux Nvidia users

Show messages:  1-4  5-22

From: Michael Gibson
28 May 2019   [#5] In reply to [#4]
Hi 3dcnc, re: how to set environment variable, search for something like "linux mint set environment variable", this was one result:
https://superuser.com/questions/1171837/how-to-set-global-environment-variables-linuxmint

or this:

https://justrikka.wordpress.com/2012/10/05/how-to-add-environment-variables-in-linux-mint-13/

You'll put something like

export __GL_MaxFramesAllowed=1

in the file it mentions.

- Michael
From: 3dcnc
28 May 2019   [#6] In reply to [#5]
Thats great. Thanks so much for this. Will give it a try.

regards

Mark
From: 3dcnc
29 May 2019   [#7] In reply to [#3]
When you install Moi via wine. Do I download the Moi version and save to harddrive. Then direct wine to the download? Or does wine search for the installer on the hardrive?

Not used wine before?

I have used the terminal window to install drivers and codecs.
From: Michael Gibson
29 May 2019   [#8] In reply to [#7]
Hi Mark, yes you download the MoI Windows version and save it on your harddrive somewhere.

Then in a terminal window go to the directory where you saved it (using "cd"). Then in that directory you'll run wine and pass it the name of the Moi setup program.

So if the MoI installer is named moi_v4_beta_Feb-27-2019_setup.exe you'd put in:

wine moi_v4_beta_Feb-27-2019_setup.exe


That will run wine and tell it to load and run that windows program. In the MoI installer there is a checkbox option for making a desktop shortcut, it is off by default. Turn that checkbox option on and then after it is installed you'll get an icon on your desktop and you'll be able to launch it from that icon.

- Michael
From: Przemas
16 Jun 2019   [#9]
Another option would be to use one of the GUI frontends for WINE (PlayOnLinux, Crossover , Lutris etc):
https://vimeo.com/342589409
From: PaQ
16 Jun 2019   [#10] In reply to [#9]
Thanks a lot Przemas !
From: 3dcnc
17 Jun 2019   [#11] In reply to [#9]
Thanks so much. very helpful.
From: Przemas
11 Aug 2019   [#12]
Another thing I've tried was using D9VK (as if I recall correctly current MoI version uses DX9). What it basically does is it translates DX9 calls into Vulkan. Sadly it would require "child window rendering" which is currently not supported in D9VK. But maybe will see this feature implemented - as this project matures quickly.
I wonder whether MoI beta, which uses newer DX would work with DXVK, which is much more mature project (it translates DX10/DX11 calls into Vulkan).
If someone is willing to play and test let us know how it went.

Oh, and the reason I'm trying it out is because from my experience those "WINE addons" offer much better performance and stability.
From: PaQ
24 Sep 2020   [#13]
Hello, anyone get a bit of progress lately ? I'm running the last beta on Ubuntu 20.10, and even with the __GL_MaxFramesAllowed=1 set in ENV, edges selection can still be problematic from time to time (like after maximizing the 3D view).

printenv shows __GL_MaxFramesAllowed=1, so I suppose I'm good for that part of the problem.

MoI it the last bit of software I would really miss too much :(
From: PaQ
24 Sep 2020   [#14] In reply to [#13]
Nevemind, even if the selection was fixed, exporting heavy asset is like 25x slower than native windows, I don't think multi-threading is that well supported with wine.
From: Frenchy Pilou (PILOU)
24 Sep 2020   [#15] In reply to [#14]
Previous version(s) was more speed ?
From: PaQ
25 Sep 2020   [#16] In reply to [#15]
No idea Pilou, I remember having MoI working with Mint long time ago (different hardware), but I didn't tried to load/export 'complex' stuffs.

Actually I don't remember MoI loading models that fast on windows either, a 450Mb .3dm loaded in 4 sec with the last beta ... it's insane :)
From: Michael Gibson
25 Sep 2020   [#17] In reply to [#16]
Hi PaQ,

re:
> a 450Mb .3dm loaded in 4 sec with the last beta ... it's insane :)

Not bad! :) That will be from the new parallelized loader in v4, it's able to chew on processing objects using multiple CPU cores.

- Michael
From: surferdude
28 May 2022   [#18]
Hi,

I have an annoying problem that I can't solve. When I create a box and click on the surface it selects the surface behind the box.

How can fix that? MoiV4/V5
From: Michael Gibson
28 May 2022   [#19] In reply to [#18]
Hi surferdude, what operating system are you running on?

- Michael
From: surferdude
28 May 2022   [#20] In reply to [#19]
Hi Michael,

I'm using Pop!_OS 22.04 LTS, I'm learning Linux. Would be great to have Moi on Linux as well, I'm okay with Wine.
From: Michael Gibson
28 May 2022   [#21] In reply to [#20]
Hi surferdude, did you try setting the __GL_MaxFramesAllowed=1 environment variable as described in the first post of this thread? :
http://moi3d.com/forum/index.php?webtag=MOI&msg=9373.1

Another thing you could try is going to moi.ini (Options > General > "Edit .ini file" button), and in the [View] section, find the entry for GraphicsAPI=Auto and experiment with setting it to GraphicsAPI=Direct3D11 , GraphicsAPI=OpenGL and on v5 GraphicsAPI=Direct3D9 .

Possibly one of those may work better.

Usually selection problems with click selecting means something is going wrong with texture read back from the video card. If you have any driver settings that you may have set to force anti-aliasing to be on also try turning that off.

- Michael
From: surferdude
28 May 2022   [#22] In reply to [#21]
Thank you Michael! A combination of these settings helped. export __GL_MaxFramesAllowed=1 and GraphicsAPI=OpenGL

(Edit- Sometimes it works)


Direct3D9 also works but shows every model in black, overall it feels faster than OpenGL. Would be great to have this feature in the future.

Show messages:  1-4  5-22