avibrazil / RDM

Easily set Mac Retina display to higher unsupported resolutions
4.13k stars 352 forks source link

I can't use 1680x1050 resolution on 2-nd monitor #20

Open ifun4ik opened 6 years ago

ifun4ik commented 6 years ago

It doesn't show my 1680x1050 on 2-nd monitor. I have it on 1-st, but on 2-nd I have 1400x1050, 1600x1200 and 1920x1080

usr-sse2 commented 6 years ago

You should add the scaled resolution to /System/Library/Displays/Contents/Resources/Overrides for your second display. Here is an online generator of the plist: https://comsysto.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/

ifun4ik commented 6 years ago

How can I know model of my monitor?

2018-06-29 16:31 GMT+03:00 Michael Belyaev notifications@github.com:

You should add the scaled resolution to /System/Library/Displays/ Contents/Resources/Overrides for your second display. Here is an online generator of the plist: https://comsysto.github.io/ Display-Override-PropertyList-File-Parser-and-Generator- with-HiDPI-Support-For-Scaled-Resolutions/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401354901, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDgpuCmVW8oKsSc6BPoy08820jWIjCks5uBiwggaJpZM4UGGbr .

usr-sse2 commented 6 years ago

Execute ioreg -lw0 | grep IODisplayPrefsKey, you will get output like this:

    | |   |   | |           "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/NVDA,Display-B@1/NVDA/display0/AppleDisplay-30ae-60c9"
    | |   | | |       "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@1/display0/AppleDisplay-10ac-a07b"

This output is from a system with 2 monitors, the first is attached to NVIDIA graphics card, the second one is attached to an Intel graphics card. Look at the AppleDisplay-xxxx-yyyy part. The vendor ID of the first monitor is 30ae (Lenovo), the product ID is 60c9.

Read more about it here: https://www.tonymacx86.com/threads/adding-using-hidpi-custom-resolutions.133254/

ifun4ik commented 6 years ago

Idk, I wrote this command and take this output:

I wrote these codes to the generator, downloaded generated file and paste it to the directory, that I take in the top. But I didn't get this resolution (I need 1680x1050)...

What I did wrong?

2018-06-29 17:31 GMT+03:00 Michael Belyaev notifications@github.com:

Execute ioreg -lw0 | grep IODisplayPrefsKey, you will get output like this:

| |   |   | |           "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/NVDA,Display-B@1/NVDA/display0/AppleDisplay-30ae-60c9"
| |   | | |       "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@1/display0/AppleDisplay-10ac-a07b"

This output is from a system with 2 monitors, the first is attached to NVIDIA graphics card, the second one is attached to an Intel graphics card. Look at the AppleDisplay-xxxx-yyyy part. The vendor ID of the first monitor is 30ae (Lenovo), the product ID is 60c9.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401372039, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDgldxadbzrAXiW9ITX_uUbqRENJ8qks5uBjongaJpZM4UGGbr .

usr-sse2 commented 6 years ago

You should create a subdirectory inside of Overrides and name it DisplayVendorID-xxxx, where xxxx is your vendor ID, and put the generated file inside it. (To write to that directory you have to disable the SIP). Also the file should be renamed so that it doesn't have .plist extension.

Look the contents of the Overrides folder to see how Apple did it, use it as the example.

ifun4ik commented 6 years ago

I did all that you said and still, don't have my resolution...

2018-06-29 18:09 GMT+03:00 Michael Belyaev notifications@github.com:

You should create a subdirectory inside of Overrides and name it DisplayVendorID-xxxx, where xxxx is your vendor ID, and put the generated file inside it. (To write to that directory you have to disable the SIP). Also the file should be renamed so that it doesn't have .plist extension.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401383888, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDggPV6O1MWAgtsBUO-bLPumPJAsg0ks5uBkM0gaJpZM4UGGbr .

usr-sse2 commented 6 years ago

Did you reboot?

ifun4ik commented 6 years ago

3 times

2018-06-29 18:36 GMT+03:00 Michael Belyaev notifications@github.com:

Did you reboot?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401391684, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDgpuRHXnlnYLbG5Rl6Q72FgkIky3sks5uBklxgaJpZM4UGGbr .

usr-sse2 commented 6 years ago

Could you show me the generated file and the output of ioreg -lw0 | grep IODisplayPrefsKey, the path where you put this file and output of sudo defaults read /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled?

ifun4ik commented 6 years ago

File and path where it is:

Output:

2-nd output

2018-06-29 18:44 GMT+03:00 Michael Belyaev notifications@github.com:

Could you show me the generated file and the output of ioreg -lw0 | grep IODisplayPrefsKey, the path where you put this file and output of sudo defaults read /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401394151, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDgk1CG34TzZhGe8jcEzkKKa2NuvwDks5uBktpgaJpZM4UGGbr .

usr-sse2 commented 6 years ago

Your comment contains only titles. If you meant to attach files, rewrite the comment from GitHub instead of email.

ifun4ik commented 6 years ago

image image 1 image 2

usr-sse2 commented 6 years ago

Ещё раз: файл должен называться DisplayProductID-717, а не DisplayProductID-717.plist. В системе уже есть файл DisplayProductID-717, поэтому желательно объединить файлы в один, а не заменять системный. Ещё у второго разрешения (1280x720 HiDPI) куда-то пропали последние 4 байта. Для использования HiDPI разрешений нужно выполнить sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true и перезагрузиться. Вот объединённый файл, я прописал в него разрешения 1680x1050, 1680x1050 (HiDPI) и 1280x720 (HiDPI), а также сохранил остальные параметры, которые были в исходном файле из системы. Удалите всё содержимое папки DisplayVendorID-756e6b6e и поместите в нее файл из архива: DisplayProductID-717.zip

ifun4ik commented 6 years ago

Понял, спасибо большое)

29 июня 2018 г., 19:10 пользователь Michael Belyaev < notifications@github.com> написал:

Ещё раз: файл должен называться DisplayProductID-717, а не DisplayProductID-717.plist. В системе уже есть файл DisplayProductID-717, поэтому желательно объединить файлы в один, а не заменять системный. Ещё у второго разрешения (1280x720 HiDPI) куда-то пропали последние 4 байта. Для использования HiDPI разрешений нужно выполнить sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true и перезагрузиться. Вот объединённой файл, я прописал в него разрешения 1680x1050, 1680x1050 (HiDPI) и 1280x720 (HiDPI), а также сохранил остальные параметры, которые были в исходном файле из системы. Удалите всё содержимое папки DisplayVendorID-756e6b6e и поместите в нее файл из архива: DisplayProductID-717.zip https://github.com/avibrazil/RDM/files/2150084/DisplayProductID-717.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401401361, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDggn4XyYjOvYuf55MKFJ_uABKIwNUks5uBlFmgaJpZM4UGGbr .

ifun4ik commented 6 years ago

Но, кстати, я кидал файл без .plist, а с .plist я продублировал чтобы показать содержимое

29 июня 2018 г., 19:13 пользователь Игорь Александров < funnydemscreation@gmail.com> написал:

Понял, спасибо большое)

29 июня 2018 г., 19:10 пользователь Michael Belyaev < notifications@github.com> написал:

Ещё раз: файл должен называться DisplayProductID-717, а не

DisplayProductID-717.plist. В системе уже есть файл DisplayProductID-717, поэтому желательно объединить файлы в один, а не заменять системный. Ещё у второго разрешения (1280x720 HiDPI) куда-то пропали последние 4 байта. Для использования HiDPI разрешений нужно выполнить sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true и перезагрузиться. Вот объединённой файл, я прописал в него разрешения 1680x1050, 1680x1050 (HiDPI) и 1280x720 (HiDPI), а также сохранил остальные параметры, которые были в исходном файле из системы. Удалите всё содержимое папки DisplayVendorID-756e6b6e и поместите в нее файл из архива: DisplayProductID-717.zip https://github.com/avibrazil/RDM/files/2150084/DisplayProductID-717.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avibrazil/RDM/issues/20#issuecomment-401401361, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkDggn4XyYjOvYuf55MKFJ_uABKIwNUks5uBlFmgaJpZM4UGGbr .

ifun4ik commented 6 years ago

2018-06-29 19 21 28 Я не понимаю, новые разрешения появились, но того, что нужно, так и нет...

usr-sse2 commented 6 years ago

А дисплей в "Samsung" переименовался? Или он изначально так и назывался?

ifun4ik commented 6 years ago

Нет, просто "Экран" называется

ifun4ik commented 6 years ago

До этого переименовывался

ifun4ik commented 6 years ago

И еще, ты не в курсе из-за чего могут быть эти полосы? Такое на всех разрешениях, переходники менял, с монитором на винде порядок 2018-06-29 20 07 38