qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* 3D Acceleration for Windows hosts?
@ 2021-03-11 16:09 John Klimek
  2021-03-12  7:00 ` Marc-André Lureau
  0 siblings, 1 reply; 3+ messages in thread
From: John Klimek @ 2021-03-11 16:09 UTC (permalink / raw)
  To: qemu-devel

Does QEMU have any support for 3D acceleration on Windows hosts?

I'm not too familiar with video/graphics libraries, but it seems like
QEMU OpenGL support requires Mesa GBM which is only available for
Linux (DRM/KMS).

The other option is the Virgl3D renderer but that also requires Linux (DRM).

I'm not really sure if I know what I'm talking about so please correct
me if I'm wrong and also let me know if there is a way to enable 3D
acceleration under Windows hosts.

Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3D Acceleration for Windows hosts?
  2021-03-11 16:09 3D Acceleration for Windows hosts? John Klimek
@ 2021-03-12  7:00 ` Marc-André Lureau
  2021-03-12 19:10   ` John Klimek
  0 siblings, 1 reply; 3+ messages in thread
From: Marc-André Lureau @ 2021-03-12  7:00 UTC (permalink / raw)
  To: John Klimek; +Cc: QEMU

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Hi

On Fri, Mar 12, 2021 at 2:44 AM John Klimek <jklimek@gmail.com> wrote:

> Does QEMU have any support for 3D acceleration on Windows hosts?
>
> I'm not too familiar with video/graphics libraries, but it seems like
> QEMU OpenGL support requires Mesa GBM which is only available for
> Linux (DRM/KMS).
>

In theory, the SDL and GTK3 backends should work on Windows with gl=on. But
I don't think anyone really tried it, so a few fixes are to be expected.


> The other option is the Virgl3D renderer but that also requires Linux
> (DRM).
>
>
Not so long ago, it was possible to cross-compile virgl for windows. But
virgl depends on a functioning QEMU GL backend, so getting the above is a
preliminary. Note that OpenGL drivers on Windows have been notoriously bad,
and you may need to use ANGLE.


> I'm not really sure if I know what I'm talking about so please correct
> me if I'm wrong and also let me know if there is a way to enable 3D
> acceleration under Windows hosts.
>

-- 
Marc-André Lureau

[-- Attachment #2: Type: text/html, Size: 1759 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3D Acceleration for Windows hosts?
  2021-03-12  7:00 ` Marc-André Lureau
@ 2021-03-12 19:10   ` John Klimek
  0 siblings, 0 replies; 3+ messages in thread
From: John Klimek @ 2021-03-12 19:10 UTC (permalink / raw)
  To: Marc-André Lureau; +Cc: QEMU

Thanks very much for the information.

However, when I try to run configure with --enable-opengl it reports
the following:

ERROR: User requested feature opengl
       configure was not able to find it.
       Please install opengl (mesa) devel pkgs: epoxy gbm

It looks like it requires gbm which is only available for Linux
DRM/KRS.  I don't see any configuration options to enable OpenGL with
SDL and GTK3?

On Fri, Mar 12, 2021 at 2:01 AM Marc-André Lureau
<marcandre.lureau@gmail.com> wrote:
>
> Hi
>
> On Fri, Mar 12, 2021 at 2:44 AM John Klimek <jklimek@gmail.com> wrote:
>>
>> Does QEMU have any support for 3D acceleration on Windows hosts?
>>
>> I'm not too familiar with video/graphics libraries, but it seems like
>> QEMU OpenGL support requires Mesa GBM which is only available for
>> Linux (DRM/KMS).
>
>
> In theory, the SDL and GTK3 backends should work on Windows with gl=on. But I don't think anyone really tried it, so a few fixes are to be expected.
>
>>
>> The other option is the Virgl3D renderer but that also requires Linux (DRM).
>>
>
> Not so long ago, it was possible to cross-compile virgl for windows. But virgl depends on a functioning QEMU GL backend, so getting the above is a preliminary. Note that OpenGL drivers on Windows have been notoriously bad, and you may need to use ANGLE.
>
>>
>> I'm not really sure if I know what I'm talking about so please correct
>> me if I'm wrong and also let me know if there is a way to enable 3D
>> acceleration under Windows hosts.
>
>
> --
> Marc-André Lureau


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-12 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 16:09 3D Acceleration for Windows hosts? John Klimek
2021-03-12  7:00 ` Marc-André Lureau
2021-03-12 19:10   ` John Klimek

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).