Cannot enable pixel shaders #12457

Closed
opened 2026-01-31 03:16:10 +00:00 by claunia · 7 comments
Owner

Originally created by @bozho on GitHub (Feb 8, 2021).

Environment

Windows build number: Microsoft Windows NT 10.0.19042.0
Windows Terminal version (if applicable): 1.6.10272.0

GPU: Nvidia RTX 3070, driver version 461.40.

Steps to reproduce

I am unable to get pixel shaders working. I've downloaded a few samples (retro, invert, rasterbars) and put them into F:\Temp

I've tried putting "experimental.pixelShaderEffect": "F:\\Temp\\invert.hlsl" into both profile defaults and individual profiles. I've added { "command": "toggleShaderEffects", "keys": "ctrl+shift+."} to actions. The only thing this command seem to do is toggle the built-in "retro" effect (whether experimental.pixelShaderEffect setting is present or not makes no difference).

I've renamed my settings.json file and tested with a default one, no difference.

Expected behavior

Shaders to work :-)

Actual behavior

Shaders not working :-(

Originally created by @bozho on GitHub (Feb 8, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows NT 10.0.19042.0 Windows Terminal version (if applicable): 1.6.10272.0 ``` GPU: Nvidia RTX 3070, driver version 461.40. # Steps to reproduce I am unable to get pixel shaders working. I've downloaded a few samples (retro, invert, rasterbars) and put them into `F:\Temp` I've tried putting `"experimental.pixelShaderEffect": "F:\\Temp\\invert.hlsl"` into both profile defaults and individual profiles. I've added `{ "command": "toggleShaderEffects", "keys": "ctrl+shift+."}` to `actions`. The only thing this command seem to do is toggle the built-in "retro" effect (whether `experimental.pixelShaderEffect` setting is present or not makes no difference). I've renamed my `settings.json` file and tested with a default one, no difference. # Expected behavior Shaders to work :-) # Actual behavior Shaders not working :-(
Author
Owner

@zadjii-msft commented on GitHub (Feb 8, 2021):

The setting is experimental.pixelShaderPath, not experimental.pixelShaderEffect ☺️

@zadjii-msft commented on GitHub (Feb 8, 2021): The setting is `experimental.pixelShaderPath`, not `experimental.pixelShaderEffect` ☺️
Author
Owner

@bozho commented on GitHub (Feb 8, 2021):

@zadjii-msft

Ah, thank you :-) experimental.pixelShaderPath is mentioned in pixel shader samples.

However, experimental.pixelShaderEffect is mentioned both on 1.6.10272.0 release notes page and devblog page. I copy/pasted the setting from one of those two and failed to spot the difference.

@bozho commented on GitHub (Feb 8, 2021): @zadjii-msft Ah, thank you :-) `experimental.pixelShaderPath` is mentioned in pixel shader samples. However, `experimental.pixelShaderEffect` is mentioned both on 1.6.10272.0 [release notes page](https://github.com/microsoft/terminal/releases/tag/v1.6.10272.0) and [devblog page](https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-6-release/). I copy/pasted the setting from one of those two and failed to spot the difference.
Author
Owner

@zadjii-msft commented on GitHub (Feb 8, 2021):

GAH that's a typo then. @cinnamon-msft can you go fix those docs quick?

@zadjii-msft commented on GitHub (Feb 8, 2021): GAH that's a typo then. @cinnamon-msft can you go fix those docs quick?
Author
Owner

@DHowett commented on GitHub (Feb 8, 2021):

I've fixed the release notes. Sorry about that!

@DHowett commented on GitHub (Feb 8, 2021): I've fixed the release notes. Sorry about that!
Author
Owner

@sylvain69780 commented on GitHub (Mar 16, 2021):

Hello

I just downloaded 1.7.572.0 and was not able to enable "experimental.pixelShaderPath".
"experimental.pixelShaderPath": "C:\Sylvain\shadertoy\hlsl\Grayscale.hlsl"

Only able to use the retroTerminalEffect.

I wanted to make a demo to some colleagues. Too bad. :-)

@sylvain69780 commented on GitHub (Mar 16, 2021): Hello I just downloaded 1.7.572.0 and was not able to enable "experimental.pixelShaderPath". "experimental.pixelShaderPath": "C:\\Sylvain\\shadertoy\\hlsl\\Grayscale.hlsl" Only able to use the retroTerminalEffect. I wanted to make a demo to some colleagues. Too bad. :-)
Author
Owner

@zadjii-msft commented on GitHub (Mar 16, 2021):

@sylvain69780 Did it give you any sort of error message when you changed the settings / launched the Terminal?

You might also need to use double-backslashes, like "experimental.pixelShaderPath": "C:\\Sylvain\\shadertoy\\hlsl\\Grayscale.hlsl"

@zadjii-msft commented on GitHub (Mar 16, 2021): @sylvain69780 Did it give you any sort of error message when you changed the settings / launched the Terminal? You might also need to use double-backslashes, like `"experimental.pixelShaderPath": "C:\\Sylvain\\shadertoy\\hlsl\\Grayscale.hlsl"`
Author
Owner

@DHowett commented on GitHub (Mar 16, 2021):

This is #9354.

@DHowett commented on GitHub (Mar 16, 2021): This is #9354.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12457