Enable-HiDPI-OSX
Enable-HiDPI-OSX copied to clipboard
你好,这个怎么解决
你好,这个怎么解决 。我两个机器,hd530成功开启1440X810,Iris hd540不能开启1440x810。 -iMac:~ kevin$ chmod +x ~/enable-HiDPI.sh kevins-iMac:~ kevin$ ~/enable-HiDPI.sh Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 1440x810 /Users/kevin/enable-HiDPI.sh: line 290: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 291: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 293: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 294: /usr/libexec/plistbuddy: No such file or directory Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 0
我两个机器,hd530成功开启1440X810,hd540不能开启。00ffffffffffff001e6d285a52ec0600021a010380351e78ea6275a3554fa027125054210800714081c08100818095009040a9c0b300023a801871382d40582c4500122c2100001e000000fd00383d1e530f000a202020202020000000fc0032344d5037360a202020202020000000ff000a20202020202020202020202001fb02031df14a900403011412051f1013230907078301000065030c001000023a801871382d40582c4500122c2100001e011d8018711c1620582c2500122c2100009e011d007251d01e206e285500122c2100001e8c0ad08a20e02d10103e9600122c2100001800000000000000000000000000000000000000000000000000002e
Last login: Sun Aug 14 16:09:49 on ttys000 kevins-iMac:~ kevin$ ioreg -lw0 | grep -i "IODisplayEDID" | | | | | "IODisplayEDID" = <00ffffffffffff001e6d285a52ec0600021a010380351e78ea6275a3554fa027125054210800714081c08100818095009040a9c0b300023a801871382d40582c4500122c2100001e000000fd00383d1e530f000a202020202020000000fc0032344d5037360a202020202020000000ff000a20202020202020202020202001fb02031df14a900403011412051f1013230907078301000065030c001000023a801871382d40582c4500122c2100001e011d8018711c1620582c2500122c2100009e011d007251d01e206e285500122c2100001e8c0ad08a20e02d10103e9600122c2100001800000000000000000000000000000000000000000000000000002e>
@d975xbx 你好, 540驱动起来了吗?用我最新编译的驱动。
@d975xbx Does Iris 540 has been powered up through my latest FakePCIID.kext?
syscl
开不了1440x810。
@d975xbx 开这个一个先决条件是显卡被驱动哦,你的显卡驱动了吗?
肯定驱动了啊
No such file or directory。提示这个
Intel Iris Graphics 540 1536 MB。显卡已经驱动
感谢你回复,显卡Intel Iris Graphics 540驱动了,可能这个显卡不被支持。hd530成功开启1440x810.
@d975xbx 很高兴看到你显卡驱动了:) 因为这个修复是我修复的.
看样子我要仔细察看你的情况.
能不能麻烦你把enable-HiDPI.sh的两种执行情况完整上传到这里:)
~/enable-HiDPI.sh
以及
~/enable-HiDPI.sh -d
我会想办法帮你修复这个问题, 谢谢. syscl
额, 我没有为这个脚本添加debug模式, 我会在今天或者明天给你添加.
非常感谢。期待你的添加
@d975xbx 能不能在你的机器(HD540)上执行这个指令然后发给我?
ls -l /usr/libexec/plistbuddy
同时附上你的版本号.
Last login: Tue Aug 16 17:12:47 on ttys000 kevins-iMac:~ kevin$ ls -l /usr/libexec/plistbuddy ls: /usr/libexec/plistbuddy: No such file or directory kevins-iMac:~ kevin$ 版本号10.11.6
执行脚本的时候也是提示No such file or directory
kevins-iMac:~ kevin$ ~/enable-HiDPI.sh Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 1440x810 /Users/kevin/enable-HiDPI.sh: line 290: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 291: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 293: /usr/libexec/plistbuddy: No such file or directory /Users/kevin/enable-HiDPI.sh: line 294: /usr/libexec/plistbuddy: No such file or directory
@d975xbx 看样子是你的系统少了这个文件, 不知道是什么原因导致的, 很可能是被误删了或者使用了非原版的系统. 我会为此添加你这种情况的支持(也就是自动检测系统是否存在plistbuddy文件,如果不存在就自动下载安装).
至于自行解决的方法很简单, 从你HD530的电脑上拷贝/usr/libexec中的plistbuddy到HD540上面即可.
syscl
不好意思,hd530这台机器现在不在身边,不能拷贝。谢谢
@d975xbx 我给你上传了, 直接在终端中输入
sudo curl https://raw.github.com/syscl/Enable-HiDPI-OSX/master/Tools/plistbuddy -o /usr/libexec/plistbuddy --create-dirs
sudo chmod +x /usr/libexec/plistbuddy
ls -l /usr/libexec/plistbuddy
然后再执行脚本。 syscl
Last login: Tue Aug 16 21:32:19 on console /Users/kevin/Downloads/Enable-HiDPI-OSX-master/enable-HiDPI.sh ; exit; kevins-iMac:~ kevin$ /Users/kevin/Downloads/Enable-HiDPI-OSX-master/enable-HiDPI.sh ; exit; Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 1920x1080 Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 0 [ ---> ] Backuping origin Display Information... Password: 2016-08-16 21:34:13.316 defaults[427:3751] Domain (/Library/Preferences/com.apple.windowserver) not found. Defaults have not been changed. [ OK ] Done, Please Reboot to see the change! Pay attention to use Retina Menu Display to select the HiDPI resolution!. logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
[进程已完成]
Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 1440x810 Enter the Resolution you want to enable HiDPI(e.g. 1600x900, 1440x910, ...), enter 0 to quit: 0 [ ---> ] Backuping origin Display Information... 2016-08-16 21:36:53.748 defaults[537:5060] Domain (/Library/Preferences/com.apple.windowserver) not found. Defaults have not been changed. [ OK ] Done, Please Reboot to see the change! Pay attention to use Retina Menu Display to select the HiDPI resolution!. logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
[进程已完成]
你好,注入两个分辨率。1920x1080和1440x810.重启以后,无效
Domain (/Library/Preferences/com.apple.windowserver) not found. Defaults have not been changed.
@d975xbx Domain错误这个不影响使用的.
出不来1440x810.算了。谢谢你,等以后我重装系统看看·
@d975xbx 我又更新了, 增加了
<key>dmdg</key>
请尝试.
syscl