RDM icon indicating copy to clipboard operation
RDM copied to clipboard

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

Open ifun4ik opened this issue 7 years ago • 20 comments

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

ifun4ik avatar May 20 '18 14:05 ifun4ik

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/

usr-sse2 avatar Jun 29 '18 13:06 usr-sse2

How can I know model of my monitor?

2018-06-29 16:31 GMT+03:00 Michael Belyaev [email protected]:

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 .

ifun4ik avatar Jun 29 '18 14:06 ifun4ik

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/

usr-sse2 avatar Jun 29 '18 14:06 usr-sse2

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 [email protected]:

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 .

ifun4ik avatar Jun 29 '18 15:06 ifun4ik

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.

usr-sse2 avatar Jun 29 '18 15:06 usr-sse2

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

2018-06-29 18:09 GMT+03:00 Michael Belyaev [email protected]:

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 .

ifun4ik avatar Jun 29 '18 15:06 ifun4ik

Did you reboot?

usr-sse2 avatar Jun 29 '18 15:06 usr-sse2

3 times

2018-06-29 18:36 GMT+03:00 Michael Belyaev [email protected]:

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 .

ifun4ik avatar Jun 29 '18 15:06 ifun4ik

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?

usr-sse2 avatar Jun 29 '18 15:06 usr-sse2

File and path where it is:

Output:

2-nd output

2018-06-29 18:44 GMT+03:00 Michael Belyaev [email protected]:

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 .

ifun4ik avatar Jun 29 '18 15:06 ifun4ik

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

usr-sse2 avatar Jun 29 '18 15:06 usr-sse2

image image 1 image 2

ifun4ik avatar Jun 29 '18 15:06 ifun4ik

Ещё раз: файл должен называться 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

usr-sse2 avatar Jun 29 '18 16:06 usr-sse2

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

29 июня 2018 г., 19:10 пользователь Michael Belyaev < [email protected]> написал:

Ещё раз: файл должен называться 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 avatar Jun 29 '18 16:06 ifun4ik

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

29 июня 2018 г., 19:13 пользователь Игорь Александров < [email protected]> написал:

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

29 июня 2018 г., 19:10 пользователь Michael Belyaev < [email protected]> написал:

Ещё раз: файл должен называться 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 avatar Jun 29 '18 16:06 ifun4ik

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

ifun4ik avatar Jun 29 '18 16:06 ifun4ik

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

usr-sse2 avatar Jun 29 '18 16:06 usr-sse2

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

ifun4ik avatar Jun 29 '18 16:06 ifun4ik

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

ifun4ik avatar Jun 29 '18 16:06 ifun4ik

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

ifun4ik avatar Jun 29 '18 17:06 ifun4ik