OpenVR-Dynamic-Resolution icon indicating copy to clipboard operation
OpenVR-Dynamic-Resolution copied to clipboard

Support Linux

Open Erimelowo opened this issue 2 years ago • 12 comments

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

Erimelowo avatar May 29 '23 23:05 Erimelowo

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

Erimelowo avatar Jun 03 '23 17:06 Erimelowo

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

kruemmelbande avatar Jun 21 '23 06:06 kruemmelbande

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

Should be fixed by https://github.com/Louka3000/OpenVR-Dynamic-Resolution/commit/5caba053fb7fcb11302d3df6ca64b6658b829ced

Erimelowo avatar Jun 21 '23 13:06 Erimelowo

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

Erimelowo avatar Jul 06 '23 23:07 Erimelowo

@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!

myghi63 avatar Dec 20 '23 14:12 myghi63

@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

kruemmelbande avatar Dec 20 '23 15:12 kruemmelbande

@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).

myghi63 avatar Dec 20 '23 15:12 myghi63

@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

myghi63 avatar Dec 21 '23 00:12 myghi63

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

kruemmelbande avatar Dec 21 '23 07:12 kruemmelbande

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)

kruemmelbande avatar Dec 22 '23 09:12 kruemmelbande

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.

kruemmelbande avatar Dec 22 '23 11:12 kruemmelbande

https://github.com/Erimelowo/OpenVR-Dynamic-Resolution/commit/b797e5a391d118e9c31e212698c71fe661138346 is a big step towards this.
We now have CI that successfully builds on Ubuntu.

Erimelowo avatar Oct 03 '24 14:10 Erimelowo