让我来拯救那些 mojave 外接 2k 模糊的人吧

2018-09-26 15:30:14 +08:00
 gesse
https://comsysto.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/

亲测非常牛逼

13442 次点击
所在节点    macOS
33 条回复
wupher
2018-09-26 15:48:49 +08:00
Thank you,回家试试再贴结果
gesse
2018-09-26 15:58:42 +08:00
@wupher

你会发现一个新世界的,比以前 10.13 还清楚得多。
bigzl
2018-09-26 16:04:53 +08:00
mk
lightening
2018-09-26 16:10:25 +08:00
这是解决从几年前就开始的把 HDMI 接口外接显示器误认为电视机的情况。

Mojave 默认关闭了次像素平滑。开启方法是 defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
gesse
2018-09-26 16:15:02 +08:00
@lightening
这个是模拟开启 1080p 的 hidpi 的,你你说的这个调参数效果好 n 倍,完美
lightening
2018-09-26 16:18:27 +08:00
@gesse 哦哦。不过 1080p 也开 HiDPI 的话,实际不是等效才 960*540 么,这么低怎么用?
hkongm
2018-09-26 16:24:43 +08:00
网页我都加在额外样式,通过媒体查询 开 zoom: 1.5
VSCode 也是开 zoom ...
够用了

分享下样式文件给大家,需要的拿去用,保存为 css 文件,在 Safari 偏好设置 > Advanced > Style sheet 选中即可

body,td {
font-family: "Pingfang SC" !important;
}

.tb-vertical-desc-segments-list {
display: none;
}

@media screen and (min-width: 1280px) and (max-width: 1750px) {
body {
zoom: 1.2;
}
.oblog_text {
font-size: 18px !important;
}
.bilibili-player {
zoom: 0.83;
}
}

@media screen and (min-width: 1751px) {
body {
zoom: 1.5;
}
.oblog_text {
font-size: 18px !important;
}
.bilibili-player {
zoom: 0.66;
}
}

#toptopics,
div[id^=bbs_ads] {
display: none;
}
gesse
2018-09-26 16:26:41 +08:00
@lightening
具体原理不知道, 是“模拟”效果

但是 2k 从未有过的清晰。
wenxiaocat
2018-09-26 16:40:32 +08:00
@gesse 这个方案更为简单,一键解决问题,之后还可以直接在显示器里面选择 scale 缩放,推荐一下
https://github.com/xzhih/one-key-hidpi
lightening
2018-09-26 16:47:08 +08:00
@gesse 你的屏幕如果是 2k 的,也就是 2560 的。那 hidpi 一下还能有 720p,勉强能用。只是显示的范围和 13 寸 MBP 一样,对我来说是太少了,严重影响工作效率。
gesse
2018-09-26 16:53:34 +08:00
@lightening
说了是模拟的,但是效果很好, 是 1080
p 的
Yien
2018-09-26 17:43:59 +08:00
@gesse iMac27 2013 实现 1080p HiDPI 不错。
shutongxinq
2018-09-26 21:19:27 +08:00
@lightening 模拟的是 1080P 的 HiDPI,实际渲染的 4K 画面,downscale 到 2K 分辨率。

但这样依然只有 1080P 的桌面大小,太小了。
lightening
2018-09-26 23:25:28 +08:00
@shutongxinq 就是 downscale 3840*2160 到 2k ?非整数倍降采样,不知效果如何?
shutongxinq
2018-09-26 23:53:17 +08:00
@lightening 大致和 NVIDIA 的 super resolution 差不多,就是加强版的 sub-pixel rendering (不过用 2k 屏幕已经好多年前的事情了,现在并没有实际经验。暂时只体验过 macbook pro 内置屏幕 downscale )
20015jjw
2018-09-27 01:57:32 +08:00
This is essentially a poor man's version of SwitchResX.

@lightening HiDPI doesn't require 2x scale. A monitor of 2k resolution could display like 1080p with HiDPI enabled, just like a monitor of 4k resolution could display something as weird as 2732x1536 with HiDPI enabled.
The actual output resolution of HiDPI will always be the same as the physical resolution of your monitor, but the scaled resolution is what you select, or in macOS term, what the screen "looks like".

![]( http://cdn.osxdaily.com/wp-content/uploads/2016/02/change-mac-system-font-size-display-resolution.png)
chenchangjv
2018-09-27 02:22:40 +08:00
我昨晚刚弄好,很尴尬的是我是看挺久之前的帖子弄的
minicongee
2018-09-27 14:15:25 +08:00
以前玩黑苹果的时候捣鼓过强开 HiDPI,开启后显示效果确实好些;
不过黑苹果看视频的时候,GPU 占用率翻倍导致高温,就弃用了;
那时候还挺麻烦的要自己手动修改模版。

现在白苹果测试下,10.14 下 1080P 屏幕显示效果真的好些,而且看视频也不会翻倍占用 GPU 了。
minicongee
2018-09-27 14:15:58 +08:00
同还没写完...就习惯性按了快捷键(想换行 2333
感谢楼主
Catyuki
2018-09-27 19:29:49 +08:00
mark 谢谢

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/492796

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX