Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.7.0-rc2 Testing: Call for help from the community #669

Closed
macumber opened this issue Jan 22, 2024 · 7 comments
Closed

v1.7.0-rc2 Testing: Call for help from the community #669

macumber opened this issue Jan 22, 2024 · 7 comments
Labels
Enhancement Request New feature or request

Comments

@macumber
Copy link
Collaborator

macumber commented Jan 22, 2024

Testing Instructions

The second release candidate of the 1.7.0 release has been posted. The 1.7.0 is a major release. It updates the OpenStudio SDK from 3.6.1 to 3.7.0.

Are you willing to test it out to help us make a great product? This will only take a few minutes of your time, yet it is absolutely critical for us to be aware of bugs.

Ready? You're awesome, thank you!

Go and download the executable from the v1.7.0-rc2 release. Please take a look at the release notes as they showcase the new features and bug fixes, so you know what to look for

Then try it out. You'll find a checklist below of things to try out, but please do feel free to go off-script, and if you can even try it out with your real world models that's even better.

When you're done, please report back by posting on this issue, with the following template filled out.

## Checklist

### Platform and version: <!--  eg: Ubuntu 20.04, macOS 10.15 x64, macOS 11.4 x64, macOS 12.3 arm64 (M1), Windows 10 20H2-->

* [ ] I could install the OpenStudioApp installer
* [ ] I could launch the OpenStudioApp.exe
* [ ] I can load File > Example > Example Model
* [ ] I can go to Geometry Preview and see the example model
* [ ] I can go to all tabs and see stuff loading
* [ ] I can create HVAC loops and assign a thermal zone
* [ ] I can search for Measures on the BCL
* [ ] I can put a measure in my workflow
* [ ] I can run a simulation
* [ ] I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)
* [ ] I have tried enabling (and disabling) the Classic CLI
* [ ] I have tried creating and running a Python measure in the new CLI

## Problems found:

<!-- please describe -->

Release notes

These are important items that we will post in release notes:

Known issues

These are known issues we will fix:

These are the known issues that we will post in release notes:

Thank you!

@macumber macumber added Enhancement Request New feature or request Triage Issue needs to be assessed and labeled, further information on reported might be needed and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Jan 22, 2024
@macumber macumber changed the title v1.7.0-rc1 Testing: Call for help from the community v1.7.0-rc2 Testing: Call for help from the community Jan 22, 2024
@jmarrec
Copy link
Collaborator

jmarrec commented Jan 22, 2024

Platform and version: Ubuntu 22.04 clean VM (.deb)

  • I could install the OpenStudioApp installer

  • 🔴 I could launch the OpenStudioApp.exe: no, libopenstudiolib not found

  • I can load File > Example > Example Model

  • 🔴 I can go to Geometry Preview and see the example model: No, same as going to simulation results, that [0122/112647.404020:FATAL:v8_initializer.cc(516)] Error loading V8 startup snapshot file

  • I can go to all tabs and see stuff loading: except geometry and results

  • I can create HVAC loops and assign a thermal zone

  • I can search for Measures on the BCL

  • I can put a measure in my workflow

  • I can run a simulation

  • 🔴 I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)

  • I have tried enabling (and disabling) the Classic CLI

  • I have tried creating and running a Python measure in the new CLI

@jmarrec
Copy link
Collaborator

jmarrec commented Jan 22, 2024

Checklist

Platform and version: Windows 10 20H2 Clean VM

  • I could install the OpenStudioApp installer
  • I could launch the OpenStudioApp.exe
  • I can load File > Example > Example Model
  • I can go to Geometry Preview and see the example model
    • blank page, but this is a VM, so not sure
  • I can go to all tabs and see stuff loading
  • I can create HVAC loops and assign a thermal zone
  • I can search for Measures on the BCL
  • I can put a measure in my workflow
  • I can run a simulation
  • I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)
  • I have tried enabling (and disabling) the Classic CLI
  • I have tried creating and running a Python measure in the new CLI

Problems found:

The geometry preview was blank, but this is a VM and we regularly have OpenGL issues with those, so not sure.

Edit:

$env:OPENSTUDIO_APPLICATION_DEBUG=1
$env:QT_DEBUG_PLUGINS=1
& c:\openstudioapplication-1.7.0-rc2\bin\OpenStudioApp.exe 2>&1 | Out-Default

I'm seeing

image

We used to ship extra libs, cf #418

Seems they are removed... https://doc.qt.io/qt-6/opengl-changes-qt6.html#removal-of-angle

I can find some helper cmake modules though

$ cd /c/Qt/6.6.1/msvc2019_64

$ find . -name "*GLES*"
./lib/cmake/Qt6/.FindGLESv2.cmake.swp

$ find . -name "*EGL*"
./lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake

Pasting libEGL.dll and libGLESv2.dll in bin/ from the zip in #358 (comment) had no effect

Also, @macumber at 1.4.0 when we updated to Qt 6.3 you said this opengl32sw.dll (which we DO ship) was the only needed I think #358 (comment)

@macumber
Copy link
Collaborator Author

macumber commented Jan 28, 2024

Thanks @jmarrec, I looked at both OpenStudioApplication and QtWebEngineProcess running on my developer machine in ProcessExplorer. I didn't see either of the having loaded libEGL.dll and libGLESv2.dll. I do see C:\Windows\System32\opengl32.dll being loaded instead of bin\opengl32sw.dll.

I was able to reproduce this on my developer machine using the instructions at https://doc.qt.io/qt-5/windows-requirements.html#dynamically-loading-graphics-drivers:

set QT_OPENGL=software
set OPENSTUDIO_APPLICATION_DEBUG=1
set QT_DEBUG_PLUGINS=1
OpenStudioApp.exe > out.txt 2>&1

Updates for Qt6 at https://doc.qt.io/qt-6/opengl-changes-qt6.html#removal-of-angle

https://www.qt.io/blog/new-graphics-integration-in-qt-webengine-6.6-and-even-6.5.1

@macumber
Copy link
Collaborator Author

macumber commented Jan 29, 2024

I made #677 to help debug the WebGL issues. @jmarrec could you try installing a build from https://github.com/openstudiocoalition/OpenStudioApplication/actions/runs/7690542604 on your VM and see what it says? For me, setting QT_OPENGL=software results in:

× This browser supports WebGL 1, but it is disabled or unavailable.
Sometimes this is the result of older video drivers being rejected by the browser. Try updating your video drivers if possible.

I can try to find some chromium switches to play with but those aren't well documented. I tried adding --enable-webgl-software-rendering but that crashes the application.

Changing the url to chrome://gpu in https://github.com/openstudiocoalition/OpenStudioApplication/actions/runs/7690940557?pr=677 you can see the details below:

Chrome GPU Details > Graphics Feature Status > Canvas: Software only. Hardware acceleration disabled > Canvas out-of-process rasterization: Disabled > Direct Rendering Display Compositor: Disabled > Compositing: Software only. Hardware acceleration disabled > Multiple Raster Threads: Disabled > OpenGL: Disabled > Rasterization: Software only. Hardware acceleration disabled > Raw Draw: Disabled > Video Decode: Software only. Hardware acceleration disabled > Video Encode: Software only. Hardware acceleration disabled > Vulkan: Disabled > WebGL: Disabled > WebGL2: Disabled > WebGPU: Disabled > Driver Bug Workarounds > clear_uniforms_before_first_program_use > decode_encode_srgb_for_generatemipmap > disable_accelerated_vp8_decode > disable_accelerated_vp9_decode > disable_direct_composition > disable_dxgi_zero_copy_video > disable_vp_scaling > disable_vp_super_resolution > enable_webgl_timer_query_extensions > exit_on_context_lost > disabled_extension_GL_KHR_blend_equation_advanced > disabled_extension_GL_KHR_blend_equation_advanced_coherent > disabled_extension_GL_MESA_framebuffer_flip_y > Problems Detected > Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable. > Disabled Features: gpu_compositing > GPU process was unable to boot: GPU access is disabled through commandline switch --disable-gpu. > Disabled Features: all > GPU rasterization should only be enabled on NVIDIA and Intel and AMD RX-R2 GPUs with DX11+ or any GPU using ANGLE's GL backend.: [1047002](http://crbug.com/1047002) > Disabled Features: gpu_rasterization > Some drivers are unable to reset the D3D device in the GPU process sandbox > Applied Workarounds: exit_on_context_lost > Clear uniforms before first program use on all platforms: [124764](http://crbug.com/124764), [349137](http://crbug.com/349137) > Applied Workarounds: clear_uniforms_before_first_program_use > Direct composition flashes black initially on Win <10: [588588](http://crbug.com/588588) > Applied Workarounds: disable_direct_composition > Zero copy DXGI video hangs on shutdown on Win < 8.1: [621190](http://crbug.com/621190) > Applied Workarounds: disable_dxgi_zero_copy_video > Disable KHR_blend_equation_advanced until cc shaders are updated: [661715](http://crbug.com/661715) > Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent) > Decode and Encode before generateMipmap for srgb format textures on Windows: [634519](http://crbug.com/634519) > Applied Workarounds: decode_encode_srgb_for_generatemipmap > VPx decoding isn't supported well before Windows 10 creators update.: [616318](http://crbug.com/616318), [667532](http://crbug.com/667532) > Applied Workarounds: disable_accelerated_vp8_decode, disable_accelerated_vp9_decode > Expose WebGL's disjoint_timer_query extensions on platforms with site isolation: [808744](http://crbug.com/808744), [870491](http://crbug.com/870491) > Applied Workarounds: enable_webgl_timer_query_extensions > Don't use video processor scaling on non-Intel, non-NVIDIA GPUs.: [993233](http://crbug.com/993233) > Applied Workarounds: disable_vp_scaling > Disable GL_MESA_framebuffer_flip_y for desktop GL: [964010](http://crbug.com/964010) > Applied Workarounds: disable(GL_MESA_framebuffer_flip_y) > VP8 decoding crashes before Windows 10 Fall Creators Update.: [1094840](http://crbug.com/1094840) > Applied Workarounds: disable_accelerated_vp8_decode > Only enable video processor super resolution on Intel Gen10+ GPUs and NVIDIA GPUs with 530+ drivers: [1318380](http://crbug.com/1318380) > Applied Workarounds: disable_vp_super_resolution > Version Information > Data exported > 2024-01-29T03:26:25.512Z > Chrome version > OpenStudioApp/1.7.0.0 > Operating system > Windows NT 6.2.9200 > Software rendering list URL > https://chromium.googlesource.com/chromium/src/+/3bd7c498c6d8c90fafb56211b896e34bd4308ca0/gpu/config/software_rendering_list.json > Driver bug list URL > https://chromium.googlesource.com/chromium/src/+/3bd7c498c6d8c90fafb56211b896e34bd4308ca0/gpu/config/gpu_driver_bug_list.json > ANGLE commit id > unknown hash > 2D graphics backend > Skia/112 4dc670a8c5575180caa3d4d03f1e05da0177240d > Command Line > "C:\repos\osapp\release\Products\Release\OpenStudioApp.exe" --ignore-gpu-blacklist --blink-settings=forceDarkModeEnabled=false --blink-settings=darkModeEnabled=false --remote-allow-origins=* --browser-subprocess-path="C:\repos\osapp\release\Products\Release\QtWebEngineProcess.exe" --application-name=OpenStudioApp --enable-threaded-compositing --disable-speech-api --disable-blink-features=EyeDropperAPI --use-adapter-luid=0,87042 --enable-features=NetworkServiceInProcess2,TracingServiceInProcess --disable-features=ConsolidatedMovementXY,InstalledApp,EyeDropper,BackgroundFetch,WebOTP,WebPayments,WebUSB --use-gl=disabled --in-process-gpu --disable-gpu --gpu-preferences=UAAAAAAAAADoAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --disable-direct-composition > Driver Information > Initialization time > 0 > In-process GPU > true > Passthrough Command Decoder > true > Sandboxed > false > GPU0 > VENDOR= 0x0000, DEVICE=0x0000, LUID={0,0} > Optimus > false > AMD switchable > false > Desktop compositing > Aero Glass > Direct composition > false > Supports overlays > false > YUY2 overlay support > NONE > NV12 overlay support > NONE > BGRA8 overlay support > NONE > RGB10A2 overlay support > NONE > Driver D3D12 feature level > Not supported > Driver Vulkan API version > Not supported > GPU CUDA compute capability major version > 0 > Pixel shader version > Vertex shader version > Max. MSAA samples > Machine model name > Machine model version > GL implementation > disabled > ANGLE implementation > none > Display type > GL_VENDOR > Disabled > GL_RENDERER > Disabled > GL_VERSION > Disabled > GL_EXTENSIONS > Disabled Extensions > GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_MESA_framebuffer_flip_y > Disabled WebGL Extensions > Window system binding vendor > Window system binding version > Window system binding extensions > Direct rendering version > unknown > Reset notification strategy > 0x0000 > GPU process crash count > 0 > gfx::BufferFormats supported for allocation and texturing > R_8: not supported, R_16: not supported, RG_88: not supported, RG_1616: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, YUVA_420_TRIPLANAR: not supported, P010: not supported > Compositor Information > Tile Update Mode > One-copy > Partial Raster > Enabled > GpuMemoryBuffers Status > R_8 > Software only > R_16 > Software only > RG_88 > Software only > RG_1616 > Software only > BGR_565 > Software only > RGBA_4444 > Software only > RGBX_8888 > GPU_READ, SCANOUT > RGBA_8888 > GPU_READ, SCANOUT > BGRX_8888 > Software only > BGRA_1010102 > Software only > RGBA_1010102 > Software only > BGRA_8888 > Software only > RGBA_F16 > Software only > YVU_420 > Software only > YUV_420_BIPLANAR > Software only > YUVA_420_TRIPLANAR > Software only > P010 > Software only > Display(s) Information > Info > Display[2528732444] bounds=[0,0 1536x864], workarea=[0,0 1536x816], scale=1.25, rotation=0, panel_rotation=0 internal. > Color space (sRGB/no-alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (sRGB/no-alpha) > BGRX_8888 > Color space (sRGB/alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (sRGB/alpha) > BGRA_8888 > Color space (WCG/no-alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (WCG/no-alpha) > BGRX_8888 > Color space (WCG/alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (WCG/alpha) > BGRA_8888 > Color space (HDR/no-alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (HDR/no-alpha) > BGRX_8888 > Color space (HDR/alpha) > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]}, transfer:SRGB, matrix:RGB, range:FULL} > Buffer format (HDR/alpha) > BGRA_8888 > Color volume > {r:[0.6282, 0.3187], g:[0.2736, 0.6056], b:[0.1485, 0.3187], w:[0.3127, 0.3290]} > SDR white level in nits > 203 > HDR relative maximum luminance > 1 > Bits per color component > 8 > Bits per pixel > 24 > Refresh Rate in Hz > 60 > Video Acceleration Information > Decoding > Encoding > Encode h264 baseline > 32x32 to 1920x1088 pixels, and/or 30.000 fps. > Encode h264 baseline > 32x32 to 1088x1920 pixels, and/or 30.000 fps. > Encode h264 main > 32x32 to 1920x1088 pixels, and/or 30.000 fps. > Encode h264 main > 32x32 to 1088x1920 pixels, and/or 30.000 fps. > Encode h264 high > 32x32 to 1920x1088 pixels, and/or 30.000 fps. > Encode h264 high > 32x32 to 1088x1920 pixels, and/or 30.000 fps. > Vulkan Information > Device Performance Information > Total Physical Memory (Gb) > 31 > Total Disk Space (Gb) > 0 > Hardware Concurrency > 12 > System Commit Limit (Gb) > 63 > D3D11 Feature Level > Unknown > Has Discrete GPU > unknown > Software Rendering > No > Diagnostics > Driver Information for Hardware GPU > Initialization time > 0 > In-process GPU > true > Passthrough Command Decoder > true > Sandboxed > false > GPU0 > VENDOR= 0x0000, DEVICE=0x0000, LUID={0,0} > Optimus > false > AMD switchable > false > Desktop compositing > Aero Glass > Direct composition > false > Supports overlays > false > YUY2 overlay support > NONE > NV12 overlay support > NONE > BGRA8 overlay support > NONE > RGB10A2 overlay support > NONE > Driver D3D12 feature level > Not supported > Driver Vulkan API version > Not supported > GPU CUDA compute capability major version > 0 > Pixel shader version > Vertex shader version > Max. MSAA samples > Machine model name > Machine model version > GL implementation > disabled > ANGLE implementation > none > Display type > GL_VENDOR > Disabled > GL_RENDERER > Disabled > GL_VERSION > Disabled > GL_EXTENSIONS > Disabled Extensions > Disabled WebGL Extensions > Window system binding vendor > Window system binding version > Window system binding extensions > Direct rendering version > unknown > Reset notification strategy > 0x0000 > GPU process crash count > 0 > gfx::BufferFormats supported for allocation and texturing > R_8: not supported, R_16: not supported, RG_88: not supported, RG_1616: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, YUVA_420_TRIPLANAR: not supported, P010: not supported > Graphics Feature Status for Hardware GPU > Canvas: Software only. Hardware acceleration disabled > Canvas out-of-process rasterization: Disabled > Direct Rendering Display Compositor: Disabled > Compositing: Software only. Hardware acceleration disabled > Multiple Raster Threads: Disabled > OpenGL: Disabled > Rasterization: Software only. Hardware acceleration disabled > Raw Draw: Disabled > Video Decode: Software only. Hardware acceleration disabled > Video Encode: Software only. Hardware acceleration disabled > Vulkan: Disabled > WebGL: Disabled > WebGL2: Disabled > WebGPU: Disabled > Problems Detected for Hardware GPU > Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable. > Disabled Features: gpu_compositing > GPU process was unable to boot: GPU access is disabled through commandline switch --disable-gpu. > Disabled Features: all > Log Messages

@macumber
Copy link
Collaborator Author

macumber commented Jan 29, 2024

Platform and version: Windows 11 Pro 22H2 (Dev Machine)

  • I could install the OpenStudioApp installer
  • I could launch the OpenStudioApp.exe
  • I can load File > Example > Example Model
  • I can go to Geometry Preview and see the example model
  • I can go to all tabs and see stuff loading
  • I can create HVAC loops and assign a thermal zone
  • I can search for Measures on the BCL
  • I can put a measure in my workflow
  • I can run a simulation
  • I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)
  • I have tried enabling (and disabling) the Classic CLI
  • I have tried creating and running a Python measure in the new CLI

@macumber
Copy link
Collaborator Author

macumber commented Jan 29, 2024

Platform and version: Mac M1 (Dev machine) Ventura 13.5.1

  • I could install the OpenStudioApp installer
    • Required ctrl-click to select Open the installer
  • I could launch the OpenStudioApp.exe
  • I can load File > Example > Example Model
  • I can go to Geometry Preview and see the example model
  • I can go to all tabs and see stuff loading
  • I can create HVAC loops and assign a thermal zone
  • I can search for Measures on the BCL
  • I can put a measure in my workflow
  • I can run a simulation
  • I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)
  • I have tried enabling (and disabling) the Classic CLI
  • I have tried creating and running a Python measure in the new CLI

@macumber
Copy link
Collaborator Author

macumber commented Jan 29, 2024

Platform and version: Mac x86 (Dev machine) Ventura 13.5.1

  • I could install the OpenStudioApp installer
    • Had to run xattr -dr com.apple.quarantine OpenStudioApplication-1.7.0-rc2+20d8af9727-macOS10.15-x86_64.dmg to open the dmg
    • Once dmg opened, required ctrl-click to select Open to run the installer
  • I could launch the OpenStudioApp.exe
  • I can load File > Example > Example Model
  • I can go to Geometry Preview and see the example model
  • I can go to all tabs and see stuff loading
  • I can create HVAC loops and assign a thermal zone
  • I can search for Measures on the BCL
  • I can put a measure in my workflow
  • I can run a simulation
  • I can see the simulation results (EnergyPlus Outputs, OpenStudio Results)
  • I have tried enabling (and disabling) the Classic CLI
  • I have tried creating and running a Python measure in the new CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants