karashiiro / PingPlugin

A ping display plugin for Dalamud.
MIT License
18 stars 19 forks source link

PingPlugin under WINE reports 0ms latency, causes high winedevice.exe load #27

Closed belthesar closed 2 years ago

belthesar commented 2 years ago

OS: Pop!_OS 21.04 + WINE 6.21 GloriousEggroll

Howdy folks. I'm one of those crackpot Linux users out there. I've had pretty good success with PingPlugin prior to Endwalker, but since this patch, things have been real silly all over the place, and I've been tracing issues. Most recent one seems to surround PingPlugin.

Since Endwalker, PingPlugin has been returning 0ms, which my assumption was that SE had disabled ICMP Echo to save any resources they could, and didn't think much of it. However, I've also had a lot of hitching and other issues recently related to sound, so I've been tracing quite a bit of weird performance issues, and it's been a bit of a mess to trace. After checking the active issues however, and seeing the other open issues, I'm lead to believe there's actually a defect there, and likely some sort of WINE nuance that will need to be accounted for to get things working okay again.

I'm going to see if there's some additional debug info I can pull out for you to help with this, as I know as this issue stands there's not much to go off of, and the likelihood that you have a test environment to work with is low here. Regardless, LMK if there's anything targeted I can to to pull more data out for you. Thanks!

karashiiro commented 2 years ago

This is related to the same underlying problem as #24 and #25, there's a hook I haven't updated yet that handles all of the environments where normal pings don't work. I'll be fixing this today.

belthesar commented 2 years ago

Thanks! I have testing builds enabled, so I can confirm this fix addresses the issue once the test build is live.

karashiiro commented 2 years ago

Should be fixed with v1.14.2, let me know if it works.

Rohtea commented 2 years ago

Another Linux user here, unfortunately it still shows 0ms on v1.14.2

karashiiro commented 2 years ago

v1.14.3 released, how about this? It worked for me when I tested it by disabling the normal ping trackers.

mixxorz commented 2 years ago

Hello. Unfortunately this is not working for me. I'm on 1.15.5.0.

I see "Connected to: 127.0.0.1", "Ping 0ms"

I'm using CrossOver on macOS.