[Mesa-users] linux-fbdev

Chia-I Wu olvaffe at gmail.com
Tue Jun 1 19:20:45 PDT 2010


On Wed, Jun 2, 2010 at 1:13 AM, Jamie Amendolagine
<jamie.amendolagine at gmail.com> wrote:
> So, I can't find any instructions on getting this up and running
> (x86-linux-uclibc-mesa-7.8.1 / qemu). I think that I'm pretty close. Any
> help is much appreciated, and I promise to submit any patches that are
> useful...
>
> So far I've got the kernel (2.6.34) built with kms, and vmwgfx support. I
> boot an x86 image (uclibc) in qemu.
>
> /usr/bin/qemu -kernel '/home/jamie/neworyzans/bzImage.kms2' -append
> 'root=/dev/sda rw video=vmwgfx ' -boot c -m 128 -hda
> '/home/jamie/neworyzans/output/images/rootfs.i686.ext2' -net
> nic,vlan=0,model=e1000 -net tap,ifname=tap0,script=/etc/qemu-ifup  -vga
> vmware
>
> on boot I modprobe the modules:
> modprobe vmwgfx
> The gfx resolution changes (corrupting the console), and the following
> modules seem to load OK:
>
> lsmod:
> Module                  Size  Used by    Tainted: G
> vmwgfx                 62458  0
> ttm                    49037  1 vmwgfx
> drm                   164569  2 vmwgfx,ttm
> agpgart                31292  2 ttm,drm
>
> qemu complains with the following:
> vmsvga_value_write: Bad colour depth: 24 bits
> vmsvga_value_write: Bad register 09
> vmsvga_value_write: Bad register 0a
> vmsvga_value_write: Bad register 0b
>
>
> If I go ahead and try and run an app, I get this:
> export EGL_DRIVER=/usr/local/lib/egl/egl_kms_vmwgfx.so
> cd progs/egl
> ./eglscreen
> segfault
>
> ./strace ./eglscreen
> (attached out.txt)
>
>
> on the console running qemu I get this:
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
> ...
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
> vmsvga_value_write: Bad register 22
>
> Am I doing anything obviously wrong?
I don't think qemu SVGA emulation implements the 3D interface used by gallium
vmwgfx driver.  It might be the problem.


-- 
olv at LunarG.com


More information about the mesa-users mailing list