ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
844 stars 132 forks source link

Audio does not output through Xbox controller over USB #1417

Closed Pixelguin closed 1 week ago

Pixelguin commented 1 week ago

Describe the bug

Using an Xbox gamepad connected via USB, the gamepad functions in controlling games, etc. but the computer does not recognize when headphones are plugged into the gamepad and it does not output audio to them. Tested with both Aurora NV and Bazzite NV.

Audio output does work when the gamepad is connected wirelessly via the official Xbox dongle (appears as sound device "Xbox Wireless Adapter for Windows"), but it does not work when the gamepad is connected over USB specifically.

What did you expect to happen?

I expected to see a new audio output device appear in KDE Plasma after connecting headphones to the headphone jack in an Xbox gamepad plugged in via USB, just like when using the wireless dongle or when using USB in Fedora KDE with the xone + xone-firmware drivers.

When connected over USB in Fedora, a new audio output appears named "Analog Out" and it functions as you'd expect.

Output of rpm-ostree status

Aurora:

❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/aurora-nvidia:latest
                   Digest: sha256:a00d79643396f8f0f529975445d2def0c8670df314aaf8bce67f6db9ecff5be1
                  Version: 40.20240620.0 (2024-06-20T16:51:02Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/aurora-nvidia:latest
                   Digest: sha256:d297326eeaed792ee4d3141bdf0297eadf3a0e1b4967140cf808e9a56b31c750
                  Version: 40.20240613.0 (2024-06-15T18:27:24Z)

~

Bazzite:

name-redacted@fedora:~$ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:376ffb04e940fce1390027c1ffa65662e8521d209dc7f5fbd1bc4ba3c235f718
                  Version: 40.20240619.0 (2024-06-20T01:06:19Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:376ffb04e940fce1390027c1ffa65662e8521d209dc7f5fbd1bc4ba3c235f718
                  Version: 40.20240619.0 (2024-06-20T01:06:19Z)

Output of groups

Aurora + Bazzite:

❯ groups
[name redacted] wheel

~

Extra information or context

Tested and confirmed this issue occurs with the following XInput controllers:

Results of rpm -qa | grep xone:

Confirmed /lib/firmware/xow_dongle.bin exists in both Aurora and Bazzite.

KyleGospo commented 1 week ago

We ship a stripped xone driver that is missing the USB components. This is to avoid conflicting with other controller drivers and provide the maximum amount of compatibility.

I'm afraid this is a won't fix, you would need to make a custom image if you want the full featured xone.

https://github.com/KyleGospo/xonedo