Minor thing - game shutdown takes too long (~18s).
That's it.
Is it normal, or me-specific?
[Linux][i915] Shutdown takes 18s
[Linux][i915] Shutdown takes 18s
Last edited by MF- on Tue Feb 26, 2013 3:16 pm, edited 1 time in total.
Re: [Linux] Shutdown takes 18s
It's not just you. Clocked my testbed at 14 seconds from hitting the Quit button to the window actually closing -- note I hadn't done anything other than starting the game.
Waiting for a timeout, maybe? Or just deallocating stuff? Either way, for responsiveness, the window should probably be closed as early as possible, even if the process hangs around a bit after that.
Waiting for a timeout, maybe? Or just deallocating stuff? Either way, for responsiveness, the window should probably be closed as early as possible, even if the process hangs around a bit after that.
Re: [Linux] Shutdown takes 18s
Out of curiosity I looked at it's strace.
The entire delay is caused by one ioctl on the FD 6 (/dev/dri/card0)
Fun part:
The first argument of the ioctl matches the first argument of the last ioctl before the crash/stall on startup.
But that ioctl actually returns and the stall occurs after that.
The entire delay is caused by one ioctl on the FD 6 (/dev/dri/card0)
Fun part:
The first argument of the ioctl matches the first argument of the last ioctl before the crash/stall on startup.
But that ioctl actually returns and the stall occurs after that.
Re: [Linux] Shutdown takes 18s
UPDATE:
If I disable DRI access, the shutdown is almost instant.
I guess it's an libgl-v.s.-i915 problem
Game loading is slower, but does not stall in the middle (thus overall faster)
Gameplay framerate is greatly impaired by software rendering (~5 FPS) of course.
If I disable DRI access, the shutdown is almost instant.
I guess it's an libgl-v.s.-i915 problem
Game loading is slower, but does not stall in the middle (thus overall faster)
Gameplay framerate is greatly impaired by software rendering (~5 FPS) of course.
Re: [Linux][i915] Shutdown takes 18s
UPDATE:
A new libGl driver has arrived though the updates yesterday, bringing 50MB of extra code. [ubuntu 13.04-dev]
I saw some hints that LLVM is now supported (something about translating requested operations into GPU-supported operations)
Both the startup and shutdown stalls are gone! Hooray! (however, the sigbus crash is not)
A new libGl driver has arrived though the updates yesterday, bringing 50MB of extra code. [ubuntu 13.04-dev]
I saw some hints that LLVM is now supported (something about translating requested operations into GPU-supported operations)
Both the startup and shutdown stalls are gone! Hooray! (however, the sigbus crash is not)
Re: [Linux][i915] Shutdown takes 18s
Wrong.. After a very long game session (whole day, but interleaved with gaps and VT switches) it didn't shutdown in what I think was at least 5 minutes.
(I got impatient and killed it)
(I got impatient and killed it)
Re: [Linux][i915] Shutdown takes 18s
This should be probably moved out of unresolved bugs section (resolved in libllvm3.2)
I expect the freeze from the post above to be completely unrelated.
I expect the freeze from the post above to be completely unrelated.