Ah. I'll try compiling qemu from source to see what options there are etc -- it looks like there is a kms option and maybe qemu from the ubuntu repo is not enabling it... <br>If I can not get that to work, is there a best way to get mesa/egl/ogles-1/2/ovg working without X11? Even in software mode? <br>
<br>Jamie<br><br><br><br><br><div class="gmail_quote">On Tue, Jun 1, 2010 at 7:20 PM, Chia-I Wu <span dir="ltr"><<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Jun 2, 2010 at 1:13 AM, Jamie Amendolagine<br>
<div class="im"><<a href="mailto:jamie.amendolagine@gmail.com">jamie.amendolagine@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> So, I can't find any instructions on getting this up and running<br>
> (x86-linux-uclibc-mesa-7.8.1 / qemu). I think that I'm pretty close. Any<br>
> help is much appreciated, and I promise to submit any patches that are<br>
> useful...<br>
><br>
> So far I've got the kernel (2.6.34) built with kms, and vmwgfx support. I<br>
> boot an x86 image (uclibc) in qemu.<br>
><br>
> /usr/bin/qemu -kernel '/home/jamie/neworyzans/bzImage.kms2' -append<br>
> 'root=/dev/sda rw video=vmwgfx ' -boot c -m 128 -hda<br>
> '/home/jamie/neworyzans/output/images/rootfs.i686.ext2' -net<br>
> nic,vlan=0,model=e1000 -net tap,ifname=tap0,script=/etc/qemu-ifup -vga<br>
> vmware<br>
><br>
> on boot I modprobe the modules:<br>
> modprobe vmwgfx<br>
> The gfx resolution changes (corrupting the console), and the following<br>
> modules seem to load OK:<br>
><br>
> lsmod:<br>
> Module Size Used by Tainted: G<br>
> vmwgfx 62458 0<br>
> ttm 49037 1 vmwgfx<br>
> drm 164569 2 vmwgfx,ttm<br>
> agpgart 31292 2 ttm,drm<br>
><br>
> qemu complains with the following:<br>
> vmsvga_value_write: Bad colour depth: 24 bits<br>
> vmsvga_value_write: Bad register 09<br>
> vmsvga_value_write: Bad register 0a<br>
> vmsvga_value_write: Bad register 0b<br>
><br>
><br>
> If I go ahead and try and run an app, I get this:<br>
> export EGL_DRIVER=/usr/local/lib/egl/egl_kms_vmwgfx.so<br>
> cd progs/egl<br>
> ./eglscreen<br>
> segfault<br>
><br>
> ./strace ./eglscreen<br>
> (attached out.txt)<br>
><br>
><br>
> on the console running qemu I get this:<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
> ...<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
> vmsvga_value_write: Bad register 22<br>
><br>
> Am I doing anything obviously wrong?<br>
</div></div>I don't think qemu SVGA emulation implements the 3D interface used by gallium<br>
vmwgfx driver. It might be the problem.<br>
<font color="#888888"><br>
<br>
--<br>
olv@LunarG.com<br>
</font></blockquote></div><br>