VoicemeeterFancyOSD icon indicating copy to clipboard operation
VoicemeeterFancyOSD copied to clipboard

Empty text on OSD

Open VinceBT opened this issue 2 years ago • 16 comments

I'm using v0.13.0.0 and I get an empty text when the OSD appears and it stays stuck in color red

chrome_VW5zLvmwqG

VinceBT avatar May 24 '22 13:05 VinceBT

Try to reinstall program. Delete old files (except config folder) and download from Releases page. If it will not help something might be wrong with your Voicemeeter installation or vmrapi. Of maybe your .NET Runtime is corrupted.

A-tG avatar May 24 '22 14:05 A-tG

It seems to happen at the first initialization after my computer boots up. If I kill the program and relaunch it, I don't have the bug until the next reboot.

I've reinstalled, I'll tell you. I cannot say it worked because of course now I had to kill it and launch the new files so of course the bug has gone.

VinceBT avatar May 24 '22 16:05 VinceBT

Might be fixed in new version. Try to change new option InitializationDelay to 5000 or 10000.

My only guess this bug was happening because of "early" connection to VoicemeeterAPI on System startup. With this option it will wait before loading and connecting to API.

A-tG avatar May 24 '22 18:05 A-tG

First of all, amazing application. I also got this problem quite a few times now and I tried it with a delay of 10000. Weird thing is it only happens sometimes and not always. Restarting Voicemeeter or FancyOSD doesn't fix the problem for me. Its only on the VAIO3 Input for me. I use a PcPanel for adjusting the volume if that might do anything. The PcPanel sets the volumes to the current slider level on startup.

Ilosariph avatar May 25 '22 16:05 Ilosariph

Try to enable Logger with new v0.13.2.0 release.

This is how usual log file looks like when everything function properly.

25-05-2022 21:10:07.977 Reading config: OK
25-05-2022 21:10:07.980 Writing config...
25-05-2022 21:10:07.987 Writing config: OK
25-05-2022 21:10:07.989 Initializing VmrApi Client
25-05-2022 21:10:08.243 VmrApi Login result: 0
25-05-2022 21:10:08.279 VmrApi WaitForNewParams returned: 1
25-05-2022 21:10:08.547 VmrApi Client initialized
25-05-2022 21:10:08.547 Program initialized

But I suspect something wrong with Voicemeeter itself. I use Potato 3.0.2.1 32bit version and never had problems like that

A-tG avatar May 25 '22 19:05 A-tG

I "finally" got the bug again. Here is the log: 01-06-2022 19:31:22.198 Reading config: OK 01-06-2022 19:31:22.199 Writing config... 01-06-2022 19:31:22.207 Writing config: OK 01-06-2022 19:31:27.322 Initializing VmrApi Client 01-06-2022 19:31:27.612 VmrApi Login result: 0 01-06-2022 19:31:27.651 VmrApi WaitForNewParams returned: 1 01-06-2022 19:31:27.966 VmrApi Client initialized 01-06-2022 19:31:27.967 Program initialized

Ilosariph avatar Jun 01 '22 19:06 Ilosariph

Nothing unusual in these logs. I've added more logging in 0.13.3.0 version maybe it will catch some internal .NET error

A-tG avatar Jun 02 '22 04:06 A-tG

01-06-2022 13:06:21.136 Reading config: OK
01-06-2022 13:06:21.137 Writing config...
01-06-2022 13:06:21.142 Writing config: OK
01-06-2022 13:06:31.157 Initializing VmrApi Client
01-06-2022 13:06:32.004 VmrApi Login result: 0
01-06-2022 13:06:32.050 VmrApi WaitForNewParams returned: 1
01-06-2022 13:06:32.207 VmrApi Client initialized
01-06-2022 13:06:32.207 Program initialized

Still same issue imageimage

VinceBT avatar Jun 03 '22 08:06 VinceBT

Do Faders (sliders) function properly apart from that the gain is not displayed? Looks like this is some .NET or WPF bug, I have no idea how to fix that. Maybe try to install Windows update related to net framework, make sure that you are using 6.0.5 .NET Desktop Runtime (latest stable at the moment).

A-tG avatar Jun 03 '22 14:06 A-tG

For me they do. It's only the vaio3 slider and it goes up and down normally. The color change and the value are not working.

Ilosariph avatar Jun 03 '22 14:06 Ilosariph

I saw you made an update and I want to thank you for the quick response, I'll keep you updated if I encounter the bug again

VinceBT avatar Jun 04 '22 16:06 VinceBT

Do Faders (sliders) function properly apart from that the gain is not displayed? Looks like this is some .NET or WPF bug, I have no idea how to fix that. Maybe try to install Windows update related to net framework, make sure that you are using 6.0.5 .NET Desktop Runtime (latest stable at the moment).

PS C:\Users\Glaived\Desktop> dotnet --list-runtimes
Microsoft.NETCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

@A-tG I don't have a log to provide you, but I can inform you that I sometimes have this problem even though I'm up to date on version 6.0.5

Glaived avatar Jun 04 '22 17:06 Glaived

The only explanation that I came up with: text in the thumb of the slider (that circle with the number) is Binded to Value of slider, but thumb's UI Template located not in same template as slider's and I have to use little dirty hack to "find" and bind it to slider. Looks like sometimes it may fail, and Binding errors usually do not trow any exceptions, so no logs. I've tried to make Binding more direct in v0.13.3.1 so I hope it's fixed

A-tG avatar Jun 04 '22 18:06 A-tG

I got the bug again with the same logs as I once sent above (same as Vince's).

Ilosariph avatar Jun 05 '22 09:06 Ilosariph

I found out (probably) how the bug happens: If the sliders of my PcPanel aren't centered when starting my pc, they set the slider levels before fancyosd is started. It only happens to those buses.

Ilosariph avatar Jun 20 '22 16:06 Ilosariph

Just wanted to add that I'm experiencing the issue on the current version as well. I'm using this to adjust my Voicemeeter sliders, and I'm getting no text and the slider stays red in the OSD. It's similar to the PCPanel that the other user mentioned. My logs seem fine as well?

27-08-2022 10:46:41.946 Writing config...
27-08-2022 10:46:41.953 Writing config: OK
27-08-2022 10:46:51.958 Initializing VmrApi Client
27-08-2022 10:46:52.193 VmrApi Login result: 0
27-08-2022 10:46:52.253 VmrApi WaitForNewParams returned: 1
27-08-2022 10:46:52.556 VmrApi Client initialized
27-08-2022 10:46:52.557 Program initialized
27-08-2022 10:47:59.761 Writing config...
27-08-2022 10:48:00.062 Writing config: OK

edfrenk avatar Aug 27 '22 15:08 edfrenk