https://bugs.winehq.org/show_bug.cgi?id=39418
Bug ID: 39418 Summary: Infinity Engine games (Baldur's Gate 1-2, Icewind Dale 1-2, Planescape:Torment) hang frequently when realtime priority enabled Product: Wine-staging Version: 1.7.52 Hardware: x86 URL: http://www.fileplanet.com/164134/160000/fileinfo/Baldu r's-Gate-II-Demo-%5BFull-Install%5D OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
When changing the priority of running applications is enabled in staging, those games built on Bioware's Infinity Engine lock up at various stages (but always in the first 1-2 minutes after the game was started). There's nothing written in the terminal, the game executable consumes 100% CPU after freezing. The games are running stable if I unset the STAGING_RT_PRIORITY_BASE variable (or set it to 0).
In etc/security/limits.conf I have gyebro - rtprio 90 gyebro - nice -10
I changed the value of 'STAGING_PRIORITY_BASE=' in ~/.bashrc between 1 and 85, but this didn't change the bahaviour.
The problem seemingly occurs randomly thus I can't give you the exact steps to reproduce the problem. Sometimes the games hang while I'm navigating in the menus, during character generation or when loading a saved game. Occasionally I can get in the game but it always freezes in 1-2 minutes. It seems to me that the I need to interact with the game to trigger the bug: the game runs stable if I let it idle either in the menus or in mid-game. The hang occurs when I click on a button in the menus or when issuing a move command.
I have those games from GOG.com, but the problem is reproducible with the original Baldur's Gate 2 demo too (released in 1998). Install BG2 demo, start the game with BGMain.exe. Sometimes it freezes when I click on the options button in the main menu. If not, start a new game, follow the steps to generate a character and get in the game.Select your character and move him/her across the screen, interact with the buttons in the UI etc...there's no rule when the bug happens.
wine-1.7.52-190-gd548639 (Staging) Fedora 22 32-bit
bg2_fullinstall.zip (618M) sha1: 0dbdd3164c452235c25ed65c6050584a7ee93122