fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
123 stars 3 forks source link

Flatpaks not finding udev devices #615

Closed stenwt closed 1 week ago

stenwt commented 1 week ago

This issue tracker is intended only for Silverblue specific issues. We would like to ask you to try to reproduce the issue on a relevant Fedora Workstation release. If you will be able to reproduce there, then please report it in Red Hat Bugzilla (see How to file a bug) or in upstream (preferred for GNOME projects) and not in this issue tracker.

Describe the bug https://flathub.org/apps/details/io.github.hmlendea.geforcenow-electron and the Google Chrome app can be used to play games on the Geforce Now streaming service. I have a Bluetooth gamepad (8bitdo SN30 Pro) which works well using the Steam Link flatpak. Chrome and the Geforce Now app both fail to see the controller. Both have open issues that suggest using flatseal or the flatpak cli to set the apps to map /run/udev:ro into the Flatpak container. I have tried that with both apps, and they still do not see the gamepad. I saw another recommendation to layer the steam-devices RPM to enable the proper udev rules; I got that from https://copr.fedorainfracloud.org/coprs/sfaulken/steam-devices/, but it also did not help.

To Reproduce Please describe the steps needed to reproduce the bug:

  1. Connect a gamepad
  2. Use either "Geforce Now Electron" or Google Chrome flatpaks to sign into Geforce Now. Start a game. Open the Steam overlay and select the gamepad ui. It will say "no controller detected."

Expected behavior Gamepad should be deteced

Screenshots If applicable, add screenshots to help explain your problem.

OS version:

State: idle
BootedDeployment:
● fedora:fedora/41/x86_64/silverblue
                  Version: 41.20241116.0 (2024-11-16T00:47:25Z)
               BaseCommit: 4fdc67ea8d173908dfe56bfa26985acded2fbc7cda782882ae4f7ff615dbadd6
             GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
          LayeredPackages: gvfs-nfs hidapi steam-devices tailscale
                Initramfs: -a systemd-pcrphase

Additional context Add any other context about the problem here.

stenwt commented 1 week ago

I realize this sounds like a flatpak issue but apparently Ublue and Aeon have this working, curious what the discrepancy is.

stenwt commented 1 week ago

dug deeper, it seems to be a Geforce Now thing, not a chrome/flatpak/fedora/linux thing; chrome in the flatpak sees the controller and I can test it with https://hardwaretester.com/gamepad