-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added option for creating custom resolutions #1349
base: master
Are you sure you want to change the base?
Conversation
Please merge this to master. This custom resolution has been requested for few years already. Thank you! |
太感谢了 |
I would love to see this becoming part of the official repo |
I can't thank you enough |
@cgutman please merge this to master when you have time, i love moonlight but this holds back a lot of people :) |
This would be a fantastic addition to the master repo |
Tested it as well on my device and it is a really useful functionality. It would be worth to merge it. Thank you Maurilho! |
Yes, please merge it because on samsung dex on my ultrawide monitor (3440x1440) i can t use on moonlight that resolution. My only choice are 2560x1440 or 4k resolution Thank in advance for your good work.😀 |
@LuisB79 I am not a maintainer here, but my guess is that it needs to be reviewed and properly tested. |
import com.limelight.utils.Dialog; | ||
import com.limelight.utils.UiHelper; | ||
|
||
import java.lang.reflect.Method; | ||
import java.util.Arrays; | ||
import java.util.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know wildcard imports are used in a few other places, but I'm not sure it's a good practice.
import android.widget.*; | ||
import com.limelight.R; | ||
|
||
import java.util.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment
<path | ||
android:fillColor="#FFFFFF" | ||
android:pathData="M17.114,3.923h-4.589V2.427c0-0.252-0.207-0.459-0.46-0.459H7.935c-0.252,0-0.459,0.207-0.459,0.459v1.496h-4.59c-0.252,0-0.459,0.205-0.459,0.459c0,0.252,0.207,0.459,0.459,0.459h1.51v12.732c0,0.252,0.207,0.459,0.459,0.459h10.29c0.254,0,0.459-0.207,0.459-0.459V4.841h1.511c0.252,0,0.459-0.207,0.459-0.459C17.573,4.127,17.366,3.923,17.114,3.923M8.394,2.886h3.214v0.918H8.394V2.886z M14.686,17.114H5.314V4.841h9.372V17.114z M12.525,7.306v7.344c0,0.252-0.207,0.459-0.46,0.459s-0.458-0.207-0.458-0.459V7.306c0-0.254,0.205-0.459,0.458-0.459S12.525,7.051,12.525,7.306M8.394,7.306v7.344c0,0.252-0.207,0.459-0.459,0.459s-0.459-0.207-0.459-0.459V7.306c0-0.254,0.207-0.459,0.459-0.459S8.394,7.051,8.394,7.306"/> | ||
</vector> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</vector> | |
</vector> | |
Probably a good practice to have an empty blank line at the end of each file.
Is this version available somewhere? Would love to try it on my tab a9+ that is refusing to use native resolution |
any updates on this? |
yeah its unfortunate.....i really want to get my hands on a moonlight version with custom resolution support cause that would be so useful |
There is this version that one guy made that I'm using.
Add 1680x1050 res is working with a9+
https://github.com/MaurilhoB/moonlight-android/releases/tag/v12.1
@alphain24
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 10:00:38 AM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
Sadly not.
Everyone I ask begins to talk about a9+ isn't capable and it's demanding but that is just wrong and they don't know what they are talking about.
Using a moonlight version with custom resolution support for now @alphain24<https://github.com/alphain24>
yeah its unfortunate.....i really want to get my hands on a moonlight version with custom resolution support cause that would be so useful
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSNNX3M4Z4JCJLA7S732GZ5TNAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM4DGNZQGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I just tested it out with 1920x864 and it seems to be working perfectly!! Finally!!!! |
Glad to hear! :) would be nice to be able to use 90hz too.. Bought this tablet for that reason because I gave my s6 lite away.. Would be good too have a dev look at our issue if it's moonlight or Samsungs issue |
90Hz seems to be working on my device! no issues what so ever...you have use the virtual display driver and give it the 90hz refresh rate!! Works flawless |
What os do you use and can you choose 90 in fps menu in moonlight? If you turn on stats it shows |
so i basically use my phone and it has a 90hz display so it just shows me the 90hz option in moonlight and the os i use is xiomi...i tested with apple as well and the ios app seems to have the custom resolution feature already. but yes i have the 90fps in the menu in moonlight. you might have to turn on 90hz on your display first in your settings |
Ah yeah I use 120 on my xperia 1 III so that was working with latest moonlight.
Also use a dummy plug with moonlight
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 4:31:10 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
so i basically use my phone and it has a 90hz display so it just shows me the 90hz option in moonlight and the os i use is xiomi...i tested with apple as well and the ios app seems to have the custom resolution feature already. but yes i have the 90fps in the menu in moonlight. you might have to turn on 90hz on your display first in your settings
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSNPYTWBSIQVKPO3FWT2G3LL5AVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGQ4TGNZRG4>.
You are receiving this because you commented.Message ID: ***@***.***>
|
you might want to switch to 90hz if possible if you cant im sure there are ways to achieve it but once you get 90hz on the display itself and you select 90hz on moonlight...you wont get the error -5 |
My device run on 90hz and my display is 1920x1200 but in moonlight it says my device don't support that so something is wrong
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 4:34:49 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
you might want to switch to 90hz if possible if you cant im sure there are ways to achieve it but once you get 90hz on the display itself and you select 90hz on moonlight...you wont get the error -5
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSIHRAX3WELWUMGZRUD2G3LZTAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGQ4TINZZHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
something is definitely messed up then....you might need to do some tests and what not to figure out the solution |
Moonlight says my decoder dont support that resolution but my old old nexus 9 do...
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 4:59:20 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
something is definitely messed up then....you might need to do some tests and what not to figure out the solution
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSNRWSYF4V5GGFZDMGL2G3OVRAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUYDCNRWHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
what resolution are you using on your host? |
It's different because I use a dummy plug and use multiple devices
On my surface I use 2736x1824 60fps
Phone I use 2560x1096 120fps
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 5:07:19 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
what resolution are you using on your host?
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSMLZZPVA6KADD2SFNT2G3PTPAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUYDIMRXGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
download the beta version of virtual display driver and you can add a custom resolution like 1680x1050 there is a video from mike the tech on this and just make sure that you use that resolution on the display driver. then i believe you should have no issues https://www.youtube.com/watch?v=tyC9h0IbqsQ&t=176s&pp=ygUbdmlydHVhbCBkaXNwbGF5IGRyaXZlciBiZXRh |
Its not host it's my device
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 5:35:16 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
download the beta version of virtual display driver and you can add a custom resolution like 1680x1050
there is a video from mike the tech on this and just make sure that you use that resolution on the display driver. then i believe you should have no issues
https://www.youtube.com/watch?v=tyC9h0IbqsQ&t=176s&pp=ygUbdmlydHVhbCBkaXNwbGF5IGRyaXZlciBiZXRh
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSMIS6663ED23BUX5232G3S4JAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUYTENJSGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
ahh i see thats true but maybe try it once? who knows it might fix it |
Because my host works with every other device I have
…________________________________
From: alphain24 ***@***.***>
Sent: Sunday, December 22, 2024 6:20:18 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
ahh i see thats true but maybe try it once? who knows it might fix it
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSPY7AVPXQYKZKDREW32G3YFFAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUZDMMJQHA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
i see! im not sure what the issue is then? |
My issue is that my a9+ can't run at it's native fps and resolution
…________________________________
From: alphain24 ***@***.***>
Sent: Tuesday, December 24, 2024 2:29:07 PM
To: moonlight-stream/moonlight-android ***@***.***>
Cc: Steso871 ***@***.***>; Comment ***@***.***>
Subject: Re: [moonlight-stream/moonlight-android] Added option for creating custom resolutions (PR #1349)
i see! im not sure what the issue is then?
—
Reply to this email directly, view it on GitHub<#1349 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXXNTSK5U6SJNH5CZCSZA5L2HFOSHAVCNFSM6AAAAABFJF3E22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGEZTEMBWGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Added an option for users to create their own custom resolutions in the desired aspect ratio. If the user has a phone with a 20:9 aspect ratio and a resolution of 2400x1080, they could scale it down to 1920x864 and still have full screen utilization.
I had this problem with my native resolution not being supported by the decoder, so I made this adjustment to enable full screen utilization simply by downscaling the resolution.