In short, the below flags work in release build with ozone but do not work in debug build at my end.
export GYP_DEFINES="chromeos=1 use_ozone=1 ozone_platform=gbm ozone_platform_gbm=1 clang=1 ozone_platform_dri=1 component=static_library ozone_auto_platforms=0 remove_webcore_debug_symbols=1 use_ash=1 use_aura=1 system_libdir=lib64 target_arch=x64"
Are those flags set properly for ozone enabling?
Any suggestions would be appreciated.
(Successful Case):
HW: Baytrail without Ozone-Freon(swanky)
Step:
1. export GYP_DEFINES="chromeos=1 fastbuild=1 remove_webcore_debug_symbols=1"
2. ./build/gyp_chromium
3. ninja -C out/Debug chrome chrome_sandbox nacl_helper
4. cros chrome-sdk --board=x86-generic --nogoma
5. ./deploy_chrome --build-dir=../../../out/Debug --to=192.168.42.1 --sloppy --force
Result:
Login window can be seen in debug/release build.
(Fail Case):
HW: BDW (yxxx) with Ozone-Freon
Step:
1. export GYP_DEFINES="chromeos=1 use_ozone=1 ozone_platform=gbm ozone_platform_gbm=1 component=static_library remove_webcore_debug_symbols=1 fastbuild=1"
2. ./build/gyp_chromium
3. ninja -C out/Debug chrome chrome_sandbox nacl_helper
4. cros chrome-sdk --board=x86-generic --nogoma
5. ./deploy_chrome --build-dir=../../../out/Debug --to=192.168.42.1 --sloppy --force
Result:
1. Can see the login window in release build but sometimes the login window will blink automatically.
2. Cannot see the login window in debug build and it hanged in chromium log or black window.
I distinguished the support of Ozone-Freon by Frecon (VT2).
In the folder of overlay/project-freon, I just saw
OZONE_PLATFORM="dri gbm" & OZONE_PLATFORM_DEFAULT="gbm" and tried it but the issue is still seen. The log is similar between in debug and release build. Crash stacks were seen in debug build only.
Is there any tip to let me try it?
Thanks.
Chuck
I checked it by "ps aux | grep X" in my local build image. For Baytrail device (successful case). It's based on X11. For BDW device (fail case), there is no X. So it should be based on Freon. Since it's workable for release build on BDW with ozone-freon. Could you help confirming the below things?
1. Are those flags workable for debug build also?
2. I always get access denied, ex: --board=swanky, wolf and BDW projects
so use x86-generic instead. Is it a must for chrome-sdk --board=BDW projects?
On Fri, Mar 6, 2015 at 7:35 PM, <chuck...@intel.com> wrote:I checked it by "ps aux | grep X" in my local build image. For Baytrail device (successful case). It's based on X11. For BDW device (fail case), there is no X. So it should be based on Freon. Since it's workable for release build on BDW with ozone-freon. Could you help confirming the below things?
1. Are those flags workable for debug build also?Should work for debug builds as well.2. I always get access denied, ex: --board=swanky, wolf and BDW projects
so use x86-generic instead. Is it a must for chrome-sdk --board=BDW projects?My understanding is that as long as you're compiling for the correct processor family, the simple-chrome instructions should work.
On Tuesday, March 3, 2015 at 11:16:09 AM UTC+8, chuck...@intel.com wrote:
On Mon, Mar 9, 2015 at 10:27 AM, Daniel Nicoara <dnic...@chromium.org> wrote:On Fri, Mar 6, 2015 at 7:35 PM, <chuck...@intel.com> wrote:I checked it by "ps aux | grep X" in my local build image. For Baytrail device (successful case). It's based on X11. For BDW device (fail case), there is no X. So it should be based on Freon. Since it's workable for release build on BDW with ozone-freon. Could you help confirming the below things?
1. Are those flags workable for debug build also?Should work for debug builds as well.2. I always get access denied, ex: --board=swanky, wolf and BDW projects
so use x86-generic instead. Is it a must for chrome-sdk --board=BDW projects?My understanding is that as long as you're compiling for the correct processor family, the simple-chrome instructions should work.And the correct processor family for swanky and wolf is amd64-generic, I believe.