View Issue Details

IDProjectCategoryView StatusLast Update
0002511NoesisGUIVSCodepublic2024-02-09 12:49
ReportermiZyind Assigned Tomaherne  
PrioritynormalSeverityblockReproducibilityalways
Status assignedResolutionopen 
Product Version3.2.0 
Target Version3.2.4 
Summary0002511: The previewer of NoesisGUI XAML Tools (VSCode Extensions) always showing a blank blue background, it doesn't work properly on.
DescriptionAs 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 Reproduce1. 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.
Tagsxaml
PlatformmacOS

Activities

miZyind

miZyind

2023-02-12 17:52

reporter  

jsantos

jsantos

2023-02-12 23:13

manager   ~0008273

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
miZyind

miZyind

2023-02-13 03:18

reporter   ~0008274

I checked the latest SDKBrowser & XamlPlayer both work:
maherne

maherne

2023-02-13 17:13

developer   ~0008277

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!
miZyind

miZyind

2023-02-14 08:01

reporter   ~0008279

Hello @maherne, here are the files generated by the test tool:
lang-server-test.png (2,610 bytes)   
lang-server-test.png (2,610 bytes)   
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
lang-server-test.log (482 bytes)   
jsantos

jsantos

2023-02-14 09:59

manager   ~0008280

Last edited: 2023-02-14 10:00

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"
enable_debug (520 bytes)   
miZyind

miZyind

2023-02-15 05:48

reporter   ~0008288

Last edited: 2023-02-15 05:49

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
lang-server-test-2.log (1,446 bytes)   
jsantos

jsantos

2023-02-23 11:58

manager   ~0008300

Sorry, we have been really busy with Beta 3.

Could you please send the full information of your MacBook Pro?
miZyind

miZyind

2023-02-24 03:26

reporter   ~0008304

@jsantos Here is the information from "About This Mac".
If you need any extra info please tell me, thanks, and take your time!
jsantos

jsantos

2024-02-06 18:30

manager   ~0009168

Could you please try with the latest version in the store (0.0.47) ?
miZyind

miZyind

2024-02-07 04:58

reporter   ~0009169

I've just tried the latest version 0.0.47.
Unfortunately, I still have the same issue.
Here are the screenshots and the log generated by App.LangServerTool (with enable_debug).
lang-server-test-3.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
lang-server-test-3.log (482 bytes)   
lang-server-test-2.png (2,610 bytes)   
lang-server-test-2.png (2,610 bytes)   
Screenshot.jpg (1,412,462 bytes)
Screenshot 1.jpg (331,393 bytes)

Issue History

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
2024-02-06 18:30 jsantos Note Added: 0009168
2024-02-06 18:30 jsantos Status assigned => feedback
2024-02-07 04:58 miZyind Note Added: 0009169
2024-02-07 04:58 miZyind File Added: lang-server-test-3.log
2024-02-07 04:58 miZyind File Added: lang-server-test-2.png
2024-02-07 04:58 miZyind File Added: Screenshot.jpg
2024-02-07 04:58 miZyind File Added: Screenshot 1.jpg
2024-02-07 04:58 miZyind Status feedback => assigned
2024-02-09 12:49 jsantos Target Version 3.2 => 3.2.4