How to force video resolution for external touch screen to 800x600 on i915?

3,060 views
Skip to first unread message

Kevin Beausoleil

unread,
May 10, 2012, 1:10:34 PM5/10/12
to Android-x86
Sorry for posting so much, but i've exhausted the search function and
nothing i am doing is working. I got my external monitor to display
and got it calibrated (thanks @vicky.budhir...@sitarasoft.com) but now
i want to force my resolution to 800x600 from 1024x768. nothing im
writing to the grub menu is working, (video=800x600,
UVESA_MODE=800x600, vga=800x600) and ive tried every single variety
with and without quotes. what am i missing? i just want this monitor
to display in a larger resolution so its easier to navigate in my
car. Pleas help. Its on an intel GMA950 chipset and using the intel
FB and i915 loaded. if i need to list more info let me know. thanks!

Dan

unread,
May 10, 2012, 5:44:13 PM5/10/12
to Android-x86
If you're building the image yourself - try this in your
BoardConfig.mk

BOARD_KERNEL_CMDLINE += video=LVDS-1:d video=1024x768 i915.modeset=1

or if you're using an iso downloaded - when booting from the grub
menu, edit the kernel line to add: video=LVDS-1:d video=1024x768
i915.modeset=1
(or modeset=0)

One of those should get it.

If I'm not mistaken, the UVESA.... stuff is for the UVESA driver which
you aren't using - you're using the 915 intel one.  if i need to list

Dan

unread,
May 10, 2012, 5:45:03 PM5/10/12
to Android-x86
oops -

video=LVDS-1:d video=800x600 i915.modeset=1
Message has been deleted

Kevin Beausoleil

unread,
May 10, 2012, 5:52:17 PM5/10/12
to Android-x86
Thanks for the reply dan. I have tried both of those configurations,
with modeset=1 and 0 with no result. Only think that changes is the
command prompt when you press alt+f1 from gui. when booting, it shows
the "a n d r o i d eeepc@" in command which does change to 800x600 but
once the GUI loads up, it reverts back to 1024x768. i'm not sure
where to turn at this point.

Kevin Beausoleil

unread,
May 13, 2012, 10:04:00 AM5/13/12
to Android-x86
can anyone help? im running out of ideas. it works great i just need
the resolution bigger. i tried changing the DPI but it causes the gui
to stop unexpectedly. keeps displaying that error

Kevin Beausoleil

unread,
May 14, 2012, 12:06:05 AM5/14/12
to Android-x86
anyone have any other advice? this is super frustrating...

On May 10, 5:45 pm, Dan <daniel.naugh...@gmail.com> wrote:
Message has been deleted

Anunakin

unread,
May 14, 2012, 8:42:04 AM5/14/12
to andro...@googlegroups.com
try use:
nomodeset UVESA_MODE=800x600

or:
xforcevesa nomodeset UVESA_MODE=800x600

vga param is for boot time only and you need a Linux machine to see correct hex value for 800x600
using this command line:
hwinfo --framebuffer

Chih-Wei Huang

unread,
May 15, 2012, 11:43:33 PM5/15/12
to andro...@googlegroups.com
2012/5/13 Kevin Beausoleil <kevi...@gmail.com>:
> can anyone help?  im running out of ideas.  it works great i just need
> the resolution bigger.  i tried changing the DPI but it causes the gui
> to stop unexpectedly.  keeps displaying that error

Since you are using i915, the resolution is controlled
by mesa/drm directly. The only way to change resolution
is set the property:

setprop debug.drm.mode 800x600

You may add it to init.rc.

Refer to the doc for how to change resolution
for different framebuffer drivers:

https://docs.google.com/presentation/pub?id=1mUQDFaERipwQQWHiZxmkvwPXNPlqtdv9lXrY5hPoUJ4&start=false&loop=false&delayms=3000

This should be the most complete technical reference
for android-x86 so far.

--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Message has been deleted

Kevin Rodriguez Roman

unread,
Aug 5, 2016, 6:55:42 AM8/5/16
to Android-x86
I was having the same issue with an acer e5-511p that has touch-screen. I wanted to use a VGA external monitor but the internal screen was always on even with "video=LVDS-1:d" , it turns out that the internal screen was not connected to that port (LVDS), so the command didn't work. After checking the devices in /sys/class/drm/ (you can use this to check the video ports and their status: for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done ) I found another port named eDP-1 . Tried in the kernel arguments with "video=eDP-1:d"  and the laptop screen didn't turn on during boot, Linux took the external screen as primary and set the resolution properly. :)
Reply all
Reply to author
Forward
0 new messages