Maassoft / ColorControl

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

Nvidia tab not showing #229

Open Kas152 opened 1 year ago

Kas152 commented 1 year ago

Hi guys,

I just read the release notes from the latest update (9.5.0.0) and wanted to try out the new novideo function for the nvidia controller. You have to do this under the nvidia tab, but this is not showing in my case. I have a nvidia Geforce gtx 1650, so I assume this should work? I can however acces the dithering options and they work nicely. Also, I have the option turned on that should show the nvidia tab. Furthermore, there is an option for nvidia settings when right clicking on the tray icon of color control, but if I select any option there I get this message: Exception in thread: Object reference not set to an instance of an object. Could you guys shed some light on this?

Windows 11 with latest updates Drivers also the latest LG C2 with latest updates

Many thanks in advance.

Maassoft commented 1 year ago

Can you check the Log tab? Maybe there's an exception while executing (a specific portion of) the Nvidia controller/API, which results in hiding the Nvidia tab. A certain hardware/software (driver) combination might be causing this.

Kas152 commented 1 year ago

Thanks for the quick reply!! I found a few error messages in the log but none that point to an exception it seems, but you are better at it than I am. So, I will copy the last parts of the application and service log here:

Service log:

2023-05-24 10:41:47.2325|ERROR|ColorControl.Common.WOL|WakeFunctionToAllNics: while sending to specific network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter): A socket operation was attempted to an unreachable network.

at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)

at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)

at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)

at ColorControl.Common.WOL.SendWolToIpAddress(IPAddress localAddress, IPAddress remoteAddress, Byte[] data, PhysicalAddress physicalAddress) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 167

at ColorControl.Common.WOL.WakeFunctionToAllNics(String macAddress, String ipAddressString) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 84

2023-05-24 10:41:48.2491|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:48.2900|DEBUG|ColorControl.Common.WOL|Cannot find best route: ERROR_NETWORK_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help.

2023-05-24 10:41:48.2900|ERROR|ColorControl.Common.WOL|WakeFunctionToAllNics: while sending to specific network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter): A socket operation was attempted to an unreachable network.

at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)

at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)

at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)

at ColorControl.Common.WOL.SendWolToIpAddress(IPAddress localAddress, IPAddress remoteAddress, Byte[] data, PhysicalAddress physicalAddress) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 167

at ColorControl.Common.WOL.WakeFunctionToAllNics(String macAddress, String ipAddressString) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 84

2023-05-24 10:41:49.3054|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:49.3437|DEBUG|ColorControl.Common.WOL|Cannot find best route: ERROR_NETWORK_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help.

2023-05-24 10:41:49.3437|ERROR|ColorControl.Common.WOL|WakeFunctionToAllNics: while sending to specific network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter): A socket operation was attempted to an unreachable network.

at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)

at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)

at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)

at ColorControl.Common.WOL.SendWolToIpAddress(IPAddress localAddress, IPAddress remoteAddress, Byte[] data, PhysicalAddress physicalAddress) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 167

at ColorControl.Common.WOL.WakeFunctionToAllNics(String macAddress, String ipAddressString) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 84

2023-05-24 10:41:50.3477|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:50.3858|DEBUG|ColorControl.Common.WOL|Cannot find best route: ERROR_NETWORK_UNREACHABLE: The network location cannot be reached. For information about network troubleshooting, see Windows Help.

2023-05-24 10:41:50.3858|ERROR|ColorControl.Common.WOL|WakeFunctionToAllNics: while sending to specific network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter): A socket operation was attempted to an unreachable network.

at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)

at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)

at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)

at ColorControl.Common.WOL.SendWolToIpAddress(IPAddress localAddress, IPAddress remoteAddress, Byte[] data, PhysicalAddress physicalAddress) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 167

at ColorControl.Common.WOL.WakeFunctionToAllNics(String macAddress, String ipAddressString) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Common\WOL.cs:line 84

2023-05-24 10:41:56.3821|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: Ethernet (Realtek Gaming 2.5GbE Family Controller), local address: 192.168.2.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:56.4466|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:57.4516|DEBUG|ColorControl.Svc.ColorControlBackgroundService|Device LG TV is pingable, stopping WOL

2023-05-24 10:41:57.4516|DEBUG|ColorControl.Svc.ColorControlBackgroundService|EXECUTING BACKGROUND

2023-05-24 10:41:57.4516|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE...

2023-05-24 10:41:58.0219|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: Ethernet (Realtek Gaming 2.5GbE Family Controller), local address: 192.168.2.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:58.0635|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:58.0737|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE...

2023-05-24 10:41:58.1600|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: Ethernet (Realtek Gaming 2.5GbE Family Controller), local address: 192.168.2.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.31.128.1, destination IP-address: 192.168.2.2

2023-05-24 10:41:58.2025|DEBUG|ColorControl.Svc.ColorControlBackgroundService|WAITING FOR MESSAGE...

Application log:

2023-05-17 13:42:46.4731|DEBUG|ColorControl.Services.LG.LgDevice|WOL succeeded

2023-05-17 13:42:46.4731|DEBUG|LgTv.LgTvApi|Trying to connect with websocket uri: wss://192.168.2.2:3001

2023-05-17 13:42:47.7387|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"state":"Suspend","processing":"Screen On","subscribed":true,"returnValue":true}

2023-05-17 13:42:47.7387|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: App, PoweredOffViaApp: True

2023-05-17 13:42:48.2730|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] PictureSettingsChanged: {"brightness":"50","contrast":"100","color":"60","backlight":80}

2023-05-17 13:42:48.2763|DEBUG|ColorControl.Services.LG.LgDevice|Connect succeeded: True

2023-05-17 13:42:48.2763|DEBUG|ColorControl.Services.LG.LgDevice|Connect succeeded: True

2023-05-17 13:42:48.2763|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] ForegroundAppChanged: {"subscribed":true,"returnValue":true,"appId":"com.webos.app.hdmi1","processId":"","windowId":""}

2023-05-17 13:42:49.3446|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] PictureSettingsChanged: {"contrast":"85","brightness":30,"color":"50","backlight":"60"}

2023-05-17 13:42:49.8215|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:42:49.8215|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:42:50.8151|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] PictureSettingsChanged: {"contrast":"100","brightness":50,"color":45,"backlight":100}

2023-05-17 13:44:44.4569|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_ACCEPTS_NOTIFICATIONS to QUNS_NOT_PRESENT

2023-05-17 13:44:59.5296|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Screen Saver"}

2023-05-17 13:44:59.5296|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:44:59.5896|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Screen On"}

2023-05-17 13:44:59.5896|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:44:59.5896|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:44:59.5896|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:47:09.5290|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Screen Saver"}

2023-05-17 13:47:09.5290|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:47:09.5923|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Screen On"}

2023-05-17 13:47:09.5923|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:47:09.5923|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:47:09.5923|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:49:19.5282|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Screen Saver"}

2023-05-17 13:49:19.5282|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:49:19.5671|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Screen On"}

2023-05-17 13:49:19.5671|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:49:19.5671|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:49:19.5671|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:51:29.5340|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Screen Saver"}

2023-05-17 13:51:29.5340|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:51:29.5818|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Screen On"}

2023-05-17 13:51:29.5818|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:51:29.5818|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:51:29.5818|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:52:37.6398|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_NOT_PRESENT to QUNS_ACCEPTS_NOTIFICATIONS

2023-05-17 13:53:39.5413|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Screen Saver"}

2023-05-17 13:53:39.5413|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:53:39.5805|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Screen On"}

2023-05-17 13:53:39.5805|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:53:39.5910|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active"}

2023-05-17 13:53:39.5910|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Unknown, PoweredOffViaApp: False

2023-05-17 13:54:38.3429|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_ACCEPTS_NOTIFICATIONS to QUNS_NOT_PRESENT

2023-05-17 13:55:39.7673|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Power Off","onOff":"off","reason":"remoteKey"}

2023-05-17 13:55:39.7673|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:55:39.8198|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Request Active Standby","onOff":"off","reason":"remoteKey"}

2023-05-17 13:55:39.8198|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:55:39.8814|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active","processing":"Prepare Active Standby","onOff":"off","reason":"remoteKey"}

2023-05-17 13:55:39.8814|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:55:40.0600|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] ForegroundAppChanged: {"subscribed":true,"returnValue":true,"appId":"","processId":"","windowId":""}

2023-05-17 13:55:40.0947|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active Standby"}

2023-05-17 13:55:40.0947|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:55:40.1076|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] PictureSettingsChanged: {"contrast":"85","brightness":30,"color":"50","backlight":"60"}

2023-05-17 13:55:49.8928|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active Standby","processing":"Request Suspend","onOff":"off","reason":"oslbSaving"}

2023-05-17 13:55:49.8928|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:55:49.9236|DEBUG|ColorControl.Services.LG.LgDevice|[LG TV] Power state change: {"returnValue":true,"state":"Active Standby","processing":"Prepare Suspend","onOff":"off","reason":"oslbSaving"}

2023-05-17 13:55:49.9236|DEBUG|ColorControl.Services.LG.LgDevice|PoweredOffBy: Manually, PoweredOffViaApp: False

2023-05-17 13:56:19.9771|ERROR|LgTv.LgTvApiCore|Connection_MessageReceived: status: ConnectionAborted, exception: 0x80072EFE

at WinRT.ExceptionHelpers.g__Throw|20_0(Int32 hr)

at ABI.Windows.Networking.Sockets.IMessageWebSocketMessageReceivedEventArgsMethods.GetDataReader(IObjectReference _obj)

at System.Threading.Tasks.Task`1.InnerInvoke()

at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)

--- End of stack trace from previous location ---

at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

--- End of stack trace from previous location ---

at LgTv.LgTvApiCore.Connection_MessageReceived(MessageWebSocket sender, MessageWebSocketMessageReceivedEventArgs args) in C:\Users\vinni\source\repos\ColorControl\ColorControl\LgTv\LgTvConnection.cs:line 260

2023-05-17 13:56:20.6399|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_NOT_PRESENT to QUNS_ACCEPTS_NOTIFICATIONS

2023-05-17 13:58:21.6128|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_ACCEPTS_NOTIFICATIONS to QUNS_NOT_PRESENT

2023-05-17 13:58:47.9994|DEBUG|ColorControl.Forms.FormUtils|Detected NotificationState change from QUNS_NOT_PRESENT to QUNS_ACCEPTS_NOTIFICATIONS

2023-05-17 13:59:19.8819|DEBUG|ColorControl.MainForm|PBT_POWERSETTINGCHANGE: Off

2023-05-17 13:59:19.8819|DEBUG|ColorControl.Services.LG.LgService|PowerModeChanged: MonitorOff

2023-05-17 13:59:19.8819|DEBUG|ColorControl.Services.LG.LgService|SetThreadExecutionState: 2147483648, Thread#: 1

2023-05-17 13:59:19.8819|DEBUG|ColorControl.Services.LG.LgService|Powering off tv(s)...

2023-05-17 13:59:19.8819|DEBUG|LgTv.LgTvApi|Trying to connect with websocket uri: wss://192.168.2.2:3001

2023-05-17 13:59:19.8873|DEBUG|ColorControl.Services.LG.LgService|Done powering off tv(s)

2023-05-17 13:59:19.8873|DEBUG|ColorControl.Services.LG.LgService|SetThreadExecutionState (reset): 2147483713, Thread#: 1

2023-05-17 13:59:19.9834|DEBUG|ColorControl.Services.LG.LgService|PowerModeChanged: StandBy

2023-05-17 13:59:19.9834|DEBUG|ColorControl.Services.LG.LgService|SetThreadExecutionState: 2147483648, Thread#: 7

2023-05-17 13:59:19.9834|DEBUG|ColorControl.Services.LG.LgService|Powering off tv(s)...

2023-05-17 13:59:19.9834|DEBUG|ColorControl.Services.LG.LgService|Done powering off tv(s)

2023-05-17 13:59:19.9834|DEBUG|ColorControl.Services.LG.LgService|SetThreadExecutionState (reset): 2147483713, Thread#: 7

2023-05-17 14:00:05.7389|DEBUG|ColorControl.Services.LG.LgService|PowerModeChanged: Resume

2023-05-17 14:00:05.7389|DEBUG|ColorControl.Services.LG.LgDevice|WakeAndConnectWithRetries: attempt 1 of 20...

2023-05-17 14:00:05.7389|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-17 14:00:05.7825|DEBUG|ColorControl.MainForm|PBT_POWERSETTINGCHANGE: On

2023-05-17 14:00:05.7825|DEBUG|ColorControl.Services.LG.LgService|PowerModeChanged: MonitorOn

2023-05-17 14:00:05.7825|DEBUG|ColorControl.Services.LG.LgDevice|WakeAndConnectWithRetries: attempt 1 of 20...

2023-05-17 14:00:05.7825|DEBUG|ColorControl.Common.WOL|Sending WOL packet to MAC-address 7C-64-6C-09-B8-33

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: SurfsharkWireGuard (WireGuard Tunnel #2), type: 53

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: SurfsharkWireGuard (WireGuard Tunnel #2), local address: 10.14.0.2, destination IP-address: 192.168.2.2

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Ethernet (Realtek Gaming 2.5GbE Family Controller), type: Ethernet

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: Ethernet (Realtek Gaming 2.5GbE Family Controller), local address: 192.168.2.1, destination IP-address: 192.168.2.2

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection (TAP-Windows Adapter V9), type: 53

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection 2 (TAP-Surfshark Windows Adapter V9), type: 53

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Wi-Fi (Intel(R) Wi-Fi 6 AX201 160MHz), type: Wireless80211

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 1 (Microsoft Wi-Fi Direct Virtual Adapter), type: Wireless80211

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Local Area Connection* 2 (Microsoft Wi-Fi Direct Virtual Adapter #2), type: Wireless80211

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: Bluetooth Network Connection (Bluetooth Device (Personal Area Network)), type: Ethernet

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Found network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), type: Ethernet

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Common.WOL|Broadcast WOL in network: vEthernet (Default Switch) (Hyper-V Virtual Ethernet Adapter), local address: 172.18.160.1, destination IP-address: 192.168.2.2

2023-05-17 14:00:06.4704|DEBUG|ColorControl.Services.LG.LgDevice|WOL succeeded

I hope this clarifies things. Iā€™m using a vpn also, but I made an exception for it inside that software so that it will not be hindered by that.

Does this help?

Van: Maassoft @.> Verzonden: dinsdag 23 mei 2023 22:25 Aan: Maassoft/ColorControl @.> CC: Kas152 @.>; Author @.> Onderwerp: Re: [Maassoft/ColorControl] Nvidia tab not showing (Issue #229)

Can you check the Log tab? Maybe there's an exception while executing (a specific portion of) the Nvidia controller/API, which results in hiding the Nvidia tab. A certain hardware/software (driver) combination might be causing this.

ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Maassoft commented 1 year ago

I don't see the initialization of NVIDIA anywhere in your log. Can you clear the log, restart ColorControl and then check the "Main application" log? It should show lines likes this:

2023-05-26 21:49:15.3504|DEBUG|ColorControl.MainForm|Initializing NVIDIA...
2023-05-26 21:49:17.5303|DEBUG|ColorControl.MainForm|Initializing NVIDIA...Done.

Except in your case the second line could contain an error.

Kas152 commented 1 year ago

Hi, it shows this:

2023-05-27 10:16:33.4781|DEBUG|ColorControl.MainForm|Initializing NVIDIA...

2023-05-27 10:16:33.9376|DEBUG|ColorControl.MainForm|Initializing NVIDIA...Done.

2023-05-27 10:16:35.1890|DEBUG|ColorControl.MainForm|No NVIDIA device detected: Object reference not set to an instance of an object.

at ColorControl.Services.NVIDIA.NvGpuInfo.GetPowerUsageInMilliWatts() in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvGpuInfo.cs:line 248

at ColorControl.Services.NVIDIA.NvGpuInfo.ToString() in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvGpuInfo.cs:line 370

at ColorControl.Services.NVIDIA.NvPanel.RefreshNvGpuInfo() in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 1416

at ColorControl.Services.NVIDIA.NvPanel.cbxNvGPU_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 1401

at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)

at ColorControl.Services.NVIDIA.NvPanel.UpdateNvGpuInfo(List`1 gpus) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 183

at ColorControl.Services.NVIDIA.NvPanel.UpdateDisplayInfoItems() in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 170

at ColorControl.Services.NVIDIA.NvPanel.FillNvPresets() in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 107

at ColorControl.Services.NVIDIA.NvPanel..ctor(NvService nvService, NotifyIcon trayIcon, IntPtr handle, AppContextProvider appContextProvider) in C:\Users\vinni\source\repos\ColorControl\ColorControl\Services\NVIDIA\NvPanel.cs:line 47

So that means it cannot find it and I have to tell it somehow that it is in fact there?

Van: Maassoft @.> Verzonden: vrijdag 26 mei 2023 22:23 Aan: Maassoft/ColorControl @.> CC: Kas152 @.>; Author @.> Onderwerp: Re: [Maassoft/ColorControl] Nvidia tab not showing (Issue #229)

I don't see the initialization of NVIDIA anywhere in your log. Can you clear the log, restart ColorControl and then check the "Main application" log? It should show lines likes this:

2023-05-26 21:49:15.3504|DEBUG|ColorControl.MainForm|Initializing NVIDIA...

2023-05-26 21:49:17.5303|DEBUG|ColorControl.MainForm|Initializing NVIDIA...Done.

Except in your case the second line could contain an error.

ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Maassoft commented 1 year ago

Thanks for the log. I think there's an error in ColorControl when reading the GPU power usage on your particular system. I will try to fix it in the next release.

Kas152 commented 1 year ago

Much appreciated!! šŸ‘šŸ»

-------- Oorspronkelijk bericht -------- Op 29 mei 2023 16:04, schreef Maassoft :

Thanks for the log. I think there's an error in ColorControl when reading the GPU power usage on your particular system. I will try to fix it in the next release.

ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Battler624 commented 1 year ago

I am having the exact same issue but I assume its because I used NVCleanstall recommended settings (along with MSI adjustments)

https://www.techpowerup.com/download/techpowerup-nvcleanstall/

Log file is bigger than 25MB thus its not uploadable to github, i'll upload elsewhere if needed.

Kas152 commented 1 year ago

Interesting piece of software you have there. I have not used it with my nvidia installation so I presume that this will not be the cause of the issue?

Van: Battler624 @.> Verzonden: zaterdag 10 juni 2023 15:46 Aan: Maassoft/ColorControl @.> CC: Kas152 @.>; Author @.> Onderwerp: Re: [Maassoft/ColorControl] Nvidia tab not showing (Issue #229)

I am having the exact same issue but I assume its because I used NVCleanstall recommended settings (along with MSI adjustments)

https://www.techpowerup.com/download/techpowerup-nvcleanstall/

ā€” Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HeyJoplin commented 1 month ago

Hi, I'm having a similar issue:

|ERROR|ColorControl.Services.NVIDIA.NvGpuInfo|System.NullReferenceException: Object reference not set to an instance of an object.
   at ColorControl.Services.NVIDIA.NvGpuInfo.<GetPowerUsageInMilliWatts>b__62_0() in .\Services\NVIDIA\NvGpuInfo.cs:line 173
   at NLog.Logger.Swallow[T](Func`1 func, T fallback)