2018-01-26 18:28 GMT+08:00 Chih-Wei Huang <
cwh...@android-x86.org>:
> 2018-01-26 17:49 GMT+08:00 fguy <
fguy...@gmail.com>:
>>> Hmm..? I have no problem to run
>>> Antutu 3D benchmark on Surface 3
>>> with the latest image.
>>> What's your GPU?
>>
>> This problem is not related to the GPU. I observe it both in vmware and in
>> intel 6Y30. It occurs when the kernel does not detect the sensors hub and
>> "init.sh" sets the parameter "ro.hardware.sensor = kbd".
>
> Why did you think it's related to sensors?
> The forced_orient function has already in 7.1-rc2
> which doesn't suffer from the problem as Robert said.
I may reply too quickly. Sorry!
After testing on a device with kbdsensor,
I do see system_server crashing in
libsensorservice.so.
But the root cause is not due to the forced_orient function
but in the recently updated libsensors (beyond 7.1-rc2).
The reason I didn't see it in Surface 3 is because
it uses another sensors HAL (iio).
I'll work out a fix.
Thank you for the report!