[MeeGo-dev] Getting MeeGo-UX&Mobility Camera Working After Upgrade (was Re: how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?)

2011-07-31 Thread Niels Mayer
On Tue, Apr 5, 2011 at 4:56 PM, Rusty Lynch  wrote:
> Just realized we are still using a work around in the image creation
> process.  There is a bug for Qt Mobility bug for this, but I don't recall
> the number so cc'ing Iain for the answer.

I accidentally ran into this note while looking for something else,
and realized it was the re-solution of a problem that happened ever
since I upgraded my MeeGoConf ExoPC tablet to a more recent build of
MeeGo 1.2 ( 1.2.0.90/1.2.0.90.11.20110728.1 currently).

So as not to forget again, I've added it to the roster of re-fixing I
do on each update. This one gets meego-app-camera and the qtmobility
demo camera application working again, so I thought I'd share the
solution.

From my script 'post-fix' which I run after
"zypper dup --from 'MeeGo:1.2:non-oss (MeeGo_1.2)' --from
'MeeGo:1.2:oss (standard)'"

..
#!/bin/bash
sudo zypper in --force hunspell-1.2.12-1.fc14 ##
https://bugs.meego.com/show_bug.cgi?id=16879
sudo zypper in 
http://download.meego.com/live/devel:/ux:/handset/Trunk_Testing/i586/meegotouch-inputmethodbridges-0.2.3-7.6.i586.rpm
## http://bugs.meego.com/show_bug.cgi?id=18619

## From http://lists.meego.com/pipermail/meego-dev/2011-April/482507.html
##
#> Just realized we are still using a work around in the image creation
#> process.  There is a bug for Qt Mobility bug for this, but I don't recall
#> the number so cc'ing Iain for the answer.
#>
#> But... the gst camera bin doesn't play nicely with the Qt Mobility Video
#> widget.  In the ks file we:
#> rm /usr/lib/gstreamer-0.10/libgstcamerabin.so
#>
#> ... which means on each update the file comes back (which is how i
#> remembered since i just did a massive Trunk:Testing update and the camera
#> app stopped working.)
sudo mv /usr/lib/gstreamer-0.10/libgstcamerabin.so
/usr/lib/gstreamer-0.10/libgstcamerabin.so.bak

## Incase the browser gets updated, link it back to firefox.
## where chromium-browser.sh is a simple wrapper
### #!/bin/sh
### exec firefox $*
sudo rm /usr/bin/chromium-browser
sudo ln /usr/bin/chromium-browser.sh /usr/bin/chromium-browser

echo === CHECKING FOR RPMSAVES AND RPMNEWS... ==
sudo find /etc -name '*.rpmsave' -exec ls -l {} \;
sudo find /etc -name '*.rpmnew' -exec ls -l {} \;
echo === CHECKING FOR RPMSAVES AND RPMNEWS... DONE. =
 ...
#!/bin/bash
sudo rm -f /etc/prelink.cache
sudo /etc/cron.daily/prelink
sudo rm -f /etc/readahead.packed
sudo /etc/init.d/sreadahead-pack start
 ...

-- Niels
http://nielsmayer.com
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

[MeeGo-dev] MeeGo Tablet 1.2 system not responses at Qt applicaiton exit

2011-07-31 Thread Dong Li
Hi list,

I've got a problem while programming with Qt on Intel Oaktrail platform.

In order to improve the application performance, I took use of the Qt
"raster" backend [void QApplication::setGraphicsSystem ( const QString
& system )], and the proformance was really improved a lot in
comparison with native backend.

However, the problem is that the entire system will not response at
applicaiton exit, and afterwards, system would recover in 10 or 20
seconds.

I monitored the CPU usage during that time, and found Xorg and
application itself were at 90% above.

This problem only happens on Oaktrail HW platform and on every Meego
Tablet 1.2 system. This is the one I've been using:
http://repo.meego.com/MeeGo/builds/1.2.0.90/1.2.0.90.6.20110628.2/images/meego-tablet-ia32-oaktrail/

Does anyone have idea about this?

Thanks a lot!


-Dong
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] MeeGo Tablet 1.2 system not responses at Qt applicaiton exit

2011-07-31 Thread Arjan van de Ven

On 7/31/2011 7:58 PM, Dong Li wrote:

Hi list,

I've got a problem while programming with Qt on Intel Oaktrail platform.

In order to improve the application performance, I took use of the Qt
"raster" backend [void QApplication::setGraphicsSystem ( const QString
&  system )], and the proformance was really improved a lot in
comparison with native backend.

However, the problem is that the entire system will not response at
applicaiton exit, and afterwards, system would recover in 10 or 20
seconds.

I monitored the CPU usage during that time, and found Xorg and
application itself were at 90% above.


any chance of installing enough debuginfo rpms and then doing a

perf record -a -g sleep 10
perf report

for the duration of the app exiting?

that will show you which functions/libraries you're spending cpu time...

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] uxlauch could not boot Xorg need permission

2011-07-31 Thread pingwei...@cs2c.com.cn
hi, all,

I am now tring to transplant meego handset to ut-s50v210(cortex-a8
board) , and I meet the following problems:
1.xorg could not boot as a normal user , in
the /home/meego/.xsession-error, " xf86OpenConsole: VT_ACTIVATE failed:
Operation not permitted " is logged; 

2. so I changed to root to boot xorg , it works , but this time I
coudn't launch meegotouch-home, uxlaunch works well;


*results of "ps aux"*
root   115  0.0  0.0   3676   368 ?S02:00   0:00
uxlaunch
root   136  0.3  0.8  25420  6936 ?Ss   02:00
0:00 /usr/bin/Xorg :0 -logfile /tmp/Xorg.0.root.log -nolisten tcp
-noreset -auth /root/.Xauthority vt1


I have seen this first problem in the buglist , so I wonder if the bug
haven't fixed yet 



xsession-erro as following
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.

X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-4-default armv7l
Current Operating System: Linux localhost.localdomain 2.6.35.7+ #197 Fri
Jul 29 15:39:16 CST 2011 armv7l
Kernel command line: root=/dev/nfs rw
nfsroot=10.1.68.88:/srv/android_rootfs
ip=10.1.68.87:10.1.68.88::255.255.0.0::eth0:on console=ttySAC0,115200
init=/init nconsole=tty0 loglevel=8
Build Date: 18 March 2011  10:06:21PM
Build ID: xorg-x11-server 1.9.0-9.8
Current version of pixman: 0.20.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.0.meego.log", Time: Thu Jan  1 02:00:10 1970
(==) Using config directory: "/etc/X11/xorg.conf.d"
Primary device is not PCI

Fatal server error:
xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted


Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
Please also check the log file at "/tmp/Xorg.0.meego.log" for additional
information.

/usr/bin/xhost:  unable to open display ":0"
~   

   
~   

   
~
-- 
___
伍平伟
9032
移动终端事业部



___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

[MeeGo-dev] could not launch meegotouch-home

2011-07-31 Thread pingwei...@cs2c.com.cn
hi,
there, for meegotouch-home couldnot auto launching, I try to launch it
from the console "", and get the following errro:
**
-- -bash-3.2# /usr/bin/meegotouchhome --desktop -remote-theme
/usr/bin/meegotouchhome: symbol lookup
error: /usr/lib/libmeegotouchhome.so.0: undefined symbol:
_ZN11MButtonView11setGeometryERK6QRectF

**

how to deal with it?




___
伍平伟
9032
移动终端事业部



___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

[MeeGo-dev] how to get a snapshot of the app

2011-07-31 Thread Shengjie Sun
Hi all,

how could i get a snapshot of the target app in 1.2 SDK. I found a class
called " 
MSnapshotItem"
which i guest it will help me to do that. But how could i use this Class, i
didn`t find any detail about that class.
or you gays has another better way to do that?

   Thanks a lot

BR,
Sim
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] how to get a snapshot of the app

2011-07-31 Thread David Boosalis
In Qt there is a example  for taking a picture of a desktop, perhaps you can
modify this.

See qt/examples/desktop/screenshot



On Sun, Jul 31, 2011 at 8:58 PM, Shengjie Sun  wrote:

> Hi all,
>
> how could i get a snapshot of the target app in 1.2 SDK. I found a
> class called " 
> MSnapshotItem"
> which i guest it will help me to do that. But how could i use this Class, i
> didn`t find any detail about that class.
> or you gays has another better way to do that?
>
>Thanks a lot
>
> BR,
> Sim
>
>
> ___
> MeeGo-dev mailing list
> MeeGo-dev@meego.com
> http://lists.meego.com/listinfo/meego-dev
> http://wiki.meego.com/Mailing_list_guidelines
>
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines