Invalid Window parameter - tutorial code problems [SOLVED]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
spartacus
Prole
Posts: 2
Joined: Sat Jul 09, 2011 6:13 pm

Invalid Window parameter - tutorial code problems [SOLVED]

Post by spartacus »

Friends,

I just came across Love two days ago, and met with the following error while attempting to run the hello world example:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 138 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x4c0000f
Serial number of failed request: 34
Current serial number in output stream: 34
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 64 Source(s)
I have checked around for possible solutions and I am certain that the problem is not the code which matches that on the wiki verbatim, nor is it the .love package which I made sure to create with the zip utility (and I didn't zip up the parent folder, only the main.lua). Running it from the parent folder as specified in the example does not work either.

For reference, I am on Linux Mint 10, and I am running a GeForce GTX 460M. Sorry I don't have more detailed information to give; any help with this would be greatly appreciated!
Last edited by spartacus on Sat Jul 09, 2011 9:24 pm, edited 1 time in total.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Invalid Window parameter - tutorial code problems

Post by bartbes »

It looks like something is wrong with your version of SDL or X11. (Or the communication between those two.)
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Invalid Window parameter - tutorial code problems

Post by thelinx »

Try installing proprietary video drivers for your graphics card.
spartacus
Prole
Posts: 2
Joined: Sat Jul 09, 2011 6:13 pm

Re: Invalid Window parameter - tutorial code problems

Post by spartacus »

welp that was it - hadn't updated the driver since the last kernel update.

thanks for the help! much appreciated
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests