Android 5.1 on Intel powered classmate PC

792 views
Skip to first unread message

Cristian Rivas

unread,
May 4, 2015, 7:15:18 PM5/4/15
to andro...@googlegroups.com
Hello everyone, thanks for this great project, i just want to report the status of android 5.1 running on Intel Classmate PC, first i tried the build from RBG "android_x86-5.1.0_r3-20150416.iso" but i get the black screen problem, later i tried the build from Midi Jari "android_x86-160420015.iso" this build works fine ( no black screen problem, audio, wifi, video, everything ok) and i am using it now, later i tried the build from RBG "android_x86-5.1.0_r3-MESA-10.4-20150420.iso" as the build from midi this one works fine too but the only problem with this is the video playback "black screen".

Information:

Device: Intel powered classmate PC
CPU: Intel Celeron CPU 847 1,10 GHz
RAM: 2 GB DDR3
Video: Intel HD Graphics 2000 (Sandy Bridge-MB GT1)
Audio: Realtek ALC269
WiFi: Intel Centrino Wireless-N 105


tmp_774-1-Home Screen-1743112336.png
tmp_774-2- Notifications1219763869.png
tmp_774-3- App Drawer-1857810318.png
tmp_774-4- System Information1711002567.png
tmp_774-5- Lock Screen-937858150.png

Mikerx86

unread,
May 4, 2015, 9:29:08 PM5/4/15
to andro...@googlegroups.com

I believe most. If not all 5.x have playback issues. Try VLC.

Sent with AquaMail for Android
http://www.aqua-mail.com

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Cristian Rivas

unread,
May 4, 2015, 9:44:14 PM5/4/15
to andro...@googlegroups.com
Hi Miker with the Midi build i don't have the playback issues :)

Chih-Wei Huang

unread,
May 4, 2015, 10:15:09 PM5/4/15
to Android-x86
2015-05-05 9:44 GMT+08:00 Cristian Rivas <cristia...@gmail.com>:
> Hi Miker with the Midi build i don't have the playback issues :)

This is a known issue of the new mesa.

As I've said, this is a gating issue of lollipop-x86.
Developers, please help to conquer the problem.



--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Mikerx86

unread,
May 5, 2015, 12:54:47 AM5/5/15
to andro...@googlegroups.com

On 5.1 with the 4.0 kernel?

Sent with AquaMail for Android
http://www.aqua-mail.com

On May 4, 2015 8:44:17 PM Cristian Rivas <cristia...@gmail.com> wrote:

Hi Miker with the Midi build i don't have the playback issues :)

--

Cristian Rivas

unread,
May 5, 2015, 1:09:45 AM5/5/15
to andro...@googlegroups.com

Yes, but only videos on 360p, i use BSplayer for 720p and mkv for example.

Screenshot_2015-05-05-00-33-18.png
4- System Information.png
Screenshot_2015-05-05-00-38-42.png

pstglia

unread,
May 5, 2015, 10:00:26 AM5/5/15
to andro...@googlegroups.com
Hi Chih-Wei / everybody,
 
This is a known issue of the new mesa.

As I've said, this is a gating issue of lollipop-x86.
Developers, please help to conquer the problem.

I created a workaround that worked for me.

Basically I changed frameworks/av/media/libstagefright/colorconversion/ColorConverter.cpp in order to force HAL_PIXEL_FORMAT_RGB_565 as default color conversion format,
in place of HAL_PIXEL_FORMAT_YV12 which is not supported by mesa as you pointed before. Patch attached

Because I'm having problems with 10.6 (screen flickers - don't know what's wrong), I could only test it with mesa 10.5.4 (same issue with this version - no video playback before applying patch).

Can some of you test it with mesa 10.6? 

# to be applied under frameworks/av/media/libstagefright/colorconversion
0001-Use-HAL_PIXEL_FORMAT_RGB_565-as-default-conversion-f.patch

Thanks
Pstglia

0001-Use-HAL_PIXEL_FORMAT_RGB_565-as-default-conversion-f.patch
Screenshot_2015-05-05-10-29-41.png
Screenshot_2015-05-05-10-29-51.png

pstglia

unread,
May 5, 2015, 11:20:18 AM5/5/15
to andro...@googlegroups.com
Basically I changed frameworks/av/media/libstagefright/colorconversion/ColorConverter.cpp in order to force HAL_PIXEL_FORMAT_RGB_565 as default color conversion format,
in place of HAL_PIXEL_FORMAT_YV12 which is not supported by mesa as you pointed before. Patch attached

Was looking kitkat code now... This was done previously, using "#if 0" instead a block comment like I did...


    switch (mColorFormat) {
#if 0
        case OMX_COLOR_FormatYUV420Planar:
        case OMX_TI_COLOR_FormatYUV420PackedSemiPlanar:
        {
            if (!runningInEmulator()) {
                halFormat = HAL_PIXEL_FORMAT_YV12;
                bufWidth = (mCropWidth + 1) & ~1;
                bufHeight = (mCropHeight + 1) & ~1;
                break;
            }

            // fall through.
        }
#endif
 

Cristian Rivas

unread,
May 5, 2015, 5:50:30 PM5/5/15
to andro...@googlegroups.com

Hi pstglia, i test your build and everything works (wifi, audio, video playback), but the video looks a little bit strange (nothing serious), i attach screenshots.

On OpenGL Driver Version all says "null" but i don't have graphics problems or is related to other thing?

Midi build.png
Pstglia build.png
Screenshot_2015-05-05-16-59-44.png

pstglia

unread,
May 6, 2015, 10:49:51 AM5/6/15
to andro...@googlegroups.com
Hi Cristian,


Hi pstglia, i test your build and everything works (wifi, audio, video playback), but the video looks a little bit strange (nothing serious), i attach screenshots.

I noticed some lack of colors comparing the 2 images, maybe a loss during conversion from YV12 to RGB565... Appart of this, video is struggling or any other issue you noted?
If Midi Jar is reading this, I'd like to ask if he changed anything in order to have video playback.

 

On OpenGL Driver Version all says "null" but i don't have graphics problems or is related to other thing?

It's a known issue on Lollipop. It's just not able to display OpenGL info. But you can get this info other ways (logcat is one of them):

logcat -d | grep -iE "SurfaceFlinger: (renderer|version|vendor|extension)"

Cristian Rivas

unread,
May 7, 2015, 11:11:02 AM5/7/15
to andro...@googlegroups.com

> I noticed some lack of colors comparing the 2 images, maybe a loss during conversion from YV12 to RGB565... Appart of this, video is struggling or any other issue you noted?

Hi pstglia, i don't have any other issue with video playback just that.

Chih-Wei Huang

unread,
May 8, 2015, 11:54:06 AM5/8/15
to Android-x86
Thank you for pointing it out.
Indeed I forgot to cherry-pick necessary patches
from kitkat-x86.
Let me check it...

Chih-Wei Huang

unread,
May 11, 2015, 12:21:52 AM5/11/15
to Android-x86
2015-05-08 23:54 GMT+08:00 Chih-Wei Huang <cwh...@android-x86.org>:
>
> Thank you for pointing it out.
> Indeed I forgot to cherry-pick necessary patches
> from kitkat-x86.
> Let me check it...

I've applied and pushed most Intel patches for
frameworks/av from kitkat-x86 to lollipop-x86.
Now video playback seems fine.

We still miss stagefright-plugins related patches,
the next todo item.
Reply all
Reply to author
Forward
0 new messages