warning of "ATTENTION: default value of option force_s3tc_enable overridden by environment."
See original GitHub issueHi buddy:
I’m just developing a project based on nwjs+nodejs, it goes on well after many reading and tries. But I found the warning message “ATTENTION: default value of option force_s3tc_enable overridden by environment.” comes out in terminal each time nw window is shown.
Can somebody tell me why this information is shown? As I want to distribute my project to other guys and they will also need explanation on this strange message. Anyway it would be appreciated if the message can be avoided if not necesary.
It happens on following environment: node-v6.2.1-linux-x86.tar.gz + nwjs-sdk-v0.15.2-linux-ia32.tar.gz node-v6.6.0-linux-x86.tar.gz + nwjs-sdk-v0.17.4-linux-ia32.tar.gz
my OS: ubuntuLTS14.04
result from “uname -a” is : “Linux rex-ubuntu32-lvm 4.4.0-38-generic #57~14.04.1-Ubuntu SMP Tue Sep 6 17:22:19 UTC 2016 i686 i686 i686 GNU/Linux”
You can reproduce with this simple example html code:
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
We are using node.js .
<p><div class="log"> </div></p>
<script type="text/javascript">
</script>
</body>
</html>
Thanks very much for help from anyone 😃
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
somewhere in your bash config (for example in ~/.bashrc or /etc/bash.bashrc) the environment variable force_s3tc_enable is set to true. this warning, not an error, just tells you exactly this. it is meant to tell anyone you send your logs to, that s3tc is forcefully enabled. s3tc is a graphic protocol which is heavily patented and as such is with proprietary drivers equally proprietary. however, today we’ve got the open source implementation libtxc-dxtn, so with open source graphic drivers this option is usually not needed anymore.
This is a warning from SDL. Simply calling
SDL_Init(SDL_INIT_EVERYTHING)
will trigger it.