Repository navigation
Description
BEFORE FILING AN ISSUE PLEASE CHECK IF THE ISSUE OCCURS ON UPSTREAM PROTON-EXPERIMENTAL FIRST.
IF IT HAPPENS ON PROTON-EXPERIMENTAL, YOU NEED TO FILE THE ISSUE UPSTREAM, NOT HERE.
UPSTREAM BUG TRACKER:
https://github.com/ValveSoftware/Proton/issues
THE GE-PROTON ISSUE TRACKER IS FOR ISSUES THAT ONLY OCCUR ON GE-PROTON BUT WORK PROPERLY UPSTREAM, OR FOR FEATURES THAT ARE ONLY SPECIFIC TO GE-PROTON SUCH AS WINE-WAYLAND.
Compatibility Report
- Name of the game with compatibility issues:
- Steam AppID of the game: VRChat
System Information
- GPU: RTX 3060
- Driver/LLVM version: 595.104.02
- Kernel version: 6.18.51
- Distro version: Ubuntu 22.04
- Desktop session: KDE
- Link to full system information report as Gist:
- Proton version: GE-Proton11-11-35-g9499e2f8
Proton comparison
- Works with Proton Experimental:
- Works with Proton Experimental bleeding-edge:
- Works with latest Valve Proton stable:
- Works with previous GE-Proton version:
- Last known working GE-Proton version, if any:
- First known broken GE-Proton version, if any:
Launch options
using umu-launcher to launch vrchat.
I confirm:
- that I have verified my problem does NOT happen on proton-experimental and ONLY happens on GE-Proton
- that I am NOT using the GE-Proton flatpak. (I do not build or provide the GE-Proton flatpak and it is known to have broken codec support.)
- that I haven't found an existing compatibility report for this game.
- that I have checked whether there are updates for my system available.
- that I have tested with a clean prefix or explained why I could not.
For issues with the GE-Proton flatpak, report here:
https://github.com/flathub/com.valvesoftware.Steam.CompatibilityTool.Proton-GE
Symptoms
After workaround find out at the #892 issue, It still think that is not a better fix due to there are another unknown flag. and Find out that is PlaybackStalled. when wine mf sent waiting event. avprovideo will directly treat it as PlaybackStalled. With networking is not loading status, and PlaybackStalled is true. avprovideo will trigger reload. Due to wine always sent waiting when call play. the TapozPlayer will just keep reloading the audio.
You can revert the patch from #892. which is only a workaround. This should be better. I have tested this is working as well. mainly for not let AvProVideo set the PlaybackStalled status when Play is called.
Here is patch.
diff --git a/dlls/mfmediaengine/main.c b/dlls/mfmediaengine/main.c
index 1f51addf599..6760c61692b 100644
--- a/dlls/mfmediaengine/main.c
+++ b/dlls/mfmediaengine/main.c
@@ -2803,6 +2803,8 @@ static HRESULT WINAPI media_engine_Play(IMFMediaEngineEx *iface)
{
struct media_engine *engine = impl_from_IMFMediaEngineEx(iface);
HRESULT hr = S_OK;
+ DWORD characteristics = 0;
+ BOOL is_live = FALSE;
EnterCriticalSection(&engine->cs);
WARN("%p enter flags %#x ready %u network %u.\n", iface, engine->flags, engine->ready_state,
@@ -2835,7 +2837,12 @@ static HRESULT WINAPI media_engine_Play(IMFMediaEngineEx *iface)
else if (engine->flags & FLAGS_ENGINE_PAUSE_PENDING)
media_engine_set_flag(engine, FLAGS_ENGINE_PLAY_PENDING, TRUE);
- media_engine_notify_live_event(engine, MF_MEDIA_ENGINE_EVENT_WAITING, 0, 0);
+ if (engine->presentation.source && SUCCEEDED(IMFMediaSource_GetCharacteristics(engine->presentation.source, &characteristics)))
+ {
+ is_live = !!(characteristics & MFMEDIASOURCE_IS_LIVE);
+ }
+ if (!is_live)
+ media_engine_notify_live_event(engine, MF_MEDIA_ENGINE_EVENT_WAITING, 0, 0);
}
WARN("%p leave hr %#lx flags %#x ready %u network %u.\n", iface, hr, engine->flags,
diff --git a/dlls/winedmo/media_source.c b/dlls/winedmo/media_source.c
index 0de651d00a0..0e72e931bee 100644
--- a/dlls/winedmo/media_source.c
+++ b/dlls/winedmo/media_source.c
@@ -350,6 +350,7 @@ struct media_source
UINT64 duration;
bool has_duration;
bool is_network;
+ bool is_rtsp;
struct winedmo_demuxer demuxer;
struct
@@ -1986,6 +1987,7 @@ static HRESULT WINAPI media_source_GetCharacteristics(IMFMediaSource *iface, DWO
{
*characteristics = MFMEDIASOURCE_CAN_PAUSE;
if (source->has_duration) *characteristics |= MFMEDIASOURCE_CAN_SEEK;
+ if (source->is_rtsp && !source->has_duration) *characteristics |= MFMEDIASOURCE_IS_LIVE;
}
LeaveCriticalSection(&source->cs);
@@ -2244,6 +2246,10 @@ static HRESULT media_source_create(struct object_context *context, IMFMediaSourc
|| !wcsnicmp(context->url, L"rtsp://", 7)
|| !wcsnicmp(context->url, L"rtspt://", 8)
|| !wcsnicmp(context->url, L"rtspu://", 8));
+ object->is_rtsp = context->url &&
+ (!wcsnicmp(context->url, L"rtsp://", 7)
+ || !wcsnicmp(context->url, L"rtspt://", 8)
+ || !wcsnicmp(context->url, L"rtspu://", 8));
object->rate = 1.0f;
InitializeCriticalSectionEx(&object->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
object->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
Reproduction
Find a world that using tapozplayer and puts rtspt://stream.vrcdn.live/live/vrcdn.
for my test I just streaming my own desktop with sound.
You can using the world https://vrchat.com/home/world/wrld_c82a5c14-97a5-4782-a034-d897d2d943a2. its has a player that is base on tapozplayer.
- Join the world.
- Long press key G. its will appear a thing. than put on the ground.
- using OBS to stream
rtmp://topaz.chat/live/<SteamKey>you can define your own . - also puts the on the speaker like item. there are control back there. than its will start stream if you setup properly
Activity
[-]A better fix for TapozPlayer on vrchat[/-][+]WIP: A better fix for TapozPlayer on vrchat[/+][-]WIP: A better fix for TapozPlayer on vrchat[/-][+]A better fix for TapozPlayer on vrchat[/+]GloriousEggroll commentedon Nov 2, 2026
Thanks for digging into AVPro's behavior and testing this! We've replaced the #892 workaround with your patch: RTSP sources without a duration are now reported as live, and the media engine no longer sends the WAITING event when playing them. It's credited to you and will be in the next GE-Proton release. Please confirm TopazPlayer streams stay up once it's out.
patches: replace the #892 TopazPlayer workaround with l12436's live-sβ¦
patches: Update patchsets to match latest ge commits