Moonlight freezes after a few seconds
-
@Anon still the same problem ? Have you edited the moonlight.conf file ?
-
@Substring Isn't a full blackscreen anymore, it has the recalbox footer and stays black. But yes, config should be standard:
##Hostname or IP-address of host to connect to
##By default host is autodiscovered using mDNS
#address =##Video streaming configuration
width = 1920
height = 1080
fps = 60##Bitrate depends by default on resolution and fps
##Set to -1 to enable default
##20Mbps (20000) for 1080p (60 fps)
##10Mbps (10000) for 1080p or 60 fps
##5Mbps (5000) for lower resolution or fps
bitrate = -1##Size of network packets should be lower than MTU
#packetsize = 1024##Default started application on host
#app = Steam##Default used mapping for streaming
##Searched for in $XDG_DATA_DIRS/moonlight or /usr/share/moonlight and /usr/local/share/moonlight
##Mapping can also be user overrided in $XDG_CONFIG_DIR/moonlight or ~/.config/moonlight or current directory
#mapping = mappings/default.conf##Enable selected input devices
##By default all available input devices should be used
##Only evdev devices /dev/input/event* are allowed
##To use a different mapping then default another mapping should be declared above the input
#input = /dev/input/event1##Let GFE change graphical game settings for optimal performance and quality
sops = true##Play audio on host instead of streaming to client
#localaudio = false##Select audio device to play sound on
#audio = sysdefault##Select the audio and video decoder to use
##default - autodetect
##omx - hardware video decoder for Raspberry Pi
##imx - hardware video decoder for i.MX6 devices
##sdl - software decoder
##fake - save to file (only available in debug builds)
platform = default##Directory to store encryption keys
##By default keys are stored in $XDG_CACHE_DIR/moonlight or ~/.cache/moonlight
keydir = /recalbox/share/system/configs/moonlight/keydir##Load additional configuration files
#config = /path/to/config -
I'm clueless ... Woumd need to manually launch moonlight
-
@Substring Mh, I will try some things then. What do you mean with "Woumd need to manually launch moonlight"?
-
@Anon I need you to start moonlight the way recalbox does it so that we can check the output of moonlight.
-
@Substring Hey, not quite sure what you mean. Mind explaining?
What I did now was editing the Moonlight conf, set a bitrate of 50000 and set the platform to "pi", sops to false.
I installed the newest drivers from a few days ago and installed GFE 3.1.2.31, cleaned everything and paired with still the same result.The only error output when launching is:
Failed to initialize libcec interfaceThe rest is just a mass spam of:
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet after queue overgrowth
Returning RTP packet after queue overgrowth
Network dropped end of a frame
Returning RTP packet after queue overgrowth
Network dropped end of a frame
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet after queue overgrowth
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Returning RTP packet after queue overgrowth
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Waiting for IDR frame
IDR frame request sent
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Returning RTP packet queued for too long
Waiting for IDR frame
Waiting for IDR frame
IDR frame request sent
Returning RTP packet queued for too long
Network dropped middle of a frame
Returning RTP packet queued for too longIt's still just the recalbox footer in a black screen with sound.
-
@Substring Some more research:
[ 188.20] : HOME=/recalbox/share/system LC_ALL="de_DE.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_NOMOUSE=1 /usr/bin/emulationstation; [ -f /tmp/shutdown.please ] && (shutdown -h now);[ -f /tmp/reboot.please ] && (shutdown -r now)
['/usr/bin/moonlight', 'stream', '-config', '/recalbox/share/system/configs/moonlight/moonlight.conf', '-mapping', '/recalbox/share/system/configs/moonlight/mappingP3.conf', '-input', '/dev/input/event2', '-mapping', '/recalbox/share/system/configs/moonlight/mappingP2.conf', '-input', '/dev/input/event1', '-mapping', '/recalbox/share/system/configs/moonlight/mappingP1.conf', '-input', '/dev/input/event0', '-app', 'Dolphin']
---- recalbox-config.sh ---- -
@Anon Please make a support archive https://github.com/recalbox/recalbox-os/wiki/Recalbox-support-(EN) and upload it somewhere so that i can check some logs
-
-
@Anon Sorry for the late reply ...
Does this happen only with Dolphin ? You'd better try wihth some supported Steam games first.Anyway, what I was looking for is the command :
'/usr/bin/moonlight stream -config /recalbox/share/system/configs/moonlight/moonlight.conf -mapping /recalbox/share/system/configs/moonlight/mappingP3.conf -input /dev/input/event2 -mapping /recalbox/share/system/configs/moonlight/mappingP2.conf -input /dev/input/event1 -mapping /recalbox/share/system/configs/moonlight/mappingP1.conf -input /dev/input/event0 -app 'Call of Duty: Advanced Warfare Multiplayer'
: launch it, and give me its outputI'd also need the output of
/recalbox/scripts/moonlight/Moonlight.sh list
-
/recalbox/scripts/moonlight/Moonlight.sh list
Moonlight Embedded 2.2.2 (EMBEDDED;CEC;PI)
Too many options: No such file or directory
Moonlight Embedded 2.2.2 (EMBEDDED;CEC;PI)
Searching for server...
Connect to 192.168.178.21...
NVIDIA GeForce GTX 770, GFE 3.1.2.31 (protocol version 7)- Dolphin
- Cemu
- Orcs Must Die! 2
- DOTA 2
- Saints Row IV (DX 11)
- Tom Clancy's Rainbow Six Siege
- Counter Strike: Global Offensive
- PAYDAY 2
- Diablo III
- The Elder Scrolls V: Skyrim
- Grand Theft Auto V
- Steam
- 战舰世界
- Watch_Dogs 2
- Paragon
- Team Fortress 2
- Minecraft
- Call of Duty: Advanced Warfare Multiplayer
- Overwatch
- Heroes of the Storm
- Warframe
- Diablo III
- Arma 3
- Ghost Recon Wildlands
- Overwatch
- Call of Duty: Advanced Warfare
/usr/bin/moonlight stream -config /recalbox/share/system/configs/moonlight/moonlight.conf -mapping /recalbox/share/system/configs/moonlight/mappingP3.conf -input /dev/input/event2 -mapping /recalbox/share/system/configs/moonlight/mappingP2.conf -input /dev/input/event1 -mapping /recalbox/share/system/configs/moonlight/mappingP1.conf -input /dev/input/event0 -app 'Call of Duty: Advanced Warfare Multiplayer'
Moonlight Embedded 2.2.2 (EMBEDDED;CEC;PI)
Searching for server...
Connect to 192.168.178.21...
NVIDIA GeForce GTX 770, GFE 3.1.2.31 (protocol version 7)
Add input /dev/input/event2 (mapping /recalbox/share/system/configs/moonlight/mappingP3.conf)...
Add input /dev/input/event1 (mapping /recalbox/share/system/configs/moonlight/mappingP2.conf)...
Add input /dev/input/event0 (mapping /recalbox/share/system/configs/moonlight/mappingP1.conf)...
libcec.so.3: cannot open shared object file: No such file or directory
libcec.so.3: cannot open shared object file: No such file or directory
Failed to initialize libcec interface
Stream 1920 x 1080, 60 fps, 50000 kbps
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 after queue overgrowth
Network dropped middle of a frame
Returning RTP packet after queue overgrowth
Returning RTP packet after queue overgrowth
Returning RTP packet after queue overgrowth
Returning RTP packet after queue overgrowth
Returning RTP packet queued for too longJust a black screen with recalbox footer.
-
Are you running this over LAN or WiFi ? (don't use wifi ...)
Do you have moonlight on your phone ? does the same problem happen ?
-
@Substring It's wired. Phone works fine.. didn't think about that lol. So it must be the Pi...