ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.16k stars 173 forks source link

Steam broadcasting start but can't watch #6815

Open grachevko opened 4 years ago

grachevko commented 4 years ago

Your system information

Please describe your issue in as much detail as possible:

After invite my friend broadcasting start well, but friend can't watch. Message: waiting for broadcasting start. In mobile steam client i see screenshot from broadcasting, but also can't start watching

Screenshot_20200107-005155651_1

Screenshot_20200107-005147648

Steps for reproducing this issue:

  1. Start broadcasting
  2. Try to watch
KCH0000 commented 4 years ago

Have a similar issue

Maks7878 commented 4 years ago

I am having the exact same issue so is one other friend of mine using the same distro. Linux Mint 19.3. Broadcasting had been working previously. I'm not exactly sure what day it stopped working.

Newbytee commented 4 years ago

I am having the exact same issue so is one other friend of mine using the same distro. Linux Mint 19.3. Broadcasting had been working previously. I'm not exactly sure what day it stopped working.

While I'm not certain either, I can confirm it has been an issue since at least the 27th of December 2019.

arlyoneel commented 4 years ago

Same issue, just broadcast, other recording screen features like steam anywhere/link works as intended.

bambi42 commented 4 years ago

Same on Ubuntu 18.04 and KDE Neon. Both accepting invites to watch and requesting to watch don't work.

Velvus commented 4 years ago

Can confirm I have this issue on 2 Ubuntu 18.04 machines running the latest Steam Beta client. Unable to watch the stream, keeps showing "Waiting for broadcast to start".

EzraT commented 4 years ago

Can confirm, Same issue on Mint 19.3 Cinnamon. It even shows the Live status and uploading speeds in the overlay, but the stream itself never loads for anyone.

tr37ion commented 4 years ago

maybe the problem is the error [0413/220313.931020:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.

from:

Created OPUS PLC voice encoder
warning: The VAD has been replaced by a hack pending a complete rewrite
RecordSteamInterfaceCreation (PID 93855): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 93855): SteamController005 / Controller
Installing breakpad exception handler for appid(gameoverlayui)/version(20200408204536)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0413/220313.770135:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0413/220313.931020:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
[0413/220313.939069:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
CApplicationManagerPopulateThread took 15677 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
INFO: Assertion failed: pDSPSettings->DstChannelCount == ChannelCount && "Invalid channel count, DSP settings and speaker configuration must agree"
[0413/220525.711138:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0413/220525.711219:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1586378570
[0413/220525.711225:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0413/220525.711230:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0413/220525.711859:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
[0413/220525.834488:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220525.834525:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[0413/220528.502256:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220528.502301:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
[0413/220531.708254:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220531.708287:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[0413/220534.442755:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220534.442793:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
[0413/220641.232840:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220641.232871:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[0413/220643.900476:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220643.900510:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
[0413/220712.984532:WARNING:keyboard_code_conversion_x.cc(1441)] Unknown keycode:63
[0413/220713.096259:WARNING:keyboard_code_conversion_x.cc(1441)] Unknown keycode:0
Installing breakpad exception handler for appid(steam)/version(1586383057)
[0413/220816.377098:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220816.377142:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
[0413/220819.044630:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.PowerManagement.Inhibit.UnInhibit: object_path= /org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
[0413/220819.044665:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Setting breakpad minidump AppID = 447290
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970192911 [API loaded no]
pid 93816 != 93815, skipping destruction (fork without exec?)
Game removed: AppID 447290 "", ProcID 93855 
Game 447290 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 447290 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 447290 created interface STEAMAPPTICKET_INTERFACE_VERSION001 / 
Game 447290 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_003 / HTMLSurface
Game 447290 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 447290 created interface STEAMINVENTORY_INTERFACE_V001 / Inventory
Game 447290 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 447290 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 447290 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
Game 447290 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 447290 created interface STEAMUGC_INTERFACE_VERSION009 / UGC
Game 447290 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 447290 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 447290 created interface STEAMVIDEO_INTERFACE_V001 / Video
Game 447290 created interface SteamController005 / Controller
Game 447290 created interface SteamFriends015 / Friends
Game 447290 created interface SteamMatchMaking009 / Matchmaking
Game 447290 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 447290 created interface SteamNetworking005 / Networking
Game 447290 created interface SteamUser017 / User
Game 447290 created interface SteamUser019 / User
Game 447290 created interface SteamUtils007 / Utils
Game 447290 created interface SteamUtils008 / Utils
Game 447290 method call count for IClientUser::GetAppOwnershipTicketExtendedData : 1
Game 447290 method call count for IClientUser::BIsSubscribedApp : 1
Game 447290 method call count for IClientUser::GetSteamID : 33
Game 447290 method call count for IClientFriends::GetFriendRichPresenceKeyCount : 20
Game 447290 method call count for IClientFriends::GetFriendPersonaState : 20
Game 447290 method call count for IClientFriends::GetFriendRelationship : 20
Game 447290 method call count for IClientFriends::GetFriendGamePlayed : 20
Game 447290 method call count for IClientFriends::GetPersonaName : 3
Game 447290 method call count for IClientUtils::GetAppID : 56
Game 447290 method call count for IClientUtils::IsAPICallCompleted : 88
Game 447290 method call count for IClientUtils::GetAPICallResult : 3
Game 447290 method call count for IClientUtils::GetConnectedUniverse : 1
Game 447290 method call count for IClientUtils::RecordSteamInterfaceCreation : 47
Game 447290 method call count for IClientUserStats::GetAchievementDisplayAttribute : 360
Game 447290 method call count for IClientUserStats::RequestCurrentStats : 1
Game 447290 method call count for IClientUserStats::RequestUserStats : 3
Game 447290 method call count for IClientUserStats::GetAchievement : 135
Game 447290 method call count for IClientNetworking::AllowP2PPacketRelay : 1
Game 447290 method call count for IClientAudio::StartVoiceRecording : 1
Game 447290 method call count for IClientAudio::StopVoiceRecording : 1
Game 447290 method call count for IClientAudio::GetAvailableVoice : 1
Uploaded AppInterfaceStats to Steam
Exiting app 447290
Gryxx commented 4 years ago

Similar issue here. Steam Beata, distro OpenSUSE Tumbleweed. Ryzen+Radeon combo, all packages up to date. I can provide additional info if needed.

tr37ion commented 4 years ago

@Gryxx Sure, just add everything you have. Most likely the console output with the same error posted before.

Gryxx commented 4 years ago

@tr37ion Could you specify witch console output i should post? Steam? Or is there a separate one for streaming?

tr37ion commented 4 years ago

@Gryxx I just started Steam from the command line and then pasted its (relevant) output here. Then let a Windows user try to Watch Game or I tried to broadcast the game.

Gryxx commented 4 years ago

Here is relevant log https://pastebin.com/kayRRK25

kadogo commented 4 years ago

Hello, is there some improvement? I just tried broadcasting and I think I have something similar.

I need to click on "no broadcast started" in the settings so that the chat dialog comes up and the broadcast start (I see the live button in red).

But when I go to "https://steamcommunity.com/broadcast/upload" I have "k_EResultNoMatch (42)" as error. When I stop the stream I see it appearing on the website with "Error: Ended".

If I can check few othing things to help, let me know. Cheers.

Edit: I'm using Debian 10 in Steam beta.

tr37ion commented 4 years ago

@kadogo I recommend to start Steam from the commandline and then Steam Broadcast with a friend. Then copy/paste the commandline log (with error messages) here. It is ok to only paste the part with error messages.

kadogo commented 4 years ago

@tr37ion thanks I will try to setup that with a friend but in my different test I didn't see any errors in the command line. I run Steam with steam in a terminal maybe I need to add few arguments?

kadogo commented 4 years ago

No error display on the command line.

In case it cas help, I use remote play most of time and I remark that broadcasting and remoteplay together is not permit (steamlink refuse to connect is that intended?). Maybe the same port are used?

I guess that there are maybe some authentification issues because for launching the broadcast I need to go to the parameter "No broadcast running" that open a window where I must disabled my family settings and only at that moment I see the "live" button red but me or a friend cannot access the stream it stayed as "Waiting for broadcast from ...."

Edit: I discovered the steam://open/console so in case I did a gist https://gist.github.com/kadogo/28f0215ff90d36e668eb509ad869147d I don't really see anything weird

L1pE commented 4 years ago

Turned off Remote Play Together to test this with a friend, we managed to make it work, I had to first invite my friend to watch, which steam then showed a message saying broadcasting wasn't supported in my system, then he had to change tab in steam to get off that page, then he had to open the chat menu and select "watch game" option, which after that it started loading and worked. This worked for both parties. Having Remote Play Together on does seem prevent this from working.

EDIT: Some additional info on this rain dance since I've had to deal with it again after a long while: it may take a few tries for it to actually work, and when it works, the broadcast stats will show 0kbps and 0fps, but will increment viewer count and it will work just fine for the viewer. If it starts showing actual upload stats like ~3000kbps and 30fps then it will never load for the viewer and the viewer counter will stay at 0, the broadcast will need to be stopped and the rain dance attempted again.

EDIT2: Had tested with an additional friend somewhat recently, having more than 1 person attempt to watch will break the stream immediately even after the first person had successfully done the rain dance, it will not increment beyond 1 viewer and will start showing actual upload stats much like it does when the rain dance fails with one person. It's possible that it's also a random chance that it may work eventually with 2 or more viewers but we just couldn't be bothered to try too much.

JaneSmith commented 3 years ago

Same problem here.

Steam build: Oct 28 2020, at 23:35:02 Steam API: v020 Steam package versions: 1603992987 Installed via the modern Flatpak at Flathub: com.valvesoftware.Steam Distribution: Fedora Silverblue 32 Using a Radeon RX 550 with the open source graphics drivers.

Attempting to view a stream without an invite results in an error saying that the host's operating system is not supported — that's bug #6693 which I'm also encountering.

After sending an invite, it stops giving that error message, but the stream never actually loads. The in-game overlay shows that the stream is live, sending data at a reasonable bitrate and at 30 fps, but with zero viewers.

kftX commented 2 years ago

This is absolutely random but I was able to reproduce it as fix, using @L1pE's idea as a base here's what I did:

1 - Invite your friend to watch your stream, it will say "Steam broadcasting isn't supported yada yada" or not load.

2 - Ask your friend to close the stream, send you an invite to watch. It should be loading and not working.

3 - Shift-Tab into the Steam overlay, press "Settings" on the broadcast tab

4 - Change the quality setting from what it was, doesn't matter if it's Best Performance or Best Quality, and then press ok.) You may have to tinker with other settings but I didn't have to.

5 - After a few seconds you should get the warning someone is watching your stream.

6 - Enjoy!

I did this three times and it worked for my friend to watch me play. It should say you're uploading a 0kbps and 0fps but your friend will be watching anyway. I streamed successfully at 1080p.

Hope this helps!

vermeeren commented 2 years ago

@kftX I believe that when there is only a single viewer it uses a WebRTC-style direct stream (peer-to-peer?), which does work properly on the Linux client. The moment a second viewer connects however it switches to a traditional setup through steam servers (this also has stream delay, unlike WebRTC) which does not work.

When the WebRTC method is used upload stats are always 0kbps, presumably a Steam bug.

madmadman commented 1 year ago

please fix, this is still a problem

myghi63 commented 1 year ago

This is still broken! Despite the "fix", it's now even worse for me: After starting the broadcast, it breaks after about one minute on ubuntu, but lasts a little longer on Arch (~5 minutes). When it breaks, for me it looks like it's still working, but it keeps "loading" forever to the user that's watching the gameplay. I Installed ubuntu to reproduce the issue and open a support ticket on steam, but they answered me that they can't help and I should be talking about that on steam forums

blabtonic commented 2 months ago

fix this issue please

Juppstein commented 3 weeks ago

This feature still gives a message "currently unsupported". Is there anything we can do to help fix this?