Does android x86 support HDMI to a TV

4,943 views
Skip to first unread message

Hasan Asfoor

unread,
Aug 28, 2018, 7:18:14 AM8/28/18
to Android-x86
I have been trying to connect my laptop (with android x86) to a sony smart TV using HDMI but get a black screen with no signal. I tried all tricks suggested in this group and other groups using the grub configurations like video=LVDS-d:1 but without any luck.

I appreciate if anyone can help in this regard.

I have Nvidia GT770 in my laptop.

Thanks

Hasan Asfoor

unread,
Aug 28, 2018, 7:30:41 AM8/28/18
to Android-x86
correction:

It is Nvidia GTX780M

Message has been deleted

Christian Jamoner

unread,
Aug 28, 2018, 7:36:20 AM8/28/18
to Android-x86

Hi Hasan,

Instead of video=LVDS-d:1, try video=LVDS-1:d
This is most common for laptops. 
Check /sys/class/drm/ to see the exact name of your internal display to disable. Note that LVDS-1 is not constant. 

Hasan Asfoor

unread,
Aug 28, 2018, 8:21:53 AM8/28/18
to Android-x86
Sorry for my typo, I meant video=LVDS-1:d.
I tried it and tried a bunch of other names like eDP-1, DP1 and even HDMI-A-1 and HDMI-1-1 but none of them worked.

Christian Jamoner

unread,
Aug 28, 2018, 9:13:19 AM8/28/18
to Android-x86
Have you checked /sys/class/drm? Please do ls -l in that directory and share the output.
Message has been deleted

Hasan Asfoor

unread,
Aug 28, 2018, 1:08:55 PM8/28/18
to Android-x86
now i can find it after i logged in. was not availabe in debug mode.

i can see the following inside:
card0
card0-VGA-1
card0-eDP-1
card1
card1-DP-1
card1-HDMI-A-1
controlD65
controlD64
renderD128
renderD129
ttm

Hasan Asfoor

unread,
Aug 28, 2018, 1:19:01 PM8/28/18
to Android-x86
I also noticed drm/card0/card0-eDP-1/enabled to have the value "enabled" while drm/card1/card1-DP-1/enabled to contain "disabled".

card1-HDMI-A-1/enabled also contains "disabled"

Christian Jamoner

unread,
Aug 28, 2018, 2:27:43 PM8/28/18
to Android-x86
You might need to add 2 parameters: 
video=eDP-1:d video=HDMI-A-1:e

video=eDP-1:d - disables your internal display
video=HDMI-A-1:e - enables your external HDMI display

Try if it works. Later you may experiment changing the resolution of the HDMI display e.g. video=HDMI-A-1:D:1920x1080@60 or video=HDMI-A-1:1920x1080@60

Hasan Asfoor

unread,
Aug 28, 2018, 3:00:28 PM8/28/18
to Android-x86
I tried the two parameters and the other HDMI options in addition to various combination of all but none of them worked!

Hasan Asfoor

unread,
Aug 28, 2018, 3:03:32 PM8/28/18
to Android-x86

WIN_20180828_22_01_49_Pro.jpg

When  I unplug and replug the HDMI cable, I get a greenish screen just like the attached.

Christian Jamoner

unread,
Aug 28, 2018, 8:27:05 PM8/28/18
to Android-x86
Does your laptop still have display after adding the 2 parameter? If yes, then get the output of this to make sure you are passing the kernel parameters correctly.

cat /proc/cmdline

Christian Jamoner

unread,
Aug 28, 2018, 8:39:14 PM8/28/18
to Android-x86
gtx780m has display port and hdmi output. So you are using hdmi output? Not the DP (laptop) to hdmi (tv)? Are you able to do this with windows just to make sure the cable is okay?

Hasan Asfoor

unread,
Aug 28, 2018, 11:11:39 PM8/28/18
to Android-x86
Yes it works with both windows and ubuntu HDMI works fine.

And yes the displays of both Laptop and TV go black.

I will try the command later.

Thanks

Hasan Asfoor

unread,
Aug 29, 2018, 3:04:09 PM8/29/18
to Android-x86
I tried the command. It shows that the parameters were correctly passed but still it did not work!

I suspect that the reason is because my laptop has two GPU cards (one Intel HD and the other is Nvidia). Any idea how to switch between the to GPUs or force to use a particular one.

Thanks

Christian

unread,
Sep 6, 2018, 8:54:11 AM9/6/18
to Android-x86
My HDMI output does not work in landscape mode

Chih-Wei Huang

unread,
Sep 7, 2018, 1:38:40 AM9/7/18
to Android-x86
2018-08-30 3:04 GMT+08:00 Hasan Asfoor <asfoor....@gmail.com>:
> I tried the command. It shows that the parameters were correctly passed but
> still it did not work!
>
> I suspect that the reason is because my laptop has two GPU cards (one Intel
> HD and the other is Nvidia). Any idea how to switch between the to GPUs or
> force to use a particular one.

That could be the problem.

One suggestion is to disable intel driver (i915) by
adding it to /etc/modules.blacklist:

blacklist i915

Then check cat /proc/fb to see
what fb driver is used.

--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Reply all
Reply to author
Forward
0 new messages