![]() |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
YOu can attatch gdb: run camera-ui and then gdb attatch $pid
this will give you some backtrace |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
with regards to the blessn900 pixels difference, one thing that comes to my mind is the issue with the blue camera shutter sides and the chrome surround. i would expect that the very extreme edges of the sensor would be more subjectable to the issue.
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
Estel (and the others), there is a very simple way to proviide useful information - install sp-rich-core along with syslog. It is my fault if I didn't say that earlier (though I think I did, but anyway). As soon as there is a crash, a coredump (and other useful things) is created and put in an archive to be provided to the developer(s). Also, please install camera-ui2 from cssu-devel, I fixed what I think is a nasty "use after free" bug, which could lead to lots of various problems, including those intermittent faults you describe. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Thank you freemangordon, for your continued support of to the N900.
I am back on N900 from detour over Jolla and 808. However I can't update anymore (on several devices I get the you need to take a backup / Nokia PC suite) due to confusion with the required repositories. For months I don't find the time to dig into the long Thumb 2 thread. So I stand with this person, asking for an overview of relevant repositories in one central place. Do you think that is a good idea? http://talk.maemo.org/showthread.php...ght=cssu+thumb If it already exists please excuse me but I could not find it. EDIT: got it nailed Only enabled repo's Nokia Applications Nokia System Software Updates Ovi Maemo.org Community SSU (testing) Community SSU (thumb) Maemo Extras Checked "problems" on Thumb ubdate failures and discovered only one problem still remained: operator name applet <v3.0, luckily the update showed separately and once done prior to Thumb update, the Thumb update continued. Boring story for most code vets but other regular users may benefit from the information. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
BTW - the rich coredump will help if I reproduce crash, but still, how to properly get debug info for (much more common than crashes) various strange non-crashing issues, if they would be still present, despite -devel update? Maybe some logging/output functionality could be provided to camera-ui, in the form of update? Unless there are better options, of course. Quote:
Nothing special, I just copied CSSU'ish camera ui things to camera-ui2 name, dpkg -i vanilla camera-ui, and manually created desktop file to conveniently launch camera-ui2. I don't remember if I hit any problems with that (so if yes, they must have been easily solvable) - the only thing that might needed tweaking is osso service file to run vanilla camera-ui (shouldn't be required, if CSSU camera-ui uninstalls cleanly) and maybe messing with control file of some package to satisfy dependencies (also shouldn't be required, if dependencies aren't artificaly required). Of course, you also need to get rid of mp-fremantle-community-pr dummy package, or change it's dependencies. BUT, considering that there is reported a way to debug crashes (and I hope that there will be a way to get debug from other "accidents", soon) and developer's will to fix it, I strongly recommend to "suffer" a little with CSSU'ish camera-ui and help making it better. It *really* offers great advantages over vanilla camera-ui, and if we can make it stable, it's worth all debugging in the world. /Estel *I do admit that I was a little "screw it all" attitude yesterday - after spending 10 hours straight, fixing problems that arose on my desktop Debian after upgrade, due to SCREWED systemd-related things (even though I don't use systemd for init - just shitty systemd-shim, to satisfy some fckin' dependencies and functions). Well, at least it's working, now (with some packages from unstable and some older ones from debian snapshots... |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Did anyone manage to get a coredump of a crashing camera-ui2?
|
Quote:
Anyway, I used to have sp-rich-core installed, but despite the (core dumped) messages no file was created in MyDocs. How to properly setup and configure sp-rich-core? |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
(Most) Probably on SD card /media/mmc1/core-dumps
or maybe (if crash happened in early boot phase,i.e. before mounting p1), then you need umount /home/user/MyDocs ls /home/user/MyDocs/core-dumps #rm -fr /home/user/MyDocs/core-dumps mount /home/user/MyDocs |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
I am on the same boat as marmistrz. Installed sp-rich-core and sp-rich-core-postproc but nothing was created on an app crash. Not even the core-dumps dirs, neither in MyDocs nor in mmc1. I have RTFM but it does not say I need to do anything else, but I (accidentally) rebooted too when my battery ran out a few days later.
So what am I missing? TFM mentions a crash_reporter_daemon but nothing like that shows in ps. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
Oops, nope. Quote:
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Thanks Peter, that was the key. Looks like TFM could do with some updating ;)
|
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Quote:
Went to wiki pages of sp-rich-core and crash-reporter and added some lines to hopefully sort that out. |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Hi all,
I've recently been playing around with manually controlling the N900's camera focus in an app, and discovered that moving the focus a large distance caused an unhealthy sounding "click" from the hardware. After a bit of investigation, I stumbled over Bug 9085, which describes how the N900's stock driver moves the focus too quickly, causing it to run up hard against the stop and potentially damaging the camera. I've switched my app to only moving the focus by small amounts, and to (slowly) move the focus back to its original state when the app closes, and this seems to have gotten rid of the clicking noise. I was wondering if this bug has already been fixed in the CSSU or in the new Camera-UI. Thanks! |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
camera-ui2 moves lens at full speed during manual control and closing of application, which causes audible "click". (in case of closing application, the "click" depends on focus before closing). I have observed deteriorating of lens ability to auto-focus on a number of my devices, after prolonged use of manual focus mode, including the extreme case of one module being able to focus only as far as 30 cm thus, during auto-focus, the further possible focus is 30 cm, every shoot requiring further focus comes out blurry, every one requiring closer distance is OK).
For other cases, the "limit" gets higher, but in all of them, results in loss of ability to focus properly on scenes requiring max-out focus - BTW, it doesn't matter if you use auto focus or manual mode after the damage is done (although, manual mode "thinks" it still focus further, without actually moving the lens after certain point). I've confirmed the damage (max "limit" being closer focus than it should be, thus no actual lens movement past certain point, despite software thinking that it still changes focus) using micrometer. I just wasn't aware what could cause such reproducible deterioration, until Copernicus published his findings. Personally, I would mark this bug as critical (hardware damaging) and suggest avoiding using manual focus (especially the max-in and max-out shortcuts) until fix suggested by Copernicus is integrated.. /Estel |
Re: camera-ui2 (now a part of CSSU) (updated 09. May)
Since after a few experiments i had to poweroff my n900 pulling out the battery, i have discovered that camera-ui could not save anymore the photos in the sdcard returning the message:
"Memory full. Unable to save contents." Digging aroung i have found what is going wrong with: root@N900# gconftool-2 -a /system/osso/af/mmc internal-mmc-corrupted = false mmc-corrupted = true While the sd card is working fine because i manually checked the fs just after the crash. (and the N900 has been already rebooted a few times) Now i have no idea about when that flag should come back to false... But in the meanwhile, if someone hits the same problem, the fix is : gconftool-2 --type bool --set /system/osso/af/mmc/mmc-corrupted false |
All times are GMT. The time now is 10:09. |
vBulletin® Version 3.8.8