Logo by Fiery - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. April 27, 2024, 01:59:37 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: A tip for running Mandelbulb3D in linux  (Read 5492 times)
Description: don't use WINE
0 Members and 1 Guest are viewing this topic.
miner49er
Safarist
******
Posts: 82


« on: December 09, 2010, 06:22:50 PM »

Hi there, something I discovered last night whilst getting annoyed at the slowness of M3D under WINE in linux. I tried using an XP VM using the free VMWare player. It run MUCH faster or at least appeared to.

I wonder if Jesse will release the source for this wonderful program - it would be great to port it to linux! I will offer myself up for the job :-)
Logged
kon16ov
Conqueror
*******
Posts: 105



warep kon16ov
« Reply #1 on: December 10, 2010, 10:37:38 PM »

It also seems to go a bit faster in VirtualBox -- as long as I remember to set it to use both cores...  I'm running them side by side (one in VM, one via WINE) and the speed is fairly comparable, but an edge goes to the VM.  I did notice that if you, for whatever reason, have QuickTime's sys tray thingo running, it bogs M3D down, horribly.  I killed it off and it sped things up considerably. 

How much processing power/RAM are you allocating to your VM?

(and, yeah, I'd love to run this native...  as long as it played well with MDZ and Mandelbulber, I'd be in heaven.  grin )

Phil
Logged
kon16ov
Conqueror
*******
Posts: 105



warep kon16ov
« Reply #2 on: December 12, 2010, 03:45:22 AM »

Interestingly enough, I've found that WINE handles my...insanity...a little better than the VM.  By way of explanation, I tend to run silly amounts of fractal apps at once, which, for the most part means they're all kinda slow at times.

So, I loaded the XP VM w/512MB allocated and it ran M3D pretty fast.  I then loaded M3D in linux via WINE.  With them both running, the WINE-running version was grinding through frames much more quickly -- mainly in the hard shadow and ambient shadows, it seemed.  This is counter to my initial observations, but it was also 600+ frames in on both instances, so that may have been a confounding factor in some way.  Now, because I can't leave well enough alone, I loaded Mandelbulber up and started doinking around in it.  Everything got a bit pokey.

ps -aux revealed that the VM was slicing 50.2% of the load, MBulber 79% and M3D (in WINE) was running 109%.  Now, I know that we deal with some fun maths on this forum, but, to me, that's a little wonky.  What it DID tell me, though, was that it took a lot more thinking to get the WINE-run M3D to do what it was doing than a VM with an entire OS running in addition to M3D.  I go either way with Mandelbulber or MDZ as far as my "what to do when massive anims are generating..." passtimes, but both seem to allocate enough horsepower to slow down M3D in both instances.  I'm sure with some renicing, it will all come out in the wash, but I just found it interesting how the OS handled divvying up the processor power.  As for RAM consumption, both linux-side apps played very well, using ~0.5% of the RAM while the VM, of course, cruised in at 25% (2GB system...).

This may fall under either "vault of useless knowledge" or "too much free time," but your suggestion just got me thinking.  Now, to find someone to do the opposite -- running a linux VM with Mandelbulber and MDZ.  I'd like to hear what, if any, performance differences there are, in those cases.

Phil
Logged
miner49er
Safarist
******
Posts: 82


« Reply #3 on: December 20, 2010, 01:22:19 PM »

My machine is a P4 3GHz single core with 2Gig of memory, the VM is given 1Gig of memory.

It's so much quicker than WINE...

I might check out VBox - that can use VMware images can't it?
Logged
kon16ov
Conqueror
*******
Posts: 105



warep kon16ov
« Reply #4 on: December 24, 2010, 10:38:06 PM »

Ah.  I'm running about the same, actually, specs-wise. 

What settings do you use as far as threading and such?

Yeah, VBox runs VMWare images. I find the VirtualBox is a little kinder, resource-wise, than VMWare, but might not have some of the refined optimizations, which might explain why you're seeing such an improvement in M3D's performance vs. WINE and I haven't really noticed much difference. 

Hmmm...
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Silent Running Mandelbulb3D Gallery lenord 0 1413 Last post July 21, 2010, 12:33:03 AM
by lenord
UltraFractal running on my New PC Images Showcase (Rate My Fractal) Thunderwave 13 3000 Last post September 19, 2010, 06:50:37 AM
by Thunderwave
Linux OS choice (non-fractal, nevertheless Mandelbulber related) Non-Fractal related Chit-Chat Sfumato 8 14134 Last post August 09, 2011, 08:57:43 AM
by Sfumato
chaotica 0.43 for windows mac and linux Chaotica lycium 0 1694 Last post September 25, 2011, 02:01:09 AM
by lycium
OpenCL Mandelbrot renderer (Linux/Windows/Mac, opensource) General Discussion trenmost 0 4246 Last post April 29, 2015, 08:44:39 PM
by trenmost

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.27 seconds with 27 queries. (Pretty URLs adds 0.01s, 2q)