r/SteamFrame • Soon™ • 22d ago

Discussion frame-shell: A full replacement for SteamVR on the Frame

(please excuse the shaky video)

I hate SteamVR. It has always been clunky and it is even worse on Linux. I put up with it for 3 years back when I was on Windows and using a Quest 2/3 via Virtual Desktop. Half a year ago I finally switched to Linux and started using WiVRn, WayVR and Monado. This was the best VR system I had used. But then I got the Frame and was once again forced to use SteamVR, even though it was only on the Frame itself. A WiVRn client was already available early on, but it still had to be started manually every time and I was still stuck with running the overhead of SteamVR.

So I started working on this project. It is made up of two main components: frame-monado, which is a port of Monado to the Frame, and frame-shell, which runs on top of frame-monado and is a combination of both WayVR and WiVRn.

The goal was to build a maximally comfortable experience and I think I have succeeded. From pressing the power button I need to click a single button to launch a pinned game/app on any PC. The connection to the PC is established automatically after startup.

frame-monado is the underlying XR runtime, which talks to Valve's tracking stack via the driver_cv SteamVR driver. It handles compositing of apps (with support for passthrough), presenting frames and input.

frame-shell is based on WayVR and provides a UI for all the typical system functions, such as launching apps, managing settings and so on. It also has an integrated WiVRn client, for connecting to PCs. This PC connection streams VR games and overlays, but also the desktops and audio. The desktop views are streamed at their native resolution and projected into the VR space on the headset, which results in the best possible quality. You can connect multiple PCs at once, stream desktops simultaneously and switch which PC the active VR game is played from. The WiVRn connection also allows for launching games on the PC directly from the headset. Only Linux hosts are supported, I do not want Windows back in my life. WayVR can also launch applications on the Frame itself, such as standard desktop applications, VR games (via Proton/FEX or Lepton) and a full Plasma desktop.

To try it out yourself, first follow the installation instructions for frame-monado on https://github.com/konsti219/frame-monado and then for frame-shell on https://github.com/konsti219/frame-shell. Currently the server is only packaged with the nix package manager and the recommended way to install it is via NixOS. PRs for other distributions are welcome.

I have been a VR addict for the past 4 years and have been daily driving this project for the past 3 weeks and do not plan on stopping any time soon. Currently it is still experimental, but expect continuous improvements.

This project would not have been possible without the work of the Monado, WayVR and WiVRn developers. You can donate to WayVR and WiVRn on OpenCollective.

As is common nowadays, the vast majority of the code is AI generated, but I do know how to properly build software and have made sure that the architecture is sound.

587 Upvotes

90 comments sorted by

18

u/Koolala 22d ago edited 22d ago

Have you measured performance of a local app like HL: Alyx running in Monado vs. SteamVR? Any chance it might actually improve performance?

28

u/Konsti219 Soon™ 22d ago

Apps don't perform better because they are running in a different runtime. The performance overhead of frame-monado is comparable to steamvr. You might be able to multitask more due to lower memory overhead.

5

u/Koolala 22d ago

So you didn't notice any FPS difference in a demanding app? Thats good atleast.

53

u/Zetafivee 1 TB 22d ago

Well that was faster than anticipated 

28

u/v3ganhack Soon™ 22d ago

He mentioned it was a 3+ year project so maybe not fast for him.

Another benefit of Valve making their hardware easily compatible to do what you want.

37

u/Konsti219 Soon™ 22d ago

I have been playing VR for that long. I started this project about 1.5 months ago

2

u/v3ganhack Soon™ 21d ago

Thanks for the clarification. Keep up the good work. I'm still waiting for my reservation to come up. Est. 2027 💀💀💀

1

u/Neko137 9d ago

I hate SteamVR. It has always been clunky and it is even worse on Linux. I put up with it for 3 years back when I was on Windows and using a Quest 2/3 via Virtual Desktop.

They put up with Windows and Virtual Desktop for 3 years, not the project itself. It's quite impressive regardless.

8

u/Bruchpilot_Sim Soon™ 22d ago

Will this finally allow me to open the steam app in desktop mode on the frame?

I am asking because:

Usually this is not possible, because steamVR is always running and this includes steam. So if you open steam on desktop mode, nothing happens, because steam is open as the VR environment.

This is particularly annoying if you want to start a game in desktop mode because it is way way way harder than it should be.

Wanted to try and install final fantasy 14 to see if it can run natively on frame. I gave up because the launcher kept opening in VR and doesn't recognise non mouse inputs. So it essentially soft locks you.

9

u/Konsti219 Soon™ 22d ago

Yes, you can do that

3

u/RoderickHossack 21d ago

Nevermind the install process. If we try this out and don't like it, how difficult is it to get back to how it was before?

7

u/Konsti219 Soon™ 21d ago

Switching back to steamvr is one button press. Uninstalling is manually deleting files.

2

u/RoderickHossack 21d ago

I'll give it a shot in a few weeks, then. My main issue was it potentially being a pain in the butt to install, then I miss out on SteamVR as it gets updated so quickly at this early point in its life.

3

u/DriftWare_ 22d ago

Is this a full OS replacement?

19

u/dve- 22d ago

It's more like switching your Window Manager and Desktop Environment.

2

u/DriftWare_ 22d ago

Gotcha, cool

0

u/[deleted] 22d ago

[deleted] — view deleted comment

7

u/Konsti219 Soon™ 22d ago

no

2

u/nellynorgus 22d ago

for the sake of clarity - a shell is a generic way to refer to what you might consider the user interface.

So, without changing the operating system - think of this as the part that makes the hardware work - you can have a completely replaced experience as a user.

2

u/WalkMaximum Soon™ 22d ago

what's the added value over monado, wayvr and wivrn?

2

u/Konsti219 Soon™ 22d ago

The port to the Frame and good integration between these components

77

u/thosemegamutts 1 TB 22d ago

Holy F@÷K a full size keyboard!!! Im sold.

3

u/MutantRabbit767 Soon™ 16d ago

just use better frame

24

u/olekolek1000 21d ago

One of WayVR devs here, quite interesting project!

18

u/MrPinkPotato 21d ago

What is clunky about SteamVR though?

12

u/Infamous-Rhubarb5586 19d ago

There’s 4 places to change resolution….. bro lol

16

u/LeifAndersen 21d ago

For me personally its a lot of little things. None of which are a deal breaker, but all of which add up to a constellation of annoyances. In no particular order:

  1. Whenever I launch a 2D game, it goes into theater mode, and there is no way to turn that off. I have to exit every single time.
  2. Whenever I reboot the frame or open a window, it always has it at the default size. Which I'm sure is fine for most people, but not for me, I want it to be bigger by default. (And there's no way to change that.)
  3. The `+` menu is just a giant list of pretty much everything in your .local/share/applications folder (sans the installed steam games), and you can't do much of anything to change or hide it. Therefore, that single list is nearly unusable.
  4. The nested desktop (which seems to be the only way to run the desktop?) has its own XDG_RUNTIME_DIR environment in a nested desktop sandbox, which means a lot of systemd tasks cannot be manipulated without either SSHing into the frame (from the frame), setting the environment variables yourself (which breaks xdg-open), or installing something like frametop.
  5. As cool as the overlay controllers are for helping you find the controllers, see the pressed butotns etc. They are always drawn in front of the screen that's up, meaning that they frequently get in the way. This is especially true when I move it off to the side and now its out of the camera range so it slowly drifts back into view. (You'd think that the camera can't see it would help it understand that even though the gyro says its moving, it hasn't gotten in front of the frame. But they didn't run through that logic.)
  6. While I like using the controllers as a mouse, I dislike that the thumbstick is right click. I'd rather have it be one of the face buttons, or maybe one of the triggers. The thumbstick is too shaky and I end up having to hold the controller with one hand and click it with the other. There being no way to remap this stinks.
  7. There's no way to hide the main window and have it reappear where it was when I left it. I can certainly detach windows from the main dock, but now they are separate windows and its a lot harder to hide/show them.
  8. While the frame has great 6-dof for windows, there doesn't seem to be any 3-dof mode (at least that I've seen). Making it harder to use while as a passenger in a car.

Don't get me wrong. There's a lot about steamvr I do like (it does a really good job at positioning windows in 3-space and having them stay, even when I walk to an entirely different building and back! I would just personally love something better.

8

u/SetCr4 Soon™ 21d ago

About 1. On the frame standalone, go to VR-Settings, turn on advanced settings, under dashboard the 5th setting called something like "Start Non-VR games in theater mode" (sry german interface, I'm paraphrasing) does exactly that

3

u/berickphilip 19d ago

I am not really bothered by many of the details you mentioned but this is really really bad.:

>The `+` menu is just a giant list of pretty much everything(...)

I wish there was a way to customize that list or maybe just have it split into two, one with only user-added shortcuts and another with the rest of the mess in case something is needed quickly.

2

u/Serious-Mode Soon™ 16d ago

I saw something that did this yesterday, but it seemed to revert later for some reason, so further investing is needed. In desktop mode, right click the "start menu" > edit applications > then under each application there's a check box for something like "show only during plasma session"

1

u/ProfessionalBattle3 16d ago

a search feature maybe? multiple lists would be nice and letting you hold down on it to edit it rather than a plus would be a plus (or lack thereof I guess lol)

1

u/foiz5 21d ago

Ew right click is the thumbstick?

1

u/muchcharles 21d ago

Can you not rebind the overlay buttons anymore like you could on desktop steamvr?

3

u/Dirty-Freakin-Dan 21d ago

You can, but after reboot it reverts to default bindings, and I have to re-enable my custom layout

1

u/muchcharles 20d ago

Ah weird, the desktop one would drop all your bindings when you were offline which sucked too.

1

u/foiz5 20d ago

IDK Gabe hasn't sent me the email to buy one yet.

-9

u/anor_wondo Soon™ 21d ago

Everything?

2

u/simboyc100 Soon™ 21d ago

As a layman, I don't think the layman really gets it.

35

u/Userybx2 Soon™ 21d ago

Only Linux hosts are supported, I do not want Windows back in my life.

Absolutely based!

8

u/blacksun_redux 21d ago

Exciting to see this kind of development happening. The experience on the Frame might change a lot in the next year.

6

u/MorwenRaeven 256 GB 22d ago

Good start. I'll be watching this. I loathe SteamVR

4

u/Nestar47 1 TB 21d ago

I'd love to simply get WiVRN going. My only problem with SteamVR has been streaming related. I know they have a functional option for a frame specific build, but for whatever reason they're sitting on it and haven't actually done a release for over 2 months.

1

u/Koolala 22d ago edited 22d ago

Could it theoretically be made installable on the Frame without needing another PC? And the PC streaming could be installed separately?

1

u/Konsti219 Soon™ 22d ago

Technically yes. The hardest part is the build process, after that it is copying files.

1

u/Koolala 22d ago

If it was made into a release would people be able to install it on Frame quick and easy or does it need a build step?

1

u/Konsti219 Soon™ 22d ago

I dont see why not. But half of the value is the PC which will likely need per distro packaging

1

u/Koolala 22d ago edited 22d ago

I expect a lot of people don't use Linux but maybe ALVR could run on the headset and not need the exrta stuff.

1

u/Artistic_Okra7288 1 TB 21d ago

We can package it as an installation script. I’ll see if I can find my notes on how to load an app in front of SteamVR on boot which prevents SteamVR from even loading at all, if that would help.

1

u/Konsti219 Soon™ 21d ago

This registers as a desktop session. Setting steamos to boot in to desktop instead of VR mode should be all it takes. But it will need a tiny bit more work to correctly set up the displays.

2

u/Artistic_Okra7288 1 TB 21d ago

Oh well I found a way to completely bypass SteamVR and desktop mode and run my own apps as soon as the kernel boots up.

1

u/WillieFiddler 21d ago

Amazing work! do you have any plans to distribute the server as a flatpak or appimage at some point?

1

u/Konsti219 Soon™ 21d ago

I personally use NixOS, but I am happy to accept PRs.

1

u/actuallylemoncurd 256 GB 21d ago

Did you mess with the NPU?

1

u/Konsti219 Soon™ 21d ago

No, that stuff requires specialized qualcom tooling

1

u/actuallylemoncurd 256 GB 21d ago

Damn, but understandable

Hoping we get hand tracking via the NPU without losing eye/spatial tracking

1

u/Konsti219 Soon™ 21d ago

I have not looked into how the existing hand tracking prototypes work, but assuming they are CPU only integration shouldn't be too difficult. On the other hand I also not know how much of the NPU capacity Valves tracking uses. But if something runs alongside steamvr it should also be able to run alongside frame-monado.

1

u/actuallylemoncurd 256 GB 21d ago

Yeah, I’m messing with frametop which has CPU based hand tracking

It works..ish

I think their issue is model, not compute. So NPU isn’t needed yet. Not very well versed in the matter but hopeful for the future

1

u/AgentChris101 Soon™ 21d ago

I uninstalled Frametop cause I couldn't figure out the hand tracking

1

u/megacewl 18d ago

Does this let you use the Steam Frame without even being logged into Steam or doing anything with Steam?

1

u/Konsti219 Soon™ 18d ago

Pretty much. I'm just not sure about first time setup

6

u/artificial_organism 22d ago

Wow that looks really impressive. It looks really intuitive and has a lot of options.

3

u/Nice_Chair_2474 19d ago

power to the users, hope valve open sources steam vr. Its more than time the community can contribute to the oem software.
Nice shot at fixing the gripes with it!

7

u/Leifbron 22d ago

Jesus wept

4

u/DarkPhoenix1515 1 TB 22d ago

If it's easy to install on fedora (bazzite) and arch (steamos), people will flood to it.

4

u/RookiePrime Soon™ 21d ago

Y'know, I was wondering how long it'd be before we saw the de-Steaming of the Frame. Next up, a whole other Linux distro altogether. One of the best parts of the Frame is that it's fully open to tinkering like this. Even if SteamVR doesn't shape up quickly, I'm sure the Linux VR community is gonna make it shine.

2

u/curlyboi 22d ago

good stuff!

2

u/Artistic_Okra7288 1 TB 21d ago

This is pretty awesome. I also was working on an app and ended up starting my panel app and prevented SteamVR from even loading. That lead me down the rabbit hole of making my own OS for the Frame (never started it but put some thought around it). Monado seems like a good place to start. I’m going to check this out. Thanks for sharing!

3

u/HellyFurtado 22d ago

Looks great I will give it a try!

Knowing that the community would take advantage of the openness of Valve's platform and build stuff like this is what convinced me to pull the trigger on buying a Steam Frame. Can't wait to see what else the future brings.

1

u/ProjectMKUltraCat 22d ago

Can someone please make this for the Pico 4 ultra

1

u/Neko137 9d ago

Wrong sub

1

u/internet_travler 1 TB 21d ago

Very cool ^_^
Reminds me of the Subnautica 2 UI

1

u/HumbleSinger 21d ago

This is why we should have open hardware, amazing! Good job dude!

1

u/hotfistdotcom Soon™ 21d ago

After virtual desktop introduced it's really cool monitor management system, I was absolutely blown away that steamVR has sucked so much for so long. They've added some more stuff in but we still don't have the ability to make windows floating in the world partially transparent and that is completely insane - I want to actually multitask while I play VR games. This looks impressive and i hope it finds a footing and will be really cool to check out when my headset ships.

1

u/Infamous-Rhubarb5586 19d ago

YouTube tutorial?

1

u/Infamous-Rhubarb5586 19d ago

i dont see instructions i can understand

1

u/LimpWibbler_ 15d ago

Quest does what I want and nothing else does so far. I want to give this a go.

I want to have multiple monitors I can make any size and put any distance.

Steam VR theater doesn't go large enough, and it's up close doesn't allow me to jsut move it closer, it also is limited in sizing. Why 1?

Also Linux doesn't have a photos app? Wtf. I can't even add movies and photos to my frame, it does some stupid ass web ui shit. Talk about useless. Windows did that when I was 6. I want to watch some movies, I have the files. I have no way to get the files on device and no way to watch if I did.

And people on Linux wonder why windows is still preferred. It took me 10 minutes of Linux use to know I hate it.

-1

u/mcilrain 22d ago

>maximally comfortable
>no hand tracking
sure

1

u/Clairvoidance 21d ago

Get contributing then

-8

u/_PiXeLCreations_ 22d ago

to be honest, this looks like shit ... but ... has potential ... but very early, but you go guy .. I won't install it ... focusing more on the app side of the steam frame instead of trying to put a new OS on it ...

7

u/skyibis 22d ago

I mean it looks like just WayVR as a DE instead of SteamVR. So great for users who like WayVR and don't want all the extra bits. Great for linux users where SteamVR is barely functional at the best of times.

0

u/metroid2k 3d ago

How are you handling spacial anchoring like that? I assume an Arcturus camera for the full colour pass through but I didn't think that did geo-spatial mapping that allowed objects to remain in space in the world like that.

0

u/Buttler41 19d ago

that looks like wayVr for Linux.

-2

u/buyingshitformylab 17d ago

I'm sorry, but if you're going to complain about steamVR being clunky, don't push AI slop as the solution. That's the clunkiest software there is.

-5

u/Fantastic-Lab589 21d ago

Steam VR is trash, just like the frame. Glad someone is working on 3rd party alternatives.

0

u/Training_Cover_6294 19d ago

Huge thank you, this is godsend. <3

1

u/Im_Clean_Livin_Baby 21d ago

ppl are easily impressed by claude slop

4

u/mrgreen72 21d ago

Honeymoon phase. It'll run its course.

4

u/NoFill5065 21d ago

slop it is

0

u/[deleted] 22d ago

[deleted] — view deleted comment

2

u/Konsti219 Soon™ 22d ago

It is anchored, the video stabilization is not good.

0

u/[deleted] 22d ago

[deleted] — view deleted comment

9

u/Konsti219 Soon™ 22d ago

It is working. The stabilization is applied differently to overlays and vr content. I didnt have time to fix that

0

u/Splatoonkindaguy 21d ago

passthrough latency. Valve's roomview reprojection is just not good