Patryk Kizny
|
|
« on: August 11, 2015, 05:35:32 PM » |
|
Hey,
I am trying to run fragmentarium on Win 7 Professional and R9 280X. The GPU is properly installed and functional. Fra reports: This video card supports: OpenGL1.1, OpenGL1.2, OpenGL1.3, OpenGL1.4, OpenGL1.5, OpenGL2.0, OpenGL2.1, OpenGL3.0, OpenGL3.2, OpenGL3.3, OpenGL4.0, OpenGL4.1, OpenGL4.2, OpenGL4.3 The problem is that it runs extremely slow on this machine. I tried reinstalling GPU drivers several times. No luck.
Version 1.0.6 is the last one I tested that runs on normal speed. All later versions are extremely laggy.
Any ideas on what could be wrong?
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
3dickulus
|
|
« Reply #1 on: August 12, 2015, 03:06:10 AM » |
|
are you running the nVidia version (exe name ends with nV) or the generic version? have you used the Mac version ? 1.0.7, does it have the same problem? if you can see your screen ie: no garbage all crispy clean desktop, it is not likely to be the gfx drivers, unless they have to emulate some GL hardware functions with software. if your Win 7 is up to date with all of the latest dlls etc it may be an issue with the Qt5.3.2 dlls that I compile against, to debug this is extremely difficult for me because I don't have the same hardware, all I can do is guess at what might be going on. brace yourself, I'm going to give you a shove... to get the best exe for your machine you should compile it on your machine that way it will be linked against all of the dlls that are specific to your machine, this is exactly why I don't like to provide precompiled executables, I can't account for all variations. The Qt SDK for windows will install everything you need (except OpenEXR) to compile the program including MinGW with gcc compiler and QtCreator IDE. This will get you started on C++ edit: with nothing loaded (only default bulb frag) select menu item Edit->Preferences, set OpenGL refresh rate to 0 select Ok then select Animation and Play (>). Now observe the frame rate in the bottom right status bar. When I do this I see 419.1 FPS it seems to run fine here
|
|
« Last Edit: August 12, 2015, 03:17:55 AM by 3dickulus, Reason: prefs »
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #2 on: August 12, 2015, 06:07:33 AM » |
|
It's an AMD card and I'm running generic version. Nv doesn't make it better.
On the same machine when I boot OS X 1.0.7 works smoothly. But I can't run OS X version as my frags won't compile at all.
The problem is visible only on win 7. The gui starts no complaints. Bulb loads. The frame rate I am getting is somewhat around 1 subframe in about 1-2 seconds.
Latest vis c++ redist installed, dx11. What else I can try?
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
3dickulus
|
|
« Reply #3 on: August 12, 2015, 03:51:52 PM » |
|
install QtSDK and recompile...
|
|
|
Logged
|
|
|
|
Syntopia
|
|
« Reply #4 on: August 12, 2015, 09:47:04 PM » |
|
Try downloading Process Explorer from here: https://technet.microsoft.com/en-us/sysinternals/bb896653.aspxThen run Fragmentarium, and select its process in Process Explorer. Then choose "View | Lower Pane View | DLL's" and go through the DLL's and find the OpenGL library it is linking against: it should something about OpenGL in its description, and post the result here. I imagine the behaviour you are seeing could be due to running on the integrated GPU, instead of the discrete one. You can also try clicking the Fragmentarium process, and go to the GPU tab, and see whether the GPU usage is maxed out, while doing animations.
|
|
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #5 on: August 12, 2015, 10:23:05 PM » |
|
Thanks, will check this out. It looks like it is not maxed out as far as I remember. I'll be able to check it in details on Friday at earliest.
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
3dickulus
|
|
« Reply #6 on: August 13, 2015, 09:08:00 AM » |
|
@Syntopia TY, sometimes I wish I had time to immerse myself in windows and mac OSs, I might have more constructive input if I could. I didn't consider the integrated GPU I think I squished a bug re:textures, in both my version and github Fragmentarium-master with 2 tabs open, one frag using textures the other not, after switching between tabs and using the build button, the screen goes black and the textures get lost, the same when switching files in a Sampler2D widget. The latest tweek (150812) fixes this so that cached textures are stable when switching between tabs and files. I think this might be a Qt5 thing. Can anyone confirm this? As usual, needs testing.
|
|
|
Logged
|
|
|
|
3dickulus
|
|
« Reply #7 on: August 15, 2015, 10:44:14 PM » |
|
I have looked into "laggyness" and found that with very complex frags github-master version is a bit slower when animating, 3.4 fps vs 4.1 fps in v1.0.10 and the gui is a bit slushy when resizing docks in both versions depending on how complex the frag is, but I haven't seen rates as low as you have Patryk a win friend tells me that the card manufacturers driver may have to be reinstalled after win does an update, apparently MS messes with some GL stuff that may be card specific. I have also looked at 1.0.7 vs 1.0.9 and nothing seems to be an obvious cause. sorry that's all I've got.
|
|
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #8 on: August 15, 2015, 11:22:29 PM » |
|
Dick, on a PC The problem was between 1.06 which was fine and all later which are slow. I'll install win updates then reinstall drivers again then check syntopias suggestions.
Also, on another machine I still have this problem with only 1 gpu (r9280x) out of 2 being used. When they are separate 2nd gpu is idle. When they work in crossfire sli mode, they are together slower than a single gpu.
Syntopia - you got any ideas?
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
3dickulus
|
|
« Reply #9 on: August 16, 2015, 02:20:58 AM » |
|
just did some tests against 1.0.6 and found that it lags the same as all other versions (including github-master) when a complicated frag is loaded uhm... could it be that your additions and changes to the raytracer and loaded frags is more complex now than when you first used 1.0.6?
|
|
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #10 on: August 16, 2015, 10:30:26 AM » |
|
I was running the test on the default settings of mandelbulb. It's not about a minor performance drop. It's a drastic underperformance on simplest things.
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
Syntopia
|
|
« Reply #11 on: August 16, 2015, 02:40:38 PM » |
|
First try to figure out whether your slow-down is due to changes in Fragmentarium, or in your system setup. What happens if you install the older 1.06 Fragmentarium version? Does it run at expected speeds?
|
|
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #12 on: August 16, 2015, 03:10:25 PM » |
|
Yes, As I said, on a given machine 1.06 runs full performance, any later versions are terribly slow.
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
Syntopia
|
|
« Reply #13 on: August 16, 2015, 05:28:26 PM » |
|
Which builds are you testing against? I tried 3dickulus 1.0.9 windows build (w. MinGW dll's) from his website. and it worked fine on my machine.
If your v1.0.6 runs at full speed, there are a couple of explanation I can think of: 1) Windows use special settings for that particular exe location (such as running on integrated GPU) - did you check that with Process Explorer? 2) The .exe build is the cause 3) The shaders is the cause
Try replace the v1.0.6 exe with the newer exe. Try replacing the v1.0.6 GLSL shaders with the newer ones.
|
|
|
Logged
|
|
|
|
Patryk Kizny
|
|
« Reply #14 on: August 16, 2015, 06:04:06 PM » |
|
No clue what's going on here. - I am using both 1.0.6 and 1.0.9 off the same folder with DLLs etc. - I tried running 1.0.9 with the complete contents downloaded from Dick's website - no difference. - Both tested fragmentariums are running exactly the same test example (default mandelbulber with DE raytracer) - Both fragmentariums are using exactly same set of DLLs except from 1.09 using extra items QT5Script.dll - Both fragmentariums seem to be able to saturate my R9280X GPU up to 90-100%. No other GPUs on the machine. - 1.06 does few hundreds subframes per second, 1.09 does 1 subframe per second (same res). I guess I'll just drop this machine and move the GPU to some other PC. Here's the process details https://www.flickr.com/photos/patryk-kizny/20601453476/in/dateposted-public/
|
|
|
Logged
|
Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
|
|
|
|