Skip to content

Double vision #61

Description

@Sersys

Hello,

I've managed to get to the point where I got the display working but I have double vision. In SteamVR the pictures are atop of each other and in Monado (Envision) they are next to each other.

I'm on Debian13 but I used the Nix package manager to get the built drivers and then ran install.sh.
In ~/.steam/debian-installation/steamapps/compatdata/250820/pfx/drive_c/windows/system32/ I've created a symlink called vkd3d-shader-1.dll that points to libvkd3d-shader-1.dll in the same directory, also with vkd3d-1.dll pointing to libvkd3d-1.dll (without this SteamVR couldn't start the HMD).

Envision complains that

Lens distortion helper is failed to launch, HMD image most probaly will be distorted and unusable.
Error: lens protocol error: io error: failed to fill whole buffer

Make sure you have any recent version of proton installed.

tough SteamVR doesn't seem to have this problem, regardless it produces double vision.

Launching lens_server.exe by itself complains that it failed to load library

 INFO lens_server: hello from lens server
 INFO lens_server: dll path: "Z:\\home\\sersys\\.steam\\debian-installation\\steamapp
s\\common\\SteamVR\\drivers\\lighthouse\\bin\\linux64\\lens-server\\LibLensDistortion.dll"
01d4:err:module:import_dll Library d3d11.dll (which is needed by L"Z:\\home\\sersys\\.steam\\debian-installation\\steamapps\\common\\SteamVR\\drivers\\lighthouse\\bin\\linux64\\lens-server\\opencv_world346.dll") not found
01d4:err:module:import_dll Library opencv_world346.dll (which is needed by L"Z:\\home\\sersys\\.steam\\debian-installation\\steamapps\\common\\SteamVR\\drivers\\lighthouse\\bin\\linux64\\lens-server\\LibLensDistortion.dll") not found
ERROR lens_server: error=failed to load library
Error: failed to load library

Caused by:
    0: LoadLibraryExW failed
    1: Module not found. (os error 126)

not sure if this is what supposed to happen if it is launched manually and not by being called by SteamVR. I gave full permissions to the entire lens-server folder and its contents but it did nothing.
I don't know how to proceed from here, mainly because lens-server.exe lives outside the prefixes in the common folder (~/.steam/debian-installation/steamapps/common/SteamVR/drivers/lighthouse/bin/linux64/lens-server/).
Is lense-server.exe not being called with the right prefix environment?
Are LibLensDistortion.dll and opencv_world346.dll not included in the prefix environment when lens-server.exe starts?
Is there something wrong with the dlls?
Is it even lense-server.exe the problem at all? Is there a way to calibrate manually how the pictures align?

Tracking, audio, cameras (in kamoso) seem to be working just fine.

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.57+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 64 GiB of RAM (61.9 GiB usable)
Graphics Processor 1: Radeon RX 7900 XT
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASUS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions