From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Jun Koi <junkoi2004@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: opengl=1?
Date: Thu, 11 Dec 2008 11:11:41 +0000 [thread overview]
Message-ID: <4940F56D.30202@eu.citrix.com> (raw)
In-Reply-To: <fdaac4d50812110300w6c8c2111w27fc1e209d4647fd@mail.gmail.com>
Jun Koi wrote:
> On Thu, Dec 11, 2008 at 7:33 PM, Stefano Stabellini
> <stefano.stabellini@eu.citrix.com> wrote:
>> Jun Koi wrote:
>>
>>> Hi,
>>>
>>> I found that we have an option named opengl. What is that for? So if I
>>> put "opengl=1" in my VM configuration file, what advantage my VM will
>>> get??
>>>
>> opengl=1 is the default and makes qemu render the guest framebuffer
>> using opengl.
>
> OK, so the patch you posted on QEMU mailing list is to enable this
> function on QEMU.
Yes.
>> Otherwise if you set opengl=0 qemu will use the sdl library.
>> opengl=1 makes sense if you don't use vnc
>
> So this means "opengl=1" (default) and "vnc=0" will give a better
> performance than "vnc=1, sdl=0", right?
Just to be clear opengl is used only together with sdl: sdl is still
needed to create the window.
So the three possibilities are:
/* window on the host screen, opengl acceleration */
sdl=1 opengl=1 vnc=0
/* window on the host screen, no opengl acceleration */
sdl=1 opengl=0 vnc=0
/* no window on the host screen just a vnc server */
sdl=0 (opengl does not matter) vnc=0
>> and you have good drivers for
>> your graphic card in dom0.
>
> I am using Ubuntu 8.10 with chipset Intel 945GM, so certainly I have
> "good driver", right?
>
If you are using the intel driver (intel, i815, i915, etc.) in xorg,
yes; if you are using the vesa driver, no.
If you are using opengl=1 and the vesa driver in xorg, you'll notice
because it is really slow.
next prev parent reply other threads:[~2008-12-11 11:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 10:19 opengl=1? Jun Koi
2008-12-11 10:33 ` opengl=1? Stefano Stabellini
2008-12-11 11:00 ` opengl=1? Jun Koi
2008-12-11 11:11 ` Stefano Stabellini [this message]
2008-12-12 1:07 ` opengl=1? Jun Koi
2008-12-12 10:26 ` opengl=1? 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=4940F56D.30202@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=junkoi2004@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.