On Thu, 24 Nov 2016 13:12:33 +0000 john <j...@jdm.myzen.co.uk> wrote:
> Hi, > > I am trying to run qemu virtual machine with virtio_gpu using the > following command > > /usr/bin/qemu-system-x86_64 -enable-kvm -m 4096 -smp 8 -localtime > -cdrom Fedora-Workstation-Live-x86_64-25_Beta-1.1.iso -boot > once=d,menu=off -vga virtio -display gtk,gl=on > > but getting the following error when machine gets to display manager > > (qemu-system-x86_64:3192): > Gdk-WARNING **:gdk_gl_context_set_required_version - GL context > versions less than 3.2 are not supported. > > No provider of glUniform4uiv found. > Requires oneof: > Desktop OpenGL 3.0 > OpenGL ES 3.0 > GL extension "GL_EXT_gpu_shader4" > > > I have also tried using -display with sdl,gl=on > > I have tried this in another (arch) linux box and works so I think it > must be a use flag or something but struggling to find out which one > or perhaps missing something else! > > lsmod shows virtio_gpu > > emerge -vp mesa > media-libs/mesa-13.0.1::gentoo USE="bindist classic dri3 egl gallium > gbm gles2 llvm nettle nptl -d3d9 -debug -gcrypt -gles1 -libressl > -opencl -openmax -openssl -osmesa -pax_kernel -pic (-selinux) -vaapi > -valgrind -vdpau -vulkan -wayland -xa -xvmc" ABI_X86="(64) -32 (-x32)" > VIDEO_CARDS="radeon radeonsi (-freedreno) -i915 -i965 -ilo -intel > -nouveau -r100 -r200 -r300 -r600 (-vc4) -vmware" 0 KiB > > virglrenderer is installed. > > If anyone has qemu and virtio-gpu running please let me know and I'll > keep trying. > > > Many Thanks > John > After having a search around the net and trying a few things emerged mesa with the use flag -bindist and qemu machine fired up with virtio_gpu the following command showed this in virtual guest dmesg | grep virt Not sure what the bindist use flag is for but hey ho it's working. Now shall I ditch lxc for qemu?? John. Long live Gentoo (the Ferrari of Linux distros).