Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine audio crackle in SOME games
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sat Feb 25, 2023 7:21 am    Post subject: Wine audio crackle in SOME games Reply with quote

ALSA, Pulseaudio, Pipewire, all have the same problem. All wine versions I've been able to run the games with have the same problem (except for wine-proton for some reason, which recently stopped working for one of the games).

The games: Phantasy Star Online Blue Burst, Final Fantasy XI

What happens: Sound effects playing often causes the audio of the game to pop or crackle. If no/minimal sound effects are playing, there is no pop or crackle.

Can I PLEASE get some help with this nonsense? I've tried troubleshooting all 3 of ALSA, pulse and pipewire but NOTHING has made any difference. This is driving me up the bloody wall. I don't recall having the same issue on my old PC, so it may be mobo related, I don't know.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2581
Location: Here and Away Again

PostPosted: Sat Feb 25, 2023 12:24 pm    Post subject: Reply with quote

What kind of audio hardware do you have (maybe 'lspci -k' or so), and have you tried, if possible, with a stand-alone card as well instead of the motherboard-provided one?

When the issues happen, do you see anything interesting in the terminal?

I sometimes get 'ALSA lib /build/path/src/pcm/pcm.c:8570:(snd_pcm_recover) underrun occurred' with, for example, Final Fantasy XI, but I don't actually hear anything going wrong (the underruns are kind of rare anyblue).

This is with ALSA only.

Regarding ALSA only, do you use any custom 'alsaconf' or just the defaults?
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Sat Feb 25, 2023 8:37 pm    Post subject: Reply with quote

Chiitoo wrote:
What kind of audio hardware do you have (maybe 'lspci -k' or so), and have you tried, if possible, with a stand-alone card as well instead of the motherboard-provided one?

Here's the output of lspci:
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
   Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
   Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
   Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
   Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
   Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
   Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
   Kernel driver in use: k10temp
   Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller
   Subsystem: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
   Kernel driver in use: xhci_hcd
02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
   Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
   Kernel driver in use: ahci
02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
   Subsystem: ASMedia Technology Inc. 500 Series Chipset Switch Upstream Port
   Kernel driver in use: pcieport
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
   Subsystem: ASMedia Technology Inc. Device 3308
   Kernel driver in use: pcieport
03:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
   Subsystem: ASMedia Technology Inc. Device 3308
   Kernel driver in use: pcieport
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
   Subsystem: ASMedia Technology Inc. Device 3308
   Kernel driver in use: pcieport
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
   Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
   Kernel driver in use: nvme
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
   Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   Kernel driver in use: r8169
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8125 2.5GbE Controller
   Kernel driver in use: r8169
2b:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] GA104 [GeForce RTX 3060 Ti Lite Hash Rate]
   Kernel driver in use: nvidia
   Kernel modules: nvidia_drm, nvidia
2b:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] GA104 High Definition Audio Controller
   Kernel driver in use: snd_hda_intel
2c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
2d:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2d:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
2d:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
   Kernel driver in use: xhci_hcd
2d:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
   DeviceName: Realtek ALC1200
   Subsystem: Micro-Star International Co., Ltd. [MSI] Starship/Matisse HD Audio Controller
   Kernel driver in use: snd_hda_intel


Chiitoo wrote:
When the issues happen, do you see anything interesting in the terminal?

FFXI: nothing that seems related to audio. Though I haven't set any debug settings or anything. Should I?
One thing I did notice just now with XI, the latest ~amd64 wine-vanilla has no crackle, wine-staging does. I assume all the lutris wine builds that have been giving me grief must all have been using staging patches too...
PSOBB (Ephinea): Game and launcher won't even start on wine-vanilla-8.2. Launcher starts but game doesn't on wine-staging-8.2 (don't know why this is, gecko related maybe?). wine-proton-7.0-5 doesn't work with the launcher but does work with the game .exe, so I've been getting by with switching wine versions if I need to change a setting via the launcher, then switching back to actually play.
Chiitoo wrote:
Regarding ALSA only, do you use any custom 'alsaconf' or just the defaults?

I've only changed my .asoundrc the bare minimum to point to the right output and enable dmix:
Code:

pcm.custom
{
    type plug
    slave
    {
        pcm "dmix:1,0"
    }
}

ctl.custom
{
    type hw
    card 1
}

defaults.pcm.rate_converter "speexrate_medium"

pcm.!default pcm.custom
ctl.!default ctl.custom

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum