Git Product home page Git Product logo

Comments (8)

jrsnen avatar jrsnen commented on June 16, 2024

Hello!

Thanks for your interest in Kvazzup and for submitting this bug report. Unfortunately, I can't determine what the problem is yet. If I had to guess, it would have something to do with the way Kvazzup sets the resolution for the camera or Kvazaar since there are some special cases on Linux because of a bug in Qt (I should probably take the time to submit a bug report to Qt).

I have a few questions that might help us determine the cause of the problem:

  1. I'm guessing this repeats every time?
  2. Does it work if you start the call without video enabled?
  3. Does it work if you enable screen sharing before calling?
  4. Do you have a camera on both machines?

It would be really helpful if you could run this through a debugger to get the location of the crash.

Also, attaching file kvazzup.log and kvazzup.ini might help solve this issue if there is nothing too private in them.

from kvazzup.

fador avatar fador commented on June 16, 2024

Since the Illegal instruction (core dumped), it might also be because AVX2 instructions are used, if the CPU does not support those?
I'm not sure if there's any detection for AVX2, but the YUV to RGB uses those instructions and the selection is handled at:
https://github.com/ultravideo/kvazzup/blob/master/src/media/processing/yuvtorgb32.cpp#L50

from kvazzup.

jrsnen avatar jrsnen commented on June 16, 2024

@fador That is a good point also! There is no detection for AVX2 at the moment, although they can be disabled here. It might be worth testing.

from kvazzup.

tpanj avatar tpanj commented on June 16, 2024

1. Yes, this crashes every time. Here are logs.

kvazzup.log
kvazzup.ini.txt
From second computer who had core dump:
kvazzup2.log
kvazzup2.ini.txt

2. If I start call without video it works.

3. It works with issue

As you can see screensharing probably only have resolution problem. Is there a way to configure that (see log)?

console2.log
Screenshot_20210929_142749

4. Yes, camera is on both machines.

5. Audio works but with warning:

AudioOutputDevice: Warning! No output audio frame available in time. Repeating previous audio frame (Consecutive repeats: 1)
AudioOutputDevice: Warning! No output audio frame available in time. Repeating previous audio frame (Consecutive repeats: 2)
AudioOutputDevice: Warning! No output audio frame available in time. Repeating previous audio frame (Consecutive repeats: 3)
AudioOutputDevice: Warning! The output device buffer is too large. Dropping audio frames (Buffer Status: 15/10)
AudioOutputDevice: Warning! The output device buffer is too large. Dropping audio frames (Buffer Status: 14/10)
AudioOutputDevice: Warning! The output device buffer is too large. Dropping audio frames (Buffer Status: 13/10)

from kvazzup.

jrsnen avatar jrsnen commented on June 16, 2024

We noticed that you don't have support for AVX2 instruction in your CPU. This is a likely cause of this crash. I will try to implement a system for enabling and disabling the code based on supported instructions next week.

There was a missing variable check in the code for avx2_. Could you try disabling the avx2_ variable with the newest master to verify that this is the issue? The line is located here, in case you missed it.

The audio warnings are pretty normal. Only if there are a lot of those errors, it becomes a problem. Each warning tells about one lost audio sample. The audio is pretty precise stuff since buffering causes latency and not buffering means that if a sample is too late, we have to play something.

That screen sharing bug is an interesting one. I have no idea what is going on there. I have to do more testing on Linux to find out what is causing that.

from kvazzup.

tpanj avatar tpanj commented on June 16, 2024

Thanks to your help I set in that line to false and after building software I was able to make a proper video call from one to another computer.

Just ping me if you want me to do Linux testing.

from kvazzup.

jrsnen avatar jrsnen commented on June 16, 2024

@tpanj I pushed an automated system (4f825d4) for detecting which optimizations are available. Can you verify that this issue has been solved by the commit?

from kvazzup.

tpanj avatar tpanj commented on June 16, 2024

Yes - works for me. Thanks!

from kvazzup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.