timmo001 / system-bridge

A bridge for your systems
https://system-bridge.timmo.dev
Apache License 2.0
253 stars 13 forks source link

Empty window for View Data and Open Settings #1948

Closed mvdwetering closed 1 year ago

mvdwetering commented 1 year ago

Description

When trying the "Open Settings" or "View Data" options from the tray menu an empty window pops up. This reproduces also after restarting System Bridge.

The application seems to be running fine otherwise as I can connect it to the HA integration, just the UI not working.

image

What Platform / OS are you running?

Windows

What version are you running?

Windows 10.0.19044, System bridge 3.4.4

Anything in the logs or a references that might be useful?

This is part of the console output. The log paths obtained from the CLI do not exist on my machine.

qt.webenginecontext:

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.3
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name python3
  *  browser-subprocess-path C:\Users\Michel\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PySide6\.\QtWebEngineProcess.exe
  *  create-default-gl-context
  *  disable-es3-gl-context
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  in-process-gpu
  *  use-gl desktop

QOpenGLShader::compile(Fragment): ERROR: 4:1: 'textureSampler' : syntax error syntax error

*** Problematic Fragment shader source code ***
#version 110
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#define lowp
#define mediump
#define highp
#line 1
varying highp vec2 uv;uniform sampler2DRect textureSampler;uniform bool swizzle;uniform highp float opacity;void main() {   highp vec4 tmpFragColor = texture2DRect(textureSampler,uv);   tmpFragColor.a *= opacity;   gl_FragColor = swizzle ? tmpFragColor.bgra : tmpFragColor;}
***

Additional information

I am using the Windows Remote Desktop feature to access this machine and it has no display attached, maybe that is causing issues.

timmo001 commented 1 year ago

The GUI uses Qt for Python, I'm not sure if the remote desktop session could be causing this. I've used a remote session myself, however through VNC to a Windows VM on a Debian machine and had no issues.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!