X Error: BadWindow (invalid Window parameter) 3

Discussions related to using VirtualBox on Linux hosts.

X Error: BadWindow (invalid Window parameter) 3

Postby max1e6 » 18. Mar 2012, 16:59

Use Ubuntu 10.04 host and vb-4.1_4.1.10-76795. Using up to date extension pack. Guest additions installed.

Having trouble with acceleration on Ubuntu 10.04 host for both Windows and Linux guests.. Have found similar (unanswered posts.)
Seeing 2D/3D options greyed-out. Have tried manually editing xml (crashes). Have tried roll backs on both VBox and Xorg.

(Have nvidia GeForce 500 series. Searching synaptic for open-gl I have libcluster installed. Searching for opengl I have libqt4, libglitz, libgl1-mesa/libglu1-mesa, and compwiz installed but not freeglut.)

>>Here's /usr/lib/virtualbox/VBoxTestOGL --log test1.log --test 2D :
X Error: BadWindow (invalid Window parameter) 3
Extension: 137 (Uknown extension)
Minor opcode: 4 (Unknown request)
Resource id: 0x4800004

VBoxTestGL 4.1.8 r75467 linux.amd64 (Dec 19 2011 14:20:34) release log
00:00:00.000 Log opened 2012-03-18T13:36:39.019553000Z
00:00:00.000 OS Product: Linux
00:00:00.000 OS Release: 2.6.32-39-generic
00:00:00.000 OS Version: #86-Ubuntu SMP Mon Feb 13 21:50:08 UTC 2012
00:00:00.000 Executable: /usr/lib/virtualbox/VBoxTestOGL
00:00:00.000 Process ID: 6937
00:00:00.000 Package type: LINUX_64BITS_UBUNTU_10_04
00:00:00.000 Testing 2D Support:
00:00:00.150 failed to make the context current, treating as unsupported
00:00:00.150 2D not supported: gl version info not initialized properly
00:00:00.150 Testing 2D Failed

>>Here's /usr/lib/virtualbox/VBoxTestOGL --log test1.log --test 3D

X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 137 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x5600001
Serial number of failed request: 44

00:00:00.000 Log opened 2012-03-18T14:46:57.559541000Z
00:00:00.000 OS Product: Linux
00:00:00.000 OS Release: 2.6.32-39-generic
00:00:00.000 OS Version: #86-Ubuntu SMP Mon Feb 13 21:50:08 UTC 2012
00:00:00.000 Executable: /usr/lib/virtualbox/VBoxTestOGL
00:00:00.000 Process ID: 11765
00:00:00.000 Package type: LINUX_64BITS_UBUNTU_10_04
00:00:00.000 Testing 3D Support:

All this seemed to work once. Have configured for no acceleration for now and I'm running.


Would like to get acceleration working. Any ideas?
max1e6
 
Posts: 20
Joined: 8. Jan 2011, 17:21
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu winXP

Re: X Error: BadWindow (invalid Window parameter) 3

Postby Perryg » 18. Mar 2012, 17:19

I would uninstall VirtualBox and then install it again.
Where did you get the 4.1.8 version, here or Ubuntu?
Perryg
Site Moderator
 
Posts: 34372
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: X Error: BadWindow (invalid Window parameter) 3

Postby max1e6 » 18. Mar 2012, 17:34

Hi,

Completely uninstalled then reinstalled (2x), once to 10.10 then to 10.8.

I get my stuff from Oracle.

I have verified that this did once work.
max1e6
 
Posts: 20
Joined: 8. Jan 2011, 17:21
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu winXP

Re: X Error: BadWindow (invalid Window parameter) 3

Postby Perryg » 18. Mar 2012, 17:46

There was an issue with a few when they updated to 4.1.8 where the 3D was greyed out, and that is why I suggested to remove and install. AFAIK 4.1.10 does not have this issue. See ticket here. https://www.virtualbox.org/ticket/10071
Perryg
Site Moderator
 
Posts: 34372
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: X Error: BadWindow (invalid Window parameter) 3

Postby max1e6 » 18. Mar 2012, 19:00

I saw that.

Completely uninstalled virtual box. Reinstalled virtualbox-4.1_4.1.10-76795~Ubuntu~lucid_amd64.deb

and

/home/max/Downloads/Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.vbox-extpack

I still have an acceleration problem. The 3D checkbox is (now) checkable, but 2D is still greyed out. When 3D is checked, the non-optimal warning "...However, 3D acceleration is not working on the current host setup so you will not be able to start the VM."

As expected, when started, it crashes.
max1e6
 
Posts: 20
Joined: 8. Jan 2011, 17:21
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu winXP

Re: X Error: BadWindow (invalid Window parameter) 3

Postby Perryg » 18. Mar 2012, 19:05

2D will be greyed out if the guest is Linux as it is not supported. However it sounds like you need to give some attention to the host.
Perryg
Site Moderator
 
Posts: 34372
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: X Error: BadWindow (invalid Window parameter) 3

Postby max1e6 » 18. Mar 2012, 21:12

Perryg wrote:However it sounds like you need to give some attention to the host.


Yes, I just can't figure it out. What could it be?
max1e6
 
Posts: 20
Joined: 8. Jan 2011, 17:21
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu winXP

Re: X Error: BadWindow (invalid Window parameter) 3

Postby Perryg » 18. Mar 2012, 21:22

I bet http://ubuntuforums.org/index.php can help you with the Ubuntu host issues.
Big thing is to get glxgears to work properly on the host then the 3D acceleration should work on the guest.
Perryg
Site Moderator
 
Posts: 34372
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: X Error: BadWindow (invalid Window parameter) 3

Postby max1e6 » 19. Mar 2012, 14:32

OK, I got it fixed. Here's what I did:

I completely uninstalled my nvidia driver then downloaded the driver from the Nvidia website (NVIDIA-Linux-x86_64-295.20.run).

I installed the new driver from recovery mode and rebooted into low graphics mode to configure.

All my VBox checkboxes work now.

Not sure why my configuration went bad in the first place. I noticed one other symptom; the NVIDIA xserver settings application (System>Administration) would crash when I attempted to view OpenwGl/GLX Information. I suspect the problem originated with a Ubuntu update for xorg. I learned once before to be wary of xorg updates on another computer I use but I became complacent.

Anyway, I hope this can help others who stumble on this trouble.
max1e6
 
Posts: 20
Joined: 8. Jan 2011, 17:21
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu winXP


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 218 guests