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

VRChat (438100) #1199

Open
Goofybud16 opened this issue Sep 3, 2018 · 1,070 comments
Open

VRChat (438100) #1199

Goofybud16 opened this issue Sep 3, 2018 · 1,070 comments
Labels
cw Game compatibility - Unofficial Games not expected to work without issues NVIDIA drivers Possibly involves an issue with the NVIDIA proprietary driver

Comments

@Goofybud16
Copy link

Goofybud16 commented Sep 3, 2018

System Information Original
System Information - Updated Jan 27, 2019

Problem:
Was able to load into the hub successfully after going through tutorial, but most other player models did not render correctly, if at all.
Upon restarting the game, it crashes upon loading into the hub.
Mouse keeps pulling towards the bottom right.
Game locked up on exit with a black screen.

All other behavior appeared to be correct.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Sep 3, 2018
@bytefaux
Copy link

bytefaux commented Sep 30, 2018

I've found a couple workarounds for various issues listed here.

Crash on loading hub world: Setting launch option vrchat://launch?id= with another world id will load that world rather than the hub world. Been using wrld_8ef393c0-a985-4d7e-90f0-33ab10d41ee3:2822 here for the avatar testing world.

Mouse escape in windowed mode: Just set the -screen-fullscreen 1 -screen-width w -screen-height h launch options with the resolution of your screen as w and h.

Mouse sensitivity maxing out when opening/closing game menu: It's pretty annoying but it's fixed temporarily by switching focus from then back to the game by alt-tabbing or using a volume key so a popup showing the current volume quickly grabs and releases focus.

Game locks on exit: Just keep a command line open with killall VRChat.exe to bop the process after exiting :/

System: Ubuntu 18.04.1 LTS | Intel Pentium G3258 | GeForce GTX 750 Ti | Proton 3.7-7 Beta | VRChat 2018.3.1

@ghost
Copy link

ghost commented Oct 14, 2018

I have a problem with VRChat even with Stream Output support, the characters and everything on tutorial works fine but you can't load any map after that, the game just freezes.

Hardware/Software info:
Proton 3.16-1
GTX: 750 2 GB Driver 396.54.09
CPU: Intel Core 2 Quad Q9550
RAM: 7 GB

Here is the proton log file:
steam-438100.log.zip

@Plagman Plagman added the cw label Oct 15, 2018
@owlboy
Copy link

owlboy commented Dec 11, 2018

How have things changed with VRChat 2018.4.3? They just performed an engine upgrade along with upgrading various libraries they use.

@bytefaux
Copy link

bytefaux commented Dec 14, 2018

@owlboy Not for the better unfortunately. VRChat 2018.4.3 segfaults now before even showing for me.

steam-438100.log

Edit 1: because this maybe related to my old cpu's lack of AVX support. Will update once try it on a supported cpu.

Edit 2: I upgraded to an i7 cpu with AVX support but had the same crashing issue until switching from proton 3.16-6 Beta to 3.16-4. Everything's back to working as well as it did before.

System: Ubuntu 18.04.1 LTS | Intel i7 4790 | GeForce GTX 750 Ti | Nvidia 396.54.09 | Proton 3.16-4 | VRChat 2018.4.4

@prototype99
Copy link

prototype99 commented Jan 23, 2019

3.16-6 beta works fine for me at home, the menu and at a 40mb room, but a 220 or so mb would not work, using the tv hangs it, certain characters cause hangs. some of the avatars at 'loli's world' seemed to break it as well (one of the top results for avatar worlds) oh! also -force-d3d11 allegedly helps.
System: Gentoo 17.1 | AMD Ryzen 7 1800X | GeForce GTX 1070 | Nvidia 415.25 | Proton 3.16-6 | VRChat 2018.4.4

@Goofybud16
Copy link
Author

I just tested it with 3.16-6 beta and can confirm that it works to some extent now-- Turning on the TV hangs it though. Going through several avatar worlds, the game seems to work just fine. I did notice a lot of hangs-- the hangs would cause some nasty mouse wackyness. Except for the TV, however, none of the hangs lasted more than a few seconds and the game resumed working after that. The exit button does appear to hang the game, but I don't see that as a huge issue (it is the Exit button....)

@prototype99
Copy link

ohhhh this reminds me of a few things i forgot to mention! yeah you have to externally end the process to exit. having any sort of controller plugged in seems to make the mouse 'stick'. however the hangs kept going for me. all hangs were related to certain avatars or to certain worlds (i reattempted the 220mb one A LOT and it always hanged seemingly permanently) i also have a terminal log, but i feel like there's not much useful info to obtain from it, the hangs don't SEEM to create any output
vrchat-log.txt

@owlboy
Copy link

owlboy commented Jan 25, 2019

VRChat has issues closing properly without hanging in some cases on its own on Windows. So that is not surprising.

@Goofybud16
Copy link
Author

Since there isn't an issue for the VRChat VR version, and I believe that they are the same App ID (correct me if I'm wrong), I'm gonna add this here:

Once I got SteamVR working and happy, I was able to play several hours of VRChat in VR with my Vive with almost zero issues. There were 1 or 2 models that didn't render correctly, but that was an issue in desktop as well. Performance is about what I would expect from playing some VR games on Windows ~a year ago (last time I booted into Windows). I DID have Direct Mode working, and everything seemed to "just work" other than the Exit button in VRChat. All of the other bugs I hit seem to be actual bugs in the game itself, and weren't the fault of Proton.

Since my initial report was ~5 months ago, here is a new System Info gist to reflect the software changes that have occurred in that time: System Info. I'll add this to the OP as well.

@Worfhard
Copy link

Worfhard commented Feb 2, 2019

In desktop mode the map "The Great Pug" crashes after ~10 seconds after you join.
Proton 3.16-6 Beta
sysinfo.txt
steam-438100.zip

@Goofybud16
Copy link
Author

Goofybud16 commented Feb 3, 2019

I've had that issue with the same map as well. I thought it was an avatar, but the map makes more sense because I kept crashing after turning Safety all the way up to max.

In VR, however, the map seems to be fine.

UPDATE: After posting this, I've tried to go to The Great Pug a few times, and it now crashes the game in VR. I'm not really sure what changed, if anything.

@Goofybud16
Copy link
Author

I've put over 100 hours into the game at this point, and can say that it works pretty well. Since my last system specs post, I think I've bumped to Mesa 18.3.x, but that is about the only notable change.

So far the game has been working fine with Proton 3.16-7 Beta.

The only things I've found that consistently crashes me 100% of the time is the ingame embedded web player and some shader-heavy worlds. Any world that has an auto-activated web player will crash me within a minute, hitting the button to turn it on in any world where it must be activated will crash right away. Worlds with lots of really fancy shaders also seem to crash the game, but it could also just be something like shader (re)compilation taking so long that I think the game died.

The game hangs on exit 100% of the time. Sometimes when killing the game (clicking the X until KDE prompts to kill wine), it will completely or partially crash SteamVR. I've noticed this happens more when the game has locked up/crashed; however it handles it perfectly fine sometimes. Restarting SteamVR fixes the issue.

I've also noticed that opening and closing the SteamVR Dashboard overlay too many times too quickly can crash the game as well. I started noticing that with 1.2.10, but that could just be because I've spent many many more hours using 1.2.10 than using any other version.

Other than that, the only crashes I experience are usually things that crash other users as well (IE avatars with just insane shaders, lots of resource-intensive avatars in a small area). If anything I've found that I crash less than some other users who run on Windows, as the game seems to handle extremely resource-intensive avatar shaders "well" (The game drops to 1-2 FPS but keeps rendering which allows me to use the menu to leave the world). It isn't pleasant, but the game does survive.

I've also noticed an issue (although I don't know that I've seen it since Proton 3.16-7 Beta activated) where shaders or something seem to keep running. When avatars have really demanding shaders, if I leave the world to other (empty, decently optimized) worlds, I'll often keep having terrible performance. If I go to a world where I usually get 45 FPS, it will be consistently dropping below 30 despite me being the only person there. Restarting the game (and SteamVR, if SteamVR crashes) will fix this. I'll see if I can reproduce this with Proton 3.16-7 Beta; it may have been fixed.

Overall, I'd say that with decently powerful hardware (see my system specs), the game is absolutely playable and a pretty good experience. It isn't perfect (see above for the issues), but most of the issues are usually avoidable and manageable. I absolutely plan to keep playing the game for the foreseeable future, so long as it stays in the current state (or gets better).

@Goofybud16
Copy link
Author

I may have found a fix for the video player crash (also fixes The Great Pug):

Browse to the VRChat folder in steamapps/common.

Browse to VRChat_Data, StreamingAssets, and rename youtube-dl.exe to something other than youtube-dl.exe (for example, youtube-dl.exe.no). This will disable the ingame streaming video player completely, but also fix the crashes. You won't be able to watch videos in maps anymore, but at least the game won't crash.

@prototype99
Copy link

hmmm.... youtube-dl has a linux version, i wonder if it is possible to redirect it so it uses the native one. considering it's a command line application i imagine the commands are the same on both OSes

@owlboy
Copy link

owlboy commented Feb 27, 2019

youtube-dl requires Microsoft Visual C++ 2010 Redistributable Package (x86) per their homepage.
https://www.microsoft.com/en-US/download/details.aspx?id=5555

https://rg3.github.io/youtube-dl/download.html

@Goofybud16 Can you confirm this is installed and available for youtube-dl?

@owlboy
Copy link

owlboy commented Feb 27, 2019

@Goofybud16 Here is a test world that has a Unity Video Player component in it, but it does not use any VRChat video scripts, so it should not call youtube-dl:

https://vrchat.com/home/world/wrld_f994e95a-8c0e-42b2-b894-f9cf6f1c6387

Upon loading, it should autoplay a video from a direct URL. This video should also loop.

If it could be used to test to see if this world also crashes VRChat under Proton, that might help confirm whether youtube-dl is specifically the issue or if it is the video player alone.

Thanks for continuing to test this.

@Goofybud16
Copy link
Author

youtube-dl requires Microsoft Visual C++ 2010 Redistributable Package (x86) per their homepage.
https://www.microsoft.com/en-US/download/details.aspx?id=5555

@Goofybud16 Can you confirm this is installed and available for youtube-dl?

As far as what is installed: I just told Steam to use Proton 3.16-6 Beta (and now it uses 3.16-7 Beta after an auto update). I don't see anything for it in the Program Files or Program Files (x86) folders. Whatever Proton and VRChat installed as part of initial setup is all that is installed. What is the best way to install that/check for it?

@Goofybud16 Here is a test world that has a Unity Video Player component in it, but it does not use any VRChat video scripts, so it should not call youtube-dl:

https://vrchat.com/home/world/wrld_f994e95a-8c0e-42b2-b894-f9cf6f1c6387

Upon loading, it should autoplay a video from a direct URL. This video should also loop.

If it could be used to test to see if this world also crashes VRChat under Proton, that might help confirm whether youtube-dl is specifically the issue or if it is the video player alone.

Without Youtube-dl, that world doesn't crash, however it doesn't play a video either.

With Youtube-dl, the same exact thing happens. The video screen is just blank. In the console, I do get the line

Unloading 1 Unused Serialized files (Serialized files now loaded: 2)
UnloadTime: 1.459000 ms
WindowsVideoMedia error 0x80004001 while reading http://thegreatpug.com/video/other/dev_update-1.mp4

Context: Turning DXVA off
Error details: <Empty>
Track types:


(Filename:  Line: 2456)

Thanks for continuing to test this.

Not a problem. I'm just playing the game, most of the testing I've done comes as a result of trying to do something with friends and having it crash me.

As far as "what is the actual problem with the video subsystem", I suspect something on the VRChat side. The first time I go to The Great Pug after an update to the game/map (with youtube-dl), it works. However, all network connectivity outside of other player's movement and voice stops working. Portals don't load, avatars don't load, the menus are broken, and the game log gets filled with NullReferenceExceptions. Trying to Go Home will result in the game loading nothing forever. The second time I join the world, it will crash almost exactly at the 1 minute mark, hanging and maxing out 1 CPU core. Prior to hanging, the game breaks in pretty much the same way. I've had this in other worlds as well. In worlds without an auto-activated video player, the game seems to work fine until it gets turned on. Once it gets turned on, the game instantly hangs.

@owlboy
Copy link

owlboy commented Feb 28, 2019

@Goofybud16 Here is a build of a very basic Unity scene that has a video player configured as it is in my test world in VRC and is playing the same video. The version of Unity used is the same that VRC currently uses. No VRChat code or youtube-dl is involved in this build.
I tested on Windows 10 in VMware to confirm the build runs and plays the video as expected.

http://thegreatpug.com/share/test_video_player.zip

(This has Windows, and macOS builds in it. But no Linux build as I don't have the package installed in Unity right now)

@owlboy
Copy link

owlboy commented Feb 28, 2019

Re: How to install Microsoft Visual C++ 2010 Redistributable Package (x86) for a Proton install.

I am not sure. I actually don't have a Linux box running Proton, and I have never used Proton myself. I am just interested in VRChat, and it running on other platforms. And am trying to help the best I can.

@Goofybud16
Copy link
Author

@Goofybud16 Here is a build of a very basic Unity scene that has a video player configured as it is in my test world in VRC and is playing the same video. The version of Unity used is the same that VRC currently uses. No VRChat code or youtube-dl is involved in this build.
I tested on Windows 10 in VMware to confirm the build runs and plays the video as expected.

http://thegreatpug.com/share/test_video_player.zip

(This has Windows, and macOS builds in it. But no Linux build as I don't have the package installed in Unity right now)

I temporarily replaced VRChat with Test Video Player (to replicate as close as possible the environment in use [same wine prefix]) and while it does load up, the video never plays. The video player just stays solid white. If I run with konsole -e %command% (to get a debug log) there isn't really any useful info in the output.

I suspect the problem is that Proton is missing some Windows Media components (or maybe has a bug in some implementation?), and that causes the video to fail to play, which VRChat does not handle well causing it to lock up as it tries to sync playback or something with a video player that isn't playing.

@JulianGro
Copy link

If we could figure out how to make and exe that is called by vrchat (youtube-dl.exe) to run a native linux application, we could have that just redirect the command to native youtube-dl.
I have tinkered a little bit with that, but unforunately just renaming an sh script to youtube-dl.exe and making it executeable doesn't work.
In my case i tried putting cmd /c start /unix /usr/bin/glxgears in to see if glxgears would run instead of youtube-dl.

On the other hand, looking at the proton logs when running owlboys testworld and the test_video_player shows that "mfplat.dll" is being loaded. "mfplat.dll" is part of the windows media feature pack. I tried replacing the builtin mfplat.dll with a windows native mfplat.dll from the windows media feature pack for windows 7. Unforutnately it fails to load.

@h1z1
Copy link

h1z1 commented Apr 2, 2019

Could very well be VRChat embeds some config in their exe? I don't have a windows build environment atm. Testing in proton with a local file I get:

Z:\home\vrvm2\.local\share\Steam\steamapps\common\VRChat\VRChat_Data\Syoutube-dl --print-traffic asdf.mp4
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\__init__.py", line 439, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\YoutubeDL.py", line 416, in __init__
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\YoutubeDL.py", line 2332, in _setup_opener
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\utils.py", line 700, in make_HTTPS_handler
  File "C:\Python\Python34\lib\ssl.py", line 439, in create_default_context
  File "C:\Python\Python34\lib\ssl.py", line 390, in load_default_certs
  File "C:\Python\Python34\lib\ssl.py", line 382, in _load_windows_store_certs
ValueError: Empty certificate data

Semi related, appears to be a bug upstream in Python itself:

if sys.platform == "win32":
    from _ssl import enum_certificates, enum_crls

[...]

def _load_windows_store_certs(self, storename, purpose):
        certs = bytearray()
        for cert, encoding, trust in enum_certificates(storename):
            # CA certs are never PKCS#7 encoded

@Casuallynoted
Copy link

Casuallynoted commented Apr 3, 2019

I'm having an issue where it just kind of lingers at the login screen.
Currently using Proton 4.2-2, has anyone experienced this before?

@kisak-valve
Copy link
Member

Hello @Casuallynoted, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

@Casuallynoted
Copy link

Oh wait! I left it running in the background and it seems to have done it. I've had this issue once on windows with the latest update so maybe it's a VRChat thing! Nevermind!

@Casuallynoted
Copy link

Tried it again now after a break, so... I was correct that it did load me into a world but everything else is taking centuries to load, including my avatar, social menu, and eventually the app does crash before loading anything aside from the home world. Logs included:

steam-438100.log

@Goofybud16
Copy link
Author

After upgrading to 4-2.2, I haven't had any issues playing VRChat in VR. I haven't tested desktop mode yet.

@Casuallynoted
Copy link

Casuallynoted commented Apr 4, 2019

After upgrading to 4-2.2, I haven't had any issues playing VRChat in VR. I haven't tested desktop mode yet.

That's really good to hear, are the video panel issues also resolved?

This is what I'm looking at atm, for some reason things don't load and inevitably hang. I can say I use VRC on the windows side of my PC and it's quite fast in terms of loading content.
Screenshot from 2019-04-03 23-49-27

@kisak-valve
Copy link
Member

[APPID:438100] VRChat with anti aliasing causes microstutering with ALVR/SteamVR

Issue transferred from #7765.
@OzzyHelix posted on 2024-05-26T19:14:21:

Compatibility Report

  • Name of the game with compatibility issues: VRChat
  • Steam AppID of the game: 438100

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

VRChat's Anti Aliasing setting when enabled causes microstuttering on SteamVR/ALVR

Reproduction

load up SteamVR on AMD RX 7800 XT
launch VRChat with Proton
enable anti aliasing and disable anti aliasing
it occurs at 90hz and 120hz

Screenshot_20240526_141325

Screenshot_20240526_141813
steam-438100.log

@OzzyHelix
Copy link

I am having a problem where enabling the anti aliasing settings in VRChat causes micro stuttering in SteamVR and possibly ALVR

@OzzyHelix
Copy link

idk if that is a proton problem but I reported it because it seemed like weird behavior that could be explained by a compatibility problem with VRChat and Proton

@galister
Copy link

Seems to be caused by the latest release, 2024.2.2. I tried the beta branch back when it was still unreleased, experienced the stutters, went back to stable and the stutters were gone.

@TreeOnFire
Copy link

Compatibility Report

  • Name of the game with compatibility issues: VRChat
  • Steam AppID of the game: 438100

System Information

  • GPU: RTX 4080
  • Video driver version: Nvidia 550.67
  • Kernel version: Linux 6.8.0-76060800daily20240311-generic x86_64
  • Link to full system information report as Gist: Gist file
  • Proton version: Proton 9.0-1, Proton Experimental

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-438100.zip

Symptoms

Loading videos using AV1 and AAC encoding causes the game to crash.

Reproduction

Load up game
Enter world with video player
Have world with inbuilt videos linking to AV1/AAC videos, or have external link to your own videos
Load the video in an appropriate video player (AVPro video players accept AV1/AAC)
Attempt to load movie

@Flimsy-Fox
Copy link

Flimsy-Fox commented Jun 4, 2024

Replying to #1199 (comment)

VRChat AA has always resulted in stuttering on my NVIDIA laptop whenever I forgot to disable it. Any heavy shaders would make the problem much more pronounced. Behavior would be the same regardless if VRChat was launched in Desktop or VR mode. I've always chalked it up to "well it's VRChat," but it seems I could be wrong.

@Nullmatic
Copy link

Nullmatic commented Jun 8, 2024

Is anyone else crashing using the latest open beta (Build 1468)?

When I first connect to a world the game crashes. I've tried it using Proton 9.0-1, GE-Proton9-5, and GE-Proton-9-4-rtsp7 which all yield the same results. Live doesn't experience this though.

I can provide a proton log if that helps.

@FairplexVR
Copy link

FairplexVR commented Jun 9, 2024

Is anyone else crashing using the latest open beta (Build 1468)?

Apparently I am not the only one with that issue. Game launch and crash right after joining a world

@MehStrongBadMeh
Copy link

Is anyone else crashing using the latest open beta (Build 1468)?

We have discovered the cause of this issue, it will be fixed prior to the beta being released to live.

@Nullmatic
Copy link

Is anyone else crashing using the latest open beta (Build 1468)?

We have discovered the cause of this issue, it will be fixed prior to the beta being released to live.

Nice. Thanks for the update on the matter 👍

@CobaltSpace
Copy link

@TreeOnFire

System Information

...

  • Proton version: Proton 9.0-1, Proton Experimental

...

Symptoms

Loading videos using AV1 and AAC encoding causes the game to crash.

Does the issue still exist?
Does GloriousEggroll/proton-ge-custom or SpookySkeletons/proton-ge-rtsp work?
What specific world(s) or video(s) is causing this issue?
Can you link/upload an example video?

@SpookySkeletons
Copy link

@TreeOnFire Do you have a video we could test that's AV1?

@fang64
Copy link

fang64 commented Jun 13, 2024

@SpookySkeletons is there any issue where the video frames stop showing? I loaded up your current proton release in VRChat and it hung up the frames after about 5 minutes. I see you've implemented seeking. I half wonder if there is some sort of issue, I can provide logs, I was going to open an issue on your repo but I'll post here.

@SpookySkeletons
Copy link

It will be worked out in time, we are aware, pre-release builds are not rated as stable.

@TreeOnFire
Copy link

@CobaltSpace
@SpookySkeletons

Does the issue still exist? Does GloriousEggroll/proton-ge-custom or SpookySkeletons/proton-ge-rtsp work? What specific world(s) or video(s) is causing this issue? Can you link/upload an example video?

Issue still persists with both of those Proton/Wine versions.

The worlds I tried were "Rest and Sleep 寝る", "Polyworld (Beta)", "Midnight Rooftop", "BACKROOMS N' CHILL" - when loading the video, no matter the world I was in, everything crashed.

Example video:
https://dragon.theater/tmp/av1test.mp4

@Nullmatic
Copy link

Nullmatic commented Jun 19, 2024

Is anyone else crashing using the latest open beta (Build 1468)?

We have discovered the cause of this issue, it will be fixed prior to the beta being released to live.

Nice. Thanks for the update on the matter 👍

This is fixed in the newest open-beta build 1469 that just released not too long ago :)

@MrM3ph
Copy link

MrM3ph commented Jul 21, 2024

Anyone know how to bypass a issue on linux?

System Kubuntu 24.04
Snap version of Steam installed
/home/XXXX/snap/steam/common/.steam/root/compatibilitytools.d/GE-Proton9-10-rtsp12/ installed

On startup of steamvr in desktop mode the splashscreen starts with the avatars in the back, but it just keeps on initializing.

How to troubleshoot / see if i miss any dependencies?

@CorneliusCornbread
Copy link

CorneliusCornbread commented Jul 21, 2024

Replying to #1199 (comment)

Snap version of steam is very broken. Install the native deb version

@mittorn
Copy link

mittorn commented Jul 21, 2024 via email

@Sx1Fl0NdqlkM6N4s2pswXKUI0k9FKTaOckLbNXu

This comment was marked as resolved.

@kisak-valve

This comment was marked as resolved.

@Sx1Fl0NdqlkM6N4s2pswXKUI0k9FKTaOckLbNXu

This comment was marked as resolved.

@Draccy
Copy link

Draccy commented Aug 29, 2024

@TreeOnFire

Issue still persists with both of those Proton/Wine versions.

The worlds I tried were "Rest and Sleep 寝る", "Polyworld (Beta)", "Midnight Rooftop", "BACKROOMS N' CHILL" - when loading the video, no matter the world I was in, everything crashed.

Example video: https://dragon.theater/tmp/av1test.mp4

I was able to resolve the crashing problem by using the RTSP fork by @SpookySkeletons

Spooky's build is specifically trying to solve this kind of video streaming problem, hence the RTSP name.
Notably, it appears that the README on Spooky's GitHub page is not modified from the text written by @GloriousEggroll - so it directs you to GE's discord server and it's listing the installation instructions for GE's original repository. This had me a fairly confused at first when trying to install Spooky's fork.

I was able to install Spooky's newest release GE-Proton9-10-rtsp14 via the ProtonPlus utility, which can be installed from flatpak via flatpak install protonplus.
That made it very convenient and accessible. In ProtonPlus this version listed under "Proton-GE RTSP".

I tested with GE-Proton-rtsp-12 and GE-Proton-rtsp-14. These versions behaved identically.

TESTING IN VRCHAT:
In Polyworld, there is an area called "Blue Dragon Theater" which plays streamed videos.

In this place they have a test video to make sure you can handle the AV1 codec.
This test video works in Proton Experimental as well as GE-Proton9-11 and Spooky's GE-Proton9-10-rtsp14.

The world features a video player that allows for streaming of external URLs to be rendered in-world on a virtual screen.
The test video clip appears to be an embedded asset in the VRChat world data, or it may be otherwise loaded differently vs the streaming video player.

For this test, we are using the same sample provided by TreeOnFire ( https://dragon.theater/tmp/av1test.mp4 ) as well as a few longer, larger video files for comparison.

When the world attempts to load the streaming video, VRChat crashes immediately when using Proton Experimental or GE's regular GE-Proton-11 (not Spooky's fork).

The VRChat client does not crash when the world loads the streaming video using Spooky's GE-Proton-rtsp-14, but something is going wrong.

The audio from the AV1 stream will play as expected at first, but the video does not render.
The audio (and presumably the whole stream), cuts off after a few seconds. Without video feedback it's hard to tell if it's freezing/buffering or some other problem.
The cutoff is consistent with each replay of the same media, but it's not consistent between videos. It does not seem to be related to the video filesize/length.

Here is a breakdown of some tests of various AV1 samples, with (media total length) @ (frame size/res) cut off at X seconds:

  • 10m @ 1920x1080 cuts off at ~16 seconds (Big Buck Bunny, av1test.mp4)
  • 1h17m @ 1920x1080 cuts off at ~18 seconds
  • 2h05m @ 640x480(?) cuts off at ~38 seconds
  • 2h08m @ 3840x2160 cuts off at ~23 seconds
  • 1h48m @ 3840x2160 cuts off at ~44 seconds

This is strictly observed from audio since video is not rendering.

Any time the media cuts off, it can be paused, then played again for roughly the same number of additional seconds before it cuts again. This may imply buffering, but without video it's hard to tell.

Other tests:
Successfully played a YouTube video using the same player that supports the streamed AV1 media. For YouTube videos, video and audio play as expected without interruption.

I am also unable to use the "sync" feature which is meant to re-align streamed media playback position between multiple VRChat clients. This fails with YouTube videos as well as AV1 file streaming.

I have confirmed that the AV1 streaming works normally in this world under Windows running VRChat with the correct AV1 codec installed.

@mittorn
Copy link

mittorn commented Aug 29, 2024 via email

@DevilishSpirits
Copy link

Try to update SteamVR maybe, it seems that Valve fixed things with community bindings recently in the beta. Also I strongly beware against skipping VRChat version check unless you want to get your account banned, they recently put mitigation to asset ripping and VRChat will see that you are not using a genuine VRChat.

Also why they locked people out of the older VRChat version is explained shortly in their last release notes : https://docs.vrchat.com/docs/vrchat-202431p5, they spotted a security issue they fixed in hurry.

@SpookySkeletons
Copy link

@Draccy New version 15 is out, try it

@KawaneRio
Copy link

KawaneRio commented Sep 6, 2024

Heya everynyan, it has been a while since I was last here!

I just wanted to leave a small comment here for either myself or anyone that finds it useful. Aside from the annoyance from the EAC that tells you that game file/version is mismatched every single time I boot up VRChat, it seems that my VRChat client always crashes when there's UnaSlides v0.9 loaded with the latest Proton Experimental on the latest version of VRChat (both on open-beta and non-beta). This problem was fixed, thankfully, by using Proton 9.0-2 instead of Proton-experimental.

After examining the logs, it seems that VRChat client tend to crash when the AVProVideo is loaded using the latest Proton Experimental.

I did not experience this issue yesterday.

Logs

VRChat Client Crashes when AVProVideo is loaded with Proton Experimental: output_log_2024-09-06_21-40-21.txt

Other Logs (either EAC throwing a tantrum or AVProVideo crashing the client): output_log_2024-09-07_01-05-06.txt (11 files)

My Environment

inxi --basic
System:
  Host: MoebuntuStudio11 Kernel: 5.16.9-051609-lowlatency x86_64 bits: 64
    Desktop: KDE Plasma 5.24.7 Distro: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
Machine:
  Type: Desktop System: Gigabyte product: X570 UD v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: X570 UD serial: <superuser required>
    UEFI: American Megatrends LLC. v: F36e date: 10/13/2021
CPU:
  Info: 12-core AMD Ryzen 9 5900X [MT MCP] speed (MHz): avg: 3785
    min/max: 2200/4950
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver: amdgpu
    v: kernel
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,modesetting
    unloaded: fbdev,radeon,vesa failed: amdgpu gpu: amdgpu
    resolution: 1920x1080
  OpenGL: renderer: AMD Radeon RX 580 Series (radeonsi polaris10 LLVM
    15.0.7 DRM 3.44 5.16.9-051609-lowlatency)
    v: 4.6 Mesa 24.2.0 - SteamVR PPA

About Steam

Steamベータブランチ:  Steam Beta Update
Steamバージョン:  1724878532
Steamクライアントビルド日:  8月28日(水) 11:09 UTC +09:00
Steam Webビルド日:  8月28日(水) 10:05 UTC +09:00
Steam APIバージョン:  SteamClient021

Screenshot

Image of UnaSlide v0.9 in Babilturo with "Player Error" displayed

UnaSlide v0.9 in Babilturo

@LethalManBoob
Copy link

LethalManBoob commented Sep 17, 2024

Anyone else's microphone not working on vrchat? everyone reports my mic keeps cutting out a LOT and no other game or recording software has this issue.
i have voice activation at 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cw Game compatibility - Unofficial Games not expected to work without issues NVIDIA drivers Possibly involves an issue with the NVIDIA proprietary driver
Projects
None yet
Development

No branches or pull requests