Gentoo Archives: gentoo-user

From: john <jdm@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] QEMU virtio_gpu
Date: Thu, 24 Nov 2016 13:12:50
Message-Id: 20161124131233.1ab87217@echoes
1 Hi,
2
3 I am trying to run qemu virtual machine with virtio_gpu using the
4 following command
5
6 /usr/bin/qemu-system-x86_64 -enable-kvm -m 4096 -smp 8 -localtime
7 -cdrom Fedora-Workstation-Live-x86_64-25_Beta-1.1.iso -boot
8 once=d,menu=off -vga virtio -display gtk,gl=on
9
10 but getting the following error when machine gets to display manager
11
12 (qemu-system-x86_64:3192):
13 Gdk-WARNING **:gdk_gl_context_set_required_version - GL context
14 versions less than 3.2 are not supported.
15
16 No provider of glUniform4uiv found.
17 Requires oneof:
18 Desktop OpenGL 3.0
19 OpenGL ES 3.0
20 GL extension "GL_EXT_gpu_shader4"
21
22
23 I have also tried using -display with sdl,gl=on
24
25 I have tried this in another (arch) linux box and works so I think it
26 must be a use flag or something but struggling to find out which one
27 or perhaps missing something else!
28
29 lsmod shows virtio_gpu
30
31 emerge -vp mesa
32 media-libs/mesa-13.0.1::gentoo USE="bindist classic dri3 egl gallium
33 gbm gles2 llvm nettle nptl -d3d9 -debug -gcrypt -gles1 -libressl
34 -opencl -openmax -openssl -osmesa -pax_kernel -pic (-selinux) -vaapi
35 -valgrind -vdpau -vulkan -wayland -xa -xvmc" ABI_X86="(64) -32 (-x32)"
36 VIDEO_CARDS="radeon radeonsi (-freedreno) -i915 -i965 -ilo -intel
37 -nouveau -r100 -r200 -r300 -r600 (-vc4) -vmware" 0 KiB
38
39 virglrenderer is installed.
40
41 If anyone has qemu and virtio-gpu running please let me know and I'll
42 keep trying.
43
44
45 Many Thanks
46 John

Replies

Subject Author
Re: [gentoo-user] QEMU virtio_gpu john <jdm@××××××××××××.uk>