On Wed, 21 Apr 2010 08:01:45 -0600 Brian Paul <bri...@vmware.com> wrote:
> Adam K Kirchhoff wrote: > > I recently tried the r300g driver with vmware to see if it would be > > possible to get 3D acceleration going in a guest OS without using > > fglrx. Unfortunately, vmware-vmx hangs with: > > > > libGL: OpenDriver: trying > > /home/adamk/saved/source/mesa/lib64/gallium//r300_dri.so > > libGL: Can't open configuration file /etc/drirc: No such file or > > directory. vmware-vmx: shader/slang/slang_compile.c:665: > > parse_layout_qualifiers: Assertion `0 && "Bad layout qualifier"' > > failed. > > > > I brought it up on #radeon and was told that it's a GLSL compiler > > bug, and I should mention it here. > > > > I'll go ahead and open up a bug report if that's the best course of > > action, but I wanted to post it here first. If there's anyway to > > get extra debugging information or if there's anything someone > > would like tested, just let me know. > > Hmmm, I run Worksation on Mesa drivers all the time and haven't seen > this. > > Are you using Mesa from git/master or the 7.8 release or ...? > > One thing you could do is log all the shaders to files to try to find > the shader causing trouble. Do "export MESA_GLSL=log" then run > Workstation. You should wind up with a bunch of shader log files > with names of the form shader_N.vert and shader_N.frag The last one > will probably be the one of interest. > > -Brian > OK, we're getting somewhere. Thanks to the helpful folks of #radeon I got s3tc to finally show up in glxinfo (though your suggestion of MESA_EXTENSIONS worked as well). I had libtxc_dxtn.so installed, but somehow only the 32-bit version. Anyway... So the new build of vmware workstation 6.5 starts up now without that specific assertion, but when I go to run dxdiag and test direct3d, vmware hangs with a new one: vmware-vmx: state_tracker/st_manager.c:483: st_context_notify_invalid_framebuffer: Assertion `stfb && stfb->iface == stfbi' failed. As for MESA_GLSL... shader_15.frag is the last one: /* Shader 15 source, checksum 0 */ #extension GL_ATI_shader_texture_lod : enable uniform sampler2D S0;void main(void) {gl_FragColor = texture2DdP(S0, gl_TexCoord[0].xy,dFdx(gl_TexCoord[0].xy),dFdy(gl_TexCoord[0].xy));} /* Compile status: fail */ /* Log Info: */ Error: texture2DdP: undeclared function name. And from vmware.log: Apr 21 12:02:55.083: mks| GLUtil_InstallExtensionLists: Missing extension GL_ARB_imaging Apr 21 12:02:55.083: mks| GLUtil_InstallExtensionLists: Missing extension GL_NV_texture_shader Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_ARB_vertex_blend Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_EXT_stencil_two_side Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_ARB_shader_texture_lod Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_EXT_packed_depth_stencil Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_ATI_shader_texture_lod Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_EXT_gpu_shader4 Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_NV_packed_depth_stencil Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_APPLE_fence Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_NV_fence Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_NV_half_float Apr 21 12:02:55.084: mks| GLUtil_InstallExtensionLists: Missing extension GL_APPLE_flush_buffer_range Apr 21 12:02:55.515: mks| GLChain: Using GL_ARB_texture_rectangle textures Apr 21 12:02:55.684: mks| GLHostCreateContext: Rendering is direct. Apr 21 12:02:55.684: mks| VMGL Panic: Caught signal 6 in glXMakeContextCurrent Apr 21 12:02:55.684: mks| VMGL Panic: args[ 0] = 0x014ec090 Apr 21 12:02:55.684: mks| VMGL Panic: args[ 1] = 0x0186bc20 Apr 21 12:02:55.684: mks| VMGL Panic: args[ 2] = 0x00000000 Apr 21 12:02:55.684: mks| VMGL Panic: args[ 3] = 0x0074c4b8 Apr 21 12:02:55.684: mks| VMGL Panic: args[ 4] = 0x00000000 Apr 21 12:02:55.684: mks| VMGL Panic: args[ 5] = 0xfd1eb7ac Apr 21 12:02:55.684: mks| VMGL Panic: args[ 6] = 0x00007fa1 Apr 21 12:02:55.685: mks| VMGL Panic: args[ 7] = 0x0186bc20 Apr 21 12:02:55.685: mks| VMGL Panic: args[ 8] = 0x00000000 Apr 21 12:02:55.685: mks| VMGL Panic: args[ 9] = 0x04c00083 Apr 21 12:02:55.685: mks| VMGL Panic: args[10] = 0x00000000 Apr 21 12:02:55.685: mks| VMGL Panic: args[11] = 0x04c00083 Apr 21 12:02:55.685: mks| VMGL Panic: args[12] = 0x00000000 Apr 21 12:02:55.685: mks| VMGL Panic: args[13] = 0x014ec090 Apr 21 12:02:55.685: mks| VMGL Panic: args[14] = 0x00000000 Apr 21 12:02:55.685: mks| VMGL Panic: args[15] = 0x00758a09 Apr 21 12:02:55.685: mks| Backtrace: Adam _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev