OpenGL broken with guest additions
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
OpenGL broken with guest additions
I've seen similar issues posted in various other forums, but I have yet to find a satisfactory solution.
Host: Redhat 6.3
Guest: Ubuntu 12.04
Virtualbox: 4.1.8
Latest guest additions installed
In short, using 3d acceleration does not work. I've installed guest additions and enabled 3d acceleration in the virtualbox options. When running a program that uses 3d acceleration, however, I get the following error:
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x400000c
Accordingly, the display for this program is pretty wonky.
If it helps, disabling 3d acceleration removes the error, although the acceleration functionality is then not available.
Host: Redhat 6.3
Guest: Ubuntu 12.04
Virtualbox: 4.1.8
Latest guest additions installed
In short, using 3d acceleration does not work. I've installed guest additions and enabled 3d acceleration in the virtualbox options. When running a program that uses 3d acceleration, however, I get the following error:
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x400000c
Accordingly, the display for this program is pretty wonky.
If it helps, disabling 3d acceleration removes the error, although the acceleration functionality is then not available.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: OpenGL broken with guest additions
Where did you install the guest additions? Are you sure they actually installed?
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
Hi, Perryg... Yes, they are definitely installed. Resizing the guest desktop to fit the window, for example, only works with the additions installed. I have no idea where they are installed. I just used Devices --> Install Guest Additions and used defaults. (In Ubuntu, a disk image was mounted, and the installation process occurred.)
Thanks -
Ryan
Thanks -
Ryan
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: OpenGL broken with guest additions
What program is it that you are having issues with?
Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.
Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
The program is called IQmol, which is a GUI for some scientific software. My log file is attached.
Thanks!
Thanks!
- Attachments
-
- VBox.log
- (65.8 KiB) Downloaded 30 times
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: OpenGL broken with guest additions
Your guest additions are newer than the version of VirtualBox. This usually will cause errors. Update to the latest release 4.1.18 and the GAs to the same version.
Save at least one core for the host. so don't use 4 cores if the all you have is 4
Update your hosts video card drivers. 295 seems to work a lot better.
Make sure that you have selected 3D in the guests settings -> display.
Code: Select all
VirtualBox 4.1.8 r75467 linux.amd64 (Dec 19 2011 16:27:50) release log
00:00:10.204 Guest Additions information report: Version 4.1.12 r77245 '4.1.12_Ubuntu'
Code: Select all
00:00:00.816 NumCPUs <integer> = 0x0000000000000004 (4)
00:00:00.820 Full Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Code: Select all
00:00:12.286 OpenGL Info: Render SPU: GL_VERSION: 4.1.0 NVIDIA 280.13
00:02:13.513 OpenGL Warning: Cleared gl error 0x502 on context creation
00:02:13.588 OpenGL Warning: Trying to switch contexts when the attribute stacks weren't empty. Currently, this is not supported.
00:02:13.677 OpenGL Warning: Trying to switch contexts when the attribute stacks weren't empty. Currently, this is not supported.
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
Ok... I updated virtualbox, installed the new extension pack, and installed the matching guest additions. Still no luck. The new log is attached.
My machine has 8 cores, so 4 assigned to the guest should be okay.
I'll work on updating the video drivers next.
Thanks -
Ryan
My machine has 8 cores, so 4 assigned to the guest should be okay.
I'll work on updating the video drivers next.
Thanks -
Ryan
- Attachments
-
- VBox.log
- (67.62 KiB) Downloaded 16 times
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
I've now upgraded my video drivers to 295.59, and it's behaving the same.
Other thoughts?
Thanks -
Ryan
Other thoughts?
Thanks -
Ryan
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: OpenGL broken with guest additions
Not off the top of my head. You can create a ticket at bugtracker and ask the DEVs if they are going to support this program in some way or if there is anything that you can do.
BE SURE to tell the everything including the latest log file.
BE SURE to tell the everything including the latest log file.
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
Thanks, Perryg. I will submit a ticket and see what happens.
During some googling of the log's error messages, I stumbled across a promising issue at viewtopic.php?f=3&t=46120 . But alas, I checked my bios, and the Intel/Card switching feature was already disabled.
During some googling of the log's error messages, I stumbled across a promising issue at viewtopic.php?f=3&t=46120 . But alas, I checked my bios, and the Intel/Card switching feature was already disabled.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: OpenGL broken with guest additions
Yeah I looked at that but IIRC this is not a feature that Linux understands and would be enabled full by default. Of course I could be mistaken. See what the DEVs have to say.
-
- Posts: 10
- Joined: 16. Sep 2011, 20:42
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: Windows 7 Pro
Re: OpenGL broken with guest additions
For record's sake, here's the ticket: https://www.virtualbox.org/ticket/10693