vmwgfx
Thomas Hellstrom
thellstrom at vmware.com
Thu May 26 07:11:31 PDT 2011
Hi!
For those of you interested, vmwgfx will see some development in the
near future. We will focus on improving the X driver interactivity,
supporting the newest compositing GL desktops, getting the kernel module
out of staging, and also support kms and x/dri2 EGL well enough to run
the Wayland demo compositor. Any help with the latter is of course
greatly appreciated.
/Thomas
On 05/26/2011 01:58 PM, Marty Jack wrote:
>
> On 05/25/2011 10:20 PM, Christopher Friedt wrote:
>
>> Hi Marty,
>>
>> Thanks for your suggestion - I looked back in the wayland lists a bit
>> and found Kristian's suggestion that libxkbcommon should be compiled
>> with --with-xkb-config-root=/usr/share/X11/xkb (in my case). Now it
>> doesn't fail, but it hangs indefinitely with now screen output.
>>
>> I also switched the "Use this to log GL calls to stdout (for DEBUG
>> only!)" section in mesa's glapi_dispatch.c to give a bit more context.
>>
>> > From the trace below[1], it would seem that glGetError() is called
>> only after functions like glEGLImageTargetTexture2DOES(), which has
>> dependencies on EGL_KHR_image, and EGL_KHR_image_base.
>>
>> It seems that the KHR extensions need to be implemented for vmwgfx, no?
>>
>> Cheers,
>>
>> C
>>
>> [1]
>> # flower
>> XDG_RUNTIME_DIR not set, falling back to .
>> Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
>> compression/decompression unavailable
>> glGetString(0x1f02);
>> glGetString(0x1f02);
>> glGetString(0x1f03);
>> glGetString(0x1f02);
>> glGetString(0x1f02);
>> glGetString(0x1f03);
>> glGetString(0x1f03);
>> glGetString(0x1f02);
>> glCreateShader(0x8b31);
>> glShaderSourceARB(1, 1, 0x7fffda86d140, (nil));
>> glCompileShaderARB(1);
>> glGetShaderiv(1, 0x8b81, 0x7fffda86d15c);
>> glCreateShader(0x8b30);
>> glShaderSourceARB(2, 1, 0x7fffda86d140, (nil));
>> glCompileShaderARB(2);
>> glGetShaderiv(2, 0x8b81, 0x7fffda86d15c);
>> glCreateProgram();
>> glAttachShader(3, 1);
>> glAttachShader(3, 2);
>> glBindAttribLocationARB(3, 0, 0x7f5a0b91f5cf);
>> glBindAttribLocationARB(3, 1, 0x7f5a0b91f5d6);
>> glBindAttribLocationARB(3, 2, 0x7f5a0b91f5dc);
>> glBindAttribLocationARB(3, 3, 0x7f5a0b91f5eb);
>> glLinkProgramARB(3);
>> glGetProgramiv(3, 0x8b82, 0x7fffda86d15c);
>> glGenBuffersARB(1, 0x723818);
>> glGenBuffersARB(1, 0x72381c);
>> glGetIntegerv(0x84e8, 0x723820);
>> glGetIntegerv(0xd33, 0x723824);
>> glGetIntegerv(0x8872, 0x723828);
>> glGenTextures(1, 0x880150);
>> glBindTexture(0xde1, 1);
>> glEGLImageTargetTexture2DOES(0xde1, 0x9f3a70);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 1);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 1);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x93c010);
>> glBindTexture(0xde1, 2);
>> glEGLImageTargetTexture2DOES(0xde1, 0x8810e0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 2);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 2);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x6141c0);
>> glBindTexture(0xde1, 3);
>> glEGLImageTargetTexture2DOES(0xde1, 0x615bb0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 3);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 3);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x612d80);
>> glBindTexture(0xde1, 4);
>> glEGLImageTargetTexture2DOES(0xde1, 0x882c40);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 4);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 4);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x901740);
>> glBindTexture(0xde1, 5);
>> glEGLImageTargetTexture2DOES(0xde1, 0xa95820);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 5);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 5);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7c0440);
>> glBindTexture(0xde1, 6);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7bd8d0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 6);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 6);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7ba650);
>> glBindTexture(0xde1, 7);
>> glEGLImageTargetTexture2DOES(0xde1, 0x9549f0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 7);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 7);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7a9520);
>> glBindTexture(0xde1, 8);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7a94e0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 8);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 8);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7a94c0);
>> glBindTexture(0xde1, 9);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7ad4a0);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 9);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 9);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7ab140);
>> glBindTexture(0xde1, 10);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7a8c40);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 10);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 10);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7ab1a0);
>> glBindTexture(0xde1, 11);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7ab160);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 11);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 11);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> glGenTextures(1, 0x7af0f0);
>> glBindTexture(0xde1, 12);
>> glEGLImageTargetTexture2DOES(0xde1, 0x7ae220);
>> glGetError();
>> glActiveTexture(0x84c2);
>> glBindTexture(0xde1, 12);
>> glTexParameteri(0xde1, 0x2801, 9728);
>> glTexParameteri(0xde1, 0x2800, 9728);
>> glGetError();
>> glBindTexture(0xde1, 12);
>> glTexSubImage2D(0xde1, 0, 0, 0, 32, 32, 0x1908, 0x1401, 0x7bc3a0);
>> Internal error: Could not resolve keysym SunProps
>> Internal error: Could not resolve keysym SunFront
>> Internal error: Could not resolve keysym SunOpen
>> glGetError();
>> glBindFramebufferEXT(0x8d40, 0);
>> glDrawBuffer(0x402);
>> glReadBuffer(0x402);
>> glViewport(0, 0, 200, 200);
>> glDisable(0xc11);
>> glClearColor(0.000000, 0.000000, 0.000000, 0.000000);
>> glClear(16384);
>> glGetError();
>> glGetError();
>> glEnable(0xbe2);
>> glCreateShader(0x8b31);
>> glShaderSourceARB(4, 1, 0x7fffda86c800, (nil));
>> glCompileShaderARB(4);
>> glGetShaderiv(4, 0x8b81, 0x7fffda86c81c);
>> glCreateShader(0x8b30);
>> glShaderSourceARB(5, 1, 0x7fffda86c800, (nil));
>> glCompileShaderARB(5);
>> glGetShaderiv(5, 0x8b81, 0x7fffda86c81c);
>> glCreateProgram();
>> glAttachShader(6, 4);
>> glAttachShader(6, 5);
>> glBindAttribLocationARB(6, 0, 0x7f5a0b91f5cf);
>> glBindAttribLocationARB(6, 1, 0x7f5a0b91f5d6);
>> glBindAttribLocationARB(6, 2, 0x7f5a0b91f5dc);
>> glBindAttribLocationARB(6, 3, 0x7f5a0b91f5eb);
>> glLinkProgramARB(6);
>> glGetProgramiv(6, 0x8b82, 0x7fffda86c81c);
>> glGetIntegerv(0x8b8d, 0x7fffda86c918);
>> glUseProgramObjectARB(6);
>> glGetUniformLocationARB(6, 0x7f5a0b91f5c0);
>> glGetUniformLocationARB(6, 0x7f5a0b91f5b3);
>> glUseProgramObjectARB(0);
>> glBindBufferARB(0x8892, 2);
>> glVertexAttribPointerARB(0, 2, 0x1406, 0, 12, (nil));
>> glEnableVertexAttribArrayARB(0);
>> glVertexAttribPointerARB(1, 4, 0x1401, 1, 12, 0x8);
>> glEnableVertexAttribArrayARB(1);
>> glBlendFunc(0x1, 0x303);
>> glUseProgramObjectARB(6);
>> glGetUniformLocationARB(6, 0x7f5a0b91e686);
>> glUniformMatrix4fvARB(0, 1, 0, 0x724560);
>> glGetUniformLocationARB(6, 0x7fffda86c8d0);
>> glUniform4fARB(65536, 0.744898, 0.683673, 1.000000, 1.000000);
>> glDisable(0xc11);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glGetError();
>> glGetError();
>> glEnable(0xbe2);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 942);
>> glBlendFunc(0x1, 0x303);
>> glGetUniformLocationARB(6, 0x7f5a0b91e686);
>> glUniformMatrix4fvARB(0, 1, 0, 0x724560);
>> glGetUniformLocationARB(6, 0x7fffda86c820);
>> glUniform4fARB(65536, 1.000000, 1.000000, 1.000000, 1.000000);
>> glDisable(0xc11);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 1362);
>> glBufferDataARB(0x8892, 16384, (nil), 0x88e0);
>> glMapBufferARB(0x8892, 0x88b9);
>> glGetError();
>> glGetError();
>> glUnmapBufferARB(0x8892);
>> glDrawArrays(0x4, 0, 420);
>> glGetError();
>> glGetError();
>> glGetError();
>> glGetError();
>> glGetError();
>>
>>
> Yes, you're now into debugging other failures. You had one in the original trace where it was trying to load the cursor images, so something image related is definitely not working properly.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
More information about the wayland-devel
mailing list