These are chat archives for highfidelity/hifi

13th
May 2015
Lexx
@Triplelexx
May 13 2015 17:51
I think I'm still having a fundamental problem with my builds, if someone with debugging experience on Windows can spare a few minutes to answer questions it'd be much appreciated
Lexx
@Triplelexx
May 13 2015 20:55
Main question is should I have only a resources subfolder when making a debug build? I appear to be missing some dlls and folders like DDE don't get copied over. When running debug builds I find I will be missing UI elements and functionality that is dependant on files that are not copied.
Bakari Holmes
@bakarih
May 13 2015 20:58
@AndrewMeadows do you think using floats for calculating the x, y, and z of the inertia tensor will introduce too much inaccuracy?
Lexx
@Triplelexx
May 13 2015 20:59
what type would you advocate instead?
out of interest @bakarih
Bakari Holmes
@bakarih
May 13 2015 21:00
double maybe
Nandita D
@bubble8773
May 13 2015 21:01
can the shaders handle double ?
Bakari Holmes
@bakarih
May 13 2015 21:01
good question
Lexx
@Triplelexx
May 13 2015 21:01
I can barely handle understanding visual shader languages
Bakari Holmes
@bakarih
May 13 2015 21:17
shaders cannot handle double
32-bit float is fine
David Rowe
@ctrlaltdavid
May 13 2015 21:26
@Triplelexx DDE is an optional library. If you want to use it with your own builds, you need to copy the dde filter from your Interface install directory over to \build\interface\Release\dde
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:31
Hello everyone. I just updated the GIT, compiled, and tried to start up the interface. The result I'm getting now is very strange: The process isn't crashing, but nothing is happening either. For nearly 10 minutes, interface.exe just sits there and slowly grows on memory usage (reached 100MB now).
(sorry, no exe, I'm on Linux... I mean the process)
Anyone know what might be causing this however?
There are no errors or new prints in the console either. This is the console output since I started the interface up, which is staying unchanged: http://pastebin.com/raw.php?i=qPuniwyZ
Lexx
@Triplelexx
May 13 2015 21:38
@ctrlaltdavid Ok that makes sense, I was wondering more about some QT specific files I seem to be missing and anything else
that result in rendering issues, such as missing UI. I'm not sure but I think I isolated the at svg dll as effecting that but can't say for sure atm
*qt svg dll
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:41
Anyone know about my issue as well please? Never seen this with other programs...
Lexx
@Triplelexx
May 13 2015 21:42
@MirceaKitsune are you on windows?
h Linux, ok
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:42
No, Linux openSUSE 13.2 x64
Lexx
@Triplelexx
May 13 2015 21:43
do you know where all your setings files are stored?
Might help to delete them
and try again
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:43
In the past at least, it was in ~/.config/High Fidelity/Interface.ini But renaming that file doesn't fix the problem
A new one isn't being generated there either
Lexx
@Triplelexx
May 13 2015 21:44
dunno then
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:47
Hmm... there is a strange line in the console output, in case it might be relevant:
Error: [Context] Unable to obtain x11 visual from context
David Rowe
@ctrlaltdavid
May 13 2015 21:48
@Triplelexx qsvg.dll and similar should be being picked up from your Qt install and copied into the relevant directories under \build, e.g., \build\interface\release\imageformats\
Qt 5.4.1 or later
Seth Alves
@sethalves
May 13 2015 21:57
@MirceaKitsune -- I saw that... and fixed it...
trying to remember
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:58
@sethalves As in had the same issue and found a solution? Or is it something that must be fixed in the code perhaps.
Seth Alves
@sethalves
May 13 2015 21:59
comment out
OculusManager::connect();
if (OculusManager::isConnected()) {
    QMetaObject::invokeMethod(Menu::getInstance()->getActionForOption(MenuOption::Fullscreen),
                              "trigger",
                              Qt::QueuedConnection);
}
in Application.cpp
line 2097
Mircea Kitsune
@MirceaKitsune
May 13 2015 21:59
Doing a clean compile, will try after it finishes. Thanks!
Seth Alves
@sethalves
May 13 2015 21:59
do you have an intel graphics card?
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:00
I don't have an Oculus Rift yet though, so I imagine any relevant code shouldn't be in function.
Seth Alves
@sethalves
May 13 2015 22:00
yeah, I think this is some oculus vs intel video-card bug
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:00
No, ATI Radeon 6870. On the free video drivers (MESA / Gallium)
Seth Alves
@sethalves
May 13 2015 22:00
hm okay. well, give it a try
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:12
@sethalves That seems to have indeed fixed the freeze. However HIFI crashes immediately after the window appears.
Seth Alves
@sethalves
May 13 2015 22:18
fire up gdb
oh wait
try highfidelity/hifi#4855
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:21
@sethalves Yep, that pull request solves it. Thanks!
Also, is the oculus issue causing the startup block reported, or should I open a bug entry?
Seth Alves
@sethalves
May 13 2015 22:22
it's not reported. I just hit it this morning while working on something else
report away
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:25
Ugh... but I need to delete the settings file after shutting down HIFI... otherwise next time I start it up I get yet another crash x_x
Seth Alves
@sethalves
May 13 2015 22:27
hm I'm not experiencing that
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:29
Strange. I need to delete Interface.ini before each startup yeah.
Mircea Kitsune
@MirceaKitsune
May 13 2015 22:41
In different news: I'm visiting an area which looks like an Asian castle / garden, but all polygonal and not textured. Is it made out of metavoxels? Asking because I've been curious to see metavoxel objects for quite some time.
It's called Polyworld
Mircea Kitsune
@MirceaKitsune
May 13 2015 23:07
Also, I reported the OculusManager freeze discussed earlier: https://worklist.net/20542
Ryan Huffman
@huffman
May 13 2015 23:38
@MirceaKitsune Polyworld is a mesh
Metavoxels are no longer available
Mircea Kitsune
@MirceaKitsune
May 13 2015 23:39
Ah
This means there will no longer be ways to build smooth terrain out of voxels?
Or any replacement, like a marching cubes algorithm for normal voxels?
Ryan Huffman
@huffman
May 13 2015 23:40
With regards to future plans, @cozza13 would be the better one to ask. AFAIK that is not possible right now.
Mircea Kitsune
@MirceaKitsune
May 13 2015 23:52
Okay. Just hope smooth voxels aren't an idea that will be permanently dropped. That's one of the first things I loved about High Fidelity... the idea that you'll be able to build mesh detail objects out of voxels.