newbie here having issues with steam

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
uncleblood1
Level 1
Level 1
Posts: 4
Joined: Sat Mar 23, 2024 1:12 pm

newbie here having issues with steam

Post by uncleblood1 »

first time linux mint user here,only had it about 2 months. generally ive been able to browse and find what i need on google if ive had questions but all the answers ive found for this problem are either hopelessly out of date, full of lines of code without context, or the equivalent of an IT guy saying turn it off and turn it on again. Steam runs my games fine. but it absolutely refuses to read controllers. ive tried everything. bluetooth, wired, switching between my switch pro controller for a ps5 controller. nothing. ive tried big picture mode and trying to configure there but still no luck. i know the controller works, i use it on my switch all the time, and yet when i sync to my laptop itll say its connected but thats all it does. any help would be great. im not much of a keyboard and mouse type person.
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

I found on internet

" PS5 Controller Now Linux-Compatible With Official Sony Driver "
" You can expect this early support to land with the upcoming Linux Kernel 6.1. "

Here is about PS2 - PS4 https://github.com/torvalds/linux/blob/ ... hid-sony.c

Here is about PS5 https://github.com/torvalds/linux/blob/ ... ystation.c

I don't see your inxi output viewtopic.php?t=318644
So I can only guess that you need to install a newer kernel.
Example
Update Manager --> View --> Linux kernels
https://linuxbsdos.com/wp-content/uploa ... date14.png

Edited
config HID_PLAYSTATION
tristate "PlayStation HID Driver"
depends on LEDS_CLASS_MULTICOLOR
select CRC32
select POWER_SUPPLY
help
Provides support for Sony PS4/PS5 controllers including support for
its special functionalities e.g. touchpad, lights and motion
sensors.
https://github.com/torvalds/linux/blob/ ... id/Kconfig

Edited
After install newer kernel, reboot and test controller with Steam.
Steam settings --> (on left tab ) Controller
There should be an option to test/calibrate the device.
Something like that https://www.gamingonlinux.com/2022/10/v ... top-steam/

Edited

About " Nintendo Switch Pro " check which version bluez you have in Synaptic package manager.
viewtopic.php?t=409493
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

On website https://github.com/torvalds/linux
I found path with text " PS5 "
https://github.com/torvalds/linux/commi ... b5bfa436bc
And there is below description that this is from / for kernel v6.2
If there was something in the earlier kernel, I missed it.
uncleblood1
Level 1
Level 1
Posts: 4
Joined: Sat Mar 23, 2024 1:12 pm

Re: newbie here having issues with steam

Post by uncleblood1 »

i think this is the info you wanted. i believe im on the latest possible kernel. Also ive done the whole downgrading bluez to version 1 instead of 1.1
not only did that not work but the update manager immediately wanted to put it back after i got done.

system info:

Code: Select all

System:
  Kernel: 6.5.0-26-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.18.1 tk: Gtk 3.24.33
    info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82VG v: IdeaPad 1 15AMN7 serial: <superuser required>
    Chassis: type: 10 v: IdeaPad 1 15AMN7 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76473 WIN serial: <superuser required> UEFI: LENOVO
    v: KSCN28WW date: 09/01/2023
Battery:
  ID-1: BAT1 charge: 37.6 Wh (87.9%) condition: 42.8/42.0 Wh (102.0%) volts: 12.4 min: 11.4
    model: LGES L21L3PF0 type: Li-poly serial: <filter> status: Discharging cycles: 8
CPU:
  Info: quad core model: AMD Ryzen 3 7320U with Radeon Graphics bits: 64 type: MT MCP smt: enabled
    arch: Zen note: check rev: 0 cache: L1: 256 KiB L2: 2 MiB L3: 4 MiB
  Speed (MHz): avg: 2401 high: 4139 min/max: 400/4150 cores: 1: 1841 2: 1790 3: 4077 4: 4139
    5: 1841 6: 1850 7: 1831 8: 1841 bogomips: 38330
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:1506 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 5-1:2
    chip-ID: 13d3:540a class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver: X:
    loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
  OpenGL: renderer: RAPHAEL_MENDOCINO (raphael_mendocino LLVM 15.0.7 DRM 3.54 6.5.0-26-generic)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
    driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-26-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek vendor: Lenovo driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:b852 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 0bda:4853 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 91cb hci-v: 5.2 rev: dfb7
Drives:
  Local Storage: total: 238.47 GiB used: 58.33 GiB (24.5%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS256GEJ4X112N size: 238.47 GiB speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 51030C31 temp: 26.9 C scheme: GPT
Partition:
  ID-1: / size: 233.18 GiB used: 58.31 GiB (25.0%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 22.1 MiB (4.3%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb interfaces: 2
    rev: 1.0 speed: 12 Mb/s power: 500mA chip-ID: 0bda:4853 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 3 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 27c6:550a class-ID: ff00
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-1:2 info: IMC Networks Integrated Camera type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 13d3:540a class-ID: 0e02
  Hub-6: 6-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2302 apt: 2297 flatpak: 5
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 294 Uptime: 4m wakeups: 22439 Memory: 5.51 GiB used: 1.75 GiB (31.7%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client
  inxi: 3.3.13
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

Ok. So " Nintendo Switch Pro " let's leave it for later or a separate topic.

Now we try test PS5 Controller.
1. Connect the Controller to USB
2. From Kconfig file https://github.com/torvalds/linux/blob/ ... id/Kconfig
Ctrl + F in Firefox to search word PS5 in this webpage
And we see that PS5 and PS4 use driver HID_PLAYSTATION .
( except " Sony PS4 DualShock 4 controllers " which uses HID_SONY )

3. Open a terminal.
I have an older kernel but I will try to search with you. :mrgreen:

Code: Select all

find /lib/modules/$(uname -r) -type f -name '*.ko' | grep -i "PLAYSTATION"
$ find /lib/modules/$(uname -r) -type f -name '*.ko' | grep -i "PLAYSTATION"
/lib/modules/5.15.0-91-generic/kernel/drivers/hid/hid-playstation.ko
And you can notice that I have this driver. You too check.

4. Check if the controller is detected by the system with command lsusb .
I don't currently have any controller, so I have to improvise. xD

Code: Select all

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0000:3825   USB OPTICAL MOUSE
Bus 001 Device 002: ID 04b4:6005 Cypress Semiconductor Corp. 
Bus 001 Device 004: ID 03f0:0b92 HP, Inc HyperX Virtual Surround Sound
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here this command it detected, among other things, a USB sound card HyperX for headphones.

Share how your PS5 was detected.

If there's something wrong, you have to stay here.
If the above points have been completed successfully and the equipment has been detected,
we can proceed to the next points below, skip to point 5.


4.1 If the driver has not been built,
4.1.1 Then check if you have installed some packages to compile viewtopic.php?t=230142
4.1.2 Check system logs, this command should be enough

Code: Select all

journalctl -xb0 
If you need more tips you can check for example https://github.com/tele1/LinuxTutorial/ ... in/Menu.md

4.2.2 Try also catch error if exist.
Take out the controller
Run command in terminal to check system log in real time

Code: Select all

journalctl -f
Then connect the controller to USB and check if there are any errors.

4.3 If your controller is not detected, you need to ask for help
Here is web site where you can try ask https://bugzilla.kernel.org/buglist.cgi ... lution=---


5. Check any website to test gamepad if your gamepad working.
For example
- https://devicetests.com/controller-tester
- https://apps.nektro.net/gamepad/
- https://www.hcidesign.com/gamepad/
- https://gamepadtest.com/
- https://gamepadtester.net/

6. You can also install from Synaptic package manager joystick package.
This is also used to test the controller.
It looks like https://www.addictivetips.com/ubuntu-li ... for-linux/
Edited: Maybe also will needed jstest-gtk

7. If the Controller works but doesn't work with Steam, you probably need Steam support.
But tell us how you installed Steam.
Because it can be installed in at least 3 ways
- from website ( deb package )
- from repository ( Synaptic , apt command )
- from flatpak ( some other manager )

How you can check ?
Try check from terminal

Code: Select all

flatpak list --app

Code: Select all

dpkg -l | grep -i steam
Try install also from Synaptic xboxdrv for some games.
And test.
uncleblood1
Level 1
Level 1
Posts: 4
Joined: Sat Mar 23, 2024 1:12 pm

Re: newbie here having issues with steam

Post by uncleblood1 »

well first thing i did was plug up a ps5 controller i borrowed from a friend.....it immediately worked. apparently the last one he let me try was in fact a ps4 controller instead. i wouldve noticed but it was like 4 am when i was testing it. looks like i just need to go buy a used ps5 controller. thanks for the help anyway..lol i hate when its somethig simple ive overlooked because then i just feel silly. only thing i need to figure out now is how to put this as solved.
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

Ok. But note that PS4 should also work.
Long time ago I tested only PS3 pad and two different similar to Xbox - apart from other problems they worked.
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

And remember that sometimes it is also worth checking whether the driver is loaded.
Such drivers are usually loaded only after the device is connected.
If you know the name of the driver, you can check it using the lsmod command.
For example I tried search snd_usb_audio driver
$ lsmod | grep -i "snd_usb_audio"
snd_usb_audio 364544 0
snd_usbmidi_lib 45056 1 snd_usb_audio
mc 65536 1 snd_usb_audio
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 143360 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd 106496 24 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
This suggests that the driver snd_usb_audio has been found.
When searching, watch out for dashes.
Sometimes the driver name has a dash and sometimes an underscore.
uncleblood1
Level 1
Level 1
Posts: 4
Joined: Sat Mar 23, 2024 1:12 pm

Re: newbie here having issues with steam

Post by uncleblood1 »

it was the cord.... friend swapped the cord for a new one and the ps4 one works as well..apparently the other cord would charge but wouldnt let it be detected. i feel so dumb. such a simple thing and i overlooked it.
1000
Level 6
Level 6
Posts: 1040
Joined: Wed Jul 29, 2020 2:14 am

Re: newbie here having issues with steam

Post by 1000 »

You still have " Nintendo Switch Pro " controller to check.
Post Reply

Return to “Gaming”