Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Bluetooth headphones are not detected by Wine
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
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 10

PostPosted: Wed Jul 12, 2023 5:14 pm    Post subject: [Solved] Bluetooth headphones are not detected by Wine Reply with quote

I use i3wm with pipewire and tws bluetooth headphones. In other distros when I start games through wine the bluetooth phone is recognized, but not in gentoo. Both sound and bluetooth operate normally, only wine does not detect the bluetooth output. I'm using virtual/wine with all flags enabled. Does anyone know how to make wine detect my tws headphones? Thanks.

Last edited by mauricio.historia on Mon Jul 17, 2023 7:37 pm; edited 3 times in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1960
Location: 127.0.0.1

PostPosted: Mon Jul 17, 2023 8:29 am    Post subject: Re: Bluetooth headphones are not detected by Wine Reply with quote

Hi,

mauricio.historia wrote:
I'm using virtual/wine with all flags enabled..

virtual/wine is a virtual package that pulls in another wine package. Please be more specific.
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 10

PostPosted: Mon Jul 17, 2023 5:29 pm    Post subject: Re: Bluetooth headphones are not detected by Wine Reply with quote

netfab wrote:
Hi,

mauricio.historia wrote:
I'm using virtual/wine with all flags enabled..

virtual/wine is a virtual package that pulls in another wine package. Please be more specific.


Virtual/wine 0-r10 ​​is with wine-7.0 (Proton-7.0-6)

This is the version used
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1960
Location: 127.0.0.1

PostPosted: Mon Jul 17, 2023 5:37 pm    Post subject: Reply with quote

Please post the output of :
Code:

# emerge -pv wine-proton

And :
Code:

# emerge --info
Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 10

PostPosted: Mon Jul 17, 2023 5:49 pm    Post subject: Reply with quote

netfab wrote:
Please post the output of :
Code:

# emerge -pv wine-proton

And :
Code:

# emerge --info


app-emulation/wine-proton-7.0.6:7.0.6::gentoo USE="alsa fontconfig gecko gstreamer mono nls sdl ssl udev udisks unwind usb vkd3d xcomposite -crossdev-mingw -custom-cflags -debug -llvm-libunwind -openal -osmesa -perl -pulseaudio (-selinux) -v4l -xinerama" ABI_X86="32 64

USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cli crypt cups dbus dri dts dvdr elogind encode exif experimental flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline screencast sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff touchpad truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" L10N="pt-BR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

PS* The sound works through speak, I'm using pipewire
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1960
Location: 127.0.0.1

PostPosted: Mon Jul 17, 2023 6:37 pm    Post subject: Reply with quote

You are using pipewire, but pipewire does not have a native driver for wine.
I think you must enable the pulseaudio useflag for the wine-proton package. This will pull in media-libs/libpulse.
On the pipewire wiki page we can read :
Quote:

Then, if using PipeWire as a replacement for the PulseAudio sound server:

  • Specify the -daemon USE flag on media-sound/pulseaudio, and ensure media-sound/pulseaudio-daemon is not installed. This is necessary to avoid issues resulting from running more than one sound server.
  • Ensure media-libs/libpulse is installed, which will allow PipeWire to emulate a PulseAudio sound server. Not many applications currently support PipeWire's native API.
  • Ensure the pulseaudio USE flag is still set globally.

Back to top
View user's profile Send private message
mauricio.historia
n00b
n00b


Joined: 18 Dec 2021
Posts: 10

PostPosted: Mon Jul 17, 2023 7:19 pm    Post subject: Reply with quote

netfab wrote:
You are using pipewire, but pipewire does not have a native driver for wine.
I think you must enable the pulseaudio useflag for the wine-proton package. This will pull in media-libs/libpulse.
On the pipewire wiki page we can read :
Quote:

Then, if using PipeWire as a replacement for the PulseAudio sound server:

  • Specify the -daemon USE flag on media-sound/pulseaudio, and ensure media-sound/pulseaudio-daemon is not installed. This is necessary to avoid issues resulting from running more than one sound server.
  • Ensure media-libs/libpulse is installed, which will allow PipeWire to emulate a PulseAudio sound server. Not many applications currently support PipeWire's native API.
  • Ensure the pulseaudio USE flag is still set globally.



Thank you very much. I swear I tried to read the documents of all the packages involved in this problem (wine, pipewire, bluez) but I didn't notice this one because of wine-proton. Was looking at the virtual/wine flags. I'm a new user on Gentoo. Sorry for my inattention and thanks again. Problem Solved :D
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