Recently Rayne in #linux-forum.de posted a link to an Article, in which they wrote about VMGL. The whole Project seems very interesting and useful (respect!) anyway. I took this Article as a test, as i felt recently into a Problem with OpenSolaris Zones. I use X11 using TCP Connections within a Zone to the X Server of the Host. This works fine for normal Applications, but for more and Games like Urban Terror it’s not enough (30 FPS within the game on quiet good Hardware) – I’m not sure but i think using the Unix Socket would speed this up a lot. But as OpenSolaris Zones are totally different from a simply chroot where i could bind the Unix Socket – All my tries failed. Sym/Hardlinking doesn’t work either (logically as i found out). So for now, as i didn’t found a way to use the Socket, VMGL could probably do this Job.
Let’s try it out. I got the Source of it from their Website: http://sysweb.cs.toronto.edu/projects/7 and tried to compile it as explained. What “tried” mean? Well, it could well be that this isn’t working at all as i’m not using vmware, nor qemu nor xen. Anyway.. In the Host i get:
-------------------------------------------------------------------------------
Building stub-daemon for SunOS (RELEASE)
-------------------------------------------------------------------------------
gmake[3]: Entering directory `/export/home/chani/vmgl.hg/cr/stub-daemon'
Compiling daemon.c
Linking stub-daemon for SunOS
Undefined first referenced
symbol in file
bind ../dist/lib//libvmglstubdaemon.a(vmgl-stub-daemon.o)
accept ../dist/lib//libvmglstubdaemon.a(vmgl-stub-daemon.o)
listen ../dist/lib//libvmglstubdaemon.a(vmgl-stub-daemon.o)
socket ../dist/lib//libvmglstubdaemon.a(vmgl-stub-daemon.o)
ld: fatal: Symbol referencing errors. No output written to ../dist/bin//stub-daemon
collect2: ld returned 1 exit status
gmake[3]: *** [../dist/bin//stub-daemon] Error 1
gmake[3]: Leaving directory `/export/home/chani/vmgl.hg/cr/stub-daemon'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/chani/vmgl.hg/cr/stub-daemon'
make[1]: *** [stub-daemon.subdir] Error 2
make[1]: Leaving directory `/export/home/chani/vmgl.hg/cr'
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cannot read dir /usr/lib/mozilla: Permission denied
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/elfedit/32/
find: cycle detected for /usr/lib/lwp/32/
install: libarrayspu.so was not found anywhere!
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cannot read dir /usr/lib/mozilla: Permission denied
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/elfedit/32/
find: cycle detected for /usr/lib/lwp/32/
install: glstub was not found anywhere!
make: *** [all] Error 1
chani@yulivee:~/vmgl.hg$
And in the Lunar Zone:
root@lunar ~/vmgl.hg # make install -d /root/vmgl.hg/dist/lib/ install -d /root/vmgl.hg/dist/bin/ (cd cr ; \ make ; \ install -s -m 0755 dist/lib/*.so /root/vmgl.hg/dist/lib/ ; \ install -s -m 0755 dist/bin/* /root/vmgl.hg/dist/bin/ ; \ ) || exit 1 make[1]: Entering directory `/root/vmgl.hg/cr' /bin/sh: gmake: command not found make[1]: *** [util.subdir] Error 127 make[1]: Leaving directory `/root/vmgl.hg/cr' install: cannot stat `dist/lib/*.so': No such file or directory install: cannot stat `dist/bin/*': No such file or directory make: *** [all] Error 1 root@lunar ~/vmgl.hg #
That was a simply “make” in host and guest. As you can see.. it’s not easy to compile this Stuff. Anyway. I have no time to try fixing this issues yet. Probably next week.
