Bug#806670: Debian Packages with Qt5

2015-11-29 Thread chrysn
On Sun, Nov 29, 2015 at 10:23:38PM +0100, chrysn wrote:
> i'll let you know which results the hopefully more non-debug builds got
> me when they are through.

my most recent development builds, whose qmake invocation goes like

> qmake -makefile -nocache "QMAKE_CFLAGS_RELEASE=-g -O2 -fPIE
>-fstack-protector-strong -Wformat -Werror=format-security
>-D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fPIE
>-fstack-protector-strong -Wformat -Werror=format-security
>-D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fPIE
>-fstack-protector-strong -Wformat -Werror=format-security
>-D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fPIE
>-fstack-protector-strong -Wformat -Werror=format-security
>-D_FORTIFY_SOURCE=2" "QMAKE_LFLAGS_RELEASE=-fPIE -pie -Wl,-z,relro
>-Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-fPIE -pie -Wl,-z,relro -Wl,-z,now"
>QMAKE_STRIP=: PREFIX=/usr VERSION=2015.03-2 CONFIG-=debug
>QMAKE_STRIP=echo

(which, by the way, indicates that my qmake_strip workaround is also
included in debian's recent build system), but they do not show a
noticeable reduction in dragging.

neither did invoking openscad as

$ glXSwapIntervalMESA=0 openscad

(was that the way it should work better?)

is there a way to test for the presence of the forced buffer swaps that
is less subjective than watching out for dragging?

best regards
chrysn

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom


signature.asc
Description: PGP signature


Bug#806670: Debian Packages with Qt5

2015-11-29 Thread chrysn
hi,

On Sun, Nov 29, 2015 at 04:08:56PM +0100, Torsten Paul wrote:
> Are the packages in testing built with CONFIG-=debug ?

yes, they are built with debug. the reason is that i need a build with
debug symbols in it, as they are stripped later in the build process but
stored in a dedicated debug symbol package. i do remove the `DEBUG`
define from the project file to negate what i thought are all the other
side effects.

i'm now creating a test build that uses a different workaround
(`QMAKE_STRIP=echo`) to build an unstripped non-debug version; if you
know a more straight-forward way of disable qmake's symbols stripping
that takes places when debug is absent, please let me know.


> I can reproduce that it works ok with CONFIG-=debug, but rotating
> is really dragging without that qmake option.

i've observed that behavior, but as my main development machine was in
repair during the latest upload, and i attributed the dragging to my
replacement machine's poor graphics card support. (and then again on the
machine i'm using right now, pretty complex examples only show minimal
dragging).

> I'm not 100% sure it's really vsync, as it did not even help when
> manually forcing it to 0 using glXSwapIntervalMESA or glXSwapIntervalSGI,
> but right now the packages in testing seem to be unusable for some
> people 
> (http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-td14800.html).

i'll let you know which results the hopefully more non-debug builds got
me when they are through.

thanks for bringing this to my attention
chrysn

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom


signature.asc
Description: PGP signature