ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

GPU shows 98% usage before client is connected to PC

Open emile0909 opened this issue 10 months ago • 6 comments

Description

Open ALVR Dashboard.exe and launch SteamVR.

Change SteamVR -> Settings -> Startup/Shutdown -> Turn off displays after (5 SECONDS) to SteamVR -> Settings -> Startup/Shutdown -> Turn off displays after (5 MINUTES)

Open Windows Task Manager (Ctrl + Shift + Esc), GPU shows 98% usage.

Once ALVR client is connected (I use Pico Neo 3), GPU usages drops to normal. If ALVR client disconnects again, GPU usages keeps normal.

This could be a low priority issue, display by default is turned off in 5 seconds, so the high percentage GPU usage lasts no more than 5 seconds. But it might reveal a potential performance bug which might affect other parts or in future.

Another might related problem is SteamVR -> Show VR Views, it doesn't show anything all the time.

General Troubleshooting

  • [ YES ] I carefully followed the instructions in the README and successfully completed the setup wizard
  • [ YES ] I read the ALVR Wikis here and here

Environment

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload

CPU: 13th Gen Intel(R) Core(TM) i5-13400F 2.50 GHz

GPU: NVIDIA GeForce RTX 4060 Ti

GPU Driver Version: 545.84

Audio: N/A

Installation

ALVR Version: stable release v20.6.1

ALVR Settings File: Default settings file (auto-generated)

SteamVR Version: 2.4.4 (update on 2024/03/26)

Install Type:

  • [ ] Packaged (exe, deb, rpm, etc)
  • [ YES ] Portable (zip)
  • [ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):

Windows 11, 23H2 (OS internal version 22631.3296), Home Chinese version.

emile0909 avatar Apr 06 '24 03:04 emile0909

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 06 '24 00:06 github-actions[bot]

Same problem when I just click "Launch SteamVR" without client. Mouse freeze. OS freeze. GPU usage 100%. Then SteamVR crash with showing error window.

CPU: 12th Gen Intel(R) Core(TM) i5-12400 2.50 GHz GPU: NVIDIA GeForce RTX 3070 GPU Driver Version: 31.0.15.4629 (NVIDIA 546.29) DCH / Win11 64 Audio: N/A

Installation ALVR Version: stable release v20.9.1 ALVR Settings File: in logs SteamVR Version: 2.6.2 (update on 2024/07/21) SteamVR report:

SteamVR Version 2.6.2 (1716600417)
Steam:	Public (Public)
Tracking:	No Driver
OS:	Windows 11 (10.0.0.22621)
Direct Mode Graphics:	NVIDIA (546.29)

System
Admin:	No
Async Reprojection:	
Performance drops:	0/1 0/2 0/3 0/4 0/0
User IPD (m):	Not yet implemented

Displays - Extended Display
Display 0: \\.\DISPLAY1 1920x1080 @ (0, 0) NVIDIA GeForce RTX 3070 Primary 
Monitor 0: \\.\DISPLAY1\Monitor0 BenQ M2400HD (HDMI)

Display 1: \\.\DISPLAY5 4320x2160 @ (1920, 0) IddSampleDriver Device HDR  
Monitor 0: \\.\DISPLAY5\Monitor0 Generic PnP Monitor

ALVR Logs:

 [EVENT] Session(SessionConfig { server_version: Version { major: 20, minor: 9, patch: 1 }, drivers_backup: None, openvr_config: OpenvrConfig { eye_resolution_width: 2144, eye_resolution_height: 2144, target_eye_resolution_width: 2144, target_eye_resolution_height: 2144, tracking_ref_only: false, enable_vive_tracker_proxy: false, aggressive_keyframe_resend: false, adapter_index: 0, codec: 0, h264_profile: 0, refresh_rate: 72, use_10bit_encoder: false, use_full_range_encoding: true, encoding_gamma: 1.0, enable_hdr: false, force_hdr_srgb_correction: false, clamp_hdr_extended_range: false, enable_pre_analysis: false, enable_vbaq: false, enable_hmqb: false, use_preproc: false, preproc_sigma: 4, preproc_tor: 7, amd_encoder_quality_preset: 1, rate_control_mode: 0, filler_data: false, entropy_coding: 1, force_sw_encoding: false, sw_thread_count: 0, controller_is_tracker: false, controllers_enabled: true, body_tracking_vive_enabled: false, body_tracking_has_legs: false, enable_foveated_encoding: true, foveation_center_size_x: 0.45, foveation_center_size_y: 0.4, foveation_center_shift_x: 0.4, foveation_center_shift_y: 0.1, foveation_edge_ratio_x: 4.0, foveation_edge_ratio_y: 5.0, enable_color_correction: true, brightness: 0.0, contrast: 0.0, saturation: 0.5, gamma: 1.0, sharpening: 0.5, linux_async_compute: false, linux_async_reprojection: false, nvenc_quality_preset: 3, nvenc_tuning_preset: 2, nvenc_multi_pass: 1, nvenc_adaptive_quantization_mode: 1, nvenc_low_delay_key_frame_scale: -1, nvenc_refresh_rate: -1, enable_intra_refresh: false, intra_refresh_period: -1, intra_refresh_count: -1, max_num_ref_frames: -1, gop_length: -1, p_frame_strategy: -1, nvenc_rate_control_mode: -1, rc_buffer_size: -1, rc_initial_delay: -1, rc_max_bitrate: -1, rc_average_bitrate: -1, nvenc_enable_weighted_prediction: false, capture_frame_dir: "/tmp", amd_bitrate_corruption_fix: false, _controller_profile: 1 }, client_connections: {"5015.client": ClientConnectionConfig { display_name: "Pico 4", current_ip: None, manual_ips: {192.168.0.144}, trusted: true, connection_state: Disconnected, cabled: false }}, session_settings: SettingsDefault { video: VideoConfigDefault { bitrate: BitrateConfigDefault { gui_collapsed: false, mode: BitrateModeDefault { ConstantMbps: 30, Adaptive: BitrateModeAdaptiveDefault { gui_collapsed: true, saturation_multiplier: 0.95, max_bitrate_mbps: SwitchDefault { enabled: false, content: 100 }, min_bitrate_mbps: SwitchDefault { enabled: false, content: 5 }, max_network_latency_ms: SwitchDefault { enabled: false, content: 8 }, encoder_latency_limiter: SwitchDefault { enabled: true, content: EncoderLatencyLimiterDefault { max_saturation_multiplier: 0.9 } }, decoder_latency_limiter: SwitchDefault { enabled: true, content: DecoderLatencyLimiterDefault { gui_collapsed: false, max_decoder_latency_ms: 30, latency_overstep_frames: 90, latency_overstep_multiplier: 0.99 } } }, variant: ConstantMbps }, adapt_to_framerate: SwitchDefault { enabled: true, content: BitrateAdaptiveFramerateConfigDefault { framerate_reset_threshold_multiplier: 2.0 } }, history_size: 256, image_corruption_fix: false }, preferred_codec: CodecTypeDefault { variant: H264 }, foveated_encoding: SwitchDefault { enabled: true, content: FoveatedEncodingConfigDefault { force_enable: false, center_size_x: 0.45, center_size_y: 0.4, center_shift_x: 0.4, center_shift_y: 0.1, edge_ratio_x: 4.0, edge_ratio_y: 5.0 } }, color_correction: SwitchDefault { enabled: true, content: ColorCorrectionConfigDefault { brightness: 0.0, contrast: 0.0, saturation: 0.5, gamma: 1.0, sharpening: 0.5 } }, max_buffering_frames: 2.0, buffering_history_weight: 0.9, optimize_game_render_latency: true, encoder_config: EncoderConfigDefault { gui_collapsed: true, rate_control_mode: RateControlModeDefault { variant: Cbr }, filler_data: false, h264_profile: H264ProfileDefault { variant: High }, entropy_coding: EntropyCodingDefault { variant: Cavlc }, use_10bit: false, use_full_range: true, encoding_gamma: 1.0, enable_hdr: false, force_hdr_srgb_correction: false, clamp_hdr_extended_range: false, nvenc: NvencConfigDefault { gui_collapsed: true, quality_preset: EncoderQualityPresetNvidiaDefault { variant: P3 }, tuning_preset: NvencTuningPresetDefault { variant: LowLatency }, multi_pass: NvencMultiPassDefault { variant: QuarterResolution }, adaptive_quantization_mode: NvencAdaptiveQuantizationModeDefault { variant: Spatial }, low_delay_key_frame_scale: -1, refresh_rate: -1, enable_intra_refresh: false, intra_refresh_period: -1, intra_refresh_count: -1, max_num_ref_frames: -1, gop_length: -1, p_frame_strategy: -1, rate_control_mode: -1, rc_buffer_size: -1, rc_initial_delay: -1, rc_max_bitrate: -1, rc_average_bitrate: -1, enable_weighted_prediction: false }, amf: AmfConfigDefault { gui_collapsed: true, quality_preset: EncoderQualityPresetAmdDefault { variant: Balanced }, enable_vbaq: false, enable_hmqb: false, use_preproc: false, preproc_sigma: 4, preproc_tor: 7, enable_pre_analysis: false }, software: SoftwareEncodingConfigDefault { force_software_encoding: false, thread_count: 0 } }, force_software_decoder: false, mediacodec_extra_options: DictionaryDefault { gui_collapsed: true, key: "", value: MediacodecDataTypeDefault { Float: 0.0, Int32: 0, Int64: 0, String: "", variant: Int32 }, content: [("operating-rate", MediacodecDataTypeDefault { Float: 0.0, Int32: 2147483647, Int64: 0, String: "", variant: Int32 }), ("priority", MediacodecDataTypeDefault { Float: 0.0, Int32: 0, Int64: 0, String: "", variant: Int32 }), ("vendor.qti-ext-dec-low-latency.enable", MediacodecDataTypeDefault { Float: 0.0, Int32: 1, Int64: 0, String: "", variant: Int32 })] }, transcoding_view_resolution: FrameSizeDefault { Scale: 1.0, Absolute: FrameSizeAbsoluteDefault { width: 2144, height: OptionalDefault { set: false, content: 1072 } }, variant: Absolute }, emulated_headset_view_resolution: FrameSizeDefault { Scale: 1.0, Absolute: FrameSizeAbsoluteDefault { width: 2144, height: OptionalDefault { set: false, content: 1072 } }, variant: Absolute }, preferred_fps: 72.0, adapter_index: 0, clientside_foveation: SwitchDefault { enabled: false, content: ClientsideFoveationConfigDefault { mode: ClientsideFoveationModeDefault { Static: ClientsideFoveationModeStaticDefault { level: ClientsideFoveationLevelDefault { variant: High } }, Dynamic: ClientsideFoveationModeDynamicDefault { max_level: ClientsideFoveationLevelDefault { variant: High } }, variant: Dynamic }, vertical_offset_deg: 0.0 } } }, audio: AudioConfigDefault { game_audio: SwitchDefault { enabled: true, content: GameAudioConfigDefault { gui_collapsed: true, device: OptionalDefault { set: false, content: CustomAudioDeviceConfigDefault { NameSubstring: "", Index: 0, variant: NameSubstring } }, mute_when_streaming: true, buffering: AudioBufferingConfigDefault { gui_collapsed: true, average_buffering_ms: 50, batch_ms: 10 } } }, microphone: SwitchDefault { enabled: true, content: MicrophoneConfigDefault { gui_collapsed: true, devices: MicrophoneDevicesConfigDefault { Custom: MicrophoneDevicesConfigCustomDefault { sink: CustomAudioDeviceConfigDefault { NameSubstring: "", Index: 0, variant: NameSubstring }, source: CustomAudioDeviceConfigDefault { NameSubstring: "", Index: 0, variant: NameSubstring } }, variant: VoiceMeeter }, buffering: AudioBufferingConfigDefault { gui_collapsed: true, average_buffering_ms: 50, batch_ms: 10 } } } }, headset: HeadsetConfigDefault { position_recentering_mode: PositionRecenteringModeDefault { Local: PositionRecenteringModeLocalDefault { view_height: 1.5 }, variant: LocalFloor }, rotation_recentering_mode: RotationRecenteringModeDefault { variant: Yaw }, controllers: SwitchDefault { enabled: true, content: ControllersConfigDefault { gui_collapsed: false, tracked: true, enable_skeleton: true, gestures: SwitchDefault { enabled: true, content: HandGestureConfigDefault { gui_collapsed: true, only_touch: false, pinch_touch_distance: 0.0, pinch_trigger_distance: 0.25, curl_touch_distance: 2.0, curl_trigger_distance: 2.5, joystick_deadzone: 40.0, joystick_offset_horizontal: 0.0, joystick_offset_vertical: 0.0, joystick_range: 1.0, activation_delay: 50, deactivation_delay: 100, repeat_delay: 100 } }, steamvr_pipeline_frames: 3.0, haptics: SwitchDefault { enabled: true, content: HapticsConfigDefault { gui_collapsed: true, intensity_multiplier: 1.0, amplitude_curve: 1.0, min_duration_s: 0.01 } }, emulation_mode: ControllersEmulationModeDefault { Custom: ControllersEmulationModeCustomDefault { serial_number: "ALVR Controller", button_set: VectorDefault { gui_collapsed: false, element: "/user/hand/left/input/a/click", content: [] } }, variant: Quest2Touch }, extra_openvr_props: VectorDefault { gui_collapsed: true, element: OpenvrPropertyDefault { TrackingSystemName: "", ModelNumber: "", SerialNumber: "", RenderModelName: "", WillDriftInYaw: false, ManufacturerName: "", TrackingFirmwareVersion: "", HardwareRevisionString: "", AllWirelessDongleDescriptions: "", ConnectedWirelessDongle: "", DeviceIsWireless: false, DeviceIsCharging: false, DeviceBatteryPercentage: 0.0, FirmwareUpdateAvailable: false, FirmwareManualUpdate: false, FirmwareManualUpdateURL: "", HardwareRevisionUint64: 0, FirmwareVersion: 0, FPGAVersion: 0, VRCVersion: 0, RadioVersion: 0, DongleVersion: 0, BlockServerShutdown: false, CanUnifyCoordinateSystemWithHmd: false, ContainsProximitySensor: false, DeviceProvidesBatteryStatus: false, DeviceCanPowerOff: false, FirmwareProgrammingTarget: "", DeviceClass: 0, HasCamera: false, DriverVersion: "", FirmwareForceUpdateRequired: false, ViveSystemButtonFixRequired: false, ParentDriver: 0, ResourceRoot: "", RegisteredDeviceType: "", InputProfilePath: "", NeverTracked: false, NumCameras: 0, CameraFrameLayout: 0, CameraStreamFormat: 0, AdditionalDeviceSettingsPath: "", Identifiable: false, BootloaderVersion: 0, AdditionalSystemReportData: "", CompositeFirmwareVersion: "", FirmwareRemindUpdate: false, PeripheralApplicationVersion: 0, ManufacturerSerialNumber: "", ComputedSerialNumber: "", EstimatedDeviceFirstUseTime: 0, ReportsTimeSinceVSync: false, SecondsFromVsyncToPhotons: 0.0, DisplayFrequency: 0.0, UserIpdMeters: 0.0, CurrentUniverseId: 0, PreviousUniverseId: 0, DisplayFirmwareVersion: 0, IsOnDesktop: false, DisplayMCType: 0, DisplayMCOffset: 0.0, DisplayMCScale: 0.0, EdidVendorID: 0, DisplayMCImageLeft: "", DisplayMCImageRight: "", DisplayGCBlackClamp: 0.0, EdidProductID: 0, DisplayGCType: 0, DisplayGCOffset: 0.0, DisplayGCScale: 0.0, DisplayGCPrescale: 0.0, DisplayGCImage: "", LensCenterLeftU: 0.0, LensCenterLeftV: 0.0, LensCenterRightU: 0.0, LensCenterRightV: 0.0, UserHeadToEyeDepthMeters: 0.0, CameraFirmwareVersion: 0, CameraFirmwareDescription: "", DisplayFPGAVersion: 0, DisplayBootloaderVersion: 0, DisplayHardwareVersion: 0, AudioFirmwareVersion: 0, CameraCompatibilityMode: 0, ScreenshotHorizontalFieldOfViewDegrees: 0.0, ScreenshotVerticalFieldOfViewDegrees: 0.0, DisplaySuppressed: false, DisplayAllowNightMode: false, DisplayMCImageWidth: 0, DisplayMCImageHeight: 0, DisplayMCImageNumChannels: 0, SecondsFromPhotonsToVblank: 0.0, DriverDirectModeSendsVsyncEvents: false, DisplayDebugMode: false, GraphicsAdapterLuid: 0, DriverProvidedChaperonePath: "", ExpectedTrackingReferenceCount: 0, ExpectedControllerCount: 0, NamedIconPathControllerLeftDeviceOff: "", NamedIconPathControllerRightDeviceOff: "", NamedIconPathTrackingReferenceDeviceOff: "", DoNotApplyPrediction: false, DistortionMeshResolution: 0, DriverIsDrawingControllers: false, DriverRequestsApplicationPause: false, DriverRequestsReducedRendering: false, MinimumIpdStepMeters: 0.0, AudioBridgeFirmwareVersion: 0, ImageBridgeFirmwareVersion: 0, ImuFactoryGyroBias: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryGyroScale: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryAccelerometerBias: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryAccelerometerScale: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ConfigurationIncludesLighthouse20Features: false, AdditionalRadioFeatures: 0, ExpectedControllerType: "", HmdTrackingStyle: 0, DriverProvidedChaperoneVisibility: false, HmdColumnCorrectionSettingPrefix: "", CameraSupportsCompatibilityModes: false, SupportsRoomViewDepthProjection: false, DisplaySupportsMultipleFramerates: false, DisplayColorMultLeft: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, DisplayColorMultRight: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, DisplaySupportsRuntimeFramerateChange: false, DisplaySupportsAnalogGain: false, DisplayMinAnalogGain: 0.0, DisplayMaxAnalogGain: 0.0, DashboardScale: 0.0, IpdUIRangeMinMeters: 0.0, IpdUIRangeMaxMeters: 0.0, HmdSupportsHDCP14LegacyCompat: false, HmdSupportsMicMonitoring: false, DriverRequestedMuraCorrectionMode: 0, DriverRequestedMuraFeatherInnerLeft: 0, DriverRequestedMuraFeatherInnerRight: 0, DriverRequestedMuraFeatherInnerTop: 0, DriverRequestedMuraFeatherInnerBottom: 0, DriverRequestedMuraFeatherOuterLeft: 0, DriverRequestedMuraFeatherOuterRight: 0, DriverRequestedMuraFeatherOuterTop: 0, DriverRequestedMuraFeatherOuterBottom: 0, AudioDefaultPlaybackDeviceId: "", AudioDefaultRecordingDeviceId: "", AudioDefaultPlaybackDeviceVolume: 0.0, AudioSupportsDualSpeakerAndJackOutput: false, AttachedDeviceId: "", SupportedButtons: 0, Axis0Type: 0, Axis1Type: 0, Axis2Type: 0, Axis3Type: 0, Axis4Type: 0, ControllerRoleHint: 0, FieldOfViewLeftDegrees: 0.0, FieldOfViewRightDegrees: 0.0, FieldOfViewTopDegrees: 0.0, FieldOfViewBottomDegrees: 0.0, TrackingRangeMinimumMeters: 0.0, TrackingRangeMaximumMeters: 0.0, ModeLabel: "", CanWirelessIdentify: false, Nonce: 0, IconPathName: "", NamedIconPathDeviceOff: "", NamedIconPathDeviceSearching: "", NamedIconPathDeviceSearchingAlert: "", NamedIconPathDeviceReady: "", NamedIconPathDeviceReadyAlert: "", NamedIconPathDeviceNotReady: "", NamedIconPathDeviceStandby: "", NamedIconPathDeviceAlertLow: "", NamedIconPathDeviceStandbyAlert: "", OverrideContainer: 0, UserConfigPath: "", InstallPath: "", HasDisplayComponent: false, HasControllerComponent: false, HasCameraComponent: false, HasDriverDirectModeComponent: false, HasVirtualDisplayComponent: false, HasSpatialAnchorsSupport: false, ControllerType: "", ControllerHandSelectionPriority: 0, variant: TrackingSystemName }, content: [] }, linear_velocity_cutoff: 0.05, angular_velocity_cutoff: 10.0, left_controller_position_offset: ArrayDefault { gui_collapsed: true, content: [0.0, 0.0, -0.11] }, left_controller_rotation_offset: ArrayDefault { gui_collapsed: true, content: [-20.0, 0.0, 0.0] }, left_hand_tracking_position_offset: ArrayDefault { gui_collapsed: true, content: [0.04, -0.02, -0.13] }, left_hand_tracking_rotation_offset: ArrayDefault { gui_collapsed: true, content: [0.0, -45.0, -90.0] }, button_mappings: OptionalDefault { set: false, content: DictionaryDefault { gui_collapsed: false, key: "/user/hand/left/input/a/click", value: VectorDefault { gui_collapsed: false, element: ButtonBindingTargetDefault { destination: "/user/hand/left/input/a/click", mapping_type: ButtonMappingTypeDefault { HysteresisThreshold: HysteresisThresholdDefault { value: 0.5, deviation: 0.05 }, BinaryToScalar: BinaryToScalarStatesDefault { off: 0.0, on: 1.0 }, Remap: RangeDefault { min: 0.0, max: 1.0 }, variant: Passthrough }, binary_conditions: VectorDefault { gui_collapsed: true, element: "/user/hand/left/input/trigger/touch", content: [] } }, content: [] }, content: [] } }, button_mapping_config: AutomaticButtonMappingConfigDefault { gui_collapsed: true, click_threshold: HysteresisThresholdDefault { value: 0.5, deviation: 0.05 }, touch_threshold: HysteresisThresholdDefault { value: 0.1, deviation: 0.05 }, force_threshold: 0.8 } } }, emulation_mode: HeadsetEmulationModeDefault { Custom: HeadsetEmulationModeCustomDefault { serial_number: "Unknown" }, variant: Quest2 }, extra_openvr_props: VectorDefault { gui_collapsed: true, element: OpenvrPropertyDefault { TrackingSystemName: "", ModelNumber: "", SerialNumber: "", RenderModelName: "", WillDriftInYaw: false, ManufacturerName: "", TrackingFirmwareVersion: "", HardwareRevisionString: "", AllWirelessDongleDescriptions: "", ConnectedWirelessDongle: "", DeviceIsWireless: false, DeviceIsCharging: false, DeviceBatteryPercentage: 0.0, FirmwareUpdateAvailable: false, FirmwareManualUpdate: false, FirmwareManualUpdateURL: "", HardwareRevisionUint64: 0, FirmwareVersion: 0, FPGAVersion: 0, VRCVersion: 0, RadioVersion: 0, DongleVersion: 0, BlockServerShutdown: false, CanUnifyCoordinateSystemWithHmd: false, ContainsProximitySensor: false, DeviceProvidesBatteryStatus: false, DeviceCanPowerOff: false, FirmwareProgrammingTarget: "", DeviceClass: 0, HasCamera: false, DriverVersion: "", FirmwareForceUpdateRequired: false, ViveSystemButtonFixRequired: false, ParentDriver: 0, ResourceRoot: "", RegisteredDeviceType: "", InputProfilePath: "", NeverTracked: false, NumCameras: 0, CameraFrameLayout: 0, CameraStreamFormat: 0, AdditionalDeviceSettingsPath: "", Identifiable: false, BootloaderVersion: 0, AdditionalSystemReportData: "", CompositeFirmwareVersion: "", FirmwareRemindUpdate: false, PeripheralApplicationVersion: 0, ManufacturerSerialNumber: "", ComputedSerialNumber: "", EstimatedDeviceFirstUseTime: 0, ReportsTimeSinceVSync: false, SecondsFromVsyncToPhotons: 0.0, DisplayFrequency: 0.0, UserIpdMeters: 0.0, CurrentUniverseId: 0, PreviousUniverseId: 0, DisplayFirmwareVersion: 0, IsOnDesktop: false, DisplayMCType: 0, DisplayMCOffset: 0.0, DisplayMCScale: 0.0, EdidVendorID: 0, DisplayMCImageLeft: "", DisplayMCImageRight: "", DisplayGCBlackClamp: 0.0, EdidProductID: 0, DisplayGCType: 0, DisplayGCOffset: 0.0, DisplayGCScale: 0.0, DisplayGCPrescale: 0.0, DisplayGCImage: "", LensCenterLeftU: 0.0, LensCenterLeftV: 0.0, LensCenterRightU: 0.0, LensCenterRightV: 0.0, UserHeadToEyeDepthMeters: 0.0, CameraFirmwareVersion: 0, CameraFirmwareDescription: "", DisplayFPGAVersion: 0, DisplayBootloaderVersion: 0, DisplayHardwareVersion: 0, AudioFirmwareVersion: 0, CameraCompatibilityMode: 0, ScreenshotHorizontalFieldOfViewDegrees: 0.0, ScreenshotVerticalFieldOfViewDegrees: 0.0, DisplaySuppressed: false, DisplayAllowNightMode: false, DisplayMCImageWidth: 0, DisplayMCImageHeight: 0, DisplayMCImageNumChannels: 0, SecondsFromPhotonsToVblank: 0.0, DriverDirectModeSendsVsyncEvents: false, DisplayDebugMode: false, GraphicsAdapterLuid: 0, DriverProvidedChaperonePath: "", ExpectedTrackingReferenceCount: 0, ExpectedControllerCount: 0, NamedIconPathControllerLeftDeviceOff: "", NamedIconPathControllerRightDeviceOff: "", NamedIconPathTrackingReferenceDeviceOff: "", DoNotApplyPrediction: false, DistortionMeshResolution: 0, DriverIsDrawingControllers: false, DriverRequestsApplicationPause: false, DriverRequestsReducedRendering: false, MinimumIpdStepMeters: 0.0, AudioBridgeFirmwareVersion: 0, ImageBridgeFirmwareVersion: 0, ImuFactoryGyroBias: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryGyroScale: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryAccelerometerBias: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ImuFactoryAccelerometerScale: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, ConfigurationIncludesLighthouse20Features: false, AdditionalRadioFeatures: 0, ExpectedControllerType: "", HmdTrackingStyle: 0, DriverProvidedChaperoneVisibility: false, HmdColumnCorrectionSettingPrefix: "", CameraSupportsCompatibilityModes: false, SupportsRoomViewDepthProjection: false, DisplaySupportsMultipleFramerates: false, DisplayColorMultLeft: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, DisplayColorMultRight: ArrayDefault { gui_collapsed: false, content: [0.0, 0.0, 0.0] }, DisplaySupportsRuntimeFramerateChange: false, DisplaySupportsAnalogGain: false, DisplayMinAnalogGain: 0.0, DisplayMaxAnalogGain: 0.0, DashboardScale: 0.0, IpdUIRangeMinMeters: 0.0, IpdUIRangeMaxMeters: 0.0, HmdSupportsHDCP14LegacyCompat: false, HmdSupportsMicMonitoring: false, DriverRequestedMuraCorrectionMode: 0, DriverRequestedMuraFeatherInnerLeft: 0, DriverRequestedMuraFeatherInnerRight: 0, DriverRequestedMuraFeatherInnerTop: 0, DriverRequestedMuraFeatherInnerBottom: 0, DriverRequestedMuraFeatherOuterLeft: 0, DriverRequestedMuraFeatherOuterRight: 0, DriverRequestedMuraFeatherOuterTop: 0, DriverRequestedMuraFeatherOuterBottom: 0, AudioDefaultPlaybackDeviceId: "", AudioDefaultRecordingDeviceId: "", AudioDefaultPlaybackDeviceVolume: 0.0, AudioSupportsDualSpeakerAndJackOutput: false, AttachedDeviceId: "", SupportedButtons: 0, Axis0Type: 0, Axis1Type: 0, Axis2Type: 0, Axis3Type: 0, Axis4Type: 0, ControllerRoleHint: 0, FieldOfViewLeftDegrees: 0.0, FieldOfViewRightDegrees: 0.0, FieldOfViewTopDegrees: 0.0, FieldOfViewBottomDegrees: 0.0, TrackingRangeMinimumMeters: 0.0, TrackingRangeMaximumMeters: 0.0, ModeLabel: "", CanWirelessIdentify: false, Nonce: 0, IconPathName: "", NamedIconPathDeviceOff: "", NamedIconPathDeviceSearching: "", NamedIconPathDeviceSearchingAlert: "", NamedIconPathDeviceReady: "", NamedIconPathDeviceReadyAlert: "", NamedIconPathDeviceNotReady: "", NamedIconPathDeviceStandby: "", NamedIconPathDeviceAlertLow: "", NamedIconPathDeviceStandbyAlert: "", OverrideContainer: 0, UserConfigPath: "", InstallPath: "", HasDisplayComponent: false, HasControllerComponent: false, HasCameraComponent: false, HasDriverDirectModeComponent: false, HasVirtualDisplayComponent: false, HasSpatialAnchorsSupport: false, ControllerType: "", ControllerHandSelectionPriority: 0, variant: TrackingSystemName }, content: [] }, tracking_ref_only: false, enable_vive_tracker_proxy: false, face_tracking: SwitchDefault { enabled: false, content: FaceTrackingConfigDefault { gui_collapsed: true, sources: FaceTrackingSourcesConfigDefault { combined_eye_gaze: true, eye_tracking_fb: true, face_tracking_fb: true, eye_expressions_htc: true, lip_expressions_htc: true }, sink: FaceTrackingSinkConfigDefault { VrchatEyeOsc: FaceTrackingSinkConfigVrchatEyeOscDefault { port: 9000 }, variant: VrchatEyeOsc } } }, body_tracking: SwitchDefault { enabled: false, content: BodyTrackingConfigDefault { gui_collapsed: true, sources: BodyTrackingSourcesConfigDefault { body_tracking_full_body_meta: SwitchDefault { enabled: true, content: BodyTrackingFullBodyMETAConfigDefault { gui_collapsed: true, enable_full_body: true } } }, sink: BodyTrackingSinkConfigDefault { VrchatBodyOsc: BodyTrackingSinkConfigVrchatBodyOscDefault { port: 9000 }, variant: FakeViveTracker }, tracked: true } } }, connection: ConnectionConfigDefault { stream_protocol: SocketProtocolDefault { variant: Udp }, client_discovery: SwitchDefault { enabled: true, content: DiscoveryConfigDefault { auto_trust_clients: false } }, on_connect_script: "", on_disconnect_script: "", avoid_video_glitching: false, packet_size: 1400, stream_port: 9944, web_server_port: 8082, osc_local_port: 9942, server_send_buffer_bytes: SocketBufferSizeDefault { Custom: 100000, variant: Maximum }, server_recv_buffer_bytes: SocketBufferSizeDefault { Custom: 100000, variant: Maximum }, client_send_buffer_bytes: SocketBufferSizeDefault { Custom: 100000, variant: Maximum }, client_recv_buffer_bytes: SocketBufferSizeDefault { Custom: 100000, variant: Maximum }, max_queued_server_video_frames: 1024, statistics_history_size: 256, aggressive_keyframe_resend: false, dscp: OptionalDefault { set: false, content: DscpTosDefault { ClassSelector: 7, AssuredForwarding: DscpTosAssuredForwardingDefault { class: 4, drop_probability: DropProbabilityDefault { variant: Low } }, variant: ExpeditedForwarding } } }, extra: ExtraConfigDefault { steamvr_launcher: SteamvrLauncherDefault { driver_launch_action: DriverLaunchActionDefault { variant: UnregisterOtherDriversAtStartup }, open_close_steamvr_with_dashboard: false }, capture: CaptureConfigDefault { startup_video_recording: false, rolling_video_files: SwitchDefault { enabled: false, content: RollingVideoFilesConfigDefault { duration_s: 5 } }, capture_frame_dir: "/tmp" }, logging: LoggingConfigDefault { show_notification_tip: true, prefer_backtrace: false, notification_level: LogSeverityDefault { variant: Warning }, client_log_report_level: SwitchDefault { enabled: true, content: LogSeverityDefault { variant: Error } }, show_raw_events: SwitchDefault { enabled: false, content: RawEventsConfigDefault { hide_spammy_events: false } }, log_to_disk: false, log_tracking: false, log_button_presses: false, log_haptics: false }, patches: PatchesDefault { linux_async_compute: false, linux_async_reprojection: false }, open_setup_wizard: false } } })
13:28:45.960955500 [INFO] Server connected
13:30:05.873325700 [INFO] Server disconnected

Sceenshot after freezing passed away: image

Screenshot when alvr_server add-on is disabled (no freezes): image

SteamVR logs: steamvr-logs-with-gpu100-crash.zip

evorios avatar Jul 21 '24 10:07 evorios

@zarik5

evorios avatar Aug 14 '24 16:08 evorios

I'm getting the same issue of the mouse freeze, but no crash. It could be ALVR fault but not sure what could be causing that. ALVR gives itself priority for the Windows scheduler, to improve streaming performance of course. But at the beginning ALVR initializes encoder and other continents which will take a lot of processing but also not performance-crucial, as it's only the initialization step. Maybe we should defer setting the priority? Although, we set priority for CPU, not GPU.

zmerp avatar Aug 14 '24 16:08 zmerp

I have some clue, in windows, the WaitForVSync(); in OvrDirectModeComponent::PostPresent() in OvrDirectModeComponent.cpp doesn't work properly when initializing, but I don't know why. The call interval of PostPresent() could be less than 1ms, so the game renders too frequently. A work around is to force sleep for some milliseconds in PostPresent() if call interval is less than 8ms (i.e. 120hz)

emile0909 avatar Aug 15 '24 00:08 emile0909

Eh 8 ms seems to Conservative. 3 ms is better

Vixea avatar Aug 15 '24 02:08 Vixea