Custom Query (16363 matches)
Results (1813 - 1815 of 16363)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #11503 | fixed | glx.c in crOpenGL needs to open a second X Connection in order to process damage events -> fixed as of 21 Oct 2013, 4.2 and later | ||
| Description |
This is more of a follow up to https://www.virtualbox.org/ticket/10894 . glx.c in crOpenGL still needs to open up a second X connection in order to process damage events. Processing damage on pixmaps before re-copying them is fine, but using a second X connection in order to fetch the damage is risky because at any point in your library, you could be affected by a server grab in the client process. There is a an issue with just listening for damage on the first connection, because the client might interfere with that. (I've found there are places where compiz may still hang in VirtualBox 4.2.6 because of this). So instead, the best way to handle it is to fetch damage synchronously from the server using XDamageSubtract and XFixesFetchRegion. This doesn't have any impact on performance, because the previous operation was already synchronous as we had to call XSync before fetching damage evnets. I've attached a patch to do that. I've checked that it compiles, however I'm not able to get VirtualBox to install correctly, so I can't verify that it works as expected. However, I've written similar code in the past, so I'm 90% sure it should work. (At the moment we're just working around this in compiz itself, but that's ugly because we had to do things like detect drivers). |
|||
| #8293 | obsolete | glx 1.3 isn't working: XGetVisualInfo returned 0 | ||
| Description |
Host: Ubuntu 10.10 (64bit) Guest: Ubuntu 10.10 (32bit) VirtualBox 4.0.2. Acceleration:3D, Additions installed. (On host everything is working) On guest: glxgear is working. glxinfo | grep version server glx version string: 1.3 Chromium client glx version string: 1.3 Chromium GLX version: 1.3 OpenGL version string: 2.1 Chromium 1.9 OpenGL shading language version string: 1.20 I compiled glXIntro (for GLX 1.3): http://www.opengl.org/sdk/docs/man/xhtml/glXIntro.xml (gcc glxintro -lGL) Running will give error: OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x892f860 OpenGL Warning: Retry with 0x8002 returned 0 visuals Segmentation fault |
|||
| #9127 | obsolete | gluBuild2DMipmaps crash | ||
| Description |
My setup information:
Host: Windows 7
Guest: Ubuntu Lucid
Video card: NVidia 8700M GT
Test case:
#include <GL/glew.h>
#include <GL/glu.h>
#include <GL/glfw.h>
int main(int c, char** v)
{
glfwInit();
glfwOpenWindow(100, 100, 0, 0, 0, 0, 16, 0, GLFW_WINDOW);
GLuint iGLId;
glGenTextures(1, &iGLId);
glBindTexture(GL_TEXTURE_2D, iGLId);
unsigned char iData[256*256*4];
for (int i = 0; i < 256*256*4; i++)
iData[i] = 255;
gluBuild2DMipmaps(GL_TEXTURE_2D,
4,
256,
256,
GL_RGBA,
GL_UNSIGNED_BYTE,
&iData[0]);
glBindTexture(GL_TEXTURE_2D, 0);
}
(Requires GLFW - "apt-get install libglfw-dev")
Crash stack trace:
0 0x003066e3 in __printf_fp () from /lib/tls/i686/cmov/libc.so.6
#1 0x003012a8 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#2 0x0032170c in vsprintf () from /lib/tls/i686/cmov/libc.so.6
#3 0x0030a1db in sprintf () from /lib/tls/i686/cmov/libc.so.6
#4 0x008b8d19 in packspu_GetString () from /usr/lib/VBoxOGLpackspu.so
#5 0x007904f3 in cr_glGetString () from /usr/lib/dri/vboxvideo_dri.so
#6 0x0042bb16 in ?? () from /usr/lib/libGLU.so.1
#7 0x00433e38 in gluBuild2DMipmaps () from /usr/lib/libGLU.so.1
#8 0x08048912 in main ()
|
|||

