Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS4 controller doesn't get detected by Steam or games #239

Open
brunofrcsantos opened this issue May 31, 2023 · 1 comment
Open

PS4 controller doesn't get detected by Steam or games #239

brunofrcsantos opened this issue May 31, 2023 · 1 comment
Labels
fix-comitted A fix has been comitted, but its not generally available hardware-specific The issue is related to a specific hardware configuration (GPU, CPU, etc) type/bug Something isn't working

Comments

@brunofrcsantos
Copy link

Describe the bug

When connecting a PS4 controller Steam won't detect it and won't allow me to configure and it and won't work in game.

To Reproduce

Steps to reproduce the behavior:

  1. Connect a PS4 controller either by cable or Bluetooth
  2. Launch Steam and open Big Picture
  3. Open Settings > Controller and see if it shows on there
  4. Try to navigate on the interface using the controller, or open a game with controller support

Expected behavior
Steam and its games should recognize the controller, and on Big Picture, show the correct buttons on screen (in this case, PlayStation buttons)

Environment

os_release: 
    name:               "Ubuntu"
    version:            "23.04 (Lunar Lobster)"
snap_info: 
    steam_revision:     150
    snapd_revision:     19361
lspci: 
    00:02.0:            Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620]
glxinfo: 
    gpu:                Mesa Intel(R) UHD Graphics 620 (WHL GT2)
    gpu_version:        4.6 (Core Profile) Mesa 23.1.1 - kisak-mesa PPA
lscpu: 
    model_name:         Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

Logs

Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
steam.sh[26277]: Running Steam on ubuntu 23.04 64-bit
steam.sh[26277]: STEAM_RUNTIME is enabled automatically
setup.sh[26401]: Steam runtime environment up-to-date!
steam.sh[26277]: Steam client's requirements are satisfied
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2023-05-31 18:05:30] Startup - updater built May 30 2023 21:37:47
[2023-05-31 18:05:30] Startup - Steam Client launched with: '/home/dovah/snap/steam/common/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
[2023-05-31 18:05:30] Opted in to client beta 'publicbeta_newdesktopui_temp' via beta file
You are in the 'publicbeta_newdesktopui_temp' client beta.
05/31 18:05:30 Init: Installing breakpad exception handler for appid(steam)/version(1685483787)/tid(26447)
[2023-05-31 18:05:30] Loading cached metrics from disk (/home/dovah/snap/steam/common/.local/share/Steam/package/steam_client_metrics.bin)
[2023-05-31 18:05:30] Using the following download hosts for Public, Realm steamglobal
[2023-05-31 18:05:30] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-05-31 18:05:30] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-05-31 18:05:30] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-05-31 18:05:30] Verificando a instalação...
[2023-05-31 18:05:30] Verification complete

(process:26447): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
Loaded SDL version 3.0.0-1634-g85f33fe86
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xea04c370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xea04acc0
GetWin32Stats: display was not open yet, good
ComputeStartupMode: found registry default startup mode: 0
Switching to desktopui, since -vgui was not specified
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[26503]: Runtime for steamwebhelper: defaulting to /home/dovah/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
/home/dovah/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 53: /proc/sys/kernel/unprivileged_userns_clone: Permission denied
/home/dovah/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 60: /proc/sys/user/max_user_namespaces: Permission denied
steamwebhelper.sh[26503]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
steamwebhelper.sh[26503]: CEF sandbox already disabled
Could not connect to X session manager: Could not open network socket
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf LOCK_SH failed. errno = 13Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
CAppInfoCacheReadFromDiskThread took 71 milliseconds to initialize
flock /sys/power/suspend_stats/success LOCK_SH failed. errno = 13Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Failed to init SteamVR because it isn't installed
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13
(steam:26447): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
Local Device Found
  type: 054c 09cc
  path: /dev/hidraw4
  serial_number: a4:ae:11:be:68:f8 - 0
  Manufacturer: 
  Product:      Wireless Controller
  Release:      0
  Interface:    -1

local (potentially out of sync) copy of roaming config loaded - 12842 bytes.
Local Device Found
  type: 054c 09cc
  path: /dev/hidraw4
  serial_number: a4:ae:11:be:68:f8 - 0
  Manufacturer: 
  Product:      Wireless Controller
  Release:      0
  Interface:    -1

BRefreshApplicationsInLibrary 1: 1ms
roaming config store loaded successfully - 12842 bytes.
migrating temporary roaming config store

(steam:26447): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
Could not connect to X session manager: Could not open network socket
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13Could not connect to X session manager: Could not open network socket
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf LOCK_SH failed. errno = 13Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
Could not connect to X session manager: Could not open network socket
System startup time: 3.38 seconds
BuildCompleteAppOverviewChange: 344 apps
RegisterForAppOverview 1: 3ms
RegisterForAppOverview 2: 3ms
ExecCommandLine: "'/home/dovah/snap/steam/common/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'"

(steam:26447): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
ExecuteSteamURL: "steam://open/steam://settings/"
Warning: failed to set thread priority: set failed for -10: -1: setpriority() failed
Warning: failed to set thread priority: set failed for -10: -1: setpriority() failed
[2023-05-31 18:07:31] Background update loop checking for update. . .
[2023-05-31 18:07:31] Verificando se há atualizações...
[2023-05-31 18:07:31] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_newdesktopui_temp_ubuntu12?t=231446435
[2023-05-31 18:07:31] Manifest download: send request
[2023-05-31 18:07:31] Manifest download: waiting for download to finish
[2023-05-31 18:07:32] Manifest download: finished
[2023-05-31 18:07:32] Download skipped: /steam_client_publicbeta_newdesktopui_temp_ubuntu12?t=231446435 version 1685483787, installed version 1685483787, existing pending version 0
[2023-05-31 18:07:32] Nothing to do

Additional Context

First I used the stable version of this Snap (currently 1.0.0.75) and did what is told on the FAQ, regarding controllers, including making sure plugs are connected, then changed channels (also did a reinstall, why not) to the Edge channel (currently on (1.0.0.76).

When gathering logs, I saw that actually my controller was detected, or at least is what I think (see above), but I still couldn't navigate on Big Picture, playing games or even configuring it.

@brunofrcsantos brunofrcsantos added the type/bug Something isn't working label May 31, 2023
@ashuntu ashuntu added the hardware-specific The issue is related to a specific hardware configuration (GPU, CPU, etc) label Nov 29, 2023
@lorsanta
Copy link

lorsanta commented Nov 1, 2024

Seems to be working now, I have no problem navigating steam on big picture.
Tested with:

os_release:
    name:               "Ubuntu"
    version:            "24.04.1 LTS (Noble Numbat)"
snap_info:
    steam_revision:     206
    snapd_revision:     23177
$ snap list | grep 'steam'
steam                           1.0.0.81                    206    latest/stable       canonical**

@ashuntu ashuntu added the fix-comitted A fix has been comitted, but its not generally available label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix-comitted A fix has been comitted, but its not generally available hardware-specific The issue is related to a specific hardware configuration (GPU, CPU, etc) type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants