VirtualBox

Opened 11 years ago

Closed 10 years ago

#11905 closed defect (fixed)

glXChooseFBConfig Fails for Choosing Depth Buffering (0xc) (Linux Guest)

Reported by: Geometrian Owned by:
Component: 3D support Version: VirtualBox 4.2.14
Keywords: OpenGL, X11 Cc:
Guest type: Linux Host type: Windows

Description

In some OpenGL programs on Linux guests, glXChooseFBConfig will fail:

OpenGL Warning: glXChooseFBConfig returning NULL, due to attrib=0xc, next=0x18

Attribute 0xc is "GLX_DEPTH_SIZE", and removing this record from the list of attributes passed to glXChooseFBConfig alleviates that problem, but of course does not allow one to choose a depth buffer.

Searches revealed that this problem occurs in conjunction with VirtualBox, though I seem to be first to notice the correlation. My test environment is a Windows 7 Professional x86-64 hosting a Ubuntu 12.04 x86-64 guest. The host has updated graphics drivers. The guest does not report any proprietary drivers, but the guest additions are installed and 3D acceleration is enabled.

Attachments (2)

VBox.log (103.7 KB ) - added by Geometrian 11 years ago.
test_twowindows.zip (239.4 KB ) - added by Geometrian 11 years ago.
A small x86-64 test program I wrote demonstrating the problem. May require a few shared libraries, let me know if so. Contains debug symbols. It should give a few lines of output, including the problem, and then probably segfault.

Download all attachments as: .zip

Change History (4)

by Geometrian, 11 years ago

Attachment: VBox.log added

by Geometrian, 11 years ago

Attachment: test_twowindows.zip added

A small x86-64 test program I wrote demonstrating the problem. May require a few shared libraries, let me know if so. Contains debug symbols. It should give a few lines of output, including the problem, and then probably segfault.

comment:1 by misha, 11 years ago

We have identified and fixed this issue. Please give a try to the following test build of VBox Guest Additions containing the fix and let me know if it solve the problem for you.
You should use this Guest Additions with VBox 4.3 host distro.
http://www.virtualbox.org/download/testcase/VBoxGuestAdditions_4.3.1-90272.iso

comment:2 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

Fix is part of 4.3.2.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use