displaymode icon indicating copy to clipboard operation
displaymode copied to clipboard

MacBook Pro M2 14" resolutions not available

Open lucouto opened this issue 1 year ago • 3 comments

Describe the bug When I run ./displaymode d I get a list of resolutions but none similar to those available in the Display Settings.

Screenshot 2024-10-27 at 13 55 40

To Reproduce Steps to reproduce the behavior:

  1. Start with resolution 1512 x 982 @120.0Hz *
  2. Run the command displaymode d

Expected behavior I was expecting the same list available in the Display Settings

Screenshot 2024-10-27 at 13 57 27

Instead, I'm getting this: Display 0 (MAIN): 1920 x 1200 @120.0Hz 1920 x 1200 @60.0Hz 1920 x 1200 @59.9Hz 1920 x 1200 @50.0Hz 1920 x 1200 @48.0Hz 1920 x 1200 @47.9Hz 2048 x 1280 @120.0Hz 2048 x 1280 @60.0Hz 2048 x 1280 @59.9Hz 2048 x 1280 @50.0Hz 2048 x 1280 @48.0Hz 2048 x 1280 @47.9Hz 2048 x 1330 @120.0Hz 2048 x 1330 @60.0Hz 2048 x 1330 @59.9Hz 2048 x 1330 @50.0Hz 2048 x 1330 @48.0Hz 2048 x 1330 @47.9Hz 2294 x 1432 @120.0Hz 2294 x 1432 @60.0Hz 2294 x 1432 @59.9Hz 2294 x 1432 @50.0Hz 2294 x 1432 @48.0Hz 2294 x 1432 @47.9Hz 2294 x 1490 @120.0Hz 2294 x 1490 @60.0Hz 2294 x 1490 @59.9Hz 2294 x 1490 @50.0Hz 2294 x 1490 @48.0Hz 2294 x 1490 @47.9Hz 2560 x 1600 @120.0Hz 2560 x 1600 @60.0Hz 2560 x 1600 @59.9Hz 2560 x 1600 @50.0Hz 2560 x 1600 @48.0Hz 2560 x 1600 @47.9Hz 2704 x 1690 @120.0Hz 2704 x 1690 @60.0Hz 2704 x 1690 @59.9Hz 2704 x 1690 @50.0Hz 2704 x 1690 @48.0Hz 2704 x 1690 @47.9Hz 2704 x 1756 @120.0Hz 2704 x 1756 @60.0Hz 2704 x 1756 @59.9Hz 2704 x 1756 @50.0Hz 2704 x 1756 @48.0Hz 2704 x 1756 @47.9Hz 3024 x 1890 @120.0Hz 3024 x 1890 @60.0Hz 3024 x 1890 @59.9Hz 3024 x 1890 @50.0Hz 3024 x 1890 @48.0Hz 3024 x 1890 @47.9Hz 3024 x 1964 @120.0Hz 3024 x 1964 @60.0Hz 3024 x 1964 @59.9Hz 3024 x 1964 @50.0Hz 3024 x 1964 @48.0Hz 3024 x 1964 @47.9Hz 1512 x 982 @120.0Hz

Desktop (please complete the following information):

  • OS: macOS 15.0.1
  • Device: MacBook Pro (14-inch, 2023) Apple M2 Pro

Additional context Even more, when I change the resolution using ./displaymode t 3024 1890 @120.0Hz for example, the default resolution of 1512 x 982 @120.0Hz does not appear as available any more!

Could not find a mode for resolution 1512x982 @120.0

Display 0 (MAIN): 1920 x 1200 @120.0Hz 1920 x 1200 @60.0Hz 1920 x 1200 @59.9Hz 1920 x 1200 @50.0Hz 1920 x 1200 @48.0Hz 1920 x 1200 @47.9Hz 2048 x 1280 @120.0Hz 2048 x 1280 @60.0Hz 2048 x 1280 @59.9Hz 2048 x 1280 @50.0Hz 2048 x 1280 @48.0Hz 2048 x 1280 @47.9Hz 2048 x 1330 @120.0Hz 2048 x 1330 @60.0Hz 2048 x 1330 @59.9Hz 2048 x 1330 @50.0Hz 2048 x 1330 @48.0Hz 2048 x 1330 @47.9Hz 2294 x 1432 @120.0Hz 2294 x 1432 @60.0Hz 2294 x 1432 @59.9Hz 2294 x 1432 @50.0Hz 2294 x 1432 @48.0Hz 2294 x 1432 @47.9Hz 2294 x 1490 @120.0Hz 2294 x 1490 @60.0Hz 2294 x 1490 @59.9Hz 2294 x 1490 @50.0Hz 2294 x 1490 @48.0Hz 2294 x 1490 @47.9Hz 2560 x 1600 @120.0Hz 2560 x 1600 @60.0Hz 2560 x 1600 @59.9Hz 2560 x 1600 @50.0Hz 2560 x 1600 @48.0Hz 2560 x 1600 @47.9Hz 2704 x 1690 @120.0Hz 2704 x 1690 @60.0Hz 2704 x 1690 @59.9Hz 2704 x 1690 @50.0Hz 2704 x 1690 @48.0Hz 2704 x 1690 @47.9Hz 2704 x 1756 @120.0Hz 2704 x 1756 @60.0Hz 2704 x 1756 @59.9Hz 2704 x 1756 @50.0Hz 2704 x 1756 @48.0Hz 2704 x 1756 @47.9Hz 3024 x 1890 @120.0Hz * 3024 x 1890 @60.0Hz 3024 x 1890 @59.9Hz 3024 x 1890 @50.0Hz 3024 x 1890 @48.0Hz 3024 x 1890 @47.9Hz 3024 x 1964 @120.0Hz 3024 x 1964 @60.0Hz 3024 x 1964 @59.9Hz 3024 x 1964 @50.0Hz 3024 x 1964 @48.0Hz 3024 x 1964 @47.9Hz

So it's necessary to go back to 1512 x 982 @120.0Hz using the Display Settings

lucouto avatar Oct 27 '24 13:10 lucouto

Thanks for the detailed bug report, the extra information really does help.

I think the problem here is that displaymode is encountering some inconsistencies between raw pixel and scaled resolutions. That and Core Graphics treating the current resolution as a special case (which is why you can see 1512 x 982 when it's already selected but not afterwards - I suspect 1512 x 982 may actually physically be 3024 x 1964 with a scaling of 0.5).

I'll need to do some more investigation (ETA in the next week or two) but I think the solutions may be as suggested here: https://stackoverflow.com/a/30901980/135385

p00ya avatar Oct 29 '24 11:10 p00ya

Nice, thanks for the reply. Maybe a look at displayplacer may help?

lucouto avatar Oct 29 '24 11:10 lucouto

Sorry for the delay.

Please have a go from the dev branch (https://github.com/p00ya/displaymode/tree/dev).

Other than 1512 x 982, it seems like the lists match? Or have I missed something?

p00ya avatar Dec 07 '24 04:12 p00ya