Threw another 2 videos up comparing vanilla and OpenMW. The NVME SSD brute forces both and they end up fairly similar but when I tested it on a HDD OpenMW pulls ahead on interior load times.
SSD:
https://youtu.be/ujfksMA9HrE
HDD:
https://youtu.be/a5IYDxRrYOg
Cell preloading
Re: Cell preloading
Nice! For the record, the OpenMW build you have is from when the preloading feature wasn't completed yet, the latest master should be a bit smoother.
Also, to get an accurate result you should reboot in between tests, to make sure that the files are not cached by the operating system yet.
Also, to get an accurate result you should reboot in between tests, to make sure that the files are not cached by the operating system yet.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Cell preloading
Your guess was on the money! Launchpad is uploading it now. The i386 was no problem but the amd64 build was the one triggering the error. It claims that it would automatically fail on ia64 arch... which well, is a dying architecture anyone. I'm glad this worked.Zini wrote:This is just a vague guess.
Maybe the compiler (or even just the error checking tool that produces this error message) does not see the function prototype of xine_xmalloc_aligned. This would then implicitly assumed to have a return type of int.
That doesn't match exactly the error description, but it would certainly not be the first misleading error message in the C and C++ space.
Does adding the line
before the definition of the rgbout_update_frame_format function change anything?void *xine_xmalloc_aligned(size_t alignment, size_t size, void **base) XINE_PROTECTED;
Any way that this could be sneaked in upstream? For now, I'll carry the patch and hopefully get it included in Debian for now.
Cheers!
Re: Cell preloading
Weird. This isn't building for me.
Edit: It seems the so files are installed to /usr/lib/86_64-linux-gnu. Since the build script expects to find them in /usr/lib this can not work.
Either it is too early in the morning and I missed something obvious or something is wrong here (and yes, I did a full rebuild).*** No rule to make target `/usr/lib/libosg.so', needed by `openmw'. Stop.
This is only a workaround. Not sure if it would be appropriate to push it upstreams. The problem is either some idosyncracy of the xine build system that I didn't notice or a false positive in the detection tool.Any way that this could be sneaked in upstream? For now, I'll carry the patch and hopefully get it included in Debian for now.
Edit: It seems the so files are installed to /usr/lib/86_64-linux-gnu. Since the build script expects to find them in /usr/lib this can not work.
Re: Cell preloading
Mac build with cell preloading & fixed physics framerate:
https://dl.dropboxusercontent.com/u/284 ... cs-fix.dmg
https://dl.dropboxusercontent.com/u/284 ... cs-fix.dmg
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Cell preloading
@scrawl & zini: osg 3.4 is now on the PPA, I rebuilt openmw and it seems to work like a charm. Going to do more tests later. This means that OSG 3.4 will be used on travis-ci now.
Thank you again for your help.
Thank you again for your help.
Re: Cell preloading
As mentioned above your package does not work for me. Completely breaks the build.
Re: Cell preloading
@zini: I often see "No rule to make target..." errors when the cmake configuration is stale. You said that you did a full rebuild, but what does that mean? Run make clean? Try to erase CMakeCache.txt and CMakeFiles/ as well, if you haven't.
If that didn't work, have a look for openscenegraph-osg.pc files on your system, there might be some leftovers of osg 3.2 still around.
As a temporary measure, you can always install osg locally and use CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH & CMAKE_LIBRARY_PATH to point openmw to it (I actually do this all the time since I often test changes to osg).
@psi29a: nice, I've hit rebuild on travis to see if the PR builds now.
If that didn't work, have a look for openscenegraph-osg.pc files on your system, there might be some leftovers of osg 3.2 still around.
As a temporary measure, you can always install osg locally and use CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH & CMAKE_LIBRARY_PATH to point openmw to it (I actually do this all the time since I often test changes to osg).
@psi29a: nice, I've hit rebuild on travis to see if the PR builds now.
Re: Cell preloading
It looks like there was an upload for Xenial and Wily, but none for Trusty, which travis-ci uses.This means that OSG 3.4 will be used on travis-ci now.
Re: Cell preloading
Cleaning out the old CMake files did help. However now I am getting a new error:
Am I reading the version file correctly? It requires Qt5? Not cool.In file included from /usr/include/osgQt/GraphicsWindowQt:21:0,
from /home/marc/OpenMW/openmw/apps/opencs/view/render/scenewidget.cpp:9:
/usr/include/osgQt/Version:8:2: error: #error "Qt version mismatch detected! Make sure to compile applications using osgQt with the same major Qt version that osgQt has been compiled against."
#error "Qt version mismatch detected! Make sure to compile applications using osgQt with the same major Qt version that osgQt has been compiled against."