Anderen2 / RTS

An 3D LAN-Multiplayer (R)eal (T)ime (S)trategy game (C&C Generals style) made in Python.
0 stars 0 forks source link

The client is does not close X Clients properly #60

Closed Anderen2 closed 11 years ago

Anderen2 commented 11 years ago

I thought I fixed this back in commit: 242d252e4ad1e1bddf7f76f8c9fac3659974a8ef but its still here. When you close the game, it does not close its X Server connections properly, thus leaving them open, and eventually the X server will run out of connection slots (Which appearently is only possible to reset by killing X). When the X server is empty of slots, no new windows may be opened (More or less rendering the computer useless before resetting X)

Confirmed to be an Issue on Ubuntu 13.04 with KDE I cannot remember this to be an issue under Unity (KDE spesific?) Cannot se the clients in the command "xlsclients" either, but seems like all the clients get allocated to "plasma-desktop" afterwards. It may be a split issue between Ogre, YARTS and KDE

Anderen2 commented 11 years ago

It may have something to do with the IO Hook (renderio / OIS) not releasing the connection made to X

Seems like OGRE uses two connections to X, one for rendering, and one for I/O (OIS)

Anderen2 commented 11 years ago

This was an issue relating to the AMD Catalyst driver. Appearently the amd catalyst driver allocates an connection to a spesific file on the filesystem each time an window opens.

Closing bug as a system-issue