On 04.04.2011 02:27, Niels Mayer wrote:
> After doing
>   $ zypper ar 
> http://download.meego.com/live/devel:/meego-ux/Trunk/devel:meego-ux.repo
>   $ zypper zypper clean --all ; zypper --gpg-auto-import-keys refresh
>   $ zypper in meego-app-camera meego-app-video meego-app-photos
> meego-app-notes meego-app-im meego-app-email meego-app-conacts
> meego-app-calendar meego-app-calculator meego-app-browser
> meego-app-clocks meego-ux-panels meego-ux-panels-photos
> meego-ux-panels-friends meego-ux-panels-music meego-ux-panels-mytablet
> meego-ux-panels-video meego-ux-panels-web meego-ux-panels-meta-tablet
> meego-ux-appgrid meego-ux-content meego-ux-content-socialweb
>
> which also installs dependencies:
>   meego-handset-sound-theme meegolabs-ux-components meego-qml-launcher
>   meego-ux-media meego-ux-media-models meego-ux-theme mkcal
>   mlite qtgst-qmlsink telepathy-farstream
>
> I attempt to launch these apps with
>   $ meego-qml-launcher --app <appname>
> which looks for
>   /usr/share/<appname>/main.qml
> e.g.
> meego-qml-launcher --opengl --fullscreen --app meego-app-calculator
> meego-qml-launcher --opengl --fullscreen --app meego-app-calendar
> meego-qml-launcher --opengl --fullscreen --app meego-app-camera
> meego-qml-launcher --opengl --fullscreen --app meego-app-clocks
> meego-qml-launcher --opengl --fullscreen --app meego-app-contacts
> meego-qml-launcher --opengl --fullscreen --app meego-app-email
> meego-qml-launcher --fullscreen --opengl --app meego-app-im
> meego-qml-launcher --opengl --fullscreen --app meego-app-music
> meego-qml-launcher --opengl --fullscreen --app meego-app-notes
> meego-qml-launcher --opengl --fullscreen --app meego-app-photos
> meego-qml-launcher --opengl --fullscreen --app meego-app-tasks
> meego-qml-launcher --opengl --fullscreen --app meego-app-video
> meego-qml-launcher --opengl --fullscreen --app meego-ux-appgrid
> meego-qml-launcher --opengl --fullscreen --app meego-ux-app-photos
> meego-qml-launcher --opengl --fullscreen --app meego-ux-panels
> meego-qml-launcher --opengl --fullscreen --app meego-ux-settings
>
> Although many of the simple tablet-ux apps work on the Lenovo s10-3t
> running 1.2 netbook "alpha", the one I really want to re-use (for
> http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
> ) is meego-app-camera. Unfortunately, when I run it, I get the
> following:
>
> -- is this a bug or am I dong something wrong ?
> .......................
> $ meego-qml-launcher --opengl --fullscreen --app meego-app-camera
> Adding Master Pointer: Virtual core pointer ( 2 )
> Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
> Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
> Panel with Controller ( 11 )
> Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
> loaded the Generic plugin
> Loaded the MeeGo sensor plugin
> Request for interface not granted...
> Request for interface not granted...
> Warning: Object::connect: No such signal
> QXIMInputContext::inputMethodAreaChanged(QRect)
> Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
> Warning: Object::connect:  (sender name:   'meego-qml-launcher')
> Warning: Object::connect: No such signal
> LauncherApp::windowListUpdated(QList<WindowInfo>)
> Warning: Object::connect:  (sender name:   'meego-qml-launcher')
> Debug: Instantiating VolumeControlPrivate
> Debug: Settings*************
> Debug: Flash Mode:  0
> Debug: Capture Mode:  0
> Debug: "/dev/video0"   "Lenovo EasyCamera"
> Debug: "/dev/video0"   "Lenovo EasyCamera"
> Debug: Setting camera to  "/dev/video0"
> Debug: Camera caps: 64
> Debug: Supported maximum optical zoom 1
> Debug: Supported maximum digital zoom 10
> Debug: Metadata is not available
> Debug: Audio input:  "alsa:null"  -  "Discard all samples (playback)
> or generate zero samples (capture)"
> Debug: Audio input:  "alsa:pulse"  -  "PulseAudio Sound Server"
> Debug: Audio input:  "alsa:default"  -  "Default"
> Debug: Audio input:  "alsa:front:CARD=Intel,DEV=0"  -  "HDA Intel,
> CONEXANT Analog
> Front speakers"
> Debug: Audio input:  "alsa:surround40:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 4.0 Surround output to Front and Rear speakers"
> Debug: Audio input:  "alsa:surround41:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers"
> Debug: Audio input:  "alsa:surround50:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 5.0 Surround output to Front, Center and Rear speakers"
> Debug: Audio input:  "alsa:surround51:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers"
> Debug: Audio input:  "alsa:surround71:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"
> Debug: Audio input:  "pulseaudio:"  -  "PulseAudio device."
> Debug: Default source:  "alsa:null"
> Debug: Using default resolution
> Debug: Using default FPS
> Debug: Codec:  "video/theora"
> Debug: Codec:  "video/mpeg2"
> Debug: Codec:  "video/mpeg1"
> Debug: Codec:  "video/mjpeg"
> Debug: Codec:  "video/VP8"
> Debug: Codec:  "video/h261"
> Debug: Container:  "mp4"
> Debug: Container:  "ogg"
> Debug: Container:  "wav"
> Debug: Container:  "amr"
> Debug: Container:  "mkv"
> Debug: Container:  "avi"
> Debug: Container:  "3gp"
> Debug: Container:  "3gp2"
> Debug: Container:  "webm"
> Debug: Container:  "asf"
> Debug: Container:  "mov"
> Debug: Selected container:  "ogg"
> Debug: CameraBinImageEncoder::supportedResolutions()
> Debug: Using resolution:  1280 x 800
> Debug: Updated state:  0
> Debug: Camera lock changed:  0  (Reason  0 )
> Debug: Image ready for capture:  false
> Debug: Media recorder state changed:  0
>
> (<unknown>:21639): GLib-GObject-WARNING **: value "0" of type `gint'
> is invalid or out of range for property `zoom' of type `gint'
> Segmentation fault (core dumped)
> ................................

When you get those:
G_DEBUG="fatal_warnings" gdb --args meego-qml-launcher --opengl
--fullscreen --app meego-app-camera

and post the backtrace to a bug. Nice to have to camera-bug is the
output of v4l-info (no sure right now if that is in the repo).

Stefan
>
> Running it as root (just incase some device permissions problem)
> didn't work either, but output  an additional clue:
> ............................
> .Debug: Setting camera to  "/dev/video0"
>
> (gst-plugin-scanner:20412): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::zoom'
> (gst-plugin-scanner:20412): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::image-preview-supported-caps'
> (gst-plugin-scanner:20412): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::autofocus'
> ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
> (gst-plugin-scanner:20412): GStreamer-WARNING **: Failed to load
> plugin '/usr/lib/gstreamer-0.10/libgstwildmidi.so': libWildMidi.so.1:
> cannot open shared object file: No such file or directory
> (gst-plugin-scanner:20412): GStreamer-WARNING **: Failed to load
> plugin '/usr/lib/gstreamer-0.10/libgstzbar.so': libzbar.so.0: cannot
> open shared object file: No such file or directory
> (gst-plugin-scanner:20414): GStreamer-WARNING **: Failed to load
> plugin '/usr/lib/gstreamer-0.10/libgstzbar.so': libzbar.so.0: cannot
> open shared object file: No such file or directory
> ............................
>
> Hoping to get rid of these errors, I grabbed zbar-0.10-3.fc14.2.i686
> from fedora ( using http://wiki.meego.com/MeeGo-Lem ) and installed
> the following, after finding
> http://lists.meego.com/pipermail/meego-dev/2011-January/481159.html
>
>  $ zypper in 
> http://download.meego.com/live/home:/lisayue:/branches:/devel:/multimedia/testing/i586/gst-v4l2-camsrc-0.4.0-12.4.i586.rpm
> http://download.meego.com/live/home:/lisayue:/branches:/devel:/multimedia/testing/i586/gst-v4l2-camsrc-devel-0.4.0-12.4.i586.rpm
> http://download.meego.com/live/home:/lisayue:/branches:/devel:/multimedia/testing/i586/xorg-x11-drv-mtev-0.1.13-8.1.i586.rpm
>
> now I don't see those errors anymore, but it still segfaults on 'zoom'
>  and outputs a message
> "(gst-plugin-scanner:26804): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::zoom'"
>
> I also note debug output suggesting that 'zoom' ranges from  [1-10] ,
> but is being set to '0' an illegal value. How can it be set to '1' ?
>
>  Or does something else need fixing first?
>
> .........................
> meegolem-86-~> meego-qml-launcher --opengl --fullscreen --app meego-app-camera
> Adding Master Pointer: Virtual core pointer ( 2 )
> Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
> Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
> Panel with Controller ( 11 )
> Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
> loaded the Generic plugin
> Loaded the MeeGo sensor plugin
> Request for interface not granted...
> Request for interface not granted...
> Warning: Object::connect: No such signal
> QXIMInputContext::inputMethodAreaChanged(QRect)
> Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
> Warning: Object::connect:  (sender name:   'meego-qml-launcher')
> Warning: Object::connect: No such signal
> LauncherApp::windowListUpdated(QList<WindowInfo>)
> Warning: Object::connect:  (sender name:   'meego-qml-launcher')
> Debug: Instantiating VolumeControlPrivate
> Debug: Settings*************
> Debug: Flash Mode:  0
> Debug: Capture Mode:  0
> Debug: "/dev/video0"   "Lenovo EasyCamera"
> Debug: "/dev/video0"   "Lenovo EasyCamera"
> Debug: Setting camera to  "/dev/video0"
>
> (gst-plugin-scanner:26804): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::zoom'
>
> (gst-plugin-scanner:26804): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::noise-reduction'
>
> (gst-plugin-scanner:26804): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::image-preview-supported-caps'
>
> (gst-plugin-scanner:26804): GLib-GObject-WARNING **:
> g_object_class_override_property: Can't find property to override for
> 'GstCameraSrc::autofocus'
> Debug: Camera caps: 64
> Debug: Supported maximum optical zoom 1
> Debug: Supported maximum digital zoom 10
> Debug: Metadata is not available
> Debug: Audio input:  "alsa:null"  -  "Discard all samples (playback)
> or generate zero samples (capture)"
> Debug: Audio input:  "alsa:pulse"  -  "PulseAudio Sound Server"
> Debug: Audio input:  "alsa:default"  -  "Default"
> Debug: Audio input:  "alsa:front:CARD=Intel,DEV=0"  -  "HDA Intel,
> CONEXANT Analog
> Front speakers"
> Debug: Audio input:  "alsa:surround40:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 4.0 Surround output to Front and Rear speakers"
> Debug: Audio input:  "alsa:surround41:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers"
> Debug: Audio input:  "alsa:surround50:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 5.0 Surround output to Front, Center and Rear speakers"
> Debug: Audio input:  "alsa:surround51:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers"
> Debug: Audio input:  "alsa:surround71:CARD=Intel,DEV=0"  -  "HDA
> Intel, CONEXANT Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"
> Debug: Audio input:  "pulseaudio:"  -  "PulseAudio device."
> Debug: Default source:  "alsa:null"
> Debug: Using default resolution
> Debug: Using default FPS
> Debug: Codec:  "video/theora"
> Debug: Codec:  "video/mpeg2"
> Debug: Codec:  "video/mpeg1"
> Debug: Codec:  "video/mjpeg"
> Debug: Codec:  "video/VP8"
> Debug: Codec:  "video/h261"
> Debug: Container:  "mp4"
> Debug: Container:  "ogg"
> Debug: Container:  "wav"
> Debug: Container:  "amr"
> Debug: Container:  "mkv"
> Debug: Container:  "avi"
> Debug: Container:  "3gp"
> Debug: Container:  "3gp2"
> Debug: Container:  "webm"
> Debug: Container:  "asf"
> Debug: Container:  "mov"
> Debug: Selected container:  "ogg"
> Debug: CameraBinImageEncoder::supportedResolutions()
> Debug: Using resolution:  1280 x 800
> Debug: Updated state:  0
> Debug: Camera lock changed:  0  (Reason  0 )
> Debug: Image ready for capture:  false
> Debug: Media recorder state changed:  0
>
> (<unknown>:26801): GLib-GObject-WARNING **: value "0" of type `gint'
> is invalid or out of range for property `zoom' of type `gint'
> Segmentation fault (core dumped)
> ............................
>
> 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 mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to