Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DanielW

Pages: 1 2
1
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 15, 2008, 05:36:05 AM »
Ok, so hopefully last post on this issue. This morning I deleted all my gnome settings as suggested here:
http://linuxfud.wordpress.com/2007/02/14/how-to-reset-ubuntugnome-settings-to-defaults-without-re-installing/
and logged in to a nice fresh setup, without losing all my application specific stuff.
And everything works great, the new version is very cool.

It's a shame that something random like user settings are able to cause such havok. but a lesson learned for the future... I think every dist upgrade probably warrants a quick settings refresh, just to be on the safeside!

Another big thanks for the support in trying to figure this out!

2
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 14, 2008, 07:43:42 AM »
Another interesting work around.... if I calibrate in position under the user that works, I can copy the .whiteboardrc file to my main user and re-run and just activate ok...not ideal, but workable until I can figure out what is breaking.

Thanks again for your support

3
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 14, 2008, 07:03:13 AM »
Curiouser and curiouser, it does seem that if I create a new user and switch to that, then all is well.
Now to figure out what random preference or setting is causing all the grief.
Many thanks for all your support trying to figure this out.!

4
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 14, 2008, 06:01:30 AM »
ok, so I tried the hardy live cd and, perhaps unsuprisingly, it worked perfectly.
So now I hvae to figure out what is different in my system that's been upgraded from gutsy ( and I think before that updgraded from feisty)
Any suggestions on figuring out what is different in my normal setup?
I will put my thinking cap on..... I guess at least I have a working system to look at for reference now.;-)


5
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 13, 2008, 10:19:06 AM »
Ok, it will take me some time do download a live cd, will let you know how it goes.

6
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 13, 2008, 06:42:26 AM »
Looks like you made a couple more updates, I picked up rev 131, and this is what I get:
----DEBUG 4: Screen size: 1600x1200
--DEBUG 2: Transformation matrix: 4.62844 0.000758046 -1377.73 -0.0500694 -3.98791 1620.9 0.000388058 0.00030873 0
-DEBUG 1: m_cal_window set to 0
---DEBUG 3: Printing messages to main output
----DEBUG 4: Added timestamp
----DEBUG 4: Applied tag
----DEBUG 4: Added the message
----DEBUG 4: Adjusted the scrollbar
---DEBUG 3: Done printing messages

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb590bb90 (LWP 979)]
0xb73bf552 in cwiid_get_mesg (wiimote=0xd2e5c381, mesg_count=0xb590b188, mesg=0xb590b184, timestamp=0xb590b174) at interface.c:104
104      if (read_mesg_array(wiimote->mesg_pipe[0], &ma)) {
Current language:  auto; currently c

I'm gonna try cleaning out my cwiid stuff from scratch, I'm wondering if I've got some odd mismatch of libraries installed from where I'd previously been on gutsy, and tried compiling and installing cwiid etc...

7
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 12, 2008, 12:47:45 PM »
had a second go to see ifit is the same everytime, and got:
DEBUG_LVL 2: Transformation matrix: 2.62097 0.409526 -691.181 0.0535076 -2.49628 1224.46 -8.71122e-05 -0.000394665 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb58fdb90 (LWP 20106)]
0xb73b1478 in cwiid_disable (wiimote=0x0, flags=1) at interface.c:72
72      wiimote->flags &= ~flags;
Current language:  auto; currently c

would it help if I got GDB to dump memory? I'm not that familar with the tool.
however I'm going out now, so will be tomorrow before I can try anything else...


8
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 12, 2008, 12:44:05 PM »
ok I think I did it right... recompiled and ran in gdb, the end of the log gives:
EBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: All points calibrated, quitting...
DEBUG_LVL 1: Stopping WiiCursor thread
DEBUG_LVL 1: Finishing Wiicursor thread...
DEBUG_LVL 1: Hiding calibration window
DEBUG_LVL 3: Calibration window: Began drawing
[New Thread 0xb3935b90 (LWP 18734)]
DEBUG_LVL 4: Screen size: 1600x1200
DEBUG_LVL 4: Screen size: 1600x1200
DEBUG_LVL 3: Calibration window: Finished drawing
DEBUG_LVL 1: Calibration window: Done calibrating, cleaning up...
DEBUG_LVL 1: Calibration succeeded, will return data
DEBUG_LVL 1: Calibration succeeded
DEBUG_LVL 1: Calculating coefficients... DEBUG_LVL 4: Screen size: 1600x1200
DEBUG_LVL 1: Done!
DEBUG_LVL 2: Transformation matrix: 6.16119 -0.115566 -293.006 1.02594 -2.71988 1426.21 0.00132087 -7.45584e-05 0
DEBUG_LVL 3: Exiting wiicursor_thread_func()
[Thread 0xb5939b90 (LWP 18588) exited]
Mesg pipe overflow

leaving the gui to go unresponsive.
hope that helps!

9
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 12, 2008, 11:27:29 AM »
From what I can see it is specifically at the end of the even handler for the button calibrate
we get all the way to the end of that. but I have no ide ahow GUI logic works, so I don't know what would be executed after we leave that method....

10
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 12, 2008, 10:42:22 AM »
The level 5 didn't provide any new insight (to me at leasT)
DEBUG_LVL 3: Calibration window: Finished drawing
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802043; Last 1208014802036
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802057; Last 1208014802043
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802062; Last 1208014802057
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802074; Last 1208014802062
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802083; Last 1208014802074
DEBUG_LVL 4: Got Wiimote events
DEBUG_LVL 4: Time stamps: Current 1208014802095; Last 1208014802083
DEBUG_LVL 4: Time stamps: Current 1208014802095; Last 0
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: All points calibrated, quitting...
DEBUG_LVL 1: Stopping WiiCursor thread
DEBUG_LVL 1: Finishing Wiicursor thread...
DEBUG_LVL 1: Hiding calibration window
DEBUG_LVL 1: Calibration window: Done calibrating, cleaning up...
DEBUG_LVL 1: Calibration succeeded, will return data
DEBUG_LVL 1: Calibration succeeded
DEBUG_LVL 1: Calculating coefficients... DEBUG_LVL 4: Screen size: 1600x1200
DEBUG_LVL 1: Done!
DEBUG_LVL 2: Transformation matrix: 4.19883 -0.0537547 -674.809 0.487059 -3.34854 1280.74 0.000453686 -0.000131333 0
DEBUG_LVL 3: Printing messages to main output
DEBUG_LVL 4: Added timestamp
DEBUG_LVL 4: Applied tag
DEBUG_LVL 4: Added the message
DEBUG_LVL 4: Adjusted the scrollbar
DEBUG_LVL 3: Done printing messages
Segmentation fault (core dumped)

If there is anything else I can try, let me know.

11
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 12, 2008, 10:37:54 AM »
seems I checked at just about the same time as you were uploading ;-)
so the diagnostics I get at level 2:
DEBUG_LVL 1: Calibration window: Starting Wiicursor threads
DEBUG_LVL 1: Starting Wiicursor thread...
DEBUG_LVL 1: Calibration window: Running calibration window
DEBUG_LVL 1: Mouse down, waiting for right click event
DEBUG_LVL 1: Mouse click-n-drag, calibration invalidated
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: Mouse down, waiting for right click event
DEBUG_LVL 1: Right button down, registering IR pos #0 at 163x402
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: Mouse down, waiting for right click event
DEBUG_LVL 1: Right button down, registering IR pos #1 at 606x456
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: Mouse down, waiting for right click event
DEBUG_LVL 1: Right button down, registering IR pos #2 at 626x36
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: Mouse down, waiting for right click event
DEBUG_LVL 1: Right button down, registering IR pos #3 at 166x47
DEBUG_LVL 1: Mouse up, checking for finish...
DEBUG_LVL 1: All points calibrated, quitting...
DEBUG_LVL 1: Stopping WiiCursor thread
DEBUG_LVL 1: Finishing Wiicursor thread...
DEBUG_LVL 1: Hiding calibration window
DEBUG_LVL 1: Calibration window: Done calibrating, cleaning up...
DEBUG_LVL 1: Calibration succeeded, will return data
DEBUG_LVL 1: Calibration succeeded
DEBUG_LVL 1: Calculating coefficients... DEBUG_LVL 1: Done!
DEBUG_LVL 2: Transformation matrix: 4.16377 0.0306334 -639.21 0.424905 -3.31122 1313.65 0.000436246 -8.73822e-05 0
Segmentation fault (core dumped)

At some point I wondered if my 1600x1200 resolution might cause problems, but I reduced it to 1280x800 and got the same problem.

Will re-build now with level 5 and see how that goes ...;-)

12
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 10, 2008, 04:39:44 PM »
I did a quick search on google, and came up with: http://www.qtcentre.org/forum/f-qt-programming-2/t-program-crashes-with-assert-error-in-xcb-lockc-10257.html

This appears to talk about the same assert error, and being something to do with thread notifications and GUI's
I have no idea if that means anything to you. I'm having a hard time figuring out what might be different in my setup or versions of libraries that would give me such different behaviour....

Anyhow, I think that's enough digging for one night. ;-)

13
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 10, 2008, 02:05:29 PM »
ok no idea if this helps but I tried running inside gdb (I don't really know how to use it) but it gave me this:

(whiteboard:28182): gtkmm-WARNING **: Gtk::Main::init() called twice
[New Thread 0xb58aeb90 (LWP 28544)]
[New Thread 0xb3effb90 (LWP 28652)]
[Thread 0xb3effb90 (LWP 28652) exited]
[New Thread 0xb3effb90 (LWP 28669)]
[Thread 0xb3effb90 (LWP 28669) exited]
[New Thread 0xb3effb90 (LWP 28710)]
[Thread 0xb3effb90 (LWP 28710) exited]
[New Thread 0xb3effb90 (LWP 28747)]
[Thread 0xb3effb90 (LWP 28747) exited]
[New Thread 0xb3effb90 (LWP 28765)]
[Thread 0xb3effb90 (LWP 28765) exited]
[New Thread 0xb3effb90 (LWP 28782)]
[Thread 0xb3effb90 (LWP 28782) exited]
[New Thread 0xb3effb90 (LWP 28803)]
[Thread 0xb3effb90 (LWP 28803) exited]
[New Thread 0xb3effb90 (LWP 28820)]
[Thread 0xb3effb90 (LWP 28820) exited]
whiteboard: ../../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.

Program received signal SIGABRT, Aborted.
0xb7f14410 in __kernel_vsyscall ()

will see if I can figure anything else out...

14
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 10, 2008, 12:35:37 PM »
I'm using the Ubuntu 'human' theme which I believe is the default. I am using compiz, if that is relevant.
i can try without if that will help.
Also happy to try with more debug.

cheers

15
Applications / Re: Linux Whiteboard - New version (0.3) available
« on: April 10, 2008, 08:05:38 AM »
no joy ;-( no matter what I try it gets as far as calibrating my wiimote. then dies.
Should I be worried that it tries to connect to a second wiimote before callibration?
I was wondering if something is expecting there to be 2 when there is actually only 1.
but I'm guessing.


Pages: 1 2