ubports-beryllium / projectmanagement

7 stars 0 forks source link

[ Camera ] App fails to record video #16

Open geeky-neo opened 4 years ago

geeky-neo commented 4 years ago

Logs Output of application-click-com.ubuntu.camera_camera_3.1.2.log, when launching the camera app.

Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Creating a QMirClientScreen now
Import path added "/usr/share/click/preinstalled/com.ubuntu.camera/3.1.2/lib/arm-linux-gnueabihf"
Camera app directory "/usr/share/click/preinstalled/com.ubuntu.camera/3.1.2"
virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer"
[TT 2020-05-02 15:15:59.917944] [service.cpp:29@instance] 
Failed to start a new media-hub player session:  org.freedesktop.DBus.Error.ServiceUnknown: The name core.ubuntu.media.Service was not provided by any .service files
Failed to create a new media player backend. Video playback will not function. 

Could not finish contructing new AalMediaPlayerService instance since m_hubPlayerSession is NULL
library "libcamera_compat_layer.so" not found
dlsym failed: library handle is null
geeky-neo commented 4 years ago

Output of /var/log/syslog

May  2 15:18:48 ubuntu-phablet repowerd[2498]: DefaultStateMachine: handle_user_activity_extending_power_state
May  2 15:18:50 ubuntu-phablet dbus[1248]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
May  2 15:18:50 ubuntu-phablet dbus[1248]: [system] Successfully activated service 'com.canonical.PropertyService'
May  2 15:18:50 ubuntu-phablet kernel: [ 9718.695719] ptrace attach of "/vendor/bin/hw/android.hardware.keymaster@3.0-service-qti"[8107] was attempted by "crash_dump64 28527 28529 1"[8105]
May  2 15:18:51 ubuntu-phablet repowerd[2498]: UnityScreenService: dbus_clearSysState(:1.55,19)
May  2 15:18:51 ubuntu-phablet repowerd[2498]: LibsuspendSuspendControl: allow_suspend(UnityScreenService)
May  2 15:18:54 ubuntu-phablet wpa_supplicant[1257]: wlan0: Failed to initiate sched scan
May  2 15:18:54 ubuntu-phablet kernel: [ 9722.383284] R0: [wpa_supplicant][283535575997] [15:18:54.483427]  wlan: [1257:E :HDD] __wlan_hdd_cfg80211_sched_scan_start: 3477: Network input is not correct 0
May  2 15:18:55 ubuntu-phablet wpa_supplicant[1257]: wlan1: Failed to initiate sched scan
May  2 15:18:55 ubuntu-phablet kernel: [ 9723.698809] ptrace attach of "/vendor/bin/hw/android.hardware.keymaster@3.0-service-qti"[8216] was attempted by "crash_dump64 28542 28544 1"[8214]
May  2 15:19:01 ubuntu-phablet repowerd[2498]: UPowerPowerSource: change_device(/org/freedesktop/UPower/devices/battery_main), is_present=1, state=3, percentage=0.00, temperature=0.00
May  2 15:19:01 ubuntu-phablet repowerd[2498]: UPowerPowerSource: change_device(/org/freedesktop/UPower/devices/battery_battery), is_present=1, state=1, percentage=97.00, temperature=34.00
May  2 15:19:02 ubuntu-phablet kernel: [ 9730.224649] FG: fg_battery_soc_smooth_tracking: soc:97, last_soc:97, raw_soc:97, soc_changed:1.
May  2 15:19:02 ubuntu-phablet kernel: [ 9730.224666] FG: soc_monitor_work: soc:97, raw_soc:97, c:-444335, s:1
May  2 15:19:10 ubuntu-phablet kernel: [ 9738.726143] ptrace attach of "/vendor/bin/hw/android.hardware.keymaster@3.0-service-qti"[8521] was attempted by "crash_dump64 28580 28583 1"[8519]
geeky-neo commented 4 years ago

Camera started to work with Erfan's GSI : ubports_GSI_installer_v5.zip and custom camera app : https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.2+gstdroid3_arm64.click Video is still a problem. Full potential of camera still not reached. WIP

geeky-neo commented 4 years ago

Recording video is till a problem.

joelselvaraj commented 4 years ago

Can you open camera, switch to video mode, try to record video, after u stop/crashes, immediately run dmesg and upload the file here. Thank you.

joelselvaraj commented 4 years ago

Log by @geeky-neo https://pastebin.com/fihUWZm8

joelselvaraj commented 4 years ago

In the phone, run

wget https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.2+gstdroid3_armhf.click and pkcon install-local --allow-untrusted com.ubuntu.camera_3.1.2+gstdroid3_armhf.click

It will work. Confirmed with @geeky-neo

Nandanrmenon commented 3 years ago

In the phone, run

wget https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.2+gstdroid3_armhf.click and pkcon install-local --allow-untrusted com.ubuntu.camera_3.1.2+gstdroid3_armhf.click

It will work. Confirmed with @geeky-neo

i guess the video recording is working without this