Maassoft / ColorControl

Easily change NVIDIA display settings and/or control LG TV's
GNU General Public License v3.0
886 stars 40 forks source link

LG C1 48 does not power on, but it powers off fine (after update) #158

Open abovethecloud opened 1 year ago

abovethecloud commented 1 year ago

The power on/power off features were working fine before a recent update (not sure which since I didn't use this PC for a month or so). I am now on the latest (8.2) version. Now the power off feature keeps working as intended, while the power on feature never works. Even in the Options > Test power on/off, the TV powers off but does not power on unless I do it manually using the remote.

I tried:

I have also tried LGTV Companion and that seems to work fine (even though not 100% of the times) for both power on and power off, so the issue seems related to ColorControl and not the PC or TV.

Let me know if I can help with the troubleshooting with some logs or whatever!

Maassoft commented 1 year ago

What has changed from v8.0 is that WOL packets are now sent via the service (if activated) and it could be that in the context of the Windows service a specific network interface is not available. Can you send me the log of the "Service" after you've used the Test power off/on functionality? Another thing you can try is running the app as administrator and see if works then (the service is not used then).

abovethecloud commented 1 year ago

This is the requested log: I can confirm that the TV does NOT turn on: 2023-01-08 12:46:49.5664|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE... 2023-01-08 12:47:05.7672|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE... 2023-01-08 12:47:10.2902|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE... 2023-01-08 12:47:17.9941|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 20-28-bc-21-12-06 2023-01-08 12:47:18.0161|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming GbE Family Controller), type: Ethernet 2023-01-08 12:47:18.0161|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: Ethernet (Realtek Gaming GbE Family Controller), local address: 172.18.42.29, destination IP-address: 172.21.27.48 2023-01-08 12:47:18.0161|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wireless-AC 9260 160MHz), type: Wireless80211 2023-01-08 12:47:18.0161|DEBUG|ColorControl.Common.WOL|Found network: Bluetooth Network Connection (Bluetooth Device (Personal Area Network)), type: Ethernet 2023-01-08 12:47:18.0161|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE...

abovethecloud commented 1 year ago

I also tried using the app as admin, but it still won't work. I deem very unlikely that the cause is related to the network since another app (LGTV Companion) on the same PC works flawlessly

Maassoft commented 1 year ago

Thanks for the log. I see nothing out of ordinary, except maybe the MAC address that has lower case characters in it. Can you change the MAC address to upper case like this: 20-28-BC-21-12-06 You'll have to manually re-add the device to change this, or you can close the application and edit the 'LgConfig.cfg' located in C:\Users\username\AppData\Roaming\Maassoft\ColorControl

abovethecloud commented 1 year ago

I tried correcting the MAC address as suggested (and verified in the log that it is now uppercase), but the behavior is exactly the same, both in "admin" and in "service" mode. Any other ideas? Alternatively, could you provide the steps for a thorough and complete uninstall of ColorControl (deleting every single one of the settings/config files as well) so that I can try reinstalling as if it was never installed in the first place?

Maassoft commented 1 year ago

I currently have no other ideas. Maybe uninstalling completely and trying older versions will lead to something. In #161 I've posted steps to fully uninstall the program.

abovethecloud commented 1 year ago

Uninstalling completely and then reinstalling (I used scoop this time) solved the issue! May I suggest adding in the documentation (README) the steps for completely uninstalling, and recommending it as a last troubleshooting resort? You could also add some info on which files contain which settings in case one wants to try and preserve something specific (e.g. the saved TVs, or the modes, or the nvidia settings, ecc.). Sorry if this suggestion is off-topic, but I hope it helps!

Edit: grammar