xzhih / one-key-hidpi

Enable macOS HiDPI and have a native setting.
https://zhih.me/one-key-hidpi/
8.66k stars 993 forks source link

(2021.10.27)M1 Mac开启HiDPI新方法分享(接近完美,无需额外硬件) #213

Open egnchen opened 2 years ago

egnchen commented 2 years ago

好消息,请各位有2K显示器+M1 Mac,想要开启HiDPi但是被SwitchResX配置和4K采集卡/HDMI欺骗器等等解决方案折磨到头秃的朋友们看看这个repo: https://github.com/waydabber/BetterDummy 原理是在macOS的显示偏好设置中添加一个dummy display(模拟出来的假屏幕),支持通过软件参数设置支持各种分辨率和hiDPI缩放方式。你只需要将你的2K显示器的内容设置为这个假屏幕的镜像即可完美HiDPI。 配置方便,无需关闭SIP,无需额外硬件,不会废掉HDMI口,性能损失小。 M1 MBA+macOS monterey+AOC Q2490pxq(2K 24' 60HZ)亲测有效。

egnchen commented 2 years ago

这个repo是我在reddit上看到的,几天前才分享出来,在此借楼是想帮助一下各位被这个问题折磨一年多的童鞋们。也希望one-key-hidpi的作者能够跟进呀。

zht007 commented 2 years ago

Thank you so much 非常完美

yee94 commented 2 years ago

所以使用这个方法,还需要one-key-hidpi吗?是只适用于M1的吗?M1 Pro可以吗

xihrni commented 2 years ago

我试了,确实可以实现,包括21:9,不过这个也有点小问题: 第一个貌似不支持高刷新率; 第二个我3440*1440物理分辨率,只有720P高分辨率能看,其它都会糊,但是这个分辨率又太小,布局没法看; 第三个如果我同时接了另一个显示器(不同分辨率),会导致两块显示器都在镜像,只能拔了另一个

Mac mini 11.6

xihrni commented 2 years ago

所以使用这个方法,还需要one-key-hidpi吗?是只适用于M1的吗?M1 Pro可以吗

肯定都可以的

ChunDeKePa commented 2 years ago

1080的也确实可以,不过还需要后续完善,设置好镜像后推出或者删掉创建的虚拟屏幕副屏容易出现紫屏

tinyboxxx commented 2 years ago

感谢分享,实测M1 Air外接2k带鱼屏3440x1440成功,目前看比较完美。虽然有上面哥们提到的会糊的情况,但是由于这个分辨率本身就是720的2x尺寸,我觉得可以接受,毕竟字和UI够大了,原生分辨率没法看。

image
egnchen commented 2 years ago

感谢分享,实测M1 Air外接2k带鱼屏3440x1440成功,目前看比较完美。虽然有上面哥们提到的会糊的情况,但是由于这个分辨率本身就是720的2x尺寸,我觉得可以接受,毕竟字和UI够大了,原生分辨率没法看。

image

带鱼屏下面没有HiDPI分辨率的选项嘛

tinyboxxx commented 2 years ago

带鱼屏下面没有HiDPI分辨率的选项嘛

在BetterDummy里的GitHub里写的是:

根据配置,您可能会看到标有 (HiDPI) 标签的 HiDPI(高分辨率)显示模式和没有标签的标准分辨率,或者您可能会看到没有标签的 HiDPI 分辨率和标有(低分辨率)标签的非 HiDPI 分辨率 分辨率列表。 建议选择始终选择高分辨率选项。

我这出现的是第二种,看起来还是比较清晰的,确实选720P是文字最锐利的。

xihrni commented 2 years ago

感谢分享,实测M1 Air外接2k带鱼屏3440x1440成功,目前看比较完美。虽然有上面哥们提到的会糊的情况,但是由于这个分辨率本身就是720的2x尺寸,我觉得可以接受,毕竟字和UI够大了,原生分辨率没法看。

image

可能是看习惯原本的3440分辨率了,除了720P这种2X的看起来很舒服,其它不是整倍数的看起来反而不如原本的分辨率清楚

LHansoon commented 2 years ago

如果你只有一个外接显示器的话,确实挺完美的。 我的工况是俩显示器,笔记本合盖。然后发现键盘上切换space的快捷键只会在主显示器上生效。。一开始还以为是mac的问题(毕竟bug os),然后关了better dummy之后发现问题消失了,遂认定是软件问题。去了repo翻了翻发现确实是,但也不完全是。作者说这是mac os设计的问题造成的。。。哎。。还好mission control的快捷键能用,不然是真的遭重了

FYI https://github.com/waydabber/BetterDummy/discussions/29

tinyboxxx commented 2 years ago

可能是看习惯原本的3440分辨率了,除了720P这种2X的看起来很舒服,其它不是整倍数的看起来反而不如原本的分辨率清楚

确实,未来需要买5k显示器了。。。

yuzhenghuan commented 2 years ago

好消息,请各位有2K显示器+M1 Mac,想要开启HiDPi但是被SwitchResX配置和4K采集卡/HDMI欺骗器等等解决方案折磨到头秃的朋友们看看这个repo: https://github.com/waydabber/BetterDummy 原理是在macOS的显示偏好设置中添加一个dummy display(模拟出来的假屏幕),支持通过软件参数设置支持各种分辨率和hiDPI缩放方式。你只需要将你的2K显示器的内容设置为这个假屏幕的镜像即可完美HiDPI。 配置方便,无需关闭SIP,无需额外硬件,不会废掉HDMI口,性能损失小。 M1 MBA+macOS monterey+AOC Q2490pxq(2K 24' 60HZ)亲测有效。

mac能够合上屏幕么?

chokbass commented 2 years ago

3440x1440的34寸显示器,开启BetterDummy的HiDPI 不管是哪种分辨率都看起来怪怪的。有点模糊,而且不能自己定义HiDPI。而且为什么都是150赫兹的? 有些APP开起来一闪一闪的。不完美。

MessiahChen commented 2 years ago

试了一下确实可以,但是三指滑动切换不同桌面不能用了,只能切换笔记本屏幕上的桌面,还是放弃了

hjt486 commented 2 years ago

有同学注意到使用betterdummy的延迟问题了吗?我感觉鼠标移动的时候有一定的lag

zht007 commented 2 years ago

将外接显示器换成主屏就可以了

On 2 Nov 2021, at 19:16, Michael Chen @.***> wrote:

试了一下确实可以,但是三指滑动切换不同桌面不能用了,只能切换笔记本屏幕上的桌面,还是放弃了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xzhih/one-key-hidpi/issues/213#issuecomment-958093549, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQAC2NLWV5ZR32FAUZ7GQDUKBBK3ANCNFSM5GZW6EHA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cclucky1 commented 2 years ago

显示器:aoc 2490pxq 使用了 @eyeKill 的方法后成功开启HIDPI 不用再使用镜像的SwitchRes开启HIDPI了 致谢

zy-dys commented 2 years ago

好消息,请各位有2K显示器+M1 Mac,想要开启HiDPi但是被SwitchResX配置和4K采集卡/HDMI欺骗器等等解决方案折磨到头秃的朋友们看看这个repo: https://github.com/waydabber/BetterDummy 原理是在macOS的显示偏好设置中添加一个dummy display(模拟出来的假屏幕),支持通过软件参数设置支持各种分辨率和hiDPI缩放方式。你只需要将你的2K显示器的内容设置为这个假屏幕的镜像即可完美HiDPI。 配置方便,无需关闭SIP,无需额外硬件,不会废掉HDMI口,性能损失小。 M1 MBA+macOS monterey+AOC Q2490pxq(2K 24' 60HZ)亲测有效。

1080显示器,比不开还糊

NormanZyq commented 2 years ago

实在不知道该去哪里提问了,只能来这里问问大神们:我目前M1 Pro的MacBook,外接分辨率为的2560*1440显示器,但它被系统读取为1680*1050,用BetterDummy开1080P的HiDPI并开开镜像之后画面会被拉伸并且显示不全(见图)(但是我的旧Intel Mac就读取一切正常),不知道是Monterey的bug还是BD的Bug还是跟M1芯片兼容性的问题。也不知道应不应该去问BD的开发者。。。

image

图像

greathch commented 2 years ago

实在不知道该去哪里提问了,只能来这里问问大神们:我目前M1 Pro的MacBook,外接分辨率为的25601440显示器,但它被系统读取为16801050,用BetterDummy开1080P的HiDPI并开开镜像之后画面会被拉伸并且显示不全(见图)(但是我的旧Intel Mac就读取一切正常),不知道是Monterey的bug还是BD的Bug还是跟M1芯片兼容性的问题。也不知道应不应该去问BD的开发者。。。 image

图像

哈哈,你显示器和我一样,我也一样用不了应该是系统对显示器的适配问题

Theigrams commented 2 years ago

14寸MBP + Dell2418D 亲测有效,设为1080P画面非常锐利,但的确存上面提到的问题,例如

  1. 不能切换桌面
  2. 鼠标和键盘打字存在延迟
cclucky1 commented 2 years ago

使用了你的方法之后正常开启了hidpi 但是发现一个问题就是休眠唤醒后在蓝色或者偏紫色的 画面下会闪烁 是不是dummy的原因导致 dp和HDMI的连接方式均尝试过,拓展坞分别试了hp的雷电 3拓展坞和Apple官方的HDMI转换器都是一样的结果

wangyuyan666 commented 2 years ago

确实有闪烁的问题,主要是休眠唤醒后会出现。目前貌似只能通过退出重新打开App解决

Waynel65 commented 2 years ago

有同学注意到使用betterdummy的延迟问题了吗?我感觉鼠标移动的时候有一定的lag

注意到了,看了半天没找到解决方法。原repo上discussion里也没人问到类似的问题,我以为就只有我有这个问题。

u21h2 commented 2 years ago

还有一个问题,使用betterdummy之后通知无法显示,就是qq微信网易云那种在屏幕右上角弹出来的通知

Waynel65 commented 2 years ago

还有一个问题,使用betterdummy之后通知无法显示,就是qq微信网易云那种在屏幕右上角弹出来的通知

这个有办法设定的。设定 =》 通知=〉然后最底下有个在镜像的时候也允许通知(这是我手动翻译的,因为我系统是英文版的)。希望有帮助。

u21h2 commented 2 years ago

还有一个问题,使用betterdummy之后通知无法显示,就是qq微信网易云那种在屏幕右上角弹出来的通知

这个有办法设定的。设定 =》 通知=〉然后最底下有个在镜像的时候也允许通知(这是我手动翻译的,因为我系统是英文版的)。希望有帮助。

已解决 非常感谢!

i6941 commented 2 years ago

能用,但是太糊了

alianrock commented 2 years ago

Nice,很完美,占用也不高 MBA 16:9 1920 * 1080

wangyuyan666 commented 2 years ago

这两天用的时候不知道什么原因,颜色不太正常,很浓

binderclip commented 2 years ago

请教一下,我可以同时正常用 MacBook 的显示器,以及一个 2K 的显示器吗? 现在只实现了全部显示器(MacBook、Dummy、2K 物理显示器)一起镜像。(MacBook Pro (13-inch, M1, 2020) & Big Sur)

更新: 搞定了,可以让 2K 物理显示器去镜像 Dummy,然后 Dummy 设置成 1080P 就行,这样效果确实比直接让 2K 显示器按 1080P 显式效果好。 可以按着 option 把 2K 显示器拖动到 Dummy 上。 image

How to Mirror Specific Displays in OS X: Mirror some, but not all of your monitors on an Apple system - MacFinder

Jokairui commented 2 years ago

感谢分享,实测M1 Air外接2k带鱼屏3440x1440成功,目前看比较完美。虽然有上面哥们提到的会糊的情况,但是由于这个分辨率本身就是720的2x尺寸,我觉得可以接受,毕竟字和UI够大了,原生分辨率没法看。

image

兄弟为啥我电脑看不到这个设置呢,我也是2021款M1的MAC PRO

ACERY1 commented 2 years ago

应该需要更新 MacOS 到 Monterey 才能看到这个设置

JokerQueue commented 2 years ago

确实有闪烁的问题,主要是休眠唤醒后会出现。目前貌似只能通过退出重新打开App解决

我的是关显示器电源再打开解决

JokerQueue commented 2 years ago

有同学注意到使用betterdummy的延迟问题了吗?我感觉鼠标移动的时候有一定的lag

注意到了,看了半天没找到解决方法。原repo上discussion里也没人问到类似的问题,我以为就只有我有这个问题。

我的是使用一段时间后,任何app使用拼音输入法的时候会卡顿,重新打开app才能恢复,这个问题很奇怪也很致命,我定位了很久才定位到是betterdummy导致的问题,现在只能不用用外接显示器了。

ACERY1 commented 2 years ago

issue里提到的方法我用了没有生效,现在是通过下面这个方法最终生效的: https://codeclou.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/

MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports) 2K 显示器 (默认 2560 x 1440) 显示器转接线是 hdmi 转 typec

image

liuliuwen commented 2 years ago

按照楼主的方法,完美搞定,显示效果好惊艳。 缺点如各位朋友说的一样,外接三指滑动切换桌面手势失效,只有在 MacBook M1 桌面有效。 再次感谢楼主,YYDS,希望在下个版本更新能解决此问题。

image
JokerQueue commented 2 years ago

手势失效是要把dummy设置为主显示器就好了。另外你试一下过一段时间后快速打字,输入法反应会不会变慢

abigchopstick commented 2 years ago

感谢分享,实测M1 Air外接2k带鱼屏3440x1440成功,目前看比较完美。虽然有上面哥们提到的会糊的情况,但是由于这个分辨率本身就是720的2x尺寸,我觉得可以接受,毕竟字和UI够大了,原生分辨率没法看。

image

我的是小米带鱼屏也成功了,现在就是不知道刷新率是多少,因为小米是支持144Hz的,不知道有什么方法可以看。

alianrock commented 2 years ago

M1 表示接了后打字有点卡,放弃了

abigchopstick commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡

On Sat, Feb 19, 2022 at 2:55 PM alianhha @.***> wrote:

M1 表示接了后打字有点卡,放弃了

— Reply to this email directly, view it on GitHub https://github.com/xzhih/one-key-hidpi/issues/213#issuecomment-1045906312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

alianrock commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡 On Sat, Feb 19, 2022 at 2:55 PM alianhha @.> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

中文输入法很卡,上面也有朋友反馈

abigchopstick commented 2 years ago

中文输入法有很多种,我现在用的是搜狗五笔,搜狗拼音,系统升级到了12.2.1没有类似问题。

On Sat, Feb 19, 2022 at 3:01 PM alianhha @.***> wrote:

M1 air没发现问题。。。你是指UI卡还是系统卡 … <#m-6157305009697121990> On Sat, Feb 19, 2022 at 2:55 PM alianhha @.> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment) https://github.com/xzhih/one-key-hidpi/issues/213#issuecomment-1045906312>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

中文输入法很卡,上面也有朋友反馈

— Reply to this email directly, view it on GitHub https://github.com/xzhih/one-key-hidpi/issues/213#issuecomment-1045912638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGS4WRZX7N6YRQ7R5SDU3453PANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

strivecheng commented 2 years ago

我的显示器和你一样的,设置后,是不是四周又黑边

abigchopstick commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡 On Sat, Feb 19, 2022 at 2:55 PM alianhha @._> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: _@_._>

中文输入法很卡,上面也有朋友反馈

试了,去掉输入法的额外功能,还有就是如果卡了登出再登陆一下就好了。

abigchopstick commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡 On Sat, Feb 19, 2022 at 2:55 PM alianhha @._> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: _@_._>

中文输入法很卡,上面也有朋友反馈

试了,去掉s额外功能,还有就是如果卡了登出再登陆一下就好了。

v03413 commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡 On Sat, Feb 19, 2022 at 2:55 PM alianhha @._> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: _@_._>

中文输入法很卡,上面也有朋友反馈

试了,去掉s额外功能,还有就是如果卡了登出再登陆一下就好了。

M1 Pro 系统升级到了12.2.1,原生输入法,依旧卡的离谱;用的越久越卡,肉眼可见的卡,而且重登这种做法着实不能接受。

abigchopstick commented 2 years ago

M1 air没发现问题。。。你是指UI卡还是系统卡 On Sat, Feb 19, 2022 at 2:55 PM alianhha @._> wrote: M1 表示接了后打字有点卡,放弃了 — Reply to this email directly, view it on GitHub <#213 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6HRGXBSIW5DZB3D6SMDZ3U345GJANCNFSM5GZW6EHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: _@_._>

中文输入法很卡,上面也有朋友反馈

试了,去掉s额外功能,还有就是如果卡了登出再登陆一下就好了。

M1 Pro 系统升级到了12.2.1,原生输入法,依旧卡的离谱;用的越久越卡,肉眼可见的卡,而且重登这种做法着实不能接受。

哈哈这确实是系统问题,苹果这太丢人了。

但是侧面来说苹果用户也确实是被惯坏了,windows用户如果只是重登陆就能解决问题,而且一天一次左右,完全是可以接受的。。。

iamqiyi commented 2 years ago

简直感动哭了,1440p的21:9显示器在M1 Mac mini上用着简直是自虐,要么字小的像蚊子,要么放大就整个300度近视。就在我下定决心准备换显示器之前,看到这个帖子和这个app