moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.13k stars 593 forks source link

Enhance pointer precision randomly turned on #258

Closed adzil closed 4 years ago

adzil commented 5 years ago

Describe the bug Enhance pointer precision on the mouse settings randomly turned on. It automatically turned off again if moonlight client disconnected from the host.

Steps to reproduce Connect to the host PC and observe the pointer acceleration. Sometimes it randomly turned on and must manually turned off from Control Panel.

Affected games mstsc.exe

Other Moonlight clients

Moonlight settings I have tried disabling and enabling raw mouse input and optimize game settings but the problem still occurs.

Client PC details

Server PC details

Moonlight Logs

00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:01 - SDL Info (0): Loaded 14 new gamepad mappings
00:00:01 - SDL Info (0): V-sync enabled
00:00:01 - SDL Info (0): NSWindow on display: 2b107f4e
00:00:01 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] Format videotoolbox_vld chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] Format videotoolbox_vld requires hwaccel initialisation.
00:00:01 - FFmpeg: [h264 @ 0x7facce03a800] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:01 - SDL Info (0): Loaded 14 new gamepad mappings
00:00:01 - Qt Debug: Current Moonlight version: "1.0.1"
00:00:01 - Qt Info: "ADZIL-VM" is now online at "192.168.51.5"
00:00:01 - Qt Debug: Found update manifest match for current platform
00:00:01 - Qt Debug: Latest version of Moonlight for this platform is: "1.0.1"
00:00:01 - Qt Debug: Update manifest version equal to current version
00:00:09 - Qt Info: Server GPU: "TITAN Xp"
00:00:09 - Qt Info: Server GFE version: "3.19.0.107"
00:00:09 - SDL Info (0): Encoder configured for 4 slices per frame
00:00:09 - SDL Info (0): Video bitrate: 40000 kbps
00:00:09 - SDL Info (0): Audio configuration: 0
00:00:09 - SDL Info (0): V-sync enabled
00:00:09 - SDL Info (0): NSWindow on display: 2b107f4e
00:00:09 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] Format videotoolbox_vld chosen by get_format().
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] Format videotoolbox_vld requires hwaccel initialisation.
00:00:09 - FFmpeg: [h264 @ 0x7faccd8df200] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
00:00:09 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:09 - SDL Info (0): Audio backend: CoreAudio
00:00:09 - SDL Info (0): Selected audio device: AudioQuest DragonFly Red v1.0
00:00:09 - SDL Info (0): Native layout: Stereo (2 channels)
00:00:09 - SDL Info (0): Audio buffer size: 6 packets
00:00:10 - SDL Info (0): Audio latency: 0.000000
00:00:10 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:10 - SDL Info (0): Loaded 14 new gamepad mappings
00:00:10 - SDL Info (0): V-sync enabled
00:00:10 - SDL Info (0): NSWindow on display: 2b107f4e
00:00:10 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] Format videotoolbox_vld chosen by get_format().
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] Format videotoolbox_vld requires hwaccel initialisation.
00:00:10 - FFmpeg: [h264 @ 0x7faccd8e0800] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
00:00:10 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:11 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:11 - SDL Info (0): Loaded 14 new gamepad mappings
00:00:12 - Qt Info: Executing request: "https://192.168.51.5:47984/resume?uniqueid=0123456789ABCDEF&uuid=a23ef52b0b6f4e9f8b6af54f491ebc69&rikey=a3d4854555d6485c190b37016794d6c0&rikeyid=-1654510664&surroundAudioInfo=196610"
00:00:13 - SDL Info (0): Initializing platform...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Resolving host name...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting RTSP handshake...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing control stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing video stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing audio stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing input stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting control stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting video stream...
00:00:13 - SDL Info (0): Video stream is 2560x1440x60 (format 0x1)
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting audio stream...
00:00:13 - SDL Info (0): Audio backend: CoreAudio
00:00:13 - SDL Info (0): Selected audio device: AudioQuest DragonFly Red v1.0
00:00:13 - SDL Info (0): Native layout: Stereo (2 channels)
00:00:13 - SDL Info (0): Audio buffer size: 6 packets
00:00:14 - SDL Info (0): Audio stream has 2 channels
00:00:14 - SDL Info (0): done
00:00:14 - SDL Info (0): Starting input stream...
00:00:14 - SDL Info (0): done
00:00:14 - SDL Info (0): Qt UI screen is at (0,0)
00:00:14 - SDL Info (0): SDL found matching display 0
00:00:14 - SDL Warn (0): Unable to get window border size: That operation is not supported
00:00:14 - SDL Info (0): V-sync disabled
00:00:14 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] Format videotoolbox_vld chosen by get_format().
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] Format videotoolbox_vld requires hwaccel initialisation.
00:00:14 - FFmpeg: [h264 @ 0x7faccd30b800] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
00:00:14 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:14 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:14 - SDL Info (0): Using H.264 SPS fixup
00:00:14 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:14 - SDL Info (0): V-sync disabled
00:00:14 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] Format videotoolbox_vld chosen by get_format().
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] Format videotoolbox_vld requires hwaccel initialisation.
00:00:14 - FFmpeg: [h264 @ 0x7faccf22e000] Reinit context to 1280x720, pix_fmt: videotoolbox_vld
00:00:14 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:14 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:14 - SDL Info (0): Using H.264 SPS fixup
00:00:14 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:15 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:15 - SDL Info (0): IDR frame request sent
00:00:15 - SDL Info (0): Waiting for IDR frame
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] Format videotoolbox_vld chosen by get_format().
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] Format videotoolbox_vld requires hwaccel initialisation.
00:00:15 - FFmpeg: [h264 @ 0x7facce006a00] Reinit context to 2560x1440, pix_fmt: videotoolbox_vld
cgutman commented 5 years ago

This is on Nvidia's side, not ours.

justin-vt commented 5 years ago

FWIW https://github.com/jan-glx/accelSwitch is a workaround.

'accelswitch off' is a shortcut disable pointer precision until Moonlight is re-launched. Script it, or do whatever.

KryptonicDragon commented 5 years ago

However unhelpful this comment is, I'll just say that I'm also having the same issue.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

installgentoo commented 4 years ago

still happening

cgutman commented 4 years ago

Duplicate of moonlight-stream/nvidia-gamestream-issues#41

mitchellm commented 4 years ago

still a problem