Author Topic: Linux Whiteboard - New version (0.3) available  (Read 40367 times)

Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
on: March 27, 2008, 01:12:06 PM
Whiteboard 0.3 comes with lots of changes from the last major version, 0.2. Here is the changelog:

Quote
2008/03/27:                                                                                                                                                   
 - Version bumped to 0.3 .
 - Eliminated motion jerkiness.
 - Can tolerate short disappearances of IR signals.
 - Application's launcher now shows up on the GNOME and KDE menu, and others
   which are compatible with the X Desktop Sepcification.
 - Added a PNG icon for KDE users.
 - Major GUI improvements.
 - Configurations saving/loading are back.
 - Some settings can be changed in real-time.
 - Current Wiimotes being calibrated can blink to notice users.

Ubuntu Hardy users can download a pre-built package in the homepage, other users are advised to follow the instruction in the Wiki. Package maintainer volunteers and translators are welcome.

I also filed a 'needs-packaging' submission to Ubuntu Launchpad, hopefully it will be available in the repository soon.

By the way :-) I'm out of ideas now. Suggestions as to what can be improved are appreciated.
« Last Edit: March 27, 2008, 01:14:54 PM by fnf »

Download Linux Whiteboard from Linux Whiteboard homepage


Offline ischnura

  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Reply #1 on: March 27, 2008, 08:20:44 PM
It works great!

The only thing to change is the version number in the Help -> About  Menu ;)



Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #2 on: March 27, 2008, 08:28:15 PM
Duh. Fixed in code, thanks :-) .

The Windows version of Whiteboard has some new useful info called 'Tracking Utilization', I'm adding that as well.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #3 on: March 27, 2008, 09:06:48 PM
The calibration window now shows how much the screen is occupying in the Wiimotes's cameras. Minor change, so I'm not posting a new thread.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #4 on: April 08, 2008, 05:11:56 AM
I tried this today, after some problems not realising I needed to uninstall the cwiid libs I had in order to have the newer 0.6 version take effect... I got it built and ran the calibration fine. However before I can activate the app goes unresponsive.
the terminal output is:
Configuration file not found.
Put Wiimote in discoverable mode now (press 1+2)...
Connected!!!
Put Wiimote in discoverable mode now (press 1+2)...
No wiimotes found
Unable to connect to wiimote
Configuration file not found.

(whiteboard:31121): gtkmm-WARNING **: Gtk::Main::init() called twice
Calculating coefficients... Done!
Mesg pipe overflow
Killed

Any ideas? I literally did an svn up this morning so this is as recent as it gets ;-)

I can run with diagnostics if it would help, just tell me what you need



Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #5 on: April 08, 2008, 09:57:53 AM
Since there is little that may go wrong in Whiteboard, the console messages are not meant for debugging. If you have installed the old libcwiid manually, I'd suggest trying Whiteboard in a Live CD (Ubuntu 8.04 beta/daily build is a good candidate).

What is your distribution?. I only have tested it in Ubuntu 8.04 since that's what I use. I've been calling for volunteer package maintainers for quite a while :-) . Please test it in a Live CD to see if it works.

One thing to note though, Whiteboard uses libcairo to draw the calibration window. Without a 3D or a reasonably fast 2D driver, the calibration process may come to a grinding halt when running in a typical Live CD session.
« Last Edit: April 08, 2008, 10:00:45 AM by fnf »

Download Linux Whiteboard from Linux Whiteboard homepage


Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #6 on: April 08, 2008, 11:18:47 AM
Sorry, totally forgot to mention... this is ubuntu gutsy, I did look at updating to 8.04 but there is a bug at the moment with the updater that causes it to hang ;-( (https://bugs.launchpad.net/update-manager/+bug/186465)
Everything calibrated just fine. But at the end of calibration, returning to the normal screen, it goes unresponsive before I can click on activate.

I'll have more of a poke at it later, Hopefully I'll just be able to update to 8.04 and that will resolve everything.

I should perhaps also mention that I previous ran with the pre-compiled 'demo' that I found on line that had a less sophisticated calibration, and suffered some slow down on drag operations. But otherwise functioned.
That was using the cwiid that I installed out of synaptic, but I couldn't compile the latest with that, even specifying the gutsy compat option it attempted to call a function that it claimed had the wrong number of parameters.
Having updated cwiid I can compile and get to where I am, which is tantalizingly close to working...

I shall update if I find out anything more about what is failing for me, or (fingers crossed) if I find a way to get it going on my setup.

Thanks!




Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #7 on: April 08, 2008, 01:10:06 PM
sorry for bumping in here - but is it easy to install on Ubuntu ?
(I have triple boot on my laptop)



Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #8 on: April 08, 2008, 03:48:46 PM
Sorry, totally forgot to mention... this is ubuntu gutsy, I did look at updating to 8.04 but there is a bug at the moment with the updater that causes it to hang ;-( (https://bugs.launchpad.net/update-manager/+bug/186465)
Everything calibrated just fine. But at the end of calibration, returning to the normal screen, it goes unresponsive before I can click on activate.

Some users also reported that, which is odd because initially I developed under Gutsy without problems. I don't seem to recall any changes I've made to the code interacting with libcwiid which could have caused problem though.

Should more users report the same behavior (read: one more :-), I'll put in more debugging code.

Quote
That was using the cwiid that I installed out of synaptic, but I couldn't compile the latest with that, even specifying the gutsy compat option it attempted to call a function that it claimed had the wrong number of parameters.
Having updated cwiid I can compile and get to where I am, which is tantalizingly close to working...

The session regarding using the flag only applies to the compilation process. The included 'debian' directory is geared towards and tested in Ubuntu Hardy Heron only, I'm sorry. That means you'd have to modify the directory's content a bit to make a DEB package under Ubuntu Gutsy Gibbon (namely the version differences and adding that compatibility flag to ./configure).

If you don't want to modify the debian directory, you can compile normally under Gutsy and install it to a user's directory (there's a session for it in the Wiki). Try it and tell me how Whiteboard works.

I modified the misleading session in the Wiki :-) thanks for reporting.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #9 on: April 10, 2008, 07:31:20 AM
Ok, so i decided to just update to hardy, since I wanted to do that anyway.
install teh hardy deb, and tried that, but I now get this failure:
Configuration file not found.
Put Wiimote in discoverable mode now (press 1+2)...
Connected!!!
Put Wiimote in discoverable mode now (press 1+2)...
No wiimotes found
Unable to connect to wiimote
Configuration file not found.

(whiteboard:28208): gtkmm-WARNING **: Gtk::Main::init() called twice
Calculating coefficients... Done!
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
[email protected]:~$

This happens at the same point as the hang on gutsy, eg immediately after calibration.
I've tried uninstalling, deleting a whiteboard executable that seemed to be left around. and re-installing
but no joy ;-(

I shall try updating from svn and re-building from source again. but I'd appreaciate any pointers on what I might have wrong in my environment.

Cheers,



Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #10 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.




Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #11 on: April 10, 2008, 11:52:05 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.



The messages it output are typical in a single-Wiimote session. I couldn't reproduce the crash in several other machines and mine though.

Can you try switching the theme to Ubuntu's standard as a last resort?. Because there have been reports about the Pixbuf engine not working well with some particular themes (with LinSTA, I experienced crashes with VLC myself).

If you're using standard Ubuntu theme then I'll put in some debugging messages.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #12 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



Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #13 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...



Offline DanielW

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #14 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. ;-)