Closed TheSunCat closed 1 year ago
I'm 99% sure this is a downstream issue and without a crate update path there's nothing that can be done for right now, try if you can to build it yourself and see if an unreleased version of ALVR allows it to be launched it it still crashes try running cargo update
and build it again if it still fails at this point it's unactionable
Building after a cargo update
does indeed fix it! I can now run alvr_dashboard with the following log and it does not crash
Patch for cargo update
: update.patch.txt
[09:43:06.875040612 INFO alvr_server_io] Session extrapolated successfully. Old session.json is stored as session_old.json
[09:43:06.965709354 WARN egui_winit::clipboard] Failed to initialize arboard clipboard: Unknown error while interacting with the clipboard: timed out waiting on channel
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:878:(find_matching_chmap) Found no matching channel map
there well be a commit soon that will fix this I'll close this as fixed
i need to run v20.2.1 for phonevr. running cargo update causes tons of errors, any clue as to what i could do here?
error[E0308]: mismatched types
--> alvr/session/src/settings.rs:937:26
|
937 | Vector3: [0.0, 0.0, 0.0],
| ^^^^^^^^^^^^^^^ expected `ArrayDefault<[f32; 3]>`, found `[{float}; 3]`
|
= note: expected struct `ArrayDefault<[f32; 3]>`
found array `[{float}; 3]`
error[E0063]: missing field `gui_collapsed` in initializer of `VectorDefault<_>`
--> alvr/session/src/settings.rs:927:39
|
927 | let default_custom_openvr_props = VectorDefault {
| ^^^^^^^^^^^^^ missing `gui_collapsed`
error[E0063]: missing field `gui_collapsed` in initializer of `DictionaryDefault<_>`
--> alvr/session/src/settings.rs:1066:17
|
1066 | DictionaryDefault {
| ^^^^^^^^^^^^^^^^^ missing `gui_collapsed`
error[E0308]: mismatched types
--> alvr/session/src/settings.rs:1196:54
|
1196 | left_controller_position_offset: [0.0, 0.0, -0.11],
| ^^^^^^^^^^^^^^^^^ expected `ArrayDefault<[f32; 3]>`, found `[{float}; 3]`
|
= note: expected struct `ArrayDefault<[f32; 3]>`
found array `[{float}; 3]`
error[E0308]: mismatched types
--> alvr/session/src/settings.rs:1197:54
|
1197 | left_controller_rotation_offset: [-20.0, 0.0, 0.0],
| ^^^^^^^^^^^^^^^^^ expected `ArrayDefault<[f32; 3]>`, found `[{float}; 3]`
|
= note: expected struct `ArrayDefault<[f32; 3]>`
found array `[{float}; 3]`
error[E0308]: mismatched types
--> alvr/session/src/settings.rs:1198:57
|
1198 | left_hand_tracking_position_offset: [0.04, -0.02, -0.13],
| ^^^^^^^^^^^^^^^^^^^^ expected `ArrayDefault<[f32; 3]>`, found `[{float}; 3]`
|
= note: expected struct `ArrayDefault<[f32; 3]>`
found array `[{float}; 3]`
error[E0308]: mismatched types
--> alvr/session/src/settings.rs:1199:57
|
1199 | left_hand_tracking_rotation_offset: [0.0, -45.0, -90.0],
| ^^^^^^^^^^^^^^^^^^^ expected `ArrayDefault<[f32; 3]>`, found `[{float}; 3]`
|
= note: expected struct `ArrayDefault<[f32; 3]>`
found array `[{float}; 3]`
Compiling runas v1.0.0
error[E0164]: expected tuple struct or tuple variant, found struct variant `SchemaNode::Section`
--> alvr/session/src/lib.rs:245:9
|
245 | SchemaNode::Section(entries) => json::Value::Object(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
error[E0164]: expected tuple struct or tuple variant, found struct variant `SchemaNode::Section`
--> alvr/session/src/lib.rs:461:9
|
461 | SchemaNode::Section(entries) => json::Value::Object(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
Some errors have detailed explanations: E0063, E0164, E0308.
For more information about an error, try `rustc --explain E0063`.
error: could not compile `alvr_session` (lib) due to 9 previous errors
Report this issue to phonevr dev either on the repo or in our discord or maybe just wait for it to be updated. trying to pull a breaking change in the settings schema is obviously going to break
Also phonevr is in a different repository
@makerio90 ALVR follows semver rules for server/client compatibility, this means you can use the latest PhoneVR (ALVR v20.2.1) with the ALVR server v20.5.0. The compatibility is maintained as best-effort so it may not actually work, but you will need to test for yourself.
Description
When running ALVR on Wayland, it crashes instantly. Setting
WAYLAND_DISPLAY=
gets around the crash by using Xwayland. I am using Hyprland (wlroots) as a compositor. Relevant log:General Troubleshooting
Environment
Hardware
Note: for Linux, an upload to the
hw-probe
database is preferred:hw-probe -all -upload
https://linux-hardware.org/?probe=598b5837e5
Installation
ALVR Version: 20.4.3-2
ALVR Settings File:
SteamVR Version: 2.0
Install Type:
exe
,deb
,rpm
, etc)zip
)OS Name and Version (
winver
on Windows orgrep PRETTY_NAME /etc/os-release
on most Linux distributions): Arch Linux