I have installed the linux native version of Civ 6 in steam, with the launch option:
LD_PRELOAD=/usr/lib/libfreetype.so.6 %command%
it runs fine. However i’m having an odd problem with sound. I’ll just have to describe what happens because i’ve no idea whats going on technically speaking.
So when the game launches and the splash screen comes up I hear a small static burst in the right ear (heaphones), that incidentally is the same sound i hear if i restart pulseaudio. Then the audio from the game comes through in bursts, so there will be several second of silence, then a few seconds of game audio.
The really odd thing is that if I have other sound playing in the system when I launch the game, say a youtube video, then it seems to work flawlessly, once the game has started I can stop the video then the game audio will behave normally.
The only similar experience i’ve had to this was a sort of buffer problem when I had too few fragments set, but the audio for the rest of the system seems fine, even other games.
Any ideas?
I’m running manjaro-xfce with the standard alsa/pulseaudio. I’m using the built-in intel/realtek sound chip on my motherboard (Asus). I’m exclusively using the toslink out so my sink is IEC958 output.
As its toslink I have some defaults overriden in ~/.config/daemon.conf
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 9
resample-method = speex-float-5
flat-volumes = no
default-sample-format = s16le
default-sample-rate = 44100
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 15
[jamie@manjaro-rig ~]$ inxi -A
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio
driver: snd_hda_intel
Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes
Sound Server-2: PulseAudio v: 15.0 running: yes
[jamie@manjaro-rig ~]$ aplay -l | grep -A2 Intel
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
[jamie@manjaro-rig ~]$ sudo lspci -v | grep -B1 -A12 -i audio
[sudo] password for jamie:
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
Subsystem: ASUSTeK Computer Inc. Device 8691
Flags: bus master, fast devsel, latency 32, IRQ 147
Memory at df940000 (64-bit, non-prefetchable) [size=16K]
Memory at df920000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
Subsystem: ASUSTeK Computer Inc. Device 8694
Flags: medium devsel, IRQ 16
--
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation Device 1b80
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at df080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 (rev 01) (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd PM963 2.5" NVMe PCIe SSD
[jamie@manjaro-rig ~]$ sudo lshw | grep -B4 -A10 -i audio
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:149 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff
*-multimedia
description: Audio device
product: GP104 High Definition Audio Controller
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:17 memory:df080000-df083fff
*-usb
--
clock: 33MHz (30.3ns)
configuration: latency=0
resources: memory:df944000-df947fff
*-multimedia
description: Audio device
product: 100 Series/C230 Series Chipset Family HD Audio Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 31
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:147 memory:df940000-df943fff memory:df920000-df92ffff
*-serial
Oh I should mention, i’ve looked though the Arch guide for pulseaudio troubleshooting
https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Laggy_sound
and the specific game notes:
https://wiki.archlinux.org/title/Steam/Game-specific_troubleshooting#Civilization_VI