T42 | <A_T_R> camera app freeze when i tap video-record (hybris-17.1 ) applied lates codecs patch | 13:49 |
---|---|---|
T42 | <A_T_R> `11-03 19:21:38.521 6386 42 E /usr/bin/jolla-camera: open() failed for /dev/cgroup_info/cgroup.rc: No such file or directory` | 13:52 |
T42 | <Spidey24Z> Not a fatal error (re @A_T_R: 11-03 19:21:38.521 ...) | 13:53 |
T42 | <A_T_R> okay ,how to fix camera , | 13:54 |
T42 | <A_T_R> video-recording * | 13:54 |
T42 | <A_T_R> camera app is not responding on start of video record | 13:54 |
T42 | <Spidey24Z> I have no idea | 13:56 |
T42 | <Spidey24Z> But may using get debug could help you | 13:57 |
T42 | <A_T_R> how do you take logcat ? | 13:57 |
T42 | <Spidey24Z> logcat -d | 13:57 |
T42 | <Spidey24Z> But may using gst-debug could help you (edited) | 13:57 |
T42 | <A_T_R> 11-03 19:29:30.647 7935 40 W CameraBase: An error occurred while connecting to camera 0: Status(-8, EX_SERVICE_SPECIFIC): '8: connectHelper:1443: Cannot open camera 0 for "droidmedia" (PID -1): Too many other clients connecting' | 13:59 |
T42 | <A_T_R> 11-03 19:29:30.647 7935 40 E DroidMediaCamera: Failed to connect to camera service | 13:59 |
T42 | <Spidey24Z> `GST_DEBUG=droid*:5 jolla-camera` | 13:59 |
T42 | <Spidey24Z> Full log ? (re @A_T_R: 11-03 19:29:30.647 ...) | 14:01 |
T42 | <A_T_R> GST_DEBUG=droid*:5 jolla-camera = log = https://pastebin.ubuntu.com/p/VyTRshYzTJ/ | 14:02 |
T42 | <A_T_R> logcat https://pastebin.ubuntu.com/p/tXnnhFVBPf/ | 14:03 |
T42 | <Spidey24Z> maybe you need to fix this first | 14:03 |
T42 | <Spidey24Z> `library "libGLESv2_adreno.so" not found | 14:03 |
T42 | <Spidey24Z> library "eglSubDriverAndroid.so" not found` | 14:03 |
T42 | <Spidey24Z> [W] unknown:0 - CameraBin error: "Could not initialize supporting library." | 14:04 |
T42 | <Spidey24Z> this's the fix https://github.com/SailfishOS-vayu/droid-config-vayu/commit/21c81f847daa82bf5d49c5e77b0ff2ae2441987d | 14:06 |
T42 | <A_T_R> creating some symlinks fix ? | 14:21 |
T42 | <Spidey24Z> Make sure source files exist | 14:27 |
T42 | <A_T_R> yes file exist | 14:31 |
T42 | <A_T_R> here /vendor/lib64/egl/ & /vendor/lib/egl/ | 14:31 |
T42 | <A_T_R> compiled droid-configs installed all `rpm -U --nodeps *.rpm` | 14:33 |
T42 | <A_T_R> missing library seems solved | 14:39 |
T42 | <A_T_R> but | 14:39 |
T42 | <A_T_R> ``` | 14:39 |
T42 | <A_T_R> 11-03 20:08:57.666 6416 33 E DroidMediaCamera: Failed to connect to camera service | 14:39 |
T42 | <A_T_R> 11-03 20:09:01.779 6416 33 W CameraBase: An error occurred while connecting to camera 0: Status(-8, EX_SERVICE_SPECIFIC): '8: connectHelper:1443: Cannot open camera 0 for "droidmedia" (PID -1): Too many other clients connecting'``` | 14:39 |
T42 | <Spidey24Z> What about main issue ? | 14:46 |
T42 | <A_T_R> not solved | 14:48 |
mal | those library loading errors are probably fine | 14:49 |
mal | and camera connection issues might happen sometimes when qt is scanning cameras in the background while camera app is active | 14:49 |
T42 | <edp_17> And what about if camera app only shows black screen? logcat: https://paste.ubuntu.com/p/qwjwX53Qjz/ | 14:54 |
T42 | <edp_17> "GST_DEBUG=droid*:5 jolla-camera" command reports: "Found 0 cameras" | 14:54 |
T42 | <edp_17> debug jolla-camera log: https://paste.ubuntu.com/p/qhpst6jV6Y/ | 14:56 |
T42 | <edp_17> Any idea how to fix this? | 14:56 |
T42 | <edp_17> It looks like camera is not initialized. How can I do that? | 15:02 |
T42 | <Spidey24Z> android base version ? | 15:03 |
T42 | <edp_17> Los 17.1 | 15:03 |
T42 | <Spidey24Z> so could you show a full logcat | 15:04 |
T42 | <edp_17> From the beginning when the device starts or when I start the camera app? | 15:05 |
T42 | <Spidey24Z> reboot and start camera then get logcat | 15:06 |
T42 | <edp_17> Rebooted and camera started. Logcat: https://paste.ubuntu.com/p/Y5RsxJrbst/ | 15:08 |
T42 | <Spidey24Z> camera hal isn't loaded | 15:12 |
T42 | <edp_17> How can I load? | 15:13 |
T42 | <Spidey24Z> show the ouput of `logcat -b all` | 15:14 |
T42 | <edp_17> logcat -b all : https://paste.ubuntu.com/p/3nxMvzHyC3/ | 15:15 |
T42 | <Spidey24Z> `journalctl —no-pager` | 15:18 |
T42 | <Spidey24Z> and device tree source | 15:19 |
T42 | <edp_17> journalctl --no-pager : https://paste.ubuntu.com/p/mRJtZtfFKf/ | 15:19 |
T42 | <edp_17> Device tree: https://github.com/edp17/android_device_samsung_jfltexx/tree/lineage-17.1 | 15:19 |
*** poetaster is now known as Guest354 | 15:22 | |
T42 | <Spidey24Z> try to strace /vendor/bin/mm-qcamera-daemon | 15:34 |
mal | @edp_17 are you sure you have correct version on droidmedia? | 15:35 |
T42 | <edp_17> mal : Yes, I think so : https://paste.ubuntu.com/p/m5jfnvg833/ | 15:40 |
T42 | <edp_17> @Spidey24Z : This is what I got before the device got crashed and rebooted. Strace : https://paste.ubuntu.com/p/SzxWGHmV2t/ | 15:42 |
T42 | <edp_17> Yeah, when I do that strace, the device reboots. | 15:43 |
T42 | <Spidey24Z> hmm in other terminal tab run `dmesg -w` | 15:47 |
T42 | <Spidey24Z> while stracing | 15:47 |
T42 | <edp_17> dmesg -w displays messages then gives me the prompt back. | 15:55 |
T42 | <edp_17> So, it doesn't stay "listening" to catch the error. | 15:57 |
T42 | <Spidey24Z> even journalctl -f ? | 15:58 |
T42 | <edp_17> journalctl -f didn't record anything useful : https://paste.ubuntu.com/p/frXkvssxJV/ | 15:59 |
T42 | <A_T_R> @edp_17 are you using aarch64 target? | 16:00 |
T42 | <edp_17> No. | 16:00 |
T42 | <edp_17> Thanks for your time and help, I have to go now! | 16:00 |
T42 | <Spidey24Z> okay | 16:01 |
T42 | <elros34> @edp_17 run logcat as root instead user | 19:31 |
T42 | <elros34> btw Doesn't these hwc flood errors slow downs your ui little? | 19:36 |
T42 | <b100dian> I have ui slowdowns when wifi is not connected.. | 19:51 |
T42 | <elros34> something strange in udev or other logs? | 19:52 |
T42 | <b100dian> It's actually hard to debug because it happens when I am outside. Is udev having its own logs? | 20:10 |
T42 | <elros34> yes 'udevadm monitor' but if it happens only when you are outside then maybe it can be because of too many wifi all around you? I remeber there were some PR merged with heuristic to avoid scanning wlan too frequently or something like that (I am not sure) | 20:25 |
T42 | <b100dian> Pretty much my thought - but there's got to be some hwc complaining when I get that, so I may save this command for later to check from the phone terminal | 20:38 |
T42 | <b100dian> mal, @A_T_R : That "Fix 32-bit vs 64-bit codec compatibility patches" fixed my camera recording under LOS 17.0 64bit! (well, at least in Advanced cam, jolla-camera is blank). Thanks for this! | 21:30 |
T42 | <b100dian> (worked in default camera after `dconf reset -f /apps/jolla-camera/`, must've been another non-working camera selected from way before) | 21:35 |
T42 | <b100dian> This is almost exactly one year since the "OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything..." error. What a relief | 21:43 |
mal | good to hear | 21:50 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!