BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
411 stars 209 forks source link

Windows desktop: windows can take 20 seconds to appear (rel 4.2.5) #490

Open Matthew-0-0 opened 3 years ago

Matthew-0-0 commented 3 years ago

Linphone 4.2.5 Windows 10 Pro 20H2 Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz 16GB RAM SSD drive.

Log: https://www.linphone.org:444//tmp/608814a743612_b4f16606bc3086202bf6.gz

The application takes 20 seconds before any graphics appears. Call windows may take 20 seconds to appear and fully render. Delay is still there when no other applications are running.

The log lines on start up show: 2021-04-27 14:40:26:669 [/qt] MESSAGE QT: C:\GitLab-Runner\builds\651dcee5\2\BC\public\linphone-desktop\linphone-app\src\app\App.cpp:225: "Creating subwindow: qrc:/ui/views/App/Settings/SettingsWindow.qml." 2021-04-27 14:40:26:756 [/qt] MESSAGE QT: C:\GitLab-Runner\builds\651dcee5\2\BC\public\linphone-desktop\linphone-app\src\app\App.cpp:232: "Subwindow status: 1." 2021-04-27 14:40:48:054 [/qt] MESSAGE QT: C:\GitLab-Runner\builds\651dcee5\2\BC\public\linphone-desktop\linphone-app\src\components\codecs\VideoCodecsModel.cpp:176: "Loading openh264.dll symbols..." 2021-04-27 14:40:48:055 [/mediastreamer] MESSAGE Loading ms plugins from [C:\Program Files (x86)\Linphone\plugins\mediastreamer]

When the call window is delayed, the log shows: 2021-04-27 14:41:18:931 [/liblinphone] MESSAGE linphone_core_get_call_history_2(): completed in 0 ms 2021-04-27 14:41:18:932 [/qt] MESSAGE QT: C:\GitLab-Runner\builds\651dcee5\2\BC\public\linphone-desktop\linphone-app\src\components\chat\ChatModel.cpp:451: "ChatModel (sip:2012@matthome.splicecom.com, sip:2008@matthome.splicecom.com) loaded in 1 milliseconds." 2021-04-27 14:41:40:030 [/liblinphone] MESSAGE Linphone core [0117E8C0] notified [call_state_changed] 2021-04-27 14:41:40:032 [/liblinphone] MESSAGE [ToneManager] linphoneCoreStopDtmfStream

It would appear to be something to do with qt.

Am I missing some package on Windows or do I require a particular configuration change.

Matt.

julonexus commented 3 years ago

Hi, Have you got the same issue with the snapshot version?

Matthew-0-0 commented 3 years ago

Hi, I tried several versions, including the snapshot. I then tried a recently purchased PC and that didn’t show any appreciable lag. My suspicion is that the issue may be related to the graphics processor: The problem PC has an Intel HD Graphics 4000 display adapter. The good PC has an Intel UHD Graphics 620 display adapter.

Is there a compatibility list or minimum spec’ that I have missed?

Best regards, Matt.

From: Julien Wadel @.> Sent: 01 May 2021 19:53 To: BelledonneCommunications/linphone-desktop @.> Cc: Matthew Hilder @.>; Author @.> Subject: Re: [BelledonneCommunications/linphone-desktop] Windows desktop: windows can take 20 seconds to appear (rel 4.2.5) (#490)

Hi, Have you got the same issue with the snapshot version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BelledonneCommunications/linphone-desktop/issues/490#issuecomment-830677844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT3OBGCYHVUYFTXDHT7X27LTLREXPANCNFSM43VBPVLA.

sme-gmbh commented 3 years ago

Same here, we are running Linphone 4.2.5 on a laptop with i7 cpu und NVidia Quadro K2000. It takes some time after reboot of the machine to happen. Sometimes it takes minutes to react. People are unable to pickup the call because it does not show up. However the ring sound works. Also outgoing calls can take minutes to start ringing.

BTW: On Win 7 the same linphone version runs without trouble.

underdpt commented 3 years ago

I'm having the same issue, but with the same laptop. When connected on the office, it works perfectly, but on my home it has this lag showing the window or the calls.

The laptop is the same, connected to two screens on both locations, using the same dockstation model through thunderbolt, the only noticeable change is that the network on the office is 192.168.0.x and on my home is 192.168.1.x, both wired. Even the audio is the same (usb headphones with microphone, same model).

I can do any debug testing if needed.

GGGazmanov88 commented 3 years ago

Hi! Have the same issue on multiple PCs Lenovo ThinkCentre M720q win10 i3-9100T, 8gbRAM, SSD version 4.2.5 ringing starts without notification in logs 20sec delay

image

Dalarwin commented 3 years ago

HEllo, same problem on three HP ZBook 17 G5, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 16GB RAM, SSD, Windows 10 20H2 or 21H1, NVIDIA QUADRO P1000

Dalarwin commented 3 years ago

HEllo, same problem on three HP ZBook 17 G5, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 16GB RAM, SSD, Windows 10 20H2 or 21H1, NVIDIA QUADRO P1000

Hello,

same problem with 4.3 beta or 4.4 alpha

best regards

julonexus commented 3 years ago

There is a bit more debug feedback on load in the latest version (snapshots or 4.3.1 soon). Could you post a log from it while starting the app? Thanks

Dalarwin commented 3 years ago

Hello, Please find logs made with last snapshot bellow. just-start-linphone1.log start-and-call-linphone1.log

julonexus commented 3 years ago

Thanks but I saw nothing strange (all but that loading views are slow..). Did you update your graphic card drivers?

Dalarwin commented 3 years ago

Everything is up to date. I don't know why it's slow.

sme-gmbh commented 3 years ago

Same here, looks normal at startup and getting very slow after some time of use. Everything is up to date. The error only happens on our laptops with nvidia optimus graphics. All other systems run without any problems. linphone1.log

Dalarwin commented 3 years ago

laptops with optimus here too.

lazna commented 2 years ago

Same issue with 4.4.1 version. Some previous versions start about 2 or 3 secs. No CPU load, seems it wait for something in the middle of start. It take about 100MB of RAM prior, than wait for something (with very low CPU load) about 25 secs and continue starting (RAM consumption goes to cca 180MB and than program windows appear. Windows 10.0.19044

Brettdah commented 1 year ago

Same problem whith 4.4.4 Computers information : So the first to have the problem is on

Both on ubuntu 20.04

But this impact less than 5 of our 80+ users... (The others are not on site)