On 11/25/2016 11:10 AM, john wrote:
> 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).
> 
> 
>  
> 
'bindist' is short for "binary distribution"; some code (mostly
microcode, firmware, GPU drivers, multimedia codecs) is copyright- or
patent-encumbered, meaning that you can't legally distribute some pieces
of software in binary (compiled) form. The 'bindist' USE flag, in
combination with the LICENSE variable in make.conf, give you the tools
needed to decide how free (libre) you want your system to be.

USE=bindist should be set per-package inside package.use, unless you
understand the implications of setting or unsetting it globally.

Great to read things are working!
-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to