Firefox OS 1.3 simulator doesn't work.(runs but shows a black screen)

99封情书 提交于 2019-12-25 03:55:15

问题


I am learning app development for firefox os.I installed a simulator for version 1.3 at my work place and it was working fine.I could write simple web app and run on the simulator.But when i installed the emulator on my home pc It was installed successfully but then was showing just a black screen.I am sure i have installed the correct version.I am using firefox 30.The simulator does show up in the app manager but when i start ,it just show a black screen.I don't understand why this is happening.I tried installing other versions like 1.4,2.0 and 2.1,but same thing happens for all the simulator addons. what could be the problem?


回答1:


I'm not sure what is causing the issue, but one solution may be to install again the add-on:

  • Uninstall all simulators add-on you have;
  • Reboot your computer (or kill the process b2g or b2g-bin);
  • Install the add-on again.

It should fix the issue as you may have a process hanging.

Please tell me if it's solving the problem.




回答2:


On IRC, @tweeper pointed out that the black screen also appears in Firefox Nightly (not just the Simulator), but that the release channel of Firefox works correctly.

This makes it sound like some kind of graphics issue on the specific machine he's using that has been broken in Gecko relatively recently. I'd suggest filing a Graphics bug about this so it can be investigated further.




回答3:


I think it is probably an AMD bug (or whatever brand your graphics card is). I had the same problem with spotify and solved it by disabling hardware acceleration. Here I solved it by forcing the use of the other graphics card (If you have hot switch and running on windows (don't know for other OSes. If someone is aware of it...), you can force the b2g-bin.exe process to launch in power-saving mode and it will use the other graphics card. Did the trick for me. My integrated graphics is Intel HD 4000 and the other one AMD Radeon 7600m series



来源:https://stackoverflow.com/questions/24742233/firefox-os-1-3-simulator-doesnt-work-runs-but-shows-a-black-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!