Comments (11)
Hi, I'm having the same issue on Ubuntu 17.10. I worked around this problem by switching back to Xorg as display server. Everything seems to work fine now and I can no longer experience one of the described bugs.
from libfive.
What do you mean by "text will not update"? Does this mean that new characters aren't drawn as you type them?
from libfive.
That's correct. Nothing changes in the text area until the code becomes valid, or the viewport is moved.
from libfive.
Yikes! Obviously, I don't see this issue on my home machine, so you'll have to do most of the debugging legwork. Is there a sampling profiler (like Instruments on Mac) that you could run to see where the code is spending its time?
from libfive.
I just tried a couple, and I got no useful information from gProf, and valgrind runs out of memory or gives a segfault. Not really sure what to do here.
from libfive.
Can you try out some of the Qt examples, e.g. the notepad?
from libfive.
Sure, I'll give that a go. The output from valgrind might actually be useful so here it is:
==13969== Callgrind, a call-graph generating cache profiler
==13969== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
==13969== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==13969== Command: ./Studio
==13969==
==13969== For interactive control, run 'callgrind_control -h'.
==13969== brk segment overflow in thread #7: can't grow to 0x4a51000
==13969== (see section Limitations in user manual)
==13969== NOTE: further instances of this message will not be shown
QWidget::setWindowModified: The window title does not contain a '[*]' placeholder
==13969== Warning: noted but unhandled ioctl 0x6458 with no size/direction hints.
==13969== This could cause spurious value errors to appear.
==13969== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==13969==
==13969== Process terminating with default action of signal 11 (SIGSEGV)
==13969== Access not within mapped region at address 0x8
==13969== at 0x5FBB730: QOpenGLContext::shareGroup() const (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Gui.so.5.9.2)
==13969== by 0x6247CE3: ??? (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Gui.so.5.9.2)
==13969== by 0x6247E86: ??? (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Gui.so.5.9.2)
==13969== by 0x153CE5: View::redrawPicker() (qopenglfunctions.h:1244)
==13969== by 0x68A8B95: QMetaObject::activate(QObject*, int, int, void**) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== by 0x68B5056: QTimer::timeout(QTimer::QPrivateSignal) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== by 0x68B5327: QTimer::timerEvent(QTimerEvent*) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== by 0x68A977A: QObject::event(QEvent*) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== by 0x57775EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Widgets.so.5.9.2)
==13969== by 0x577EA16: QApplication::notify(QObject*, QEvent*) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Widgets.so.5.9.2)
==13969== by 0x687E2B7: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== by 0x68D008D: QTimerInfoList::activateTimers() (in /home/tim/Qt/5.9.2/gcc_64/lib/libQt5Core.so.5.9.2)
==13969== If you believe this happened as a result of a stack
==13969== overflow in your program's main thread (unlikely but
==13969== possible), you can try to increase the size of the
==13969== main thread stack using the --main-stacksize= flag.
==13969== The main thread stack size used in this run was 8388608.
==13969==
==13969== Events : Ir
==13969== Collected : 1403356087
==13969==
==13969== I refs: 1,403,356,087
from libfive.
I just ran the tests with build 48f58c5 and I'm seeing one fail, here's the output. I'm not sure if this has to do with this issue, but perhaps it's symptomatic of a problem with my configuration?
REQUIRE( a.push({-1, -1, -1}) == false )
with expansion:
true == false
from libfive.
Nope, that's an unrelated bug that fails on Linux for unknown reasons – I'm intending to check it out, but it's far from the text editor / GUI experience.
Since this is a graphics-ish issue, have you tried using your vendor's binary GPU drivers?
from libfive.
I'm using the latest nvidia-384 proprietary drivers. I've been poking through the code trying to figure it out, without any real success.
from libfive.
Fix confirmed.
from libfive.
Related Issues (20)
- Compiling on Fedore FC37 HOT 1
- Problem to compile libfive on FC37 HOT 8
- Embed Libfive in an application - general SDF Question HOT 4
- Feature request: Separate bounds/resolutions for different objects in the same scene? HOT 2
- Return multiple shapes without using union, in Python? HOT 4
- New url for inspekt3d HOT 2
- Double free or corruption error when trying to use libfive HOT 3
- Expose normals in libfive_mesh HOT 2
- Does Mesh::render consume the libfive_tree? HOT 3
- Unioning nothing at the top level causes things to mesh very slow HOT 6
- koffi and ffi-napi both segfault when meshing non-trivial models HOT 6
- Publish new release and set soversion for building shared libraries
- I've packaged this for OpenSuse
- Feature resolution is unexpectedly impacted by the size of the bounding box HOT 3
- Crash in DCTree<3u>::intersection
- QSocketNotifier error message
- Need precompiled Windows binaries of any kind HOT 4
- missing 'g++' package in Ubuntu instructions HOT 1
- Symbol visibility
- C5H12 is either moved or deleted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfive.