Anderen2 / RTS

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The client is does not close X Clients properly

Anderen2 opened this issue · comments

I thought I fixed this back in commit: 242d252 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

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)

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