Hi Redkoatz, what plarform are you running LE on?
Posts by ElBoluTony
-
-
Hi there,
I don't think this is a moonlight issue. I did a little bit of research in the forum and it seems like the global resolution is now configured with cmdline.txt, which also has a new syntax. I tried different options, but had no sweeping succuess, yet.
Hi Cillit, i've checked, yes, you're correct, while i could follow the guide on the Wiki and force Kodi into the desired resolution, Moonlight (and probably the QT apps) doesn't respond to this forced res.
Also can confirm on the streaming glitch.
Didn't tried on your (somewhat) working method, and i'm short of time to try right now but you've narrow a lot of options. :-S -
Hi there,
first of all I would like to thank you for this build. It's really nice to have moonlight-qt and xpadneo as part of libreelec.
I have got a little problem with moonlight. On 1080@60 i noticed some flickering in the upper third of the screen, especially if there is a lot going on, if nothing happens on the screen the flickering is not noticeable. I tried with v-sync on/off and forced h.264. While v-sync seems to make no difference, forced h.264 makes the flickering worse.
Greetings,
Cillit
Edit: If moonlight starts, the TV resolution switches to 4k@30, if a game stream starts the resolution still is at 4k@30, even if the streaming is set for 1080@60 inside moonlight. I have tried to force a resolution with the hdmi_mode solution mentioned in the wiki.
Hi Cillit, next weekend i'll test the new Build, i couldn't make it before, and give some feedback.
-
-
Hi Hias, just for the sake of the OP's problem, just tried with a clean installation, couldn't make it work.
-
No luck, its like kms driver has its own logic - ignoring all setup before
Hi! Sorry for the delay, i've just swapped the distro (was using LibreELEC-RR) on a new micro-SD, now i'm on nightly, just tested the previous guide and worked on 640*480 on a 4K TV. (Group 1 - Mode 1).
Be sure to comment the line disable_fw_kms_setup=1, or change it to 0 "disable_fw_kms_setup=0"! on flash/distroconfig.txtBye.
-
Hi Milika, could you test this guide?
PostRE: LibreELEC-RR [ Brave | Spotify | Moonlight | Emulationstation | Retroarch | Pegasus ]
[…]
Hope it helps!
1) In command line; first remount the /flash boot partition as read-write:
(Code, 1 line)
2) Then use nano to edit the distroconfig.txt:
(Code, 1 line)
3) Comment the line disable_fw_kms_setup=1, (This prevents to pick a mode from the EDID info coming from the HDMI) , should be the last line, number 8:
(Code, 1 line)
(Ctrl + o to save the file - Ctrl + x to exit nano)
4) Then use nano again to edit the config.txt:
(Code, 1 line)
5) At the end/bottom of the file add the hdmi mode…ElBoluTonyMarch 26, 2021 at 9:29 PM -
Hi SupervisedThinking, a question, it's possible to compile LE-RR for the RK3328 based Rock64? Thanks!
-
Hi, i've manage to get almost full speed in SM64 in N64 with 640*480 rendering resolution. Just a little shy in some areas.
I'm struggling to get 60fps in Quake (TyrQuake) in the same rendering resolution, but is working OK.
RetroArch window resolution is 1280*720.
No OC in my RPi4 whatsoever.
Will keep tinkering.
-
ElBoluTony alisson check out the new RPi4 build which includes linux (RPi): update to 5.10.25 by HiassofT · Pull Request #5273 · LibreELEC/LibreELEC.tv · GitHub
Awesome!! Moonlight-qt with 4K@30fps was quite playable, still lags some miliseconds to react, but is very good nonetheless.
Kudos to the LibreELEC team, Hias, and of course you Mr. SupervisedThinking
If only hyperion.ng worked... if only. -
Could you break down the fix step by step + commands? I'll add them to the Wiki then
Hope it helps!
1) In command line; first remount the /flash boot partition as read-write:2) Then use nano to edit the distroconfig.txt:
3) Comment the line disable_fw_kms_setup=1, (This prevents to pick a mode from the EDID info coming from the HDMI) , should be the last line, number 8:
(Ctrl + o to save the file - Ctrl + x to exit nano)
4) Then use nano again to edit the config.txt:
5) At the end/bottom of the file add the hdmi mode desired; hdmi_group=n (1 for CEA - standard for TVs, 2 for DMT - standard for Monitors) and then hdmi_mode=n (you can find the modes listed in Video options in config.txt - Raspberry Pi Documentation )
(ie. for a TV@1080p60hz )
(Ctrl + o to save the file - Ctrl + x to exit nano)
6) Then reboot to check the changes:
The /flash partition will be marked as read-only after reboot.
Uncommenting the line of step 3 will prevent to the HDMI mode to take effect.
-
-
-
-
What does convert 60fps to 30fps? Or did you run 4k@30Hz and moonlight-qt?
Hi! The max output supported in RPi4 is 4K@30
Enabling 4K@60 breaks things, there are a couple of threads on this and Hias just confimed.
So running moonlight-qt at 720p/1080p@60 and the RPi4 and TV/Monitor at 4K@30 will probably desync the vertical refresh.
I don't get any tearing running moonlight-qt at HEVC 720p/1080p@30 in my RPi4/TV at 4K@30Quotecould you force 1080p@60Hz by using this resolution in Kodi or by config.txt?
In Kodi makes no effect. will try on config.txt later.
-
Hi you all SupervisedThinking alisson, sorry, i was out yesterday, i've made test in Doom Eternal and here are my results:
(Of course visually i can't check the 60FPS as the KMS driver doesn't render 4K60P).
Running perfectly. No problems so far.
EDIT: moonlight is working always in native monitor/tv resolution. Even if set lower resolution Moonlight.conf it always uses native tv resolution. I just test in a 4K TV and the result are terrible (lot tearing). Maybe a bug in moonlight.
Video Codec - Automatic (HEVC)
720p 60FPS - It tears the Screen, probably from the 60fps to 30fps conversion.
1080p 60FPS - It tears the Screen, probably from the 60fps to 30fps conversion.
4K 60FPS - Lags, and it's unplayable.
720p 30FPS - Lags a little, maybe it's 'cause i'm used to 60fps. no tearing whatsoever
1080p 30FPS - Lags a little, maybe it's 'cause i'm used to 60fps, no tearing whatsoever
4K 30FPS - Lags, and it's unplayable.
-----
Video Codec - H.264
720p 60FPS - Lags, but no tearing, weird, ckecked again after the log dump ¿Maybe H.264 doesn't render 720p/60fps and runs at 30fps?
1080p 60FPS - Lags and add some black frames Decoding artifacts. and later adds more lag.
4K 60FPS - Of course it's unsupported, but tried anyways, black screen.
720p 30FPS - Lags
1080p 30FPS - Lags. Decoding artifacts.
4K 30FPS - Of course it's unsupported, but tried anyways, black screen
-----
Video Codec - HEVC
720p 60FPS - It tears the Screen, probably from the 60fps to 30fps conversion.
1080p 60FPS - It tears the Screen, probably from the 60fps to 30fps conversion.
4K 60FPS - Lags, and it's unplayable.
720p 30FPS - Lags a little, maybe it's 'cause i'm used to 60fps. no tearing whatsoever
1080p 30FPS - Lags a little, maybe it's 'cause i'm used to 60fps, no tearing whatsoever
4K 30FPS - Lags, and it's unplayable.
My best results with the current state is HEVC 720p/1080p 30FPS, and ignore completly the H.264 decoder if it is possible.
The tests were run in the same order as above (sorry for the english if it's broken) : https://drive.google.com/file/d/1B6Si6k…iew?usp=sharing
-
-
Perfect! So could you download & unzip those scripts on your RPi?
Log: https://drive.google.com/file/d/1NQwofH…iew?usp=sharing
The files DFD1 got a typo at line 27.
export DRM_FORCE_DIRECT=0
So, the files are equal, i modified it, the last run is with "export DRM_FORCE_DIRECT=1", and HEVC show a picture!!Bravo!!