View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002511 | NoesisGUI | VSCode | public | 2023-02-12 17:52 | 2023-03-27 12:14 |
Reporter | miZyind | Assigned To | maherne | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 3.2.0 | ||||
Target Version | 3.2 | ||||
Summary | 0002511: The previewer of NoesisGUI XAML Tools (VSCode Extensions) always showing a blank blue background, it doesn't work properly on. | ||||
Description | As I mentioned here: https://www.noesisengine.com/forums/viewtopic.php?t=2861&sid=cab69739d3b05d0e3b59629ef4897d34 I can't use the previewer to view XAML properly. I also downloaded the sample files and the beta version of the extensions. However, neither of them works. I follow maherne's information to check the "/tmp/noesis" folder. There are some png files but all of them are blank too (have file size but no content). My device is MacBook Pro 2019 (Intel). | ||||
Steps To Reproduce | 1. Install the latest v0.0.33 or the beta version provided by maherne of NoesisGUI XAML Tools for VSCode. 2. Open the official Noesis samples and pick up the XAML file to open the previewer. 3. The previewer will only show the blank blue background. | ||||
Tags | xaml | ||||
Platform | macOS | ||||
|
|
It seems there is a problem rendering with the vscode extension, while we prepare an instrumented version to gather more information, could you please download the latest macOS C++ SDK (3.2 Beta) at https://www.noesisengine.com/forums/viewtopic.php?t=2822 And try to launch SDKBrowser and XamlPlayer to check if they render correctly on your machine? Thank you |
|
I checked the latest SDKBrowser & XamlPlayer both work: | |
I have created a test binary which, when run, will output a test render png and log to the same folder. Could you please download this binary (link to the zip below), run it in the terminal, and then upload the output png and log here? https://drive.google.com/file/d/1P0p0PO9RXg-Ydz_epxd2_UYo9gs3uSpr Thanks! |
|
Hello @maherne, here are the files generated by the test tool: lang-server-test.log (482 bytes)
[NOESIS/I] Logging to 'lang-server-test.log' [NOESIS/I] LangServer test start [NOESIS/D] Creating 'Core Audio' audio device: MacBook Pro Speakers [NOESIS/D] Creating Metal render context [NOESIS/D] MTLDevice: AMD Radeon Pro 5500M [NOESIS/T] Page 'Vertices[0]' created (512 KB) [NOESIS/T] Page 'Indices[0]' created (128 KB) [NOESIS/T] Pipeline '0x5030' compiled in 12 ms [NOESIS/I] Rendering to 'lang-server-test.png' [NOESIS/I] LangServer test completed [NOESIS/I] Noesis Shutdown |
|
Thanks for the results. Unfortunately, it doesn't report enough information. I am attaching a script that will enable Metal validation (enable_debug) Please, could you: 1. Copy the attached script (enable_debug) to the folder where you have App.LangServerTool 2. Give execution permissions to the script (chmod +x enable_debug) 3. Execute the script (./enable_debug) 4. Execute our tool (./App.LangServerTool) 5. Please, send us the report again (lang-server-test.log) enable_debug (520 bytes)
# Metal Tracing Defaults export DYLD_INSERT_LIBRARIES="/usr/lib/libMTLCapture.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/GPUToolsPlatform/libMTLToolsDiagnostics.dylib" export METAL_DEBUG_ERROR_MODE=0 export METAL_DEVICE_FORCE_COMMAND_BUFFER_ENHANCED_ERRORS=1 export METAL_DEVICE_WRAPPER_TYPE=5 export METAL_DIAGNOSTICS_ENABLED=1 export METAL_LOAD_INTERPOSER=1 export MTL_FORCE_COMMAND_BUFFER_ENHANCED_ERRORS=1 export DYMTL_TOOLS_DYLIB_PATH="/usr/lib/libMTLCapture.dylib" |
|
Here are the steps I did and the new log: - add the env vars ❯ source ./enable_debug - echo to check if the env vars have applied ❯ echo $DYLD_INSERT_LIBRARIES /usr/lib/libMTLCapture.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/GPUToolsPlatform/libMTLToolsDiagnostics.dylib ❯ echo $METAL_DIAGNOSTICS_ENABLED 1 - run the tool ❯ ./App.LangServerTool lang-server-test-2.log (1,446 bytes)
[NOESIS/I] Logging to 'lang-server-test.log' [NOESIS/I] LangServer test start [NOESIS/D] Creating 'Core Audio' audio device: MacBook Pro Speakers [NOESIS/D] Creating Metal render context [NOESIS/D] MTLDevice: AMD Radeon Pro 5500M [NOESIS/T] Page 'Vertices[0]' created (512 KB) [NOESIS/T] Page 'Indices[0]' created (128 KB) [NOESIS/T] Pipeline '0x5030' compiled in 14 ms [NOESIS/I] Rendering to 'lang-server-test.png' [NOESIS/I] LangServer test completed [NOESIS/I] Noesis Shutdown [NOESIS/I] Logging to 'lang-server-test.log' [NOESIS/I] LangServer test start [NOESIS/D] Creating 'Core Audio' audio device: MacBook Pro Speakers [NOESIS/D] Creating Metal render context [NOESIS/D] MTLDevice: AMD Radeon Pro 5500M [NOESIS/T] Page 'Vertices[0]' created (512 KB) [NOESIS/T] Page 'Indices[0]' created (128 KB) [NOESIS/T] Pipeline '0x5030' compiled in 10 ms [NOESIS/I] Rendering to 'lang-server-test.png' [NOESIS/I] LangServer test completed [NOESIS/I] Noesis Shutdown [NOESIS/I] Logging to 'lang-server-test.log' [NOESIS/I] LangServer test start [NOESIS/D] Creating 'Core Audio' audio device: MacBook Pro Speakers [NOESIS/D] Creating Metal render context [NOESIS/D] MTLDevice: AMD Radeon Pro 5500M [NOESIS/T] Page 'Vertices[0]' created (512 KB) [NOESIS/T] Page 'Indices[0]' created (128 KB) [NOESIS/T] Pipeline '0x5030' compiled in 11 ms [NOESIS/I] Rendering to 'lang-server-test.png' [NOESIS/I] LangServer test completed [NOESIS/I] Noesis Shutdown |
|
Sorry, we have been really busy with Beta 3. Could you please send the full information of your MacBook Pro? |
|
@jsantos Here is the information from "About This Mac". If you need any extra info please tell me, thanks, and take your time! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-12 17:52 | miZyind | New Issue | |
2023-02-12 17:52 | miZyind | Tag Attached: xaml | |
2023-02-12 17:52 | miZyind | File Added: Screenshot 2023-02-12 at 11.34.36 PM.png | |
2023-02-12 17:52 | miZyind | File Added: Screenshot 2023-02-12 at 11.37.07 PM.png | |
2023-02-12 22:44 | maherne | Assigned To | => maherne |
2023-02-12 22:44 | maherne | Status | new => assigned |
2023-02-12 23:09 | jsantos | Category | Inspector => VSCode |
2023-02-12 23:09 | jsantos | Target Version | => 3.2.0 |
2023-02-12 23:13 | jsantos | Note Added: 0008273 | |
2023-02-12 23:14 | jsantos | Status | assigned => feedback |
2023-02-13 03:18 | miZyind | Note Added: 0008274 | |
2023-02-13 03:18 | miZyind | File Added: Screenshot 2023-02-13 at 9.13.58 AM.png | |
2023-02-13 03:18 | miZyind | File Added: Screenshot 2023-02-13 at 9.17.06 AM.png | |
2023-02-13 03:18 | miZyind | Status | feedback => assigned |
2023-02-13 17:13 | maherne | Note Added: 0008277 | |
2023-02-14 08:01 | miZyind | Note Added: 0008279 | |
2023-02-14 08:01 | miZyind | File Added: lang-server-test.png | |
2023-02-14 08:01 | miZyind | File Added: lang-server-test.log | |
2023-02-14 09:59 | jsantos | Note Added: 0008280 | |
2023-02-14 09:59 | jsantos | File Added: enable_debug | |
2023-02-14 09:59 | jsantos | Status | assigned => feedback |
2023-02-14 09:59 | jsantos | Note Edited: 0008280 | |
2023-02-14 10:00 | jsantos | Note Edited: 0008280 | |
2023-02-14 10:00 | jsantos | Note Edited: 0008280 | |
2023-02-15 05:48 | miZyind | Note Added: 0008288 | |
2023-02-15 05:48 | miZyind | File Added: Screenshot 2023-02-15 at 11.45.56 AM.png | |
2023-02-15 05:48 | miZyind | File Added: lang-server-test-2.log | |
2023-02-15 05:48 | miZyind | Status | feedback => assigned |
2023-02-15 05:49 | miZyind | Note Edited: 0008288 | |
2023-02-23 11:58 | jsantos | Note Added: 0008300 | |
2023-02-23 11:58 | jsantos | Status | assigned => feedback |
2023-02-24 03:26 | miZyind | Note Added: 0008304 | |
2023-02-24 03:26 | miZyind | File Added: Screenshot 2023-02-24 at 9.23.51 AM.png | |
2023-02-24 03:26 | miZyind | Status | feedback => assigned |
2023-03-27 12:14 | jsantos | Target Version | 3.2.0 => 3.2 |