You are not logged in.

#1 2016-01-31 05:28:29

HappyClown
Member
Registered: 2015-08-15
Posts: 161

running Undertale in wine, audio issues.

So, I bought Undertale on steam and realized it doesn't work on Linux. I looked up whether or not there'll be a Linux port and found the creators Twitter page where he says that only the extractor doesn't work on Linux and that if you can find the main EXE file in the temp folder and copy everything to the Linux box and run it in wine, it should work 100%. I gave it a run and the audio didn't work. I found out that it was attempting to send the audio to the hardware itself, so I ran it as a sudoer. Everything worked and I could play it for a few seconds, until my kernel panicked. I looked at the console output and I saw wine spitting out errors, saying something along the the lines of:

openal: 40923 sound tick end
openal: 40923 sound sample error

It was repeating this over and over again. What in the world happened? Every time I launch the game, it does this about 10 seconds later.

Last edited by HappyClown (2016-02-04 03:17:47)

Offline

#2 2016-02-01 08:41:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: running Undertale in wine, audio issues.

Never run wine as sudo. Use winecfg to set the correct soundcard and/or properly configure ALSA. depending on what broke you might have to remove your ~/.wine folder to reset wine back to defaults

That said this still shouldn't cause a kernel panic, what is your system? CPU, graphics card, drivers? Output of

uname -a

Last edited by V1del (2016-02-01 08:44:49)

Offline

#3 2016-02-02 04:00:13

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

uname -a gives "Linux Bonfilia 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux". I know that my CPU is an INTEL Pentium J2900. My graphics card is actually unknown, it just says "INTEL HD Graphics" listed on my computer. My drivers come from the INTEL graphics wiki page on the arch wiki, I forgot the name of the package. Thanks for helping me out, I'll try resetting wine.

Offline

#4 2016-02-02 04:50:43

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

The console repeats:

OpenAL error: 40963 (SoundHardware::Tick)
OpenAL error: 40963 (Audio_Tick End)
Error before playing sample 40963
Pause event has been registered for this frame
Pause event has been unregistered
Error playing simple sound 40963
OpenAL error: 40963 (SoundHardware::Tick)
OpenAL error: 40963 (Audio_Tick End)

over and over when running the game, if that helps.
When starting the game, the console also says:

fixme:pulse:AudioRenderClient_GetBuffer 0x8f20ae0 Not using pulse locked data: 0 4093/4410 0/4410

Last edited by HappyClown (2016-02-02 04:51:52)

Offline

#5 2016-02-02 16:17:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: running Undertale in wine, audio issues.

Do you use pulseaudio? is lib32-alsa-plugins installed? Did the panic reveal anything about what crashed? have you tried e.g. the lts kernel or tried setting your intel card to use UXA?

lspci -nn

to find out what hardware you have...

Offline

#6 2016-02-03 02:48:34

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

Yes, I'm using pulseaudio (I thought I mentioned that, sorry.) Yes, lib32-alsa-plugins is installed. The panic revealed absolutely nothing, I should've checked the journal. I'll try running the game again and seeing if it crashes as a standard user, then I'll try the LTS kernel and changing my acceleration method.

lspci -nn gives:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0e)
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0e)
00:13.0 SATA controller [0106]: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller [8086:0f23] (rev 0e)
00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0e)
00:1b.0 Audio device [0403]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller [8086:0f04] (rev 0e)
00:1c.0 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 [8086:0f48] (rev 0e)
00:1c.1 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 [8086:0f4a] (rev 0e)
00:1c.2 PCI bridge [0604]: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 [8086:0f4c] (rev 0e)
00:1d.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI [8086:0f34] (rev 0e)
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0e)
00:1f.3 SMBus [0c05]: Intel Corporation Atom Processor E3800 Series SMBus Controller [8086:0f12] (rev 0e)
01:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)

Offline

#7 2016-02-03 02:55:55

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

Uhm, so the sound is mysteriously working and my kernel hasn't panicked yet... I guess the issue is solved?

Offline

#8 2016-02-04 03:12:17

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

Nope, the sound isn't working today... It's on and off...

Offline

#9 2016-02-04 03:46:15

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

Fixed the sound issue! I needed to tell wine to use ALSA instead of pulseaudio (the audio stream is empty otherwise). wine seems to push audio directly to the hardware. The only problem is, I sometimes still get kernel panicks... Changing the acceleration method didn't help.

Last edited by HappyClown (2016-02-04 04:15:06)

Offline

#10 2016-02-04 07:24:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: running Undertale in wine, audio issues.

You shouldn't get kernel panics and wine should support pulseaudio as of 1.8.17ish maybe some hardware is failing, have you tried different kernels?

Offline

#11 2016-02-04 23:27:42

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: running Undertale in wine, audio issues.

It wouldn't make sense for any of the hardware to be failing. All other programs use pulseaudio just fine. Pulseaudio's volume manager shows that wine has a stream, but with no data going through it. I think my graphics card isn't compatible with the standard intel drivers that come with arch. I'll try the LTS kernel now.

Offline

#12 2016-02-12 22:15:11

snowblind
Member
Registered: 2013-07-18
Posts: 39

Re: running Undertale in wine, audio issues.

OP is kind of ambiguous: are you using Wine, or are you running it natively as per the instructions here: https://www.reddit.com/r/linux_gaming/c … _on_linux/

Offline

Board footer

Powered by FluxBB