Hi Guys, I have the same issue, I am running on a Ubuntu 16.04
The error is the following:
Code: Select all
root@ubtmachine:~/love# ./src/love
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x4000002
Serial number of failed request: 95
Current serial number in output stream: 96
root@ubtmachine:~/love#
#
# Love -- version
#
root@ubtmachine:~/love# ./src/love --version
LOVE 11.1 (Mysterious Mysteries)
#
# Date
#
root@ubtmachine:~/love# date
Ter Jul 10 23:22:46 -03 2018
root@ubtmachine:~/love#
Related to my system, I was able to get the following information so far
Code: Select all
#
# Drivers
#
root@ubtmachine:~/love# ubuntu-drivers devices
(...)
== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
vendor : NVIDIA Corporation
model : GM108M [GeForce 940MX]
modalias : pci:v000010DEd0000134Dsv00001028sd00000781bc03sc02i00
driver : xserver-xorg-video-nouveau - distro free builtin
driver : nvidia-384 - distro non-free recommended
(...)
#
# Ubuntu Version
#
root@ubtmachine:~/love# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
#
# Kernel Version
#
root@ubtmachine:~/love# uname -s -r -v -p -i -o
Linux 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 GNU/Linux
root@ubtmachine:~/love#
#
# libgl1-mesa-dev
#
root@ubtmachine:~/love# apt-get install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-dev is already the newest version (18.0.5-0ubuntu0~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubtmachine:~/love#
#
# libgl1-mesa-glx
#
root@ubtmachine:~/love# apt-get install libgl1-mesa-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-glx is already the newest version (18.0.5-0ubuntu0~16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have some code running sample applications with SDL2 and it works fine.
I also compiled some OpenGL code and it also works fine. The glxinfo and glxdemo also works properly.
May I help somehow to investigate this error? I know about C/C++ programming but not about Linux Graphics Programming... but I can use my setup help in to compile/test.
Thanks for the great work with Love2d!