From: Gareth Stockwell <gareth.stockwell@arm.com>
To: xen-devel@lists.xen.org
Subject: Re: Modifying xenfb colour depth from Android domU
Date: Thu, 28 Aug 2014 12:16:06 +0100 [thread overview]
Message-ID: <53FF0F76.3080102@arm.com> (raw)
In-Reply-To: <53FF013E.7000308@citrix.com>
On 28/08/14 11:15, David Vrabel wrote:
> On 28/08/14 10:21, Gareth Stockwell wrote:
>> I'm facing some problems getting xenfb to work with an Android domU, on
>> ARM.
>>
>> The issue is that the framebuffer is created with a depth of 32bpp,
>> while the Android guest is rendering RGB565.
>>
>> I tried to fix this by using the fbdev API to request a change of pixel
>> format, during the Android startup:
> I'm not very familiar with the xenfb driver but it looks like it would
> all just work provided you have a backend that supports feature-resize.
>
> What backend are you using?
>
> David
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
I've tried with both VNC and SDL backends.
If I read correctly the xenstore fragment below, it's reporting that the
VNC backend does support feature-resize, but FBIOPUT_VSCREENINFO still
fails as I described previously.
root@dom0:~# xenstore-ls /local/domain/0/backend/vfb
2 = ""
0 = ""
frontend = "/local/domain/2/device/vfb/0"
frontend-id = "2"
online = "1"
state = "2"
domain = "ree"
vnc = "1"
vnclisten = "0.0.0.0"
vncdisplay = "2"
vncunused = "1"
sdl = "0"
opengl = "0"
feature-resize = "1"
hotplug-status = "connected"
Gareth
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
next prev parent reply other threads:[~2014-08-28 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 9:21 Modifying xenfb colour depth from Android domU Gareth Stockwell
2014-08-28 10:15 ` David Vrabel
2014-08-28 11:16 ` Gareth Stockwell [this message]
2014-08-28 12:43 ` David Vrabel
2014-09-04 22:38 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53FF0F76.3080102@arm.com \
--to=gareth.stockwell@arm.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).