http://bugs.winehq.org/show_bug.cgi?id=25482
Summary: Amnesia: AL lib fault getting "periods" Product: Wine Version: 1.3.9 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cww@denterprises.org
When I start the "Amnesia: The Dark Descent" game from Steam, I get the following fatal error:
AL lib: alsa.c:743: get periods failed: Invalid argument wine: Unhandled page fault on read access to 0x7f0b2df0 at address 0x7d125610 (thread 001f), starting debugger...
I have a very custom .asoundrc, but in the ~2 years I've had my current sound card (and my current .asoundrc), I've never had any problems playing audio.
The DVD version (i.e. not the Steam version) of Amnesia is rated as platinum, but the most recent test for that was performed with Wine 1.3.3. I'll give 1.3.3 a whirl and perform a bisection if I don't get the same crash.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #1 from Colin Wetherbee cww@denterprises.org 2010-12-11 01:59:01 CST --- (In reply to comment #0)
When I start the "Amnesia: The Dark Descent" game from Steam, I get the following fatal error:
AL lib: alsa.c:743: get periods failed: Invalid argument wine: Unhandled page fault on read access to 0x7f0b2df0 at address 0x7d125610 (thread 001f), starting debugger...
I have a very custom .asoundrc, but in the ~2 years I've had my current sound card (and my current .asoundrc), I've never had any problems playing audio.
The DVD version (i.e. not the Steam version) of Amnesia is rated as platinum, but the most recent test for that was performed with Wine 1.3.3. I'll give 1.3.3 a whirl and perform a bisection if I don't get the same crash.
Tested with 1.3.3; it also crashes.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-12-11 02:32:24 CST --- (In reply to comment #0)
AL lib: alsa.c:743: get periods failed: Invalid argument wine: Unhandled page fault on read access to 0x7f0b2df0 at address 0x7d125610 (thread 001f), starting debugger...
Prima facie, the error comes from the system OpenAL library, so the actual issue may not be in Wine. Please attach the full debugger output emitted.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #3 from Colin Wetherbee cww@denterprises.org 2010-12-11 02:57:40 CST --- (In reply to comment #2)
Prima facie, the error comes from the system OpenAL library, so the actual issue may not be in Wine. Please attach the full debugger output emitted.
Under full debugging (WINEDEBUG=+all), Steam crashes before any UI elements become visible, so starting the game is not possible.
Would a subset of full logging be useful?
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2010-12-11 03:03:06 CST --- (In reply to comment #3)
(In reply to comment #2)
Prima facie, the error comes from the system OpenAL library, so the actual issue may not be in Wine. Please attach the full debugger output emitted.
Under full debugging (WINEDEBUG=+all), Steam crashes before any UI elements become visible, so starting the game is not possible.
Would a subset of full logging be useful?
Most of the time, the +all debug channel yields excessive output and enables debug channels that can break applications. Just attach the plain output without any WINEDEBUG channels enabled.
Also, for what it's worth, my copy of Amnesia: The Dark Descent from Steam launches without issue. The package version of libopenal1 on my Ubuntu system is 1:1.11.753-1.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #5 from Colin Wetherbee cww@denterprises.org 2010-12-11 03:09:20 CST --- Created an attachment (id=32441) --> (http://bugs.winehq.org/attachment.cgi?id=32441) Basic debug log
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #6 from Colin Wetherbee cww@denterprises.org 2010-12-11 03:17:47 CST --- (In reply to comment #4)
(In reply to comment #3)
Under full debugging (WINEDEBUG=+all), Steam crashes before any UI elements become visible, so starting the game is not possible.
Would a subset of full logging be useful?
Most of the time, the +all debug channel yields excessive output and enables debug channels that can break applications. Just attach the plain output without any WINEDEBUG channels enabled.
I'm pretty sure I didn't do that correctly. :)
I haven't figured out how to get all Wine threads to pipe/output to the same process/file. Is there an easy way to make that happen? For example, when I run...
WINEPREFIX=~/local/lib/wine ~/local/wine-git/bin/wine explorer /desktop=foo,1920x1080 start 'C:\Program Files\Steam\Steam.exe' >& /tmp/foo
... I get the attached file in /tmp/foo and what must be many megabytes of trace data on the console, even though the >& should send both stdout and stderr to /tmp/foo.
Also, for what it's worth, my copy of Amnesia: The Dark Descent from Steam launches without issue. The package version of libopenal1 on my Ubuntu system is 1:1.11.753-1.
I'm using Debian testing, up-to-date as of the middle of this past week, with libopenal1 version 1:1.12.854-2.
Maybe that's the problem? I don't suppose you still have the .deb for your version (and the .deb for the dev files) sitting around?
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #7 from Andrew Nguyen arethusa26@gmail.com 2010-12-11 03:43:38 CST --- (In reply to comment #6)
I haven't figured out how to get all Wine threads to pipe/output to the same process/file. Is there an easy way to make that happen? For example, when I run...
WINEPREFIX=~/local/lib/wine ~/local/wine-git/bin/wine explorer /desktop=foo,1920x1080 start 'C:\Program Files\Steam\Steam.exe' >& /tmp/foo
... I get the attached file in /tmp/foo and what must be many megabytes of trace data on the console, even though the >& should send both stdout and stderr to /tmp/foo.
See http://wiki.winehq.org/FAQ#get_log for the typical procedure.
Also, for what it's worth, my copy of Amnesia: The Dark Descent from Steam launches without issue. The package version of libopenal1 on my Ubuntu system is 1:1.11.753-1.
I'm using Debian testing, up-to-date as of the middle of this past week, with libopenal1 version 1:1.12.854-2.
Maybe that's the problem? I don't suppose you still have the .deb for your version (and the .deb for the dev files) sitting around?
I'm just using the packages provided by Ubuntu for Lucid:
http://packages.ubuntu.com/lucid/libopenal1
http://bugs.winehq.org/show_bug.cgi?id=25482
Colin Wetherbee cww@denterprises.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32441|0 |1 is obsolete| |
--- Comment #8 from Colin Wetherbee cww@denterprises.org 2010-12-11 03:47:02 CST --- Created an attachment (id=32442) --> (http://bugs.winehq.org/attachment.cgi?id=32442) Basic debug log
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #9 from Colin Wetherbee cww@denterprises.org 2010-12-11 04:03:07 CST --- (In reply to comment #7)
(In reply to comment #6)
I'm using Debian testing, up-to-date as of the middle of this past week, with libopenal1 version 1:1.12.854-2.
Maybe that's the problem? I don't suppose you still have the .deb for your version (and the .deb for the dev files) sitting around?
I'm just using the packages provided by Ubuntu for Lucid:
I installed that package and the dev package and then recompiled Wine. Now, when I attempt to run the game, it crashes in a different way: the game starts and stops quickly, emitting only these messages:
err:ole:RevokeDragDrop invalid hwnd (nil) err:ole:RevokeDragDrop invalid hwnd 0x70120 fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub! fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: stub!
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #10 from Andrew Nguyen arethusa26@gmail.com 2010-12-11 04:10:35 CST --- (In reply to comment #9)
(In reply to comment #7)
(In reply to comment #6)
I'm using Debian testing, up-to-date as of the middle of this past week, with libopenal1 version 1:1.12.854-2.
Maybe that's the problem? I don't suppose you still have the .deb for your version (and the .deb for the dev files) sitting around?
I'm just using the packages provided by Ubuntu for Lucid:
I installed that package and the dev package and then recompiled Wine. Now, when I attempt to run the game, it crashes in a different way: the game starts and stops quickly, emitting only these messages:
err:ole:RevokeDragDrop invalid hwnd (nil) err:ole:RevokeDragDrop invalid hwnd 0x70120 fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub! fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: stub!
You're probably still using wine-1.3.3 that you installed for test purposes. I sent this patch to resolve the Amnesia: The Dark Descent startup issue:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c4a8de92c4f49e281ad65b...
Please retest with wine-1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #11 from Colin Wetherbee cww@denterprises.org 2010-12-11 04:26:19 CST --- (In reply to comment #10)
You're probably still using wine-1.3.3 that you installed for test purposes. I sent this patch to resolve the Amnesia: The Dark Descent startup issue:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=c4a8de92c4f49e281ad65b...
Please retest with wine-1.3.9.
I removed my binary directory, ran make clean, did another git checkout of 1.3.9, verified that your patch was indeed included in the code, configured, built, installed, and ran Wine, and I'm still getting the errors I indicated in comment #9. :(
Also, it's getting very late here... I'll try again tomorrow. Thanks for your help so far!
http://bugs.winehq.org/show_bug.cgi?id=25482
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #12 from Dan Kegel dank@kegel.com 2010-12-11 09:43:27 CST --- Does the non-steam demo version of this game at http://www.amnesiagame.com exhibit the same problem?
http://bugs.winehq.org/show_bug.cgi?id=25482
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #13 from Raymond superquad.vortex2@gmail.com 2010-12-12 20:56:37 CST --- if you are using openal-soft
you have to tune the parameters in .alsoftrc
## period_size: # Sets the update period size, in frames. This is the number of frames needed # for each mixing update. If the deprecated 'refresh' option is specified and # this isn't, the value will be calculated as size = refresh/periods.
## periods: # Sets the number of update periods. Higher values create a larger mix ahead, # which helps protect against skips when the CPU is under load, but increases # the delay between
## drivers: # Sets the backend driver list order, comma-seperated. Unknown backends and # duplicated names are ignored. Unlisted backends won't be considered for use # unless the list is ended with a comma (eg. 'oss,' will list OSS first # followed by all other available backends, while 'oss' will list OSS only). # An empty list means the default. #drivers = alsa,pulse,oss,solaris,dsound,winmm,port,wave
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #14 from Colin Wetherbee cww@denterprises.org 2010-12-13 01:50:50 CST --- (In reply to comment #13)
if you are using openal-soft
you have to tune the parameters in .alsoftrc
Thanks. This got me a little closer. I used the alsoft-conf utility, which wrote a .alsoftrc file to my home directory.
Now, when I launch the game, I get a configuration screen. When I hit the launch button, a black screen appears for a second or so, and then the game crashes.
I'll upload a new debug output shortly.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #15 from Colin Wetherbee cww@denterprises.org 2010-12-13 01:51:42 CST --- Created an attachment (id=32476) --> (http://bugs.winehq.org/attachment.cgi?id=32476) Debug log after generating a .alsoftrc
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #16 from Colin Wetherbee cww@denterprises.org 2010-12-13 02:02:46 CST --- (In reply to comment #12)
Does the non-steam demo version of this game at http://www.amnesiagame.com exhibit the same problem?
Actually, no... the Windows demo version there works as expected. Interesting.
http://bugs.winehq.org/show_bug.cgi?id=25482
--- Comment #17 from butraxz@gmail.com 2013-06-21 15:20:26 CDT --- This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=25482
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |wylda@volny.cz Resolution|--- |ABANDONED
--- Comment #18 from Wylda wylda@volny.cz --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=25482
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Wylda wylda@volny.cz --- Closing - abandoned.