Last active
March 4, 2017 22:41
-
-
Save larsiusprime/2cff49cc973eba078a94b6c3358c7efb to your computer and use it in GitHub Desktop.
Help me diagnose a black screen error on linux/mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I believe these settings should be enough to reproduce the error. | |
platform: linux | |
bits: 64 | |
haxe version: latest dev version | |
hxcpp: | |
https://github.com/larsiusprime/hxcpp (master branch) | |
openfl: | |
https://github.com/larsiusprime/openfl (allfixes_openfl3 branch) | |
lime: | |
https://github.com/larsiusprime/lime (allfixes3 branch) | |
You will have to rebuild hxcpp and lime from source | |
To rebuild hxcpp from source: | |
cd ~/path/to/hxcpp | |
cd tools/hxcpp | |
haxe compile.hxml | |
cd ../../ | |
cd project | |
neko build.n | |
To rebuild lime from source (IIRC): | |
cd ~/path/to/lime | |
git submodule init | |
git submodule update | |
haxelib run lime rebuild tools | |
haxelib run lime rebuild linux | |
Reproduction case: | |
- rebuild hxcpp | |
- rebuild lime | |
- clone https://github.com/openfl/openfl-samples (master branch) | |
- compile the "PiratePig" sample under "demos" for linux | |
Intended behavior: | |
- the sample should run properly and display a match-3 game | |
Actual behavior: | |
- you hear sound but the display is just blank white | |
$100 bounty to someone who can help diagnose/fix this |
Spent half a day trying to figure it out and I think it's caused by HaxeFoundation/hxcpp#575. I actually reproduced the blank screen on my Windows machine as well. And the "regressed commit" you mentioned probably just disables the analyzer by default, so the compiler behaviour was changed. Enabling it back with -D analyzer-optimize
fixes the symptom.
Hopefully, Hugh will fix that issue soon and you'll be able to check if it helps.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Testing on mac, got a regression window!
Latest known good date:
2017-01-06 11:55
haxe_2017-01-06_development_c91d0ad.tar.gz
Earliest known bad date:
2017-01-07 11:57
haxe_2017-01-07_development_9ac7a29.tar.gz
Regressed commit:
HaxeFoundation/haxe@9ac7a29
Other versions tested:
Confirmed good:
2017-01-04 22:52
haxe_2017-01-04_development_10609a0.tar.gz
2017-01-01 22:13
haxe_2017-01-01_development_bd089ab.tar.gz
2016-12-25 16:11
haxe_2016-12-25_development_e08d018.tar.gz
Confirmed bad:
2017-01-07 14:54
haxe_2017-01-07_development_d4c5506.tar.gz
2017-01-07 15:37
haxe_2017-01-07_development_ec05863.tar.gz
2017-01-07 19:21
haxe_2017-01-07_development_f493eb6.tar.gz
2017-01-09 15:33
haxe_2017-01-09_development_875ad19.tar.gz
2017-01-31 09:21
haxe_2017-01-31_development_0f9a268.tar.gz