linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

[Bug]: Very slow and non usable using Windows 11

Open dhaeb opened this issue 3 years ago • 4 comments

Context

For which purpose do you use the project ? Local VOIP on my computer With which software/hardware it is integrated ?

Did you use sip.linphone.org or a different SIP service (in this case specify which one and which version) ? I use sipgate.de

General information

  • Device: Device name Processor 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.80 GHz Installed RAM 32,0 GB (31,3 GB usable) Device ID 51754942-F14C-4BCA-9DB5-D4B95EB5895A Product ID 00330-53730-87233-AAOEM System type 64-bit operating system, x64-based processor Pen and touch Pen and touch support with 10 touch points

  • OS: Edition Windows 11 Pro Version 21H2 Installed on ‎21.‎10.‎2021 OS build 22000.795 Serial number 5CG1264SSR Experience Windows Feature Experience Pack 1000.22000.795.0

  • Version of the App: 4.4.8

  • Version of the SDK: ?

Expected behaviour

I wanted to do a simple call with the Windows client calling a number. However, the desktop app becomes non-responsive: image This is already happening as soon as you open the app, but itensifies over time.

To Reproduce

Everything is just laggy as soon as I open the app. It is responding slowly, like in a timelapse. Feels like software running on constrained resource conditions. I guess we have a severe memory leak or something here... it starts normalish but gots so much worse using it over time...

Additional context

No response

SDK logs URL

No response

dhaeb avatar Aug 08 '22 12:08 dhaeb

Same issue here. It doesn't appear to be a memory leak, just something burning a core (busy-waiting?) for lengthy multi-second delays before servicing the UI. I don't recall seeing anything like this on previous versions.

0xabu avatar Aug 09 '22 08:08 0xabu

I tried some prior versions: 4.4.8 - repro 4.4.7 - repro 4.4.0 - repro 4.3.2 - no repro

0xabu avatar Aug 09 '22 08:08 0xabu

Same here

ekutner avatar Sep 06 '22 08:09 ekutner

Confirming the issue on Windows 10. Been persistent since the last three or so versions.

Aarkon avatar Sep 15 '22 07:09 Aarkon

I can confirming the issue on Windows 10 (21H2) to. It works with the last 32 bit version (4.3.2).

MasterPMax avatar Sep 28 '22 07:09 MasterPMax

Here same thing. It starts well. It works for a few days and then no problem. It is slow pop up does not enable icon. Suggestion?

LoganLRL avatar Nov 07 '22 12:11 LoganLRL

Just this started for me this morning as well. It's unusable now. High CPU usage and Linphone is not responding according to the task manager.

Latest Linphone-5.0.0-beta.50+fee7046f-win64.exe has the exact same issue.

me1299 avatar Nov 21 '22 07:11 me1299

I installed Linphone-4.4.8-win64 on Win10.0.19045 Build 19045. Same troubles: High CPU and not responding.

rolfoosting avatar Nov 22 '22 14:11 rolfoosting

I saw the slow (1-4" lag for each mouse click and 100% core load) behavior as soon as the program starts up. It appears in versions 5.0.3, 5.0.4, 4.4.11, and not in version 4.3.2.

dspinellis avatar Dec 30 '22 18:12 dspinellis

Same here, freezes on launch after a clean installation, cant even pass the Assistant setup

yossigrosskopf avatar Jan 11 '23 00:01 yossigrosskopf

I have the same issue in Windows 10.

TheGreyDiamond avatar Jan 14 '23 21:01 TheGreyDiamond

I have Linphone installed on two machines, one with Win10, and the other with Win11 Win11: works flawlessly, though did not used it for long period of time just yet (closed it within a minute) Win10: Starts slow, then stops working, then returns for a while, then stops again, then returns; this repeats. Wasn't able to configure it yet either. Did not noticed whether each stopping lasts for longer than the previous one or not, but I've always lost my patience when tried to configure it.

Win10

Processor:   Intel(R) Core(TM) i7-4820K CPU @ 3.70GHz   3.70 GHz
Memory Size: 16.0 GB
System Type: 64-bit

Win11

Processor	Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz   1.50 GHz
Installed RAM	16.0 GB (15.7 GB usable)
System type	64-bit operating system, x64-based processor

Edit: Linphone version desktop v5.0.3; Core 5.2.3

jadaml avatar Jan 17 '23 15:01 jadaml

Same issue here... Can't even drag the window.

ramonchiara avatar Jan 27 '23 22:01 ramonchiara

Happens to me as well. :(

Processor: 12th Gen Intel(R) Core(TM) i7-12700T   1.40 GHz
RAM: 64,0 GB
OS Build: 22621.1105

audacity76 avatar Jan 31 '23 07:01 audacity76

Just found out that if I close Google Drive (Sync) App performance is back again!

audacity76 avatar Jan 31 '23 08:01 audacity76

EDIT: Running Linphone 5.08

Having the same issue on Windows 11 when running as a non-admin user. When I run as an admin user the issue is not there (permission issue?).

Looking at Process Explorer I see LOTS of cycles on linphone.exe!PluginDataAPI.

image

ckirkham01 avatar Jan 31 '23 11:01 ckirkham01

Just found out that if I close Google Drive (Sync) App performance is back again!

Same here, Windows 11 and several Linphone versions. Up to newest 5.0.10. Workaround with closing Google Drive App worked for me as well!!

Jade64 avatar Feb 15 '23 09:02 Jade64

What is the link between the Google Drive App and Linphone... 😐

julonexus avatar Feb 15 '23 09:02 julonexus

Killing the Google Drive process worked for me too.

b1scoito avatar Feb 16 '23 05:02 b1scoito

Must be a different issue for me - don't have Google Drive App running. I do have OneDrive tried shutting that down and it did not make a difference - the lag is still there

ckirkham01 avatar Feb 16 '23 08:02 ckirkham01

Having the same problem on quite a few computers. Hope a solution can be found soon. On affected computers the app is completely unusable.

jhansen858 avatar Feb 16 '23 20:02 jhansen858

As https://github.com/BelledonneCommunications/linphone-desktop/issues/688#issuecomment-1410180053 mentioned, I'm getting abnormal high CPU cycle counts on this thread: image Which passes by a lot of Qt5 functions. I haven't been able to find the exact cause of the lag caused by the Google Drive app.

b1scoito avatar Feb 16 '23 21:02 b1scoito

Same issue here without Google Drive process.

k-tahiro avatar Mar 06 '23 02:03 k-tahiro

The Linphone SDK is running on the main thread and the frequency of iteration is 20ms. So if something slow down the iteration, the application will freeze. The PluginDataAPI seems to be a false flag : I don't know why the stack from the Process Explorer is different from a local build but what is count in CPU cycle is the iterate() from the exec of the main (which call Qt and Linphone). You should check your logs to see what is wrong (network timeout? bad server configuration? Accessing files? etc.)

julonexus avatar Mar 08 '23 06:03 julonexus

I'm also hit by this using Windows 10 and no Google Drive.

I don't see anything special in the logs, apart from this: 2023-04-21 12:22:40:498 [/mediastreamer] MESSAGE Fail to load plugin C:\Program Files\Linphone\plugins\mediastreamer\libmsopenh264.dll with altered search path: error 126 2023-04-21 12:22:40:498 [/mediastreamer] ERROR Fail to load plugin C:\Program Files\Linphone\plugins\mediastreamer\libmsopenh264.dll: error 126

agemuend avatar Apr 21 '23 11:04 agemuend

Same here with latest linphone and windows 11, if I kill google drive the app is working well, as soon as it's open Linphone is freezing and unusable.

bastien-effetb avatar May 02 '23 12:05 bastien-effetb

Same issue, windows 10, it was working previously and now it is sooo laggy. Even tried to run in a VM on a fresh install of ubuntu and still no difference.

Bakobiibizo avatar May 04 '23 16:05 Bakobiibizo

You should check your logs to see what is wrong (network timeout? bad server configuration? Accessing files? etc.)

Also, you may try to deactivate the logs. If it resolves the issue, I suggest to move your logs folder elsewhere (maybe google drive try to sync a realtime updated file....)

julonexus avatar May 05 '23 06:05 julonexus

Same issue with Windows 11 and Linphone 5.0.15 - CPU load as high as 25 % and lag times of more than 5 seconds upon each mouse click without any registered SIP account and logging being disabled.

master-fuggi avatar May 05 '23 12:05 master-fuggi

Are there any news ? we have the same issue on a Dell XPS - Microsoft Windows 11 Pro - 22H2/22621 (without google drive) - LinPhone 5.0.18

nopeee535 avatar Jul 05 '23 12:07 nopeee535