Erimelowo/OpenVR-Dynamic-Resolution

Support Linux

Erimelowo opened this issue · 12 comments

Support building from Linux, and using the program on Linux.

Can now build, but I don't know if it actually works.

Implementing the hiding on startup broke linux support, so it does not compile anymore.

Implementing the hiding on startup broke linux support, so it does not compile anymore.

Should be fixed by 5caba05

Tried VR on Linux... can't even get into a VR game ._.

@Louka3000 I have a very strong interest of making this software working on linux. I'm willing to spend time to test, debug and help since I'm currently running all my vr games under Arch Linux + Plasma Wayland here.

About the problem of not getting into any vr game, it's probably because you have to go to SteamVR settings and set itself to the default OpenXR Runtime, so games like beat saber will launch.

Should I use the same instructions of the readme to compile your software here? Do you want me to test some specific stuff? let me know, please!

@Louka3000 I have a very strong interest of making this software working on linux. I'm willing to spend time to test, debug and help since I'm currently running all my vr games under Arch Linux + Plasma Wayland here.

About the problem of not getting into any vr game, it's probably because you have to go to SteamVR settings and set itself to the default OpenXR Runtime, so games like beat saber will launch.

Should I use the same instructions of the readme to compile your software here? Do you want me to test some specific stuff? let me know, please!

I actually managed to build it on linux with some small tweaks. You just have to follow the instructions, and make sure that you have the dependencies for vcpkg installed, which are curl zip unzip tar cmake ninja. I havent tested the build yet, as i dont have much time rn, but feel free to look if my fork works for you. https://github.com/kruemmelbande/OpenVR-Dynamic-Resolution/tree/main It actually runs, but i have not tested any games or anything

@Louka3000 I have a very strong interest of making this software working on linux. I'm willing to spend time to test, debug and help since I'm currently running all my vr games under Arch Linux + Plasma Wayland here.
About the problem of not getting into any vr game, it's probably because you have to go to SteamVR settings and set itself to the default OpenXR Runtime, so games like beat saber will launch.
Should I use the same instructions of the readme to compile your software here? Do you want me to test some specific stuff? let me know, please!

I actually managed to build it on linux with some small tweaks. You just have to follow the instructions, and make sure that you have the dependencies for vcpkg installed, which are curl zip unzip tar cmake ninja. I havent tested the build yet, as i dont have much time rn, but feel free to look if my fork works for you. https://github.com/kruemmelbande/OpenVR-Dynamic-Resolution/tree/main It actually runs, but i have not tested any games or anything

Thank you! I will let you know if this actually works as soon as possible :3
I really want to use it on VRChat since my gpu is kinda slow for this game (RX 5500XT 8GB).

@Louka3000 I have a very strong interest of making this software working on linux. I'm willing to spend time to test, debug and help since I'm currently running all my vr games under Arch Linux + Plasma Wayland here.
About the problem of not getting into any vr game, it's probably because you have to go to SteamVR settings and set itself to the default OpenXR Runtime, so games like beat saber will launch.
Should I use the same instructions of the readme to compile your software here? Do you want me to test some specific stuff? let me know, please!

I actually managed to build it on linux with some small tweaks. You just have to follow the instructions, and make sure that you have the dependencies for vcpkg installed, which are curl zip unzip tar cmake ninja. I havent tested the build yet, as i dont have much time rn, but feel free to look if my fork works for you. https://github.com/kruemmelbande/OpenVR-Dynamic-Resolution/tree/main It actually runs, but i have not tested any games or anything

This actually works here! although the vram monitoring says "disabled" and it isn't able to set itself on autostart, it's working perfectly fine ^^

I also had to install the openvr package on my package manager (arch linux)

I set maxRes=100 to avoid image corruptions at very high resolutions and resChangeDelayMs=5000 to avoid glitching SteamVR

Afaik, the vram monitoring only works on nvidia, so thats probably why it wont show up. Ill try later with my gtx1080, if it shows up

Okay, so, i did some testing, and it doesnt show vram usage on nvidia either, however, the rest works perfectly fine, besides autostart. Ill see if it compiles on windows, and then maybe make a pr (hopefully with 100% less memory leaks than my last one)

Ok, so, as it turns out, this doesnt compile on windows. To me, it looks like there is some difference in the default libraries, but im just guessing here.

b797e5a is a big step towards this.
We now have CI that successfully builds on Ubuntu.