Jump to content



Photo
* * * * * 13 votes

VP with VR headset


  • Please log in to reply
2044 replies to this topic

#1841 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 28 June 2020 - 12:57 PM

 

 

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running.

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk
 
I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.
My message, that it solves the problem, was wrong. I searched in the net and it seems, there is no way to disable the real-time protection in win 10 1909 and 2004. After a reboot it's always enabled and you have to disable it manually.

Gesendet von meinem CMR-W09 mit Tapatalk

I checked yesterday and mine is still disabled. In addition to setting tamper protection, I also set up a group policy to turn off real-time protection. My machine did update yesterday, so I'll check again.

 

*Edit - confirmed real-time protection is still disabled after the latest windows update.  I assume the group policy is the piece your missing.  The old registry hacks may not work anymore.


Edited by rothbauerw, 28 June 2020 - 01:03 PM.


#1842 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 28 June 2020 - 01:17 PM

 

I checked yesterday and mine is still disabled. In addition to setting tamper protection, I also set up a group policy to turn off real-time protection. My machine did update yesterday, so I'll check again.

 

*Edit - confirmed real-time protection is still disabled after the latest windows update.  I assume the group policy is the piece your missing.  The old registry hacks may not work anymore.

 

 

I don't recommend running without real time protection all the time if it's an internet connected computer though. :P



#1843 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 28 June 2020 - 03:10 PM

 

 

 

 

Is Windows Defender something that should be turned off to improve performance? It’s the only virus protection I’m running.

In the last days I have stuttering while playing VR. I disable the real-time protection and the stutter is gone. But after every new pc-start it is enabled again. I set it in the registry and in the group policies; it doesn't work. I have to set it manually every time after a reboot. Someone has another tipp?

Gesendet von meinem CMR-W09 mit Tapatalk
 
I ran into the same issue.  Windows installed a new option "Tamper Protection".  Turn that off and your setting should stick.
My message, that it solves the problem, was wrong. I searched in the net and it seems, there is no way to disable the real-time protection in win 10 1909 and 2004. After a reboot it's always enabled and you have to disable it manually.

Gesendet von meinem CMR-W09 mit Tapatalk

I checked yesterday and mine is still disabled. In addition to setting tamper protection, I also set up a group policy to turn off real-time protection. My machine did update yesterday, so I'll check again.

 

*Edit - confirmed real-time protection is still disabled after the latest windows update.  I assume the group policy is the piece your missing.  The old registry hacks may not work anymore.

 

I set the group policy at first. But I have to look, if I have set it back, after it doesn't help. Will try both things.


Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#1844 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 28 June 2020 - 04:43 PM

I checked yesterday and mine is still disabled. In addition to setting tamper protection, I also set up a group policy to turn off real-time protection. My machine did update yesterday, so I'll check again.
 
*Edit - confirmed real-time protection is still disabled after the latest windows update.  I assume the group policy is the piece your missing.  The old registry hacks may not work anymore.

 
I don't recommend running without real time protection all the time if it's an internet connected computer though. :P

I don't either, but for a dedicated pincab I don't see an alternative. I'm glad you're looking at it though. Would be huge if we can get this fixed.

#1845 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 30 June 2020 - 04:14 PM

New build available for download 2020-06-30, I wont have a lot of time for development during the coming summer weeks so this should be a pretty stable, relatively bug free and well performing build for now. Enjoy and have a great summer!
 
 
As per usual backup your "VPinballX_GL.exe" and "glshader" folder if you want to easily return to your old version, just unpack and overwrite all files to install.
 
What's New:
  • Performance: Since OpenVR PostPresentHandoff gave such mixed results it's no longer in use.
  • Performance: Very minor performance optimizations.
  • Shader fixes: Further fixes for saturation on glossy which was causing problems on some tables.
 
Known Issues:
  • It's known from before that Anti-Virus interferes with both VPX and VPVR due to VBScript in tables, more specifically it's the Real-Time protection (Microsoft AMSI) that increases CPU frame-time a lot, adding exclusions does not help. This is becoming even more apparent now when we are pushing GPU frame-times down we can clearly see that Anti-Virus is stalling VPVR CPU frame-time. Playing with Real-Time protection off can be a pretty dramatic difference in performance. Personally I don't recommend running without anti-virus all the time if you are connected to the Internet.


#1846 rothbauerw

rothbauerw

    Enthusiast

  • Members
  • PipPipPip
  • 345 posts
  • Location:Wisconsin - USA

  • Flag: United States of America

  • Favorite Pinball: Dr Who, Tee'd Off, Jive Time

Posted 30 June 2020 - 04:51 PM

New build available for download 2020-06-30, I wont have a lot of time for development during the coming summer weeks so this should be a pretty stable, relatively bug free and well performing build for now. Enjoy and have a great summer!


 


https://drive.google...iew?usp=sharing


 


As per usual backup your "VPinballX_GL.exe" and "glshader" folder if you want to easily return to your old version, just unpack and overwrite all files to install.


 


What's New:


  • Performance: Since OpenVR PostPresentHandoff gave such mixed results it's no longer in use.

  • Performance: Very minor performance optimizations.

  • Shader fixes: Further fixes for saturation on glossy which was causing problems on some tables.

 


Known Issues:


  • It's known from before that Anti-Virus interferes with both VPX and VPVR due to VBScript in tables, more specifically it's the Real-Time protection (Microsoft AMSI) that increases CPU frame-time a lot, adding exclusions does not help. This is becoming even more apparent now when we are pushing GPU frame-times down we can clearly see that Anti-Virus is stalling VPVR CPU frame-time. Playing with Real-Time protection off can be a pretty dramatic difference in performance. Personally I don't recommend running without anti-virus all the time if you are connected to the Internet.

Do you know if it's VPX or VPM that's causing the issue with real-time protection?

#1847 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 30 June 2020 - 04:56 PM

 

Do you know if it's VPX or VPM that's causing the issue with real-time protection?

 

I don't know inherently how VPM works but VPX & VPVR for sure since they use VBScript. VBScript is under much scrutiny by Microsoft and AV vendors (by all right) since it's a strong and common attack vector.



#1848 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

  • Flag: ---------

  • Favorite Pinball: System 11

Posted 01 July 2020 - 01:14 AM

Thanks for the update. 
 

As far as Windows Defender is concerned, it just occurred to me for the first time that I could always disconnect from internet, disable WD and still be “safe.” 



#1849 AlMightyBob

AlMightyBob

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: ---------

  • Favorite Pinball: Black Knight 2000

Posted 01 July 2020 - 02:32 AM

Hey folks, think I've made a possible performance boost discovery for Oculus users. Made a separate thread about it!

 

https://www.vpforums...showtopic=44698



#1850 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,472 posts
  • Location:Embrun, Ontario, Canada

  • Flag: ---------

  • Favorite Pinball: Superman, Firepower & Tron



Posted 01 July 2020 - 06:19 PM

 THanks, will need to check this out!



#1851 Duskmoor

Duskmoor

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: United Kingdom

  • Favorite Pinball: The Twilight Zone / The Addams Family

  • 360 Gamer Tag: DesdinovaBOC

Posted 02 July 2020 - 04:08 PM

Hello,

 

I've downloaded the latest  2020-06-30 build mentioned on this page, but it doesn't seem to be a VR enabled VP program? Unless I'm missing something obvious.

 

 

 

My bigger problem that I'd appreciate being pointed in the right direction with, is that when I run Attack from Mars on the VPinballX_GL.exe my PC displays the table in VR as it should, but there is nothing on my Rift other than a blue guardian circle. I've looked at the Video Preferences and VR Settings and don't see a way to choose the Rift Headset as a Display Output. Any help would be appreciated. Thanks again for the great site!



#1852 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

  • Flag: ---------

  • Favorite Pinball: System 11

Posted 02 July 2020 - 05:10 PM

That’s happened to me before with Quest and Link cable. Restarting headset and computer works for me. 



#1853 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 03 July 2020 - 07:31 PM

So you guys thought the previous build was the last before summer right? Well so did I but here we are, life is strange.
 
We made some nice changes the last few days so would shame not to share them in a new build appropriately called: 2020-07-03
 
 
As per usual backup your "VPinballX_GL.exe" and "glshader" folder if you want to easily return to your old version, just unpack and overwrite all files to install.
 
What's New:
  • Shading/Antialiasing: I did some optimizations for shading on metallic objects to reduce aliasing/shimmering in VR, this should give a much more smooth and eye-pleasing experience in VR and reduce the texture aliasing/shimmering on metallic objects, some metallic objects might look a tiny bit less metallic but that's a tradeoff for reducing shimmering/aliasing. Good example tables to try: VR Pinbot, VR Indiana Jones Pinball Adventure
  • Image Quality: Anisotropic Filtering is now enabled for larger textures, this gives certain things like for example playfields more visual clarity
  • Performance: More STL->EASTL conversions by Rob
  • Textures: Texture fixes by Rob, back to repeated textures for most things except for flashers, dmd and backglass, this is a middle ground between different problems we've seen between using repeat and clamp to edge for textures. This fixes tables like Star Wars that had dark/black objects and tables that had other artifacts on backglass etc
  • Bug fix: Bulb lights where bleeding through on objects creating weird looking and sometimes blinking textures on objects that was not supposed to have them, this was a pretty recent bug
  • Bug fix: Rare bug, sanity check so that GeometricOpacity isn't negative, example of symptoms black lines on the Deathstar on the Star Wars Data East table
 
Known Issue:
  • Star Wars Data East has other black artifacts, these are not bugs in VPVR it's a material problem on the table itself due to materials having opacity set and how dark the table is


#1854 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

  • Flag: ---------

  • Favorite Pinball: System 11

Posted 06 July 2020 - 03:34 AM

Fantastic work, Rawnei and Rod! Major visual improvement here. "Sparklies" on metal wireforms are all but eliminated here. Looks so much better. Tested with a bunch of tables. Performance was super. RTX 2060 here. Totally appreciate your work, guys!



#1855 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,748 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 06 July 2020 - 11:15 AM

Is STL really a measurable performance issue? That really surprises me.



#1856 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 06 July 2020 - 11:45 AM

Is STL really a measurable performance issue? That really surprises me.

Yep, quite a bit actually, all those string operations measure up.



#1857 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 06 July 2020 - 02:12 PM

Thanks for the update. It runs very well with all tested tables. And I'm wondering, but I don't have the stutter since the last two days, when real-time protection is running. :otvclap:


Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#1858 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 07 July 2020 - 01:26 AM

Can someone explain how the Capture DMD works for Color DMD's.  I'm using Freezy's 1.8x  VpinMAME DLL to get color dmds on my cabinets, and would love to be able to bring them into VR.  Anyone have any success with color DMD's?  I can turn on capture DMD on my regular cabinet build of TAF and DMD shows up and in color, not sure how to move and resize. I can't seem to do the same on the VR release of TAF though.   I have read that there is a performance hit, but would like to try it out myself, just confused on and what is the best way to get COLOR dmd's to work.

 

WOW, this has come so far so fast, really love playing VPX in VR!  

 

Hey Slydog. I don't have any issues with color ROMs in VR but It does come a bit of a performance hit.  Basically you just enable "Capture External DMD" in VPXVR under the Keys and DOF page.  If you don't see the Freezy DMD on your desktop when you start the table, you then just need to press F1 while the table is running and make sure "use External DMD DLL" is checked off and also "Colorize DMD" 

The main thing is to make sure you first see the color DMD on your desktop monitor when in VR since the capture feature just captures that and displays in in VR.  If it is not in color on your desktop monitor it will never be in color in VR. 


Edited by gear323, 07 July 2020 - 01:29 AM.


#1859 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,748 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 08 July 2020 - 11:56 AM

 

Is STL really a measurable performance issue? That really surprises me.

Yep, quite a bit actually, all those string operations measure up.

 

Just checked, and i saw that VPVRs GL code uses a lot of maps, maybe thats why this is really measurable there, cause for VPX it shouldn't (we only use it for Material and Texture names, so max a couple of 1000 lookups/sec i'd assume).

STL map implementations are usually not the best in all cases.



#1860 Rawnei

Rawnei

    Enthusiast

  • Platinum Supporter
  • 320 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: There's too many good ones but I really love the atmosphere in Cirque Voltaire!

Posted 08 July 2020 - 12:38 PM

Just checked, and i saw that VPVRs GL code uses a lot of maps, maybe thats why this is really measurable there, cause for VPX it shouldn't (we only use it for Material and Texture names, so max a couple of 1000 lookups/sec i'd assume).


 

STL map implementations are usually not the best in all cases.

 

Yeah I think Caligula did it to reduce the amounts of calls to opengl and only doing it when necessary which is good but those string find operations are costly on CPU, with EASTL it's manageable though. :)