Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Hello, I have a question about D3D11_MEMORY、 D3D9_MEMORY 、SYSTEM_MEMORY #2957

Open
1515guo opened this issue Jul 12, 2022 · 7 comments
Open
Labels

Comments

@1515guo
Copy link

1515guo commented Jul 12, 2022

system CPU:Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 GHz
SYStem GPU: Intel(R) UHD Graphics 630
I read https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/tutorials/mediasdk-tutorials-readme.md
say By moving from system to video memory implicit copies are eliminated, thus improving GPU load and overall performance. CPU utilization should also decrease slightly.
Snipaste_2022-07-12_15-56-26

I build sample_encode.exe test D3D11_MEMORY、 D3D9_MEMORY 、SYSTEM_MEMORY difference

I use sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -sys
Snipaste_2022-07-12_16-00-14

Snipaste_2022-07-12_16-00-53

@1515guo 1515guo added the bug label Jul 12, 2022
@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -d3d
Snipaste_2022-07-12_16-03-37
Snipaste_2022-07-12_16-02-23

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -d3d11
Snipaste_2022-07-12_16-04-38
Snipaste_2022-07-12_16-05-24

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

Snipaste_2022-07-12_16-27-52

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

I find use SYSTEM_MEMORY is performance and GPU 、CPU 、running times fast D3D11_MEMORY、 D3D9_MEMORY

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

@dmitryermilov look forward to your reply

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

why set default D3D11_MEMORY

@1515guo
Copy link
Author

1515guo commented Jul 12, 2022

look forward to your reply @nagos @uartie @diablodale @ph0b

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant