You are not logged in.

#1 2023-07-21 10:39:36

Devisi_
Member
From: Moscow, Russia
Registered: 2023-07-21
Posts: 4

In minecraft, the sound goes to the speakers, not the bluetooth headph

Hi all! I recently installed Arch after other distributions, at first there were problems with sound Alsamixer did not see the sound card, I decided to install the "Sof-firmware" package. Further, the bluetooth did not work, but here the standard simply turned on the services. Now the problem in this game is that for some reason the sound goes to the laptop speaker, and not to the bluetooth headphones. The most interesting thing is that this is only with regular packages, everything works as it should with a flatpack.

Offline

#2 2023-07-22 14:10:07

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,107

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

There are plenty of minecraft versions/launchers in the aur , which one are you using ?

There are other sound systems then alsa like pulseaudio and pipewire* . The flatpak version probably uses one of those.

Please post

$ pacman -Qs pulse
$ pacman -Qs pipewire

* Although I use a pure alsa system, bluetooth tends to be easier to get working with the other soundsystems.

Last edited by Lone_Wolf (2023-07-22 14:10:29)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2023-07-23 10:51:44

Devisi_
Member
From: Moscow, Russia
Registered: 2023-07-21
Posts: 4

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

Thx for reply.
I used : Official launcher, multimc, legacy launhcer. The problem is with launchers that use aur
About sounds system, i use pipewire

Pulse:
local/libcanberra 1:0.30+r2+gc0620e4-3
    A small and lightweight implementation of the XDG Sound Theme Specification
local/libpulse 16.1-6
    A featureful, general-purpose sound server (client library)
local/pavucontrol 1:5.0+r64+geba9ca6-1
    PulseAudio Volume Control
local/pipewire-alsa 1:0.3.74-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-pulse 1:0.3.74-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/plasma-pa 5.27.6-1 (plasma)
    Plasma applet for audio volume management using PulseAudio
local/pulseaudio-qt 1.3-1



Pipewire:
local/gst-plugin-pipewire 1:0.3.74-1
    Multimedia graph framework - pipewire plugin
local/kpipewire 5.27.6-1 (plasma)
    Components relating to pipewire use in Plasma
local/libpipewire 1:0.3.74-1
    Low-latency audio/video router and processor - client library
local/libwireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire - client library
local/pipewire 1:0.3.74-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.74-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:0.3.74-1
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:0.3.74-1
    Low-latency audio/video router and processor - JACK support
local/pipewire-pulse 1:0.3.74-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire

Offline

#4 2023-07-23 11:02:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,107

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

Please use [ code ] [ /code ] tags, see https://bbs.archlinux.org/help.php#bbcode .

I have little xp with pulseaudio & pipewire , so hope others will help.

Does minecraft use the bluetooth speakers when you set them as preferred / default sink (through pavucontrol) before starting minecraft ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#5 2023-07-23 17:17:04

Devisi_
Member
From: Moscow, Russia
Registered: 2023-07-21
Posts: 4

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

Sound only comes through laptop speakers

Offline

#6 2023-07-24 02:50:31

soshimee
Member
Registered: 2021-08-24
Posts: 13

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

Later versions of Minecraft have an option to change sound device in-game. Have you touched that by any chance?

Offline

#7 2023-07-24 12:11:22

Devisi_
Member
From: Moscow, Russia
Registered: 2023-07-21
Posts: 4

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

Nah, i have only : jack, and standart.
But the standart method works like this

Offline

#8 2023-08-17 15:14:00

Perkel
Member
Registered: 2022-05-13
Posts: 17

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

I do have the same problem. The weird thing is, that the application is not shown in the Applications tab of my volume widget (running KDE Plasma), as if the game itself wouldn't produce any sounds.

Also, I think that this is not an issue with older versions of the game (think 1.12 was okay?). So I wonder if this shouldn't be reported to the Minecraft devs.

Offline

#9 2023-08-17 23:07:59

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

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

All of this is  explained by the fact that minecraft uses ALSA, and either does not use the "default" ALSA but directly a hw device or your "default" ALSA device being broken by misconfiguration.

Can you post

aplay -lL

Offline

#10 2023-08-25 08:26:35

Perkel
Member
Registered: 2022-05-13
Posts: 17

Re: In minecraft, the sound goes to the speakers, not the bluetooth headph

For me, the output is following:

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC257 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, Acer AL1912
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [Acer AL1912]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

Board footer

Powered by FluxBB