moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.5k stars 326 forks source link

Stream crashes and stutters #590

Open remingtonH opened 6 years ago

remingtonH commented 6 years ago

Please provide the following info.

NVidia Geforce Experience version:3.10.0.95 Moonlight Embedded version:2.4.4 Moonlight Embedded source: repository/included in distribution/compiled from source/... Moonlight Embedded running on: _Raspberry Pi 3 Moonlight Embedded running on distribution: Arch Linux/Raspbian/OpenELEC/...

Verbose output -verbose of Moonlight Embedded: Initializing platform...done Resolving host name...done Starting RTSP handshake...done Initializing control stream...done Initializing video stream...done Initializing audio stream...done Initializing input stream...done Starting control stream...done Starting video stream...done Starting audio stream...done Starting input stream...done Returning RTP packet queued for too long Received OOS audio data (expected 34925, but got 34926) Unrecoverable frame 588: 5+0=5 received < 7 needed Network dropped an entire frame Waiting for IDR frame Waiting for IDR frame IDR frame request sent Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Returning RTP packet queued for too long Received OOS audio data (expected 39175, but got 39177) Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Returning RTP packet queued for too long Received OOS audio data (expected 39203, but got 39205) Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Waiting for IDR frame Returning RTP packet after queue overgrowth Received OOS audio data (expected 39230, but got 39232) Returning RTP packet queued for too long Received OOS audio data (expected 46088, but got 46092) Returning RTP packet queued for too long Received OOS audio data (expected 46093, but got 46095) Returning RTP packet queued for too long Received OOS audio data (expected 46101, but got 46104) Control stream received disconnect event Loss Stats: Transaction failed: 11 Stopping input stream...done Stopping audio stream...done Stopping video stream...done Stopping control stream...done Cleaning up input stream...done Cleaning up audio stream...done Cleaning up video stream...done Cleaning up control stream...done Cleaning up platform...done

What is the expected result? Streaming at a clean and steady rate at 1080 What happens instead of that? the pi streams steam, and it works with relatively no lag for about a minute, then I start getting these errors, and it gets choppy and laggy, and crashes

HexHyte commented 6 years ago

Same exact problem here.. seems a bitrate related problem to me. Streaming 1080p at 45fps with 15k bitrate everything go amazingly smooth for about a minute and then BAM it starts to lag, freeze and eventually crash... why this is happening??

greenimpala commented 5 years ago

Same problem here on Rasberry PI 2. I am using latest moonlight compiled myself. Works fine on 720. As soon as I put it to 1080 it crashes / lags out / video freezes etc. :( @Droid22 @HexHyte @remingtonH did anybody find a solution?

update

I was using an xbox 360 wired controller. Uninstalling xboxdrv seems to do the trick for some reason and the controller still works.

sudo apt-get remove xboxdrv