twinejs
twinejs copied to clipboard
Hardware Acceleration compatibility issues with NVIDIA cards.
Describe the bug.
This issue submitted by request from discussion on the Discord server.
There's a known issue with NVIDIA cards wherein settings meant to be applied to 3D applications (mostly games) will apply to applications with Hardware Acceleration turned on. Twine 2.4+, in its new look, seems to fall afoul of this. The effects of this will depend on one's NVIDIA Control Panel settings, but it can range from strange deformation of font to blurriness overtaking the entire application in varying strengths and placements. Usually, this can be avoided by disabling Hardware Acceleration in the application itself - I do this for my browser, for example. New Twine doesn't have an option to disable this setting, and thus the only way to reduce the effects is to change NVIDIA settings whilst using Twine.
Blurry example Deformed, crispy font example
Steps to reproduce:
- Have an NVIDIA GPU. (Windows)
- Use settings such as FXAA Antialiasing.
- Launch application with Hardware Acceleration.
Expected behavior:
Expected behaviour is for these settings to not apply to a 2D application like Twine, but this is NVIDIA's issue, not Twine's. Easiest bypass is to provide a Hardware Acceleration on/off setting.
Additional context on this problem.
No response
Twine version number
2.5.1
Does this problem occur with the web version of Twine or the desktop app?
Desktop app
What operating system does this problem occur on?
Windows
If this problem is occurring with the web version of Twine, what browser does it occur on?
No response
Presubmission checklist
- [ ] I am interested in working on code that would fix this bug. (This is not required to submit a bug report.)
- [X] I have done a search and believe that an issue does not already exist for this bug in the GitHub repository.
- [X] I have read and agree to abide by this project's Code of Conduct.
The FXAA global setting on Nvidia's control panel is off by default. If it's enabled globally, you can set exceptions by using the "Program Settings" tab and disabling it for Twine.
If Twine does not appear in the program list, either select the executable manually or make Twine appear in the list by launching Twine once(the list shows recently launched executables).
Understood now - confusions with the ancient control panel's layout and conflicting info online had me believing you couldn't do that.
With this said, a toggle for Hardware Acceleration is still a last resort 'I just want this to work' option for some configurations.
This seems like a reasonable request, to turn off hardware accel. It looks like doing this in Electron is a function call.