Skip to content
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

Support for retina resolutions. #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Support for retina resolutions. #23

wants to merge 3 commits into from

Conversation

bn3t
Copy link

@bn3t bn3t commented Jun 12, 2016

Supporting retina resolutions is described here: http://lists.apple.com/archives/cocoa-dev/2014/May/msg00262.html. I found some code to help me here: https://github.com/kaoru-sakurazaka/chreso/blob/master/chreso/main.c.

@bn3t bn3t closed this Apr 4, 2017
@bn3t bn3t reopened this Jan 1, 2018
@bn3t
Copy link
Author

bn3t commented Jan 1, 2018

It seems this was approved but never merged. Would you be so kind to merge it?

jjarava added a commit to jjarava/screenresolution that referenced this pull request Jan 15, 2019
jjarava added a commit to jjarava/screenresolution that referenced this pull request Jan 15, 2019
Let’s see if this works…
@jjarava
Copy link

jjarava commented Jan 15, 2019

I've applied this to the base tree and it doesn't work; I get a very long list of "repeated" resolutions when I do a "list":

Available Modes on Display 0
  640x480x32@60        	1280x1024x32@60      	2048x1152x32@60
  640x480x32@60        	1280x720x32@60       	2048x1152x32@60
  640x480x32@60        	1280x720x32@60       	2048x1152x32@60
  640x480x32@60        	1280x960x32@60       	2048x1152x32@60
  720x480x32@60        	1280x960x32@60       	2304x1296x32@60
  720x480x32@60        	1344x1008x32@60      	2304x1296x32@60
  800x600x32@60        	1344x1008x32@60      	2304x1296x32@60
  800x600x32@60        	1344x756x32@60       	2304x1296x32@60
  800x450x32@60        	1344x756x32@60       	2560x1440x32@60
  800x450x32@60        	1504x846x32@60       	2560x1440x32@60
  800x600x32@60        	1504x846x32@60       	2560x1440x32@60
  800x600x32@60        	1600x900x32@60       	2560x1440x32@60
  960x540x32@60        	1600x900x32@60       	3008x1692x32@60
  960x540x32@60        	1600x1200x32@60      	3008x1692x32@60
  960x540x32@60        	1600x1200x32@60      	3008x1692x32@60
  960x540x32@60        	1600x900x32@60       	3008x1692x32@60
  1024x576x32@60       	1600x900x32@60       	3200x1800x32@60
  1024x576x32@60       	1680x945x32@60       	3200x1800x32@60
  1024x768x32@60       	1680x945x32@60       	3200x1800x32@60
  1024x768x32@60       	1920x1080x32@30      	3200x1800x32@60
  1024x576x32@60       	1920x1080x32@30      	3360x1890x32@60
  1024x576x32@60       	1920x1080x32@60      	3360x1890x32@60
  1152x648x32@60       	1920x1080x32@60      	3360x1890x32@60
  1152x648x32@60       	1920x1080x32@60      	3360x1890x32@60
  1280x720x32@60       	1920x1080x32@60      	3840x2160x32@30
  1280x720x32@60       	1920x1080x32@60      	3840x2160x32@30
  1280x1024x32@60      	1920x1080x32@60      	3840x2160x32@60
  1280x1024x32@60

Available Modes on Display 1
  640x480x32@0         	1024x640x32@0        	1440x900x32@0
  640x480x32@0         	1024x768x32@0        	1440x900x32@0
  720x450x32@0         	1024x768x32@0        	1650x1050x32@0
  720x450x32@0         	1152x720x32@0        	1650x1050x32@0
  800x600x32@0         	1152x720x32@0        	1680x1050x32@0
  800x600x32@0         	1280x800x32@0        	1680x1050x32@0
  825x525x32@0         	1280x800x32@0        	2048x1280x32@0
  825x525x32@0         	1280x800x32@0        	2048x1280x32@0
  840x524x32@0         	1280x800x32@0        	2560x1600x32@0
  840x524x32@0         	1440x900x32@0        	2560x1600x32@0
  1024x640x32@0        	1440x900x32@0        	2880x1800x32@0
  1024x640x32@0

but trying to do a "set" will get me an error:

./screenresolution set 1920x1080x32@60
2019-01-15 11:38:47.680 screenresolution[5433:364720] starting screenresolution argv=./screenresolution set 1920x1080x32@60
2019-01-15 11:38:47.686 screenresolution[5433:364720] Error: mode [email protected] not available on display 0

Anyhow, looking at #21, I've found a (different) project that supports changing resolution from the command line: https://github.com/avibrazil/RDM

So in a way, this project has got me where I wanted...

@PixPMusic
Copy link

PixPMusic commented Jan 15, 2019 via email

@jhford
Copy link
Owner

jhford commented Jan 25, 2019

Who or what is IPonyRadio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants