HDR+Gsync 到底是誰的鍋 - 3C
By Elma
at 2020-03-28T17:17
at 2020-03-28T17:17
Table of Contents
一個做過GPU, 待過螢幕廠, 也待過微軟windows team的人路過說明一下...
剛你按下Windows HDR模式的時候,
基本上Windows是告訴顯示卡要從標準RGB buffer切換成HDR用的video buffer,
顯示卡如果從螢幕EDID上讀到他有支援這個功能的話就會開始:
1.準備新的video/frame buffer
2.跟螢幕的HDR晶片溝通
3.跟螢幕HDR晶片溝通完後如果成功就跟windows報是否成功
3a.失敗的話當然就跟user說失敗了
4.成功後windows準備buffer的時候就會帶著HDR需要的參數給顯示卡(還有DRM資訊)
5.顯示卡就會把這個格式丟給螢幕
HDR這個技術本身重點在於色階壓縮,
將畫面過曝跟過暗的色階曲線壓成大致是平均分配的狀態,
所以可以是多個frame合成, 也可以是單frame用不同frequency產生,
看HDR晶片怎麼處理還有參數怎麼帶這樣.
G-sync or whatever sync就不是了, 那是遊戲,顯卡,螢幕之間的事情.
顯卡從螢幕EDID上得知它支援G-sync, 顯卡自己也打開G-sync支援的話,
顯卡就會報給應用程式說你可以開G-sync,
然後遊戲call的API就不會經過Windows了, 命令會直接到顯卡去,
(也不是完全不經過啦, 但總之OS不太會介入graphics API)
由顯卡負責跟螢幕溝通whatever sync要怎麼做,
顯卡就會跟螢幕協調出一個可行的frame輸出率.
當G-sync跟HDR都開的時候呢?
螢幕就要同時跟顯卡報HDR跟G-Sync的狀況,
前面說到HDR是關於色階壓縮,
所以基本上顯卡送過來的每個frame都會經過HDR晶片處理,
做得好一點的, 會同時考慮前後frame一致性, 差一點的大概就每張各自算各自的.
G-sync就不是HDR這顆晶片處理了,
螢幕需要視HDR處理的狀況反映在丟回去給顯示卡的參數中,
簡單的說就是個比較複雜的流程,
當解析度很高更新率很高的時候狀況更是艱難,
因為高解析度時每個frame處理的時間會拉長, 但你設定的高更新率又讓它不能太長.
顯卡的話, 它需要處理HDR protected content, 需要計算自己frame輸出率,
需要配合螢幕的能力調整輸出率, 大概是這樣,
基本上就是螢幕跟它說甚麼它就配合處理.
但PlayReady (HDR protected content, DRM處理)這邊就有個變數了,
這個基本上是Windows會決定甚麼時候需要reauthenticate,
這個authenticate的時間我記得規格上好像是7ms內要完成(不確定, 要翻spec看看)
而這個authentication大概固定每幾秒就可能需要做一次.
但Windows不會去管GPU有多忙, 那是GPU需要去處理的.
所以如果某段時間內GPU太忙, PlayReady authenticate等了比較長的時間,
或是線材不好導致PlayReady authenticate延遲不穩定或太長的話,
GPU這邊只能根據實際狀況調整, 萬一某一次authenticate超過7ms,
那可能就會有幾個ms的時間是沒有內容輸出的(因為authenticate失敗了),
需要靠螢幕上的HDR晶片去補, 或是顯示卡的其他技術去補.
或者說, PlayReady authenticate的時間也影響了輸出率,
例如如果每次authenticate的時候都等了6ms,
(無論原因是是線材不好還是GPU過載還是甚麼其他原因)
那你當時的畫面輸出率就會被鎖在166張每秒,
但GPU仍然還需要花一點時間去畫圖,
而的螢幕可能最高能7ms收一次(144Hz的情況),
在沒有G-sync認證的螢幕上, 此時你的畫面就很高機率會破掉.
(HDR處理需要時間, 螢幕不可能真的7ms收一次, 一定是更短的時間要收到)
這樣不知道你會覺得是誰的問題?
我是覺得螢幕是兇手的機率比較大啦...
※ 引述《westwade (秋思化刃)》之銘言:
: 月初入手XV272U P
: 搭配顯卡技嘉 Windforce 2070S O8G
: 想說終於可以HDR+Gsync來享受一下
: 然後過程中各種問題
: 簡單說HDR+Gsync下
: 開啟HDR模式會有機會失敗 要一直重開
: 這問題經過各種爬文收集後
: 似乎是win10的問題
: 然後前幾天更新最新的驅動後
: 玩mhwi時發現居然各種破圖成一片亮光
: 不停測試後發現重啟HDR後就解決了
: 講這麼多只是好奇
: HDR會有這些問題 是
: 1.微軟做不好
: 2.NV驅動做不好
: 3.HDR技術不成熟
: 到底是誰的鍋XDD
: -----
: Sent from JPTT on my Xiaomi Redmi Note 8 Pro.
--
剛你按下Windows HDR模式的時候,
基本上Windows是告訴顯示卡要從標準RGB buffer切換成HDR用的video buffer,
顯示卡如果從螢幕EDID上讀到他有支援這個功能的話就會開始:
1.準備新的video/frame buffer
2.跟螢幕的HDR晶片溝通
3.跟螢幕HDR晶片溝通完後如果成功就跟windows報是否成功
3a.失敗的話當然就跟user說失敗了
4.成功後windows準備buffer的時候就會帶著HDR需要的參數給顯示卡(還有DRM資訊)
5.顯示卡就會把這個格式丟給螢幕
HDR這個技術本身重點在於色階壓縮,
將畫面過曝跟過暗的色階曲線壓成大致是平均分配的狀態,
所以可以是多個frame合成, 也可以是單frame用不同frequency產生,
看HDR晶片怎麼處理還有參數怎麼帶這樣.
G-sync or whatever sync就不是了, 那是遊戲,顯卡,螢幕之間的事情.
顯卡從螢幕EDID上得知它支援G-sync, 顯卡自己也打開G-sync支援的話,
顯卡就會報給應用程式說你可以開G-sync,
然後遊戲call的API就不會經過Windows了, 命令會直接到顯卡去,
(也不是完全不經過啦, 但總之OS不太會介入graphics API)
由顯卡負責跟螢幕溝通whatever sync要怎麼做,
顯卡就會跟螢幕協調出一個可行的frame輸出率.
當G-sync跟HDR都開的時候呢?
螢幕就要同時跟顯卡報HDR跟G-Sync的狀況,
前面說到HDR是關於色階壓縮,
所以基本上顯卡送過來的每個frame都會經過HDR晶片處理,
做得好一點的, 會同時考慮前後frame一致性, 差一點的大概就每張各自算各自的.
G-sync就不是HDR這顆晶片處理了,
螢幕需要視HDR處理的狀況反映在丟回去給顯示卡的參數中,
簡單的說就是個比較複雜的流程,
當解析度很高更新率很高的時候狀況更是艱難,
因為高解析度時每個frame處理的時間會拉長, 但你設定的高更新率又讓它不能太長.
顯卡的話, 它需要處理HDR protected content, 需要計算自己frame輸出率,
需要配合螢幕的能力調整輸出率, 大概是這樣,
基本上就是螢幕跟它說甚麼它就配合處理.
但PlayReady (HDR protected content, DRM處理)這邊就有個變數了,
這個基本上是Windows會決定甚麼時候需要reauthenticate,
這個authenticate的時間我記得規格上好像是7ms內要完成(不確定, 要翻spec看看)
而這個authentication大概固定每幾秒就可能需要做一次.
但Windows不會去管GPU有多忙, 那是GPU需要去處理的.
所以如果某段時間內GPU太忙, PlayReady authenticate等了比較長的時間,
或是線材不好導致PlayReady authenticate延遲不穩定或太長的話,
GPU這邊只能根據實際狀況調整, 萬一某一次authenticate超過7ms,
那可能就會有幾個ms的時間是沒有內容輸出的(因為authenticate失敗了),
需要靠螢幕上的HDR晶片去補, 或是顯示卡的其他技術去補.
或者說, PlayReady authenticate的時間也影響了輸出率,
例如如果每次authenticate的時候都等了6ms,
(無論原因是是線材不好還是GPU過載還是甚麼其他原因)
那你當時的畫面輸出率就會被鎖在166張每秒,
但GPU仍然還需要花一點時間去畫圖,
而的螢幕可能最高能7ms收一次(144Hz的情況),
在沒有G-sync認證的螢幕上, 此時你的畫面就很高機率會破掉.
(HDR處理需要時間, 螢幕不可能真的7ms收一次, 一定是更短的時間要收到)
這樣不知道你會覺得是誰的問題?
我是覺得螢幕是兇手的機率比較大啦...
※ 引述《westwade (秋思化刃)》之銘言:
: 月初入手XV272U P
: 搭配顯卡技嘉 Windforce 2070S O8G
: 想說終於可以HDR+Gsync來享受一下
: 然後過程中各種問題
: 簡單說HDR+Gsync下
: 開啟HDR模式會有機會失敗 要一直重開
: 這問題經過各種爬文收集後
: 似乎是win10的問題
: 然後前幾天更新最新的驅動後
: 玩mhwi時發現居然各種破圖成一片亮光
: 不停測試後發現重啟HDR後就解決了
: 講這麼多只是好奇
: HDR會有這些問題 是
: 1.微軟做不好
: 2.NV驅動做不好
: 3.HDR技術不成熟
: 到底是誰的鍋XDD
: -----
: Sent from JPTT on my Xiaomi Redmi Note 8 Pro.
--
Tags:
3C
All Comments
By Xanthe
at 2020-04-02T15:54
at 2020-04-02T15:54
By Jessica
at 2020-04-06T00:54
at 2020-04-06T00:54
By Edward Lewis
at 2020-04-10T00:07
at 2020-04-10T00:07
By Susan
at 2020-04-14T21:08
at 2020-04-14T21:08
By Bennie
at 2020-04-17T02:09
at 2020-04-17T02:09
By Andrew
at 2020-04-19T07:06
at 2020-04-19T07:06
By Michael
at 2020-04-23T16:03
at 2020-04-23T16:03
By Carol
at 2020-04-26T06:37
at 2020-04-26T06:37
By Sierra Rose
at 2020-04-29T07:01
at 2020-04-29T07:01
By Bennie
at 2020-05-03T19:13
at 2020-05-03T19:13
By Enid
at 2020-05-04T03:38
at 2020-05-04T03:38
By Aaliyah
at 2020-05-04T04:53
at 2020-05-04T04:53
By Odelette
at 2020-05-06T01:03
at 2020-05-06T01:03
By Annie
at 2020-05-06T10:49
at 2020-05-06T10:49
By Ula
at 2020-05-11T08:36
at 2020-05-11T08:36
By Queena
at 2020-05-13T15:20
at 2020-05-13T15:20
By Ida
at 2020-05-14T23:14
at 2020-05-14T23:14
By Brianna
at 2020-05-19T17:00
at 2020-05-19T17:00
By Dorothy
at 2020-05-22T23:02
at 2020-05-22T23:02
By Victoria
at 2020-05-25T16:19
at 2020-05-25T16:19
By Eartha
at 2020-05-30T16:14
at 2020-05-30T16:14
By Poppy
at 2020-06-02T17:37
at 2020-06-02T17:37
By Elizabeth
at 2020-06-06T03:53
at 2020-06-06T03:53
By Barb Cronin
at 2020-06-10T03:43
at 2020-06-10T03:43
By Zora
at 2020-06-12T05:19
at 2020-06-12T05:19
By Edwina
at 2020-06-13T04:40
at 2020-06-13T04:40
By Wallis
at 2020-06-16T11:28
at 2020-06-16T11:28
By Isabella
at 2020-06-19T20:25
at 2020-06-19T20:25
By Daniel
at 2020-06-22T15:50
at 2020-06-22T15:50
By Charlotte
at 2020-06-24T16:02
at 2020-06-24T16:02
By Barb Cronin
at 2020-06-29T12:39
at 2020-06-29T12:39
By Barb Cronin
at 2020-07-01T15:41
at 2020-07-01T15:41
By Franklin
at 2020-07-04T02:08
at 2020-07-04T02:08
By Eartha
at 2020-07-05T13:23
at 2020-07-05T13:23
By Aaliyah
at 2020-07-08T18:50
at 2020-07-08T18:50
By Irma
at 2020-07-09T10:35
at 2020-07-09T10:35
By Doris
at 2020-07-11T00:00
at 2020-07-11T00:00
By Sierra Rose
at 2020-07-15T21:32
at 2020-07-15T21:32
By Eden
at 2020-07-18T10:13
at 2020-07-18T10:13
By Kumar
at 2020-07-21T05:44
at 2020-07-21T05:44
By Hamiltion
at 2020-07-25T21:44
at 2020-07-25T21:44
By Zanna
at 2020-07-29T03:26
at 2020-07-29T03:26
By Kumar
at 2020-08-02T09:15
at 2020-08-02T09:15
By Isabella
at 2020-08-04T18:20
at 2020-08-04T18:20
By Linda
at 2020-08-04T23:11
at 2020-08-04T23:11
By Ethan
at 2020-08-07T00:29
at 2020-08-07T00:29
By Mia
at 2020-08-07T02:37
at 2020-08-07T02:37
By Rebecca
at 2020-08-08T10:26
at 2020-08-08T10:26
By Agnes
at 2020-08-11T18:13
at 2020-08-11T18:13
By Mia
at 2020-08-12T07:44
at 2020-08-12T07:44
By David
at 2020-08-13T17:22
at 2020-08-13T17:22
By Hedwig
at 2020-08-17T03:08
at 2020-08-17T03:08
By Bethany
at 2020-08-19T21:57
at 2020-08-19T21:57
By Ingrid
at 2020-08-21T11:28
at 2020-08-21T11:28
By Jack
at 2020-08-23T13:39
at 2020-08-23T13:39
By Genevieve
at 2020-08-24T15:31
at 2020-08-24T15:31
By James
at 2020-08-25T19:26
at 2020-08-25T19:26
By Rosalind
at 2020-08-25T23:42
at 2020-08-25T23:42
By Carol
at 2020-08-27T21:45
at 2020-08-27T21:45
By Emily
at 2020-08-30T17:56
at 2020-08-30T17:56
By Oliver
at 2020-09-04T15:59
at 2020-09-04T15:59
By Zanna
at 2020-09-07T04:18
at 2020-09-07T04:18
By Frederic
at 2020-09-11T00:50
at 2020-09-11T00:50
By Sandy
at 2020-09-15T04:51
at 2020-09-15T04:51
By Wallis
at 2020-09-16T12:55
at 2020-09-16T12:55
By Mia
at 2020-09-19T07:43
at 2020-09-19T07:43
By Liam
at 2020-09-20T18:59
at 2020-09-20T18:59
By Lily
at 2020-09-24T05:51
at 2020-09-24T05:51
By Elizabeth
at 2020-09-28T13:54
at 2020-09-28T13:54
By Adele
at 2020-09-29T02:57
at 2020-09-29T02:57
By Una
at 2020-10-01T09:28
at 2020-10-01T09:28
By Emma
at 2020-10-02T05:03
at 2020-10-02T05:03
By Rachel
at 2020-10-02T20:31
at 2020-10-02T20:31
By Liam
at 2020-10-05T16:37
at 2020-10-05T16:37
By Regina
at 2020-10-10T02:49
at 2020-10-10T02:49
By Emily
at 2020-10-10T14:39
at 2020-10-10T14:39
By Bethany
at 2020-10-12T10:52
at 2020-10-12T10:52
By Kumar
at 2020-10-12T22:53
at 2020-10-12T22:53
By Steve
at 2020-10-17T10:23
at 2020-10-17T10:23
By Yuri
at 2020-10-19T13:54
at 2020-10-19T13:54
By David
at 2020-10-24T04:19
at 2020-10-24T04:19
By Hedda
at 2020-10-28T18:46
at 2020-10-28T18:46
By Brianna
at 2020-10-30T17:07
at 2020-10-30T17:07
By Gilbert
at 2020-10-31T11:02
at 2020-10-31T11:02
By Necoo
at 2020-11-03T11:37
at 2020-11-03T11:37
By Tracy
at 2020-11-08T08:35
at 2020-11-08T08:35
By Ethan
at 2020-11-12T07:18
at 2020-11-12T07:18
By Susan
at 2020-11-16T23:33
at 2020-11-16T23:33
By Andrew
at 2020-11-17T10:01
at 2020-11-17T10:01
By Michael
at 2020-11-20T20:44
at 2020-11-20T20:44
By Dora
at 2020-11-24T15:00
at 2020-11-24T15:00
By Irma
at 2020-11-28T01:29
at 2020-11-28T01:29
By Wallis
at 2020-11-29T17:34
at 2020-11-29T17:34
By Ula
at 2020-12-04T16:02
at 2020-12-04T16:02
By Tristan Cohan
at 2020-12-07T21:01
at 2020-12-07T21:01
By Liam
at 2020-12-11T14:40
at 2020-12-11T14:40
By Edith
at 2020-12-12T16:11
at 2020-12-12T16:11
By James
at 2020-12-12T23:14
at 2020-12-12T23:14
By Wallis
at 2020-12-16T03:29
at 2020-12-16T03:29
By Emma
at 2020-12-19T07:38
at 2020-12-19T07:38
By Mason
at 2020-12-21T07:02
at 2020-12-21T07:02
By Isla
at 2020-12-25T21:35
at 2020-12-25T21:35
By Aaliyah
at 2020-12-27T01:16
at 2020-12-27T01:16
By Quintina
at 2020-12-29T11:15
at 2020-12-29T11:15
By Sandy
at 2021-01-02T15:56
at 2021-01-02T15:56
By Adele
at 2021-01-03T09:30
at 2021-01-03T09:30
By Dinah
at 2021-01-04T21:00
at 2021-01-04T21:00
By Connor
at 2021-01-07T08:44
at 2021-01-07T08:44
By Dora
at 2021-01-10T12:18
at 2021-01-10T12:18
By Vanessa
at 2021-01-12T13:36
at 2021-01-12T13:36
By Hedda
at 2021-01-16T22:47
at 2021-01-16T22:47
By Ophelia
at 2021-01-18T04:47
at 2021-01-18T04:47
By Annie
at 2021-01-20T10:09
at 2021-01-20T10:09
By Andy
at 2021-01-23T17:42
at 2021-01-23T17:42
By Selena
at 2021-01-23T20:20
at 2021-01-23T20:20
By Emma
at 2021-01-26T00:40
at 2021-01-26T00:40
By Blanche
at 2021-01-28T07:46
at 2021-01-28T07:46
By Yuri
at 2021-02-02T07:30
at 2021-02-02T07:30
By Joseph
at 2021-02-05T07:14
at 2021-02-05T07:14
By Audriana
at 2021-02-05T23:56
at 2021-02-05T23:56
By David
at 2021-02-08T20:24
at 2021-02-08T20:24
By Caitlin
at 2021-02-12T05:12
at 2021-02-12T05:12
By George
at 2021-02-12T08:57
at 2021-02-12T08:57
By Dorothy
at 2021-02-16T18:45
at 2021-02-16T18:45
By Oliver
at 2021-02-19T13:38
at 2021-02-19T13:38
By Irma
at 2021-02-23T23:36
at 2021-02-23T23:36
By Linda
at 2021-02-27T15:48
at 2021-02-27T15:48
By Susan
at 2021-02-27T23:26
at 2021-02-27T23:26
By Damian
at 2021-03-04T01:50
at 2021-03-04T01:50
By Carol
at 2021-03-05T00:02
at 2021-03-05T00:02
By Sandy
at 2021-03-06T23:01
at 2021-03-06T23:01
By Ursula
at 2021-03-08T04:54
at 2021-03-08T04:54
By Kelly
at 2021-03-13T04:43
at 2021-03-13T04:43
By Isla
at 2021-03-15T17:08
at 2021-03-15T17:08
By Oliver
at 2021-03-16T11:34
at 2021-03-16T11:34
By Cara
at 2021-03-19T09:33
at 2021-03-19T09:33
Related Posts
35K 模擬器多開+POE
By Genevieve
at 2020-03-28T14:27
at 2020-03-28T14:27
AMD R5 3400G跑的順flash遊戲嗎?
By Doris
at 2020-03-28T13:54
at 2020-03-28T13:54
35K多用途機請教
By Edith
at 2020-03-28T13:26
at 2020-03-28T13:26
新手請教主機
By Andrew
at 2020-03-28T13:12
at 2020-03-28T13:12
老舊cpu 播藍光夠力嗎?
By Daniel
at 2020-03-28T12:02
at 2020-03-28T12:02