Skip to content

Dota 2 on macOS does not support Retina resolutions #247

Open

Description

@troughton

When playing the game on macOS in a Retina display configuration, the highest displayed resolution in the Settings window is the point resolution (rather than pixel resolution) of the screen.

This occurs for both OpenGL and MoltenVK. A possible fix might be to pass SDL_WINDOW_ALLOW_HIGHDPI in the flags for creating the SDLWindow.

If the desktop resolution is manually set to non-retina mode (e.g. 5120x2880 rather than 2560x1440 HiDPI), Dota 2 correctly displays the full range of resolutions.

Activity

  1. self-assigned this
    on Jun 1, 2018
  2. jeanlain commented on Jun 2, 2018

    @jeanlain

    You can pick 5120*2880 by choosing "exclusive fullscreen".

  3. troughton commented on Jun 2, 2018

    @troughton
    Author

    Exclusive fullscreen does work, but unfortunately breaks Cmd-Tab and Mission Control. It's certainly possible to support both the standard macOS windowing model (Desktop-friendly fullscreen) and also expose the full range of resolutions.

  4. jeanlain commented on Jun 3, 2018

    @jeanlain

    Indeed, and other games support this without issue. I even think that some source game do.

  5. jeanlain commented on Jun 15, 2018

    @jeanlain

    Dota 2 may be one of the very few recent games not supporting high-dpi resolutions. Is there a particular reason for this? Will this be a "won't fix"?
    I also suspect that enabling high resolutions will also remove the blur effect due to magnification (at 1/2 screen resolution).

  6. dannyboy90 commented on Dec 14, 2018

    @dannyboy90

    Well I'm glad to see they've got it fixed in Artifact, there, you can choose between 2560x1440 and 2560x1440 (Retina) mode.

    Wish they could deliver the same fix to Dota as well!

  7. danginsburg commented on Dec 14, 2018

    @danginsburg
    Contributor

    Part of the reason we did it for Artifact and not Dota is that Artifact does not support Exclusive Fullscreen where full retina resolutions are supported (Dota does support exclusive FS). I can potentially look at adding the retina modes to windowed as I did on Artifact.

    In the meantime, I believe you could force it with -highdpi in your command-line options, although I've not actually tested it with dota. Assuming a windowed/desktop-friendly FS resolution, I believe that should render at the backing scale factor at that res. You won't see any indication in the video settings, that's the part that is missing in Dota.

  8. dannyboy90 commented on Dec 14, 2018

    @dannyboy90

    I can confirm that your suggestion to use -highdpi as a launch option works.

    Thanks a bunch!

  9. jeanlain commented on Jan 16, 2019

    @jeanlain

    It's not satisfactory IMO, because this option only enables the full res in fullscreen mode. This is too high on my 5K iMac. I prefer playing just below 5k, which cannot be achieved in desktop-friendly fullscreen. What we need is, like in many other games, the same resolutions that exclusive fullscreen offers in desktop-friendly fullscreen.

  10. ngan commented on Apr 28, 2019

    @ngan

    @danginsburg jw if there's plans to add retina support for desktop-friendly fullscreen?

  11. dannyboy90 commented on Apr 28, 2019

    @dannyboy90

    @danginsburg jw if there's plans to add retina support for desktop-friendly fullscreen?

    Just use the -highdpi launch option.

  12. ngan commented on Apr 28, 2019

    @ngan

    -highdpi doesn’t seem to work for desktop friendly fullscreen.

  13. hitlye commented on May 22, 2022

    @hitlye

    I encounted the same issue and the -highdpi worked. It set the resolution as the retina and enabled the desktop-friendly fullscreen mode.

  14. R0cketpunch commented on Feb 9, 2024

    @R0cketpunch

    -highdpi was working fine for me however the latest patch (Dragon's Gift) broke the -highdpi mode.

  15. nicefour commented on Feb 23, 2024

    @nicefour

    Can confirm -hidpi does this work anymore. Also in video.txt hidpi is set on, but still no result

  16. R0cketpunch commented on Jun 11, 2024

    @R0cketpunch

    Is -highdpi working for someone else? Still not working for me. It was working perfectly before the "Dragon's Gift" patch.

  17. daveycodez commented on Jul 13, 2025

    @daveycodez

    cries

  18. MultiCoders commented on Feb 3, 2026

    @MultiCoders

    2026 M4 Pro macbook pro -highdpi did not work for me. Windowed, borderless windowed don't work either. Exclusive fullscreen fixes the issue allowing me to use the full resolution, but the menu bar remains at the top of the screen, offsetting the game window downward, making it impossible to pan the camera south since the cursor never reaches the border of the window before it reaches the border of the built in display. Desktop friendly mode forces me to literally play at half the resolution, getting 4x less pixels making the game much more shimmery and jagged.

    Why is there even a mac port for M series chips which all have retina displays at all if there is such a glaring unresolved issue for the last 8 years that would affect every single user of that said port's experience significantly. I cannot imagine that a fix for this would take more than a week to code.

  19. SolomidHero commented on Feb 15, 2026

    @SolomidHero

    M4 macbook pro, either -highdpi and -hidpi are not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions