Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Unsolved How to enable 1080p in Moonlight on RPi4

    Emulator Arcade/PC/Console
    1080p moonlight rpi4 recalbox 9.1
    2
    3
    614
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • porst17
      porst17 last edited by porst17

      If spent the afternoon setting up Sunshine (Linux PC) and Moonlight (Recalbox 9.1 on RPi4), but can't get Moonlight to accept 1080p streams. My findings:

      • Streaming from Sunshine to Moonlight on a MacBook works flawlessly in 1080p, both in h.264 and h.265, so I could confirm that the encoder is working as expected on the Sunshine side.
      • I modified the moonlight_*.conf files located in /recalbox/share/system/configs/moonlight/ such that the video settings becomewidth=1920, height=1080, fps=60, but it does not seems to have any effect.
      • I manually ran the command that is issued from EmulationStation when MoonLight is launched, but I added the --resolution 1920x1080 --fps 60 switches. With these options, 1080p streaming works as expected. However, I have no idea how to permanently add these switches to the command (and I'd prefer adjusting the moonlight config files).
      • Is this a bug or am I doing something wrong?

      Any help is appreciated.

      1 Reply Last reply Reply Quote 1
      • porst17
        porst17 last edited by

        I finally managed to figure it out. The reason why the above config files don't have any effect is simple, but not obvious: There are two variants of the Moonlight front-end: moonlight-embedded and moonlight-qt. The files in /recalbox/share/system/configs/moonlight are for moonlight-embedded, but Recalbox uses moonlight-qt on RPi4. Therefore, another config file is used which is located at: /recalbox/share/system/.config/Moonlight\ Game\ Streaming\ Project/Moonlight.conf.

        It was not clear to me how to modify the config to switch to 1080p. The file is normally managed through the Qt front-end and not directly edited. So I installed moonlight-qt onto another Linux box, applied the settings through the UI and checked the config file. There required settings are part of the [General] section:

        [General]
        width=1920
        height=1080
        fps=60
        

        Porting the settings over to my RPi4 Recalbox finally made it stream my 1080p desktop in 1080p! Looks much better now!

        1 Reply Last reply Reply Quote 0
        • Zoya
          Zoya Banned last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Locked by  admin admin 
          • First post
            Last post

          Want to support us ?

          99
          Online

          98.7k
          Users

          28.1k
          Topics

          187.0k
          Posts

          Copyright © 2021 recalbox.com