• SLR
  • Local files super laggy

Hi, I have some local VR files. Most of them lags really bad and the sound is not playing at the correct time. Also they play back at a slow speed, even if I have the speed set to 100 %. In the SLR app. If I play them in Windows MPC HC it works fine with 2% CPU usage and 60 % GPU video decode usage.

When playing online files SLR uses 15 % CPU and 30 % GPU - 3D.
When playing offline files SLR uses 25 % CPU and 95 % GPU 3D and lags badly.

Videos I tried have 60 FPS and 30 Mbit/s bitrate at 61443072 resolution = laggy. Another video had 59.94 FPS and 24 Mbit bitrate and 38401920 and did not lag when played offline. So some work.

    I think I had them already, but installed both from your links. The local files in the SLR app have the same problem as before. But now online videos also lag.
    Online videos now use 90 % CPU and 60 % GPU - 3D, but offline videos use the same CPU/GPU as before. Something is very strange. Any tips? I also restarted my computer after the installation, and same as before those videos play fine on the desktop.

      brado Do they play in Movies & TV?
      That app normally comes default with windows. Just go to start and type in Movies, and it should pop up.

      Yeah they work fine in Movies & TV also. In all my movie software they work fine on the normal monitor.
      In Mixed reality portal with my VR headset in Movies & TV I can play the videos without lag also.

      The only place I have lags is in the SLR app. Small lags on the online videos there, and big lags on some (not all) offline videos.

        Yeah, using SteamVR. I am not sure where "Smoothing" is, seems like my headset doesn't support it. I tried to change "Advanced supersample" to Off but it didn't help. And I tried to set resolution per eye to 1440*1440 but it said 90 % even if that is my headsets resolution. So I tried 100 % also, but still the same lag.

        Local videos in DeoVR lags the same as in the SLR app. But as stated before I can play local files without lag in the Mixed reality portal. The thing I would like however is to play local and online videos in the SLR app. Not sure why it is lagging there, but working fine on my normal monitor and working fine from the Mixed reality portal on my VR headset. Also now online videos lag in the SLR app since I installed the k-lite and HEVC.

        My computer is kinda good, and since I can play without lag in other apps it should be possible in the SLR app too.

        PS I have Lenovo Explorer VR headset. Also I just tried to uninstall k-lite, SLR app and SteamVR, and install them all again. In the SLR app it still lags. I have to lower online videos to 1920p to get it with good framerate. And local files in SLR still lags the same. Getting out of ideas now.

        Also the online videos on 2160p gets pixelated often. Maybe once every 10 seconds. It was not like this last week. I have 250/250 Mbit internet so it is not a problem there. It seems to be related to the lag.

          Also h.265 wont work at all in the SLR app. But on my normal monitor i WMP HC I can play h.265 videos. So it seems like the SLR app is not using my HEVC?

          brado Which GPU do you have? Does your CPU have an integrated GPU?
          Which video output is your primary screen plugged in to? The GPU card or the one on motherboard?

          With klite/LAV intalled, go to start and type LAV and open the app. Can you try setting it to copyback and have your GPUcard selected (must be primary display attached to too.) Depending on which GPU you have you may try other Decoders too. But Copy-back is in most cases best performance.
          D3D11 works quite well too on newer gen GPU's

          In the Formats tab (on top left), see if H.264, mpeg-4 part 2 and hevc are checked on.

          Oh I almost forgot. There's a DirectShow toggle in the SLR player. In the video playback screen, go to the cogwheel. try switching it on or off.

          I have i5-6600k and GTX 1070, and I have connected both the VR headset and 2 monitors to the graphics card (not the motherboards/CPU's connector to built in GPU, nothing connects to that one).

          I tried the k-lite standard and full also. The D3D11 made it lag a bit more it seems and the DirectShow made no difference from what I can tell. Thx for all the help so far.

          https://i.imgur.com/E5aDVox.png

            brado How are you launching the SLRapp/videos?
            From a webbrowser like Chrome, Edge, firefox, ...?

            I only launch it from the software/app and never tried in a web browser. I launch "SLR.exe"

              brado If you still have k-lite installed.

              IN CASE this ffs up your other video players, you can restore your backup you make at the start, point 1. Actually, might even consider making a windows restore point for good measure. That way you can also undo point 3. The codec tool backup might not have that saved.

              go to start, type codec tweak tool

              In Media Foundation nothing should be checked after reset. Double check.
              Restart all VR/video/browser software you might have open. Test if playback in SLR/Deo is fixed.

              If still not fixed, open codec tool again, in lower left go to Preferred decoders.
              switch all h.264 h.265 mp4/mpg4 to LAV, both 32 & 64 bit.
              Audio you can leave; Unless it turns out it's an audio codec issue. But first try without changing audio settings. All SLR videos use AAC. Pretty much everything media supports it.

              Thx, the change to LAV seems to have made it a little bit less laggy. Still only 1920p works without any lag. I have a screenshot and also wrote up some more numbers. Maybe it will give some clue to why it lags.

              Local files in the SLR software:
              low quality 20 % CPU, 50 % GPU (no lag)
              5k 40 % CPU, 80 % GPU (just some lag)
              7k 30 % CPU, 60 % GPU (massive lags, not watchable at all)
              It's strange for me that it uses less CPU/GPU with the 7k video. Also the 5k video doesn't use all CPU/GPU power, so why laggy?

              Online videos on SRL:
              1920p 20 % CPU, 40 % GPU (no lag)
              2160p 60 % CPU, 50 % GPU (just some lag)
              2700p 15 % CPU, 30 % GPU (massive lags, not watchable at all)

              When I have higher quality and it lags, the image can get like this pretty often as well, and even the sound can be laggy then.
              https://i.imgur.com/dsaqhcm.jpg

                brado Can you give me the exact 1070 model?

                Higher resolution makes it worse... Can you check what refresh rates you are using? SteamVR/WMR and the monitors. Can you lower them/unplug them?

                Try connecting your headset to a different display output.
                Are you using a converter dongle? ie DP to HDMI?

                You don't have to do everything I listed all at once 🙂

                  Rakly3
                  Since you do have it run smoothly on WMR there must be a workable combination with all 3 outputs.
                  Your headset can do up to 90Hz, but your 1070 isn't gonna do 90Hz over 4K (I think, don't have the EXACT numbers for each dimention on front of me). But at 7K-8K your max is 60Hz on 1 display.

                  If you have a CPU with built in graphics you could put one display on that one. Your 1070 can still render graphics on that display even if plugged in other "card". Just make sure the 1070 has the Primary display. (Like litterally in your windows display settings)

                  I don't use andy dongle/converter. The 2d displays shouldn't use much power at all, but maybe it will help to plug one of them to the built in graphics? The main thing though is that my computers CPU and GPU don't even work near its full capacity. Still lagging.

                  I use 90 hz refresh rate, that might be a bit much. But the VR headset is still only 14402880 = 4 Mpixel. It should not be too hard to handle. Even if a video is higher resolution the displays on the headset will still have 14402880 pixels to render. I cannot find a setting in SteamVR to lower the refresh rate.

                    brado that's sadly not how it works. Also has nothing to do with power consumption.
                    Unless you're using viewport, you are rendering the full 7K no matter how small your display is.

                    Wait, is your WMR using viewport?
                    90Hz over 4K+, plus your other displays is not gonna work.

                    Even if a video is higher resolution the displays on the headset will still have 14402880 pixels to render. I cannot find a setting in SteamVR to lower the refresh rate.

                    That's when you render graphics on the GPU. Here we are decoding image frames on the hardware codec chip.