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

Pinging the console throws an error, but connecting works #2

Closed
IrealiTY opened this issue Sep 5, 2022 · 3 comments
Closed

Pinging the console throws an error, but connecting works #2

IrealiTY opened this issue Sep 5, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@IrealiTY
Copy link

IrealiTY commented Sep 5, 2022

Hey, hi, thanks for your mods to the remote play app :D

Had to remove this section from the script to get it to work, not sure why i can't ping my console from the steam deck (other network devices work fine)

ping -c 3 -w 30 xxx.xxx.xxx.xx &>/dev/null
sleep 1

also, I suggest maybe adding a longer sleep command after the wake-up (I use 4 :) )

@streetpea
Copy link
Owner

streetpea commented Sep 5, 2022

The ping command will wait up to 30 seconds for availability already with a minimum of 3 seconds, continuing once 3 successful pings (1 every second) are received. If the device is not up the ping command won’t return until later. As soon as it’s up for 3 seconds, it will return. If ping isn’t working for you I’d suggest a sleep of 10 seconds to be safe … I have found 4 to be inadequate. In general, ping is a much better solution than just sleep. I am going to upgrade the ping to an even better solution later (ie using the Chiaki discover protocol to send a properly formatted packet since that port has to be open for remote play to work). Until then, I’ll just leave this as a workaround for people that ping doesn’t work for. (I.e The workaround is deleting the ping command and the two sleep 1 and replacing with sleep 10).

@streetpea streetpea self-assigned this Sep 5, 2022
@streetpea streetpea added the enhancement New feature or request label Sep 5, 2022
@IrealiTY
Copy link
Author

IrealiTY commented Sep 6, 2022

Yeah, I need to check why exactly ping is not working, I woke up the console manually and pinged from the deck to make the tests and got not response - I do think it must be something on my end, but it's good to know that it still works and yo u can connect nonetheless.

@streetpea
Copy link
Owner

You should be able to update now by (either updating the flatpak in the discover store or run flatpak update in the console) and going back through https://streetpea.github.io/chiaki4deck/setup/automation/ to update your launch script. It should work for you now as it no longer requires ping. Let me know how it goes.

streetpea added a commit that referenced this issue Nov 29, 2023
Notable Things:
- Updated chiaki discovery cli to finish properly or timeout
- Updated automation to use improved discovery cli, fixing timing issues
- Automation now works for users without ping access to console
- DualShock4/DualSense udev rules + instructions for native gyro/touchpad
- Updated documentation to reflect changes + added releases section & banner

Fixes #2
nowrep pushed a commit to nowrep/chiaki4deck that referenced this issue Nov 30, 2023
Update build scripts and pick colorspace based on incoming frame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants