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

blendAfterWarp = True has no effect #97

Open
retostockli opened this issue May 9, 2023 · 1 comment
Open

blendAfterWarp = True has no effect #97

retostockli opened this issue May 9, 2023 · 1 comment

Comments

@retostockli
Copy link

I've been successfully implementing the code of nv-control-warpblend.c in my three projector flight simulator display on a curved screen. However, the blending should be done in display and not texture coordinates.

For me the blendAfterWarp argument in XNVCTRLSetScanoutIntensity has no effect. Also in the sample code of this github repo. The blending always occurs in Texture coordinates before warping.

Any chance of verifying this?
Small hint: I am using a regular GTX (not Quadro) card, but warping works like a charm. So thanks so much for providing this interface, it is so much more efficient than all the commercial warping solutions!!!

OS: Ubuntu 22.04

@HellGL
Copy link

HellGL commented Nov 23, 2023

I added some debugging to the nv-control-warpblend example and maybe the paramter name is not correct. Although I can set e.g. "BlendOrder=BlendAfterWarp" as CurrentMetaMode, the Parameter is not there if I read the CurrentMetaMode e.g. with nvidia-settings. In my case I added a "XNVCTRLQueryStringAttribute()" directly after "XNVCTRLSetStringAttribute()" and "XSync()" and the parameter is not there. Is it completely gone or just renamed?

CORRECTION:
The parameter BlendOrder is only set if "BlendAfterWarp" is given in the MetaMode. "WarpAfterBlend" is the default and obviously not set or at least not given when queried.

While WarpAfterBlend works fine, BlendAfterWarp does only work on the Quadro P5000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants