OS: Debian Jessie 64 bit, XFCE
qTox version: Nightly
Commit hash: built without git
toxcore: 0.0.0
(I guess all this info is useless, but that's what I see in settings > about. However I've just added the deb repository and installed it, so maybe the date & time of the issue will help somehow)
Qt: 5.3.2
Hardware: Thinkpad x200s
Reproducible: Always
Qtox not responding
Webcam is selected, it previews, I call my buddy and we see each other
The bug is not reproducible in uTox, however it doesn't show the preview of my webcam image during the call so I decided to try qtox
Could you try with https://software.opensuse.org/download.html?project=home%3Aantonbatenev%3Atox&package=qtox ?
Yes, same thing happens in this version.
Could you provide info about your camera with v4l-info or v4l2-ctl --all ?
Same as https://github.com/tux3/qTox/issues/3238 ?
+1 here on Netrunner 2016.01 KDE Arch Rolling release.
The cam is not selected ( i select it every time, but, for some reason, is not staying selected), and then, if Video call is on going, qTox freezes up. Must kill the process, and restart it again.
I recommend qTox rolls back the commits breaking the video, mentioned in #3238. It used to work fine before these commits. The video feature is currently broken.
@gorthad1534 @yurivict @Getron please provide the qTox.log where this happens and the output of v4l2-ctl --all .
Most likely an incompatible videoformat is selected.
qtox.log:
[12:07:59.008] src/widget/form/settings/avform.cpp:167 : Debug: available Modes:
[12:07:59.008] src/widget/form/settings/avform.cpp:171 : Debug: width: 2304, height: 1536, FPS: 2.000000, pixel format: unknown
[12:07:59.008] src/widget/form/settings/avform.cpp:171 : Debug: width: 2304, height: 1296, FPS: 2.000000, pixel format: unknown
[12:07:59.008] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 30.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 30.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 24.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 24.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 20.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 20.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 15.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 15.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 10.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 10.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 7.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 7.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 5.000000, pixel format: unknown
[12:07:59.009] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 5.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1920, height: 1080, FPS: 5.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 30.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 30.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 24.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 24.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 20.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 20.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 15.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 15.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 10.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 10.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 7.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 7.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 7.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 5.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 5.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1600, height: 896, FPS: 5.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 30.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 30.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 24.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 24.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 20.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 20.000000, pixel format: unknown
[12:07:59.010] src/widget/form/settings/avform.cpp:171 : Debug: width: 1280, height: 720, FPS: 15.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 30.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 30.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 24.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 24.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 20.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 20.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 15.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 15.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 15.000000, pixel format: unknown
[12:07:59.011] src/widget/form/settings/avform.cpp:171 : Debug: width: 1024, height: 576, FPS: 10.000000, pixel format: unknown
<...skipped a lot of similar messages...>
[12:07:59.021] src/widget/form/settings/avform.cpp:171 : Debug: width: 160, height: 90, FPS: 5.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:171 : Debug: width: 160, height: 90, FPS: 5.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:171 : Debug: width: 160, height: 90, FPS: 5.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:211 : Debug: selected Modes:
[12:07:59.021] src/widget/form/settings/avform.cpp:223 : Debug: width: 1920, height: 1080, FPS: 30.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:223 : Debug: width: 1280, height: 720, FPS: 30.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:223 : Debug: width: 864, height: 480, FPS: 30.000000, pixel format: unknown
[12:07:59.021] src/widget/form/settings/avform.cpp:223 : Debug: width: 640, height: 360, FPS: 30.000000, pixel format: unknown
[12:07:59.022] src/widget/form/settings/avform.cpp:223 : Debug: width: 432, height: 240, FPS: 30.000000, pixel format: unknown
[12:07:59.022] src/widget/form/settings/avform.cpp:127 : Warning: Invalid mode index
[12:07:59.022] src/video/camerasource.cpp:282 : Debug: Closing device "none"
[12:07:59.022] src/video/camerasource.cpp:209 : Debug: Opening device "/dev/video0"
[12:08:00.859] src/audio/audio.cpp:225 : Debug: Opening audio input "OSS Default"
[12:08:00.860] src/audio/audio.cpp:250 : Warning: Failed to initialize audio input device: "OSS Default"
[12:08:00.860] src/audio/audio.cpp:176 : Warning: Failed to subscribe to audio input device.
[swscaler @ 0x824352000] Warning: data is not aligned! This can lead to a speedloss
[12:08:20.167] src/video/camerasource.cpp:282 : Debug: Closing device "/dev/video0"
[12:08:21.081] src/persistence/profile.cpp:308 : Debug: Saving tox save to "/home/yuri/.config/tox/yuri.tox"
[12:08:21.086] src/persistence/settings.cpp:505 : Debug: Saving personal settings at "/home/yuri/.config/tox/yuri.ini"
[12:08:21.087] src/persistence/settings.cpp:378 : Debug: "Saving global settings at /home/yuri/.config/tox/qtox.ini"
[12:08:21.089] src/main.cpp:298 : Debug: Clean exit with status 0
I don't think FreeBSD has v4l2-ctl.
There have been some video fixes / improvements – can you check with newest qTox?
The problem is gone in 1.5.1 on FreeBSD. Thanks!
Should be fixed on newest qTox, thus closing.
If you still can reproduce, please comment for reopen.
I have the same problem on windows. I downloaded the binary from here https://wiki.tox.chat/binaries
@harry-7 #3612 ?
@zetok yes it is the same.
But even when I select webcam it crashes irrespective of whether webcam is free or not. Qtox stops :/
Most helpful comment
The problem is gone in 1.5.1 on FreeBSD. Thanks!