Решено Перенести отрисовку "ChromiumInstance.Renderer" на GPU

zarufakis

Client
Регистрация
22.03.2019
Сообщения
1 528
Благодарностей
884
Баллы
113
У многих зенопостер крутится на домашних компах, может быть добавите функцию отрисовки страницы на GPU (как опцию), все равно простаивает такие высокопроизводительные камни.

44445
 
  • Спасибо
Реакции: udder

Lord_Alfred

Client
Регистрация
09.10.2015
Сообщения
3 916
Благодарностей
3 857
Баллы
113
А хром по дефолту умеет использовать GPU для этого?
 

zarufakis

Client
Регистрация
22.03.2019
Сообщения
1 528
Благодарностей
884
Баллы
113

udder

Client
Регистрация
28.03.2017
Сообщения
600
Благодарностей
119
Баллы
43
Отличное предложение. Благодаря вашей наводки подключил GPU к Хрому на десктопе.
4К на ютубе открыл
44531
 

Yuriy Zymlex

Moderator
Команда форума
Регистрация
24.10.2016
Сообщения
6 373
Благодарностей
3 297
Баллы
113
У флагов обычно есть аналог в аргументах (может привести к багам и вылетам):

--gpu ⊗ No description ↪
--gpu-launcher ⊗ Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. ↪
--gpu-no-context-lost ⊗ Inform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset. ↪
--gpu-preferences ⊗ Passes encoded GpuPreferences to GPU process. ↪
--gpu-process ⊗ Flags spied upon from other layers. ↪
--gpu-program-cache-size-kb ⊗ Sets the maximum size of the in-memory gpu program cache, in kb ↪
--gpu-rasterization-msaa-sample-count ⊗ The number of multisample antialiasing samples for GPU rasterization. Requires MSAA support on GPU to have an effect. 0 disables MSAA. ↪
--gpu-sandbox-allow-sysv-shm ⊗ Allows shmat() system call in the GPU sandbox. ↪
--gpu-sandbox-start-early ⊗ Starts the GPU sandbox before creating a GL context. ↪
--gpu-startup-dialog ⊗ Causes the GPU process to display a dialog on launch. ↪
--gpu2-startup-dialog[1] ⊗ Causes the second GPU process used for gpu info collection to display a dialog on launch. ↪
--in-process-gpu ⊗ Run the GPU process as a thread in the browser process. ↪
--enable-gpu-appcontainer[1] ⊗ Enables AppContainer sandbox on the GPU process. ↪
--enable-gpu-memory-buffer-compositor-resources ⊗ Specify that all compositor resources should be backed by GPU memory buffers. ↪
--enable-gpu-memory-buffer-video-frames ⊗ Enable GpuMemoryBuffer backed VideoFrames. ↪
--enable-gpu-rasterization ⊗ Allow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing + impl-side painting. ↪
--enable-unsafe-webgpu ⊗ No description ↪

Полный список: https://peter.sh/experiments/chromium-command-line-switches/#reduce-security-for-testing
 

zarufakis

Client
Регистрация
22.03.2019
Сообщения
1 528
Благодарностей
884
Баллы
113
У флагов обычно есть аналог в аргументах (может привести к багам и вылетам):

--gpu ⊗ No description ↪
--gpu-launcher ⊗ Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. ↪
--gpu-no-context-lost ⊗ Inform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset. ↪
--gpu-preferences ⊗ Passes encoded GpuPreferences to GPU process. ↪
--gpu-process ⊗ Flags spied upon from other layers. ↪
--gpu-program-cache-size-kb ⊗ Sets the maximum size of the in-memory gpu program cache, in kb ↪
--gpu-rasterization-msaa-sample-count ⊗ The number of multisample antialiasing samples for GPU rasterization. Requires MSAA support on GPU to have an effect. 0 disables MSAA. ↪
--gpu-sandbox-allow-sysv-shm ⊗ Allows shmat() system call in the GPU sandbox. ↪
--gpu-sandbox-start-early ⊗ Starts the GPU sandbox before creating a GL context. ↪
--gpu-startup-dialog ⊗ Causes the GPU process to display a dialog on launch. ↪
--gpu2-startup-dialog[1] ⊗ Causes the second GPU process used for gpu info collection to display a dialog on launch. ↪
--in-process-gpu ⊗ Run the GPU process as a thread in the browser process. ↪
--enable-gpu-appcontainer[1] ⊗ Enables AppContainer sandbox on the GPU process. ↪
--enable-gpu-memory-buffer-compositor-resources ⊗ Specify that all compositor resources should be backed by GPU memory buffers. ↪
--enable-gpu-memory-buffer-video-frames ⊗ Enable GpuMemoryBuffer backed VideoFrames. ↪
--enable-gpu-rasterization ⊗ Allow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing + impl-side painting. ↪
--enable-unsafe-webgpu ⊗ No description ↪

Полный список: https://peter.sh/experiments/chromium-command-line-switches/#reduce-security-for-testing
Это все конечно прекрасно, но может есть какое нибудь универсальное решение (набор ключей), позволяющее включить рендеринг страницы в GPU.

44545
 

Yuriy Zymlex

Moderator
Команда форума
Регистрация
24.10.2016
Сообщения
6 373
Благодарностей
3 297
Баллы
113
А галка GPU в настройках PM > инстанс установлена?
 

zarufakis

Client
Регистрация
22.03.2019
Сообщения
1 528
Благодарностей
884
Баллы
113

zarufakis

Client
Регистрация
22.03.2019
Сообщения
1 528
Благодарностей
884
Баллы
113
Даже смешно, калькулятор юзает GPU, а ЗП нет

44547
 

Yuriy Zymlex

Moderator
Команда форума
Регистрация
24.10.2016
Сообщения
6 373
Благодарностей
3 297
Баллы
113

Yuriy Zymlex

Moderator
Команда форума
Регистрация
24.10.2016
Сообщения
6 373
Благодарностей
3 297
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)