[心得] AMD 2K75Hz閒置VRAM時脈不降?用CRU解決

作者: smallreader (小讀者)   2022-10-17 10:50:08
日前換了一台 Philips 275S1AE 的螢幕,需要 2560x1440x75Hz,
卻被降不下來的 VRAM 時脈和功耗困擾著:
https://i.imgur.com/30Dqe3d.png
VRAM 被固定在 ~2000 MHz,而待機從只有 3-4W,變成 17-18W。
是什麼問題讓記憶體一直忙碌中嗎? 原來,這是跟顯示器時序有關:
     (其實也沒有忙碌中)
> The high memory clock has nothing to do with the number of pixels,
> it is caused by the vblank being too short.
> Memory frequency can only be changed during vblank,
> if it is changed at any other time it will cause flickering.
https://www.reddit.com/r/Amd/comments/i09h9o/need_fix_memory_clock_locked_at
大意:VRAM 時脈只能在螢幕時序中的垂直消隱期間進行切換(否則畫面會閃爍)
以下時序示意圖,我把垂直消隱期間標了出來:
╭H.blanking╮                ╭ H. blanking ╮
┌──────────────────────────────┐╮
│          Vertical front porch          │V. blanking
├─────┬────────────────┬────┬──┤╯
│Horizontal│    Active video      │ H.   │H. │
│front  │                │ back  │sync│
│porch   │                │ porch │  │
│     │                │    │  │
│     │                │    │  │
│     │                │    │  │
│     │                │    │  │
│     │                │    │  │
│     │                │    │  │
│     │                │    │  │
├─────┴────────────────┴────┴──┤╮
│          Vertical back porch           │
├──────────────────────────────┤V. blanking
│  Vertical Sync              │
└──────────────────────────────┘╯
https://i.imgur.com/dnLcLxQ.png
使用 CRU,看到時序參數 vblank = 41,
相當於 41÷1481÷74.968 = 369 μs,
窗口太短,以至於 VRAM 無法切換頻率,
必須藉由增加 V. back porch,來讓 vblank 窗口延長。
經過測試,可以讓 VRAM 切換頻率的 vblank 窗口約為 482 μs,
我自己又加了 10%,選擇 534 μs,最後大功告成:
https://i.imgur.com/fnyzH7L.png
https://i.imgur.com/jpvPSKV.png
https://i.imgur.com/1dQNuMr.png
[附錄] 下載 Custom Resolution Utility (CRU):
https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU
另外一篇討論:
https://community.amd.com/t5/graphics/which-monitor-timing-par/td-p/318483
他是用預設集的 標準LCD時序 (Automatic PC) 為基礎,把 VBP 改成 72
https://i.imgur.com/lqyOLKl.png
https://i.imgur.com/Gb31Ygx.png
也是可以,不過時序比較冗餘,而且 Pixel clock 超過 300 MHz(沒什麼問題就是了)
延伸想到,如果多螢幕有這種問題,那就檢查每個螢幕的時序看看。
作者: visa829 (Visa)   2022-10-17 17:51:00
我看了一下6700XT跟Phiplips 356m6qjab 75Hz可以正常待機

Links booklink

Contact Us: admin [ a t ] ucptt.com