maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   liqbase - call for assistance (https://talk.maemo.org/showthread.php?t=23854)

JustNick 2008-10-13 18:33

Re: liqbase - call for assistance
 
Quote:

Originally Posted by bluesubaru (Post 233236)
Like the lines that pop up in the screen (like a tv with sync problems) when viewing the list of "books" to read.

It happens to me and other too (including lcuk) mostly on first launch after install, sometimes just randomly...
Anyway quitting the program and then relaunching it fixes the problem...

Benson 2008-10-13 18:34

Re: liqbase - call for assistance
 
I've been seeing a bit of corruption now, too. If I can make it happen again, I'll video it and get it to you.

JustNick 2008-10-13 18:37

Re: liqbase - call for assistance
 
Easiest way: uninstall liqbase, then reinstall.
99% of the time you have corruption on first run.
It's so weird...

JustNick 2008-10-13 18:53

Re: liqbase - call for assistance
 
lcuk I didn't notice it before... with the 0.0.5 build liqbase crashes on "read a book" and everything related to it. The rest is fine (and looks faster than the 0.0.3)

Benson 2008-10-13 19:00

Re: liqbase - call for assistance
 
Well, yeah, I saw some corruption on the first run, at the keyboard screen, but it disappeared and now is back. Not certain, but it seems to have a slightly different visual character, so I'm not thinking it's necessarily the same bug.

lcuk 2008-10-13 19:00

Re: liqbase - call for assistance
 
yes it is very weird.

I have just taken a silly video of me installing it onto my pristine nokia.
n2 is the one I have seen this on most recently (6th of this month - i noted it), but my primary machine has no glitches.

I'm gonna draw a line under this, moving bugs to their proper place:

project:

https://garage.maemo.org/projects/liqbase/

bugs:

https://garage.maemo.org/tracker/?gr...=716&atid=2684

latest .deb (until it hits extras)

http://liqbase.net/

If anyone has any ideas as to why it would fail only once and then not be reproducable drop me a line.

lcuk 2008-10-13 20:03

Re: liqbase - call for assistance
 
updated http://liqbase.net/ with 0.0.6 and still cannot reproduce.

This version sends the complete log to a file.
I really didnt want to have to do this but it seems theres enough problems to warrant it.
After I have examined a few logs I will remove it again.

file is saved in ~/.liqbase/liqbase.run.log and simply appends itself.
If you get graphical glitches could you come out of the program and send me this log to liquid@gmail.com please.

JustNick 2008-10-14 10:32

Re: liqbase - call for assistance
 
Hi lcuk, I filmed for 15 minutes straight... no success :(
I've updated to 0.0.6, but can't find the log :D

lcuk 2008-10-14 12:08

Re: liqbase - call for assistance
 
huzzah!
I was playing last night with a few ideas since its only on first run after an install that people seem to be able to reproduce it.
However, I have no distinction between first run after update and any other run.
The *only* time something different occurs is the first ever run - this is when it detects there is no ~/.liqbase folder and goes about constructing it.
I am at the point of thinking its something in the background occuring when first run happens, whether its the interaction between webbrowser->app.manager->liqbase or something along those lines.
After installing liqbase app manager does a refresh cycle and builds up its list, during this it pops one of those event notification thingies.
What if that is conflicting with the timing required to do first run.

I've attempted to completely overload my system by running everything possible (i had youtube playing and email configured and console windows open and app manager running and as many applets as i could running and the only time I managed anything different (beyond slowing down..) was when i was playing a movie which pre-allocates the xv window and prevents clean startup.

I've made a big note of it on liqbase.net and I'm gonna put it to the back of my mind for a while - like other things something will come to light eventually.

As for the (temporary) log, it is stored inside ~/.liqbase/liqbase.run.log
if you open the console and type something like
cp ~/.liqbase/liqbase.run.log ~/MyDocs/liqbase.copy.run.log

a copy of it should become visible within the file explorer.

I'm gonna stop it logging by default because the few that I have seen do not indicate any kind of issue and its so sparodic and unreproducable (it doesn't feel like a memory leak or sometihng because it can hit on very first welcome screen and remains until reopened)

Time to get back on with actual coding I think :)
If anyone has any more suggestions please add to the bug report on garage.

qole 2008-10-14 19:15

Re: liqbase - call for assistance
 
Multitouch test: what a very, very cool idea. The main problem right now is that the guessed location of my second finger (ext) is still pretty inaccurate, especially on angles. It looks like the problem is that the touchscreen doesn't report the "false finger" exactly in the middle of the two real fingers.

I bet this is going to require you to write a calibration program; you're going to have to write a data collector that records the location of the first finger (thumb) and second finger (finger), and then you'll lift the first finger (thumb) so the screen can "find" the second finger. When I let go of the first finger (thumb), the second finger marker (finger) slides over under my real finger, so you can use this placement as the calibration...

Just babbling, because this is such a neat idea, and I want it so badly... :D

Benson 2008-10-14 19:20

Re: liqbase - call for assistance
 
Quote:

Originally Posted by qole (Post 233547)
Multitouch test: what a very, very cool idea. The main problem right now is that the guessed location of my second finger (ext) is still pretty inaccurate, especially on angles. It looks like the problem is that the touchscreen doesn't report the "false finger" exactly in the middle of the two real fingers.

I bet this is going to require you to write a calibration program; you're going to have to write a data collector that records the location of the first finger (thumb) and second finger (finger), and then you'll lift the first finger (thumb) so the screen can "find" the second finger. When I let go of the first finger (thumb), the second finger marker (finger) slides over under my real finger, so you can use this placement as the calibration...

Just babbling, because this is such a neat idea, and I want it so badly... :D

It essentially depends on relative "pressure", though, so it's never going to be exact. Some sort of calibration can probably help, though...

lcuk 2008-10-14 19:36

Re: liqbase - call for assistance
 
qole,
yes the multitouch is uncalibrated and raw and will never be 100% pixel perfect, but its relative to your finger and gives enough to demonstrate principles or allow additional ui interaction if so required.

The main problem with the technique at present is handling the edge cases towards the start and end of the touching, but thats a filtering problem rather than anything.

If i had bitmap rotation code in place I would have tested with that to see just how stable it can be made, I'm hopeful it can be made pretty slick :)

lcuk 2008-10-14 19:41

Re: liqbase - call for assistance
 
heh benson, didnt see your reply.
I doubt any calibration can be setup or will be required since depending on how much you roll your thumb it drifts slightly anyway.

Its taken me so long to get this idea out because I've not thought about it for a while, the touchscreen on my primary nokia is knackered and does not respond to finger touch (main reason why i did not write any working test code) and it wasn't until the summit that I obtained a device with a working screen :)

qole 2008-10-14 19:45

Re: liqbase - call for assistance
 
I had to buy a second tablet (another N800) too, because my primary device's touchscreen is "knackered" as well; it has been so badly abused over the past year (yes, we can all sing "happy birthday" to my "Millenium Falcon" N800) that the left side reports very incorrect pressure info.

All I can say is that I wish I had been in the right place / right time in Berlin to "obtain" an N810 too. I'm pretty much in the dark when it comes to things like N810 keymapping etc.

lcuk 2008-10-14 19:53

Re: liqbase - call for assistance
 
heh qole, you have come away from the summit with something much better than a tablet.
You have illicit green elixir.
Have you tried making a louche with sugar yet?

Oberon85 2008-10-14 20:30

Re: liqbase - call for assistance
 
ahh, the fairy makes an appearance from within Germany?

lcuk, love the multitouch..... excellent work.

thanks for all you are putting into this!

fpp 2008-10-14 20:31

Re: liqbase - call for assistance
 
ah yes, that famous French-but-can't-buy-it-there stuff, how did it go ? :-)

qole 2008-10-14 21:04

Re: liqbase - call for assistance
 
Actually the stuff I bought is Swiss; the guy at Absinthe Depot talked me into it. Well, maybe "tasted me into it" is better. He lined up a bunch of shot glasses and poured samples from a whole bunch of really nice brands...
I've got a video of the louche on YouTube. I'm not a big fan of adding sugar to it.

I've got to get around to posting my Berlin photos...

lcuk 2008-10-14 21:14

Re: liqbase - call for assistance
 
yes, you do.
I took my camera with me but never got to use it apart from sitting in hotel room the night before trying to record video for my presentation.

I'm glad my laptop failed now, I know how to present to lots of people and when I was sat down talking to a few people it was much easier and I wasn't nervous :)
It really didn't matter to me that there was 200 people looking on the screen behind me ;)

fpp 2008-10-14 21:21

Re: liqbase - call for assistance
 
don't debase yourself... your presentation went really well, everyone was too stunned by the demo to notice anything else anyway :-)

at least you didn't have the language barrier problem. I thought many people showed a lot of courage during those community talks, and am still amazed at how well it went...

qwerty12 2008-10-15 06:03

Re: liqbase - call for assistance
 
re screen corruption. I'm using version 0.0.5. And I have been getting screen corruption on more than the first run. I've been able to reproduce it twice with this method.

1. Reboot tablet
2. Load up liqbase
3. Go to test area
4. While the images are loading, press the back key
5. Go to options, user config.

Why reboot? I can't get it to reproduce the bug after I've already run liqbase once in this session and have already had the screen corruption.

Thesandlord 2008-10-15 06:29

Re: liqbase - call for assistance
 
Same as qwerty12, reboot the device, run ONLY liqbase, then go to "graffiti wall." 9/10 times it has the orange thingy.

lcuk 2008-10-15 08:36

Re: liqbase - call for assistance
 
thanks you two, ill test later.
But it still won't give me a cure ;)

After this first time does it work correctly subsequently?

qwerty12 2008-10-15 14:31

Re: liqbase - call for assistance
 
Quote:

Originally Posted by lcuk (Post 233700)
But it still won't give me a cure ;)

I gathered that but as you had no idea on IRC on how to reproduce it.. ;)

Quote:

Originally Posted by lcuk (Post 233700)
After this first time does it work correctly subsequently?

Yep.

JustNick 2008-10-15 19:14

Re: liqbase - call for assistance
 
Quote:

Originally Posted by qwerty12 (Post 233674)
re screen corruption. I'm using version 0.0.5. And I have been getting screen corruption on more than the first run. I've been able to reproduce it twice with this method.

1. Reboot tablet
2. Load up liqbase
3. Go to test area
4. While the images are loading, press the back key
5. Go to options, user config.

Why reboot? I can't get it to reproduce the bug after I've already run liqbase once in this session and have already had the screen corruption.

Didn't work for me, no screen corruption after last install (I really did everything to stress the tablet, I have it on video :D)

lcuk 2008-10-15 19:26

Re: liqbase - call for assistance
 
first run flickering is reproducable at 800*480 only, at 640*480 i get no flickering at all. i can switch between 640*480 in the same run of the app and get no flicker and after switching back to 800*480 it will flicker again and show difference, however this is ONLY on first run.

Anytime after the first run after a reboot it is 100% fine.

I have a video showing me switching resolutions and going between flicker at 800*480 and no flicker at 640*480.
I will not upload this yet, but if required I will.

However can I ask some diligent tester to see if they have an 800*480 movie to test with mplayer for the same effect?
edit: doesn't matter.
I made one and I cannot reproduce there.
/me looks for different options.

JustNick 2008-10-15 20:17

Re: liqbase - call for assistance
 
Flickering is present upon stream reproduction in Videocenter (is it the one with the world99TV?) if you switch from osso-mediaplayer to mplayer, but not everytime, it's random...
Could it be that there's a problem with the LCD controller's driver? Or an hardware issue that can manifest in some particular situations? Maybe a less than perfect component matching, or not so good timings... or maybe every person that is seeing corruption had an hardware revision with some kind of problem... Just guesses...

lcuk 2008-10-16 02:12

Re: liqbase - call for assistance
 
I think I have a workaround :)

I have decided to set the default resolution to 640*480.
This removes the glitches from first time users.
If you wish to change to 800*480, you must be aware on the first run after reboot it may have glitches, simply restart, but otherwise there is no issue.

I have done some testing wrt hildonizing, and liqbase now is listed in the home menu list and can be closed from there and minimized and stuff.

further notes and descriptions are available at :: http://liqbase.net/

asys3 2008-10-16 02:44

Re: liqbase - call for assistance
 
Great lcuk!

You solved the problem with liqbase crashing when locking touchsreen/keyboard!

It now wakes up sometimes with garbish screen but at least after a keypress it is refreshed.

Absolutely cool!

Thanks!

asys3

TrueJournals 2008-10-16 03:55

Re: liqbase - call for assistance
 
Glad to see resolution changing in the new version! Hildonization seems to work well, too! Although (and this may just be me), the "Loading" box seems to slow down opening the program, and since it loads almost instantly, I feel like it's not really needed. Also, choosing to edit any of the menu items just slides in a garbled menu for the top third of the screen... I can only assume this is a VERY incomplete portion? Yes, I know it's beta...

I've said it before, I'll say it again: I always look forward to seeing new versions of this program! I've been checking this thread every day to see if there are any updates :-)

Thesandlord 2008-10-16 06:03

Re: liqbase - call for assistance
 
I like the new version. No problems, and the integration is good, no more random crashes due to "lock screen." There is no "loading" box when I use it, so...

Anyway, why is the .deb not on the garage page. Even though I like liqbase.net (Nokia, why is a small website faster than the garage!!), it should be on the garage right?

XTC 2008-10-16 07:39

Re: liqbase - call for assistance
 
AWESOME to see this on tablet working alive.
BUT IMO don't forget that this is only high-quality techno-demo.
Although I'm not familiar with it's internals but for me it's the PERFECT utility to build OTHER apps on it.
Consider MaemoMapper and map scrolling in this way, additional mode for FBreader or - the biggest two (esp. for me) PDF viewer and internet browser (image viewer and so on...).
Or faster rendering in (quite fast anyway) Xournal.
This would change the apperance of n8x0's from "oh... little choppy linux based toy" to "fast versatile pocket device".
Ugh... that would be

lcuk 2008-10-16 07:54

Re: liqbase - call for assistance
 
TheSandLord,

The aim is to get this into garage, however, I am not going to push it until the glitches and errors noticed over the last couple of weeks are sorted.

I personally want to get on with coding the next set of features but also understand I need to take stock and cleanup whats already here first ;)

Once the user experience "feels" clean and the system installs without problem on peoples machine and they get to see what their nokia is capable of and can actually *use* the software (as I have been doing for months) then I will get it in extras.

Remember, on page 1 I thought this was going to be a closed beta :)


XTC, its more than just a tech demo for me, its a framework to expand my ideas and actually start to get the ideas and principles I've coded for many years without a tablet.

If any of it can be used to build more apps I would be over the moon :)

TJ, I hope we can continue building more things, the "loading" box is a part of osso and will have to stay, I agree it slows things down a tiny bit, but thats a minor price to pay for the improved stability.

asys3 2008-10-16 08:30

Re: liqbase - call for assistance
 
lcuk,

could you write some words about what you plan to include to make it "round"?

(I personally would like to have the export to (svg or whatever) image format most...)

asys3

lcuk 2008-10-16 08:45

Re: liqbase - call for assistance
 
asys3,

What do you mean by round?
If you mean the whole experience, I bought the most powerful handheld computer I could find which also gave me the chance to get to the metal.

I was disheartened initially because my initial experience was not satisfactory (graphically wise only, but thats my thing - the community and apps available all helped to balance it out) and resolved to see whatI could do.

I have waited so long to get something like this and have tried numerous paths to getting it over the last few years (writing sketch and graffiti in .net compact was "painful").

I have hundreds of these little UI experiments which I have thought over the years would make useful interfaces and only now am I starting to prove my hypothosis :)

Coming to linux as a longtime watcher and getting involved has been amazing, my mind has come alive this year.

Before getting involved in PCs and visual basic (don't laugh!) I did a lot of coding in C on my amiga and the experience of coming back into it all and picking up all my bad habits has been like a long overdue homecoming :)

As for svg, you aren't the only one :)
have a look here like most things, I as one person cannot do everything but start to put ideas together for how things could be:

http://liqbase.net/liqriver.php

asys3 2008-10-16 09:02

Re: liqbase - call for assistance
 
lcuk,

I'm sorry.
I think my bad English was misunderstood.

I didn't mean: "what do you plan to make liqbase round?" in the sense of it is not ready to use.
I meant: "what do you think should be included to go to garage for example?"
I only wanted to know sth. about your plans for liqbase in the near future.

Sorry for the misleading words.

Regards,
asys3

lcuk 2008-10-16 09:37

Re: liqbase - call for assistance
 
I'm not going to add any new real features just yet, so as I said I am concentrating on making whats here work.
It will then go into extras.

I know theres a problem with loading sketches saved at one resolution into the editor using a different resolution and think this must be cured before I can push it properly.

I have centralized all the styles now and am pondering how to switch them on without making a mess, you should be able to draw your own UI elements and share them with others.
However everytime I think about this I envisage a tree of the UI structure and want to get on with the UI designer I long for - its annoying personally to draw a UI and then have to take my drawing and convert it manually into a working screen.

Then there is the image saving problem, I still haven't sat down and wrote PNG export but when I do I've got a bunch of tiny screens planned to make full use of it, things like postcards and contact introduction screen and even things like user login/selection dialogs and stuff.

Once the simple blocks are in I can start motoring.

JustNick 2008-10-16 16:00

Re: liqbase - call for assistance
 
Lcuk have you really thanked me on your webpage? :D
I have very bad news: I completely lost touchscreen funcionality trying the "test area" :(
Cpu load was displayed as 100%, but tablet was fully operable via hardware keys...
I wasn't able to terminate liqbase, so I had to shut down the NIT.
Once I turned it on again liqbase stopped working: I uninstalled, removed the liqbase directory, rebooted, reinstalled 0.0.8, but had no luck, it simply doesn't work anymore...
Luckily I still have the 0.0.6 build, maybe that one will fix my problem :(

lcuk 2008-10-16 16:05

Re: liqbase - call for assistance
 
Justnick,

what doesnt work, the whole NIT, liqbase or just the test page?

If its just the testpage I've got an idea, if its liqbase it could be the hildonization changes, if its the NIT then I'm shocked.

All previous .debs are still on the web, just alter the version number in the url (7 never made it up though).

XTC 2008-10-16 16:33

Re: liqbase - call for assistance
 
Quote:

Originally Posted by JustNick (Post 234048)
Lcuk have you really thanked me on your webpage? :D
I have very bad news: I completely lost touchscreen funcionality trying the "test area" :(
Cpu load was displayed as 100%, but tablet was fully operable via hardware keys...
I wasn't able to terminate liqbase, so I had to shut down the NIT.
Once I turned it on again liqbase stopped working: I uninstalled, removed the liqbase directory, rebooted, reinstalled 0.0.8, but had no luck, it simply doesn't work anymore...
Luckily I still have the 0.0.6 build, maybe that one will fix my problem :(

I've experienced exactly same thing.
I've had ITT page loaded and started liqbase.
When I started drawing - a part of line showed itself and bum - everything stalled - 'save' button didn't show neither. No touch screen.

BTW. This software (youtube preview) was being mentioned in relation to OMAP'S hardware rendering acceleration.
Does THIS have anything to do with it? Or is it "just" high quality optimized piece of software?


All times are GMT. The time now is 05:26.

vBulletin® Version 3.8.8