alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.3k stars 475 forks source link

window size is unreasonably large with no way of changing it #1627

Closed Femratthecoolone closed 1 year ago

Femratthecoolone commented 1 year ago

on the latest version of ALVR available for LINUX running on STEAMOS on the steamdeck the window GUI elements are unreasonably large making it IMPOSSIBLE to even THINK of using the software can i fix this issue? it also persists into the nightly version

bjoern-tantau commented 1 year ago

image

Here's a screenshot from the current nightly Appimage. The output on the commandline is

$ ./ALVR-x86_64.AppImage 
[12:32:45.538711108 ERROR alvr_server_io] Error while extrapolating session. Old session.json is stored as session_old.json. At alvr/session/src/lib.rs:188
[12:32:45.636296884 INFO winit::platform_impl::platform::x11::window] Guessed window scale factor: 4.5
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_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
bjoern-tantau commented 1 year ago

As a workaround you can set WINIT_X11_SCALE_FACTOR="1" before running ALVR. See https://github.com/rust-windowing/winit/issues/2231

zarik5 commented 1 year ago

Thank you! I might make a PR integrating this tomorrow.

zarik5 commented 1 year ago

This should be fixed in the next nightly.

zarik5 commented 1 year ago

@Femratthecoolone did you try the last nightly?

Femratthecoolone commented 1 year ago

Member

not yet as of now i will in a bit right now im doing other things

Vixea commented 1 year ago

Ping

Vixea commented 1 year ago

Assuming as fixed makes no sense not to be anyway