| Summary: | [2.4.2 rc2] No. of Chars/sec For Yocto Image is very Low To that of Ubuntu | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Ashwin Soman <ashwinx.soman> | ||||||
| Component: | bsps-intel-corei7-64 | Assignee: | Ross Burton <ross.burton> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Ashwin Soman <ashwinx.soman> | ||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | ee.peng.yeoh, nagarajagopalx.velu, pravin.shankarx.patil, randy.macleod, ross.burton, stephano | ||||||
| Version: | 2.4.2 | ||||||||
| Target Milestone: | 2.4.4 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Bug Depends on: | 12019 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ashwin Soman
2018-03-08 00:21:49 UTC
My initial hunch is that this is because we're using xf86-video-intel and Ubuntu is using xf86-video-modesettings. Can you replicate the test on a Yocto image, and then remove the xf86-video-intel package, reboot, and run the test again. I can confirm that using xf86-video-modesettings gives better results than xf86-video-intel. With a NUC6CAYS I'm getting the following on master: -aa10text xf86-video-intel: ~169000/sec xf86-video-modesettings: ~2760000/sec -rgb10text xf86-video-intel: ~165000/sec xf86-video-modesettings: ~3190000/sec I sent a patch for 12019 which will fix this. Patch was rejected. Instead of not shipping xf86-video-intel by default, we will instead patch xserver to change the default auto loads depending on hardware, as xf86-video-intel is superior in some cases. I'll use the patch that's in Fedora and Ubuntu to do this. Fixed for master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=be7511a33deb7c7eb38760ca60564da42c79d41e Created attachment 4319 [details]
log_ubuntu
Created attachment 4320 [details]
Yocto_log
still got low values on yocto image as compare to ubuntu. I have executed this test case for yocto release 2.4.3.rc2. I have executed this test case on Minowmax Board with core-image-sato-sdk. I have attached screenshot. 2.4.3 won't have this patch and I don't know if its appropriate to backport or not. Ross? I don't think that oe-core will backport the patch as it's a massive behavioural change. However, it's trivial to apply in a bbappend in your BSP. The relevant patch you want to apply to xserver-xorg is in this commit to oe-core: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=be7511a33deb7c7eb38760ca60564da42c79d41e Feel free to contact me directly for more details or information. Closing, this is fixed in 2.5 onwards but we won't be backporting this patch to 2.4.x because it's an invasive change. |