D3d9 acceleration
Author: a | 2025-04-24
Initially I tried using VP MFT with D3D9, where it doesn't enable GPU acceleration. In this case, it was fine for NV12 to I420 conversion. Since D3D9 doesn't make use of GPU acceleration, I am trying migration to D3D11.
LinuxQuestions.org - D3D9 native acceleration on Slackware64
Successfully set up d3d9 hooks00:05:42: D3D9EndScene called00:05:42: D3D9Present called00:05:42: ---------------------- Cleared D3D9 Capture ----------------------00:05:42: received restart event, capturing00:05:42: DoD3D9GPUHook: success00:05:42: D3D9EndScene called00:05:42: D3D9Present called00:05:42: D3DSURFACE_DESC {00:05:42: Format: D3DFMT_A8R8G8B800:05:42: Type: D3DRTYPE_SURFACE00:05:42: Usage: D3DUSAGE_RENDERTARGET 00:05:42: Pool: D3DPOOL_DEFAULT00:05:42: MultiSampleType: D3DMULTISAMPLE_NONE00:05:42: MultiSampleQuality: 000:05:42: Width: 192000:05:42: Height: 108000:05:42: };00:05:42: successfully capturing d3d9 frames via GPU00:05:51: D3D9Reset called00:05:51: ---------------------- Cleared D3D9 Capture ----------------------00:05:51: successfully set up d3d9 hooks00:05:51: D3D9EndScene called00:05:51: D3D9Present called00:05:51: DoD3D9GPUHook: success00:05:51: D3DSURFACE_DESC {00:05:51: Format: D3DFMT_A8R8G8B800:05:51: Type: D3DRTYPE_SURFACE00:05:51: Usage: D3DUSAGE_RENDERTARGET 00:05:51: Pool: D3DPOOL_DEFAULT00:05:51: MultiSampleType: D3DMULTISAMPLE_NONE00:05:51: MultiSampleQuality: 000:05:51: Width: 192000:05:51: Height: 108000:05:51: };00:05:51: successfully capturing d3d9 frames via GPU00:06:15: D3D9Reset called00:06:15: ---------------------- Cleared D3D9 Capture ----------------------00:06:15: successfully set up d3d9 hooks00:06:15: D3D9EndScene called00:06:15: D3D9Present called00:06:15: DoD3D9GPUHook: success00:06:15: D3DSURFACE_DESC {00:06:15: Format: D3DFMT_A8R8G8B800:06:15: Type: D3DRTYPE_SURFACE00:06:15: Usage: D3DUSAGE_RENDERTARGET 00:06:15: Pool: D3DPOOL_DEFAULT00:06:15: MultiSampleType: D3DMULTISAMPLE_NONE00:06:15: MultiSampleQuality: 000:06:15: Width: 192000:06:15: Height: 108000:06:15: };00:06:15: successfully capturing d3d9 frames via GPU07:07:45: D3D9Reset called07:07:45: ---------------------- Cleared D3D9 Capture ----------------------07:07:45: successfully set up d3d9 hooks07:07:45: D3D9EndScene called07:07:45: D3D9Present called07:07:45: ---------------------- Cleared D3D9 Capture ----------------------07:07:45: D3D9EndScene called07:07:45: D3D9Present called07:08:21: D3D9Reset called07:08:21: ---------------------- Cleared D3D9 Capture ----------------------07:08:21: successfully set up d3d9 hooks07:08:21: D3D9EndScene called07:08:21: D3D9Present called07:09:42: D3D9Reset called07:09:42: ---------------------- Cleared D3D9 Capture ----------------------07:09:42: successfully set up d3d9 hooks07:09:42: D3D9EndScene called07:09:42: D3D9Present called07:13:15: D3D9Reset called07:13:15: ---------------------- Cleared D3D9 Capture ----------------------07:13:15: successfully set up d3d9 hooks07:13:15: D3D9EndScene called07:13:15: D3D9Present called Initially I tried using VP MFT with D3D9, where it doesn't enable GPU acceleration. In this case, it was fine for NV12 to I420 conversion. Since D3D9 doesn't make use of GPU acceleration, I am trying migration to D3D11. Download and conversion - [10.8%] [avg time: 0.335 ms] [children: 5.48%] [unaccounted: 5.32%]07:14:05: | | flush - [4.52%] [avg time: 0.14 ms]07:14:05: | | CopyResource - [0.839%] [avg time: 0.026 ms]07:14:05: | | conversion to 4:2:0 - [0.129%] [avg time: 0.004 ms]07:14:05: Convert444Threads - [100%] [avg time: 1.573 ms] [children: 99.6%] [unaccounted: 0.381%]07:14:05: | Convert444toNV12 - [99.6%] [avg time: 1.567 ms]07:14:05: encoder thread frame - [100%] [avg time: 2.497 ms]07:14:05: ==============================================================07:14:05: 07:14:05: 07:14:05: Profiler CPU results:07:14:05: 07:14:05: ==============================================================07:14:05: video thread frame - [cpu time: avg 1.747 ms, total 20280.1 ms] [avg calls per frame: 1]07:14:05: | scene->Preprocess - [cpu time: avg 1.232 ms, total 14305.3 ms] [avg calls per frame: 1]07:14:05: | GPU download and conversion - [cpu time: avg 0.106 ms, total 1232.41 ms] [avg calls per frame: 1]07:14:05: | | flush - [cpu time: avg 0.037 ms, total 436.805 ms] [avg calls per frame: 1]07:14:05: | | CopyResource - [cpu time: avg 0.028 ms, total 327.604 ms] [avg calls per frame: 1]07:14:05: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 62.401 ms] [avg calls per frame: 1]07:14:05: Convert444Threads - [cpu time: avg 1.542 ms, total 35708.6 ms] [avg calls per frame: 2]07:14:05: | Convert444toNV12 - [cpu time: avg 1.54 ms, total 35677.4 ms] [avg calls per frame: 2]07:14:05: encoder thread frame - [cpu time: avg 1.586 ms, total 18501.7 ms] [avg calls per frame: 1]07:14:05: ==============================================================07:14:05: 07:14:05: =====Stream End: 2014-01-07, 07:14:05=================================================07:18:00: CLR host plugin instance deleted; removing dynamically loaded localization strings07:18:00: Video Source Plugin instance deleted; removing dynamically loaded localization stringsLast game capture log:2014-01-07, 00:04:10: we're booting up: 00:04:10: CaptureThread: attached to process DustAET.exe00:04:10: D3D9 Present00:04:10: (half life scientist) everything.. seems to be in order00:04:12: D3D9EndScene called00:04:12: D3DPRESENT_PARAMETERS {00:04:12: BackBufferWidth: 192000:04:12: BackBufferHeight: 108000:04:12: BackBufferFormat: D3DFMT_A8R8G8B800:04:12: BackBufferCount: 100:04:12: MultiSampleType: D3DMULTISAMPLE_NONE00:04:12: MultiSampleQuality: 000:04:12: SwapEffect: D3DSWAPEFFECT_DISCARD00:04:12: hDeviceWindow: 13261400:04:12: Windowed: false00:04:12: EnableAutoDepthStencil: true00:04:12: AutoDepthStencilFormat: D3DFMT_D24X800:04:12: Flags: None00:04:12: FullScreen_RefreshRateInHz: 12000:04:12: PresentationInterval: 100:04:12: };00:04:12: successfully set up d3d9 hooks00:04:12: D3D9Present called00:04:12: DoD3D9GPUHook: success00:04:13: D3DSURFACE_DESC {00:04:13: Format: D3DFMT_A8R8G8B800:04:13: Type: D3DRTYPE_SURFACE00:04:13: Usage: D3DUSAGE_RENDERTARGET 00:04:13: Pool: D3DPOOL_DEFAULT00:04:13: MultiSampleType: D3DMULTISAMPLE_NONE00:04:13: MultiSampleQuality: 000:04:13: Width: 192000:04:13: Height: 108000:04:13: };00:04:13: successfully capturing d3d9 frames via GPU00:04:39: D3D9Reset called00:04:39: ---------------------- Cleared D3D9 Capture ----------------------00:04:39: successfully set up d3d9 hooks00:04:39: D3D9EndScene called00:04:39: D3D9Present called00:04:39: DoD3D9GPUHook: success00:04:39: D3DSURFACE_DESC {00:04:39: Format: D3DFMT_A8R8G8B800:04:39: Type: D3DRTYPE_SURFACE00:04:39: Usage: D3DUSAGE_RENDERTARGET 00:04:39: Pool: D3DPOOL_DEFAULT00:04:39: MultiSampleType: D3DMULTISAMPLE_NONE00:04:39: MultiSampleQuality: 000:04:39: Width: 192000:04:39: Height: 108000:04:39: };00:04:39: successfully capturing d3d9 frames via GPU00:05:42: D3D9Reset called00:05:42: ---------------------- Cleared D3D9 Capture ----------------------00:05:42:Comments
Successfully set up d3d9 hooks00:05:42: D3D9EndScene called00:05:42: D3D9Present called00:05:42: ---------------------- Cleared D3D9 Capture ----------------------00:05:42: received restart event, capturing00:05:42: DoD3D9GPUHook: success00:05:42: D3D9EndScene called00:05:42: D3D9Present called00:05:42: D3DSURFACE_DESC {00:05:42: Format: D3DFMT_A8R8G8B800:05:42: Type: D3DRTYPE_SURFACE00:05:42: Usage: D3DUSAGE_RENDERTARGET 00:05:42: Pool: D3DPOOL_DEFAULT00:05:42: MultiSampleType: D3DMULTISAMPLE_NONE00:05:42: MultiSampleQuality: 000:05:42: Width: 192000:05:42: Height: 108000:05:42: };00:05:42: successfully capturing d3d9 frames via GPU00:05:51: D3D9Reset called00:05:51: ---------------------- Cleared D3D9 Capture ----------------------00:05:51: successfully set up d3d9 hooks00:05:51: D3D9EndScene called00:05:51: D3D9Present called00:05:51: DoD3D9GPUHook: success00:05:51: D3DSURFACE_DESC {00:05:51: Format: D3DFMT_A8R8G8B800:05:51: Type: D3DRTYPE_SURFACE00:05:51: Usage: D3DUSAGE_RENDERTARGET 00:05:51: Pool: D3DPOOL_DEFAULT00:05:51: MultiSampleType: D3DMULTISAMPLE_NONE00:05:51: MultiSampleQuality: 000:05:51: Width: 192000:05:51: Height: 108000:05:51: };00:05:51: successfully capturing d3d9 frames via GPU00:06:15: D3D9Reset called00:06:15: ---------------------- Cleared D3D9 Capture ----------------------00:06:15: successfully set up d3d9 hooks00:06:15: D3D9EndScene called00:06:15: D3D9Present called00:06:15: DoD3D9GPUHook: success00:06:15: D3DSURFACE_DESC {00:06:15: Format: D3DFMT_A8R8G8B800:06:15: Type: D3DRTYPE_SURFACE00:06:15: Usage: D3DUSAGE_RENDERTARGET 00:06:15: Pool: D3DPOOL_DEFAULT00:06:15: MultiSampleType: D3DMULTISAMPLE_NONE00:06:15: MultiSampleQuality: 000:06:15: Width: 192000:06:15: Height: 108000:06:15: };00:06:15: successfully capturing d3d9 frames via GPU07:07:45: D3D9Reset called07:07:45: ---------------------- Cleared D3D9 Capture ----------------------07:07:45: successfully set up d3d9 hooks07:07:45: D3D9EndScene called07:07:45: D3D9Present called07:07:45: ---------------------- Cleared D3D9 Capture ----------------------07:07:45: D3D9EndScene called07:07:45: D3D9Present called07:08:21: D3D9Reset called07:08:21: ---------------------- Cleared D3D9 Capture ----------------------07:08:21: successfully set up d3d9 hooks07:08:21: D3D9EndScene called07:08:21: D3D9Present called07:09:42: D3D9Reset called07:09:42: ---------------------- Cleared D3D9 Capture ----------------------07:09:42: successfully set up d3d9 hooks07:09:42: D3D9EndScene called07:09:42: D3D9Present called07:13:15: D3D9Reset called07:13:15: ---------------------- Cleared D3D9 Capture ----------------------07:13:15: successfully set up d3d9 hooks07:13:15: D3D9EndScene called07:13:15: D3D9Present called
2025-04-22Download and conversion - [10.8%] [avg time: 0.335 ms] [children: 5.48%] [unaccounted: 5.32%]07:14:05: | | flush - [4.52%] [avg time: 0.14 ms]07:14:05: | | CopyResource - [0.839%] [avg time: 0.026 ms]07:14:05: | | conversion to 4:2:0 - [0.129%] [avg time: 0.004 ms]07:14:05: Convert444Threads - [100%] [avg time: 1.573 ms] [children: 99.6%] [unaccounted: 0.381%]07:14:05: | Convert444toNV12 - [99.6%] [avg time: 1.567 ms]07:14:05: encoder thread frame - [100%] [avg time: 2.497 ms]07:14:05: ==============================================================07:14:05: 07:14:05: 07:14:05: Profiler CPU results:07:14:05: 07:14:05: ==============================================================07:14:05: video thread frame - [cpu time: avg 1.747 ms, total 20280.1 ms] [avg calls per frame: 1]07:14:05: | scene->Preprocess - [cpu time: avg 1.232 ms, total 14305.3 ms] [avg calls per frame: 1]07:14:05: | GPU download and conversion - [cpu time: avg 0.106 ms, total 1232.41 ms] [avg calls per frame: 1]07:14:05: | | flush - [cpu time: avg 0.037 ms, total 436.805 ms] [avg calls per frame: 1]07:14:05: | | CopyResource - [cpu time: avg 0.028 ms, total 327.604 ms] [avg calls per frame: 1]07:14:05: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 62.401 ms] [avg calls per frame: 1]07:14:05: Convert444Threads - [cpu time: avg 1.542 ms, total 35708.6 ms] [avg calls per frame: 2]07:14:05: | Convert444toNV12 - [cpu time: avg 1.54 ms, total 35677.4 ms] [avg calls per frame: 2]07:14:05: encoder thread frame - [cpu time: avg 1.586 ms, total 18501.7 ms] [avg calls per frame: 1]07:14:05: ==============================================================07:14:05: 07:14:05: =====Stream End: 2014-01-07, 07:14:05=================================================07:18:00: CLR host plugin instance deleted; removing dynamically loaded localization strings07:18:00: Video Source Plugin instance deleted; removing dynamically loaded localization stringsLast game capture log:2014-01-07, 00:04:10: we're booting up: 00:04:10: CaptureThread: attached to process DustAET.exe00:04:10: D3D9 Present00:04:10: (half life scientist) everything.. seems to be in order00:04:12: D3D9EndScene called00:04:12: D3DPRESENT_PARAMETERS {00:04:12: BackBufferWidth: 192000:04:12: BackBufferHeight: 108000:04:12: BackBufferFormat: D3DFMT_A8R8G8B800:04:12: BackBufferCount: 100:04:12: MultiSampleType: D3DMULTISAMPLE_NONE00:04:12: MultiSampleQuality: 000:04:12: SwapEffect: D3DSWAPEFFECT_DISCARD00:04:12: hDeviceWindow: 13261400:04:12: Windowed: false00:04:12: EnableAutoDepthStencil: true00:04:12: AutoDepthStencilFormat: D3DFMT_D24X800:04:12: Flags: None00:04:12: FullScreen_RefreshRateInHz: 12000:04:12: PresentationInterval: 100:04:12: };00:04:12: successfully set up d3d9 hooks00:04:12: D3D9Present called00:04:12: DoD3D9GPUHook: success00:04:13: D3DSURFACE_DESC {00:04:13: Format: D3DFMT_A8R8G8B800:04:13: Type: D3DRTYPE_SURFACE00:04:13: Usage: D3DUSAGE_RENDERTARGET 00:04:13: Pool: D3DPOOL_DEFAULT00:04:13: MultiSampleType: D3DMULTISAMPLE_NONE00:04:13: MultiSampleQuality: 000:04:13: Width: 192000:04:13: Height: 108000:04:13: };00:04:13: successfully capturing d3d9 frames via GPU00:04:39: D3D9Reset called00:04:39: ---------------------- Cleared D3D9 Capture ----------------------00:04:39: successfully set up d3d9 hooks00:04:39: D3D9EndScene called00:04:39: D3D9Present called00:04:39: DoD3D9GPUHook: success00:04:39: D3DSURFACE_DESC {00:04:39: Format: D3DFMT_A8R8G8B800:04:39: Type: D3DRTYPE_SURFACE00:04:39: Usage: D3DUSAGE_RENDERTARGET 00:04:39: Pool: D3DPOOL_DEFAULT00:04:39: MultiSampleType: D3DMULTISAMPLE_NONE00:04:39: MultiSampleQuality: 000:04:39: Width: 192000:04:39: Height: 108000:04:39: };00:04:39: successfully capturing d3d9 frames via GPU00:05:42: D3D9Reset called00:05:42: ---------------------- Cleared D3D9 Capture ----------------------00:05:42:
2025-04-05Do more on the web, with a fast and secure browser! Download Opera browser with: built-in ad blocker battery saver free VPN Download Opera This topic has been deleted. Only users with topic management privileges can see it. last edited by Hi, want to report a issue with medium to small images blurrysample:opera 89.0.4447.38:brave/chrome/firefox (all up to date, no difference):my first guess was some anti aliasing was filtering the images (but only the small ones? weird).flagging #use-angle to d3d9 "solve" the issue for like 3 days, but now, no even disabling hardware acceleration my previous work around, don't fix it.try:-some others flags (all gpu ones, vulkan, etc), no results.-purging cache (AppData\Local\Opera Software\Opera Stable) and data (AppData\Roaming\Opera Software\Opera Stable), no results.-reinstalling fresh, no data/cache, no extensions, no flags or any other modification, no results.-fiddling with NVidia control panel, no results.-Installing previous versions(83 71 66), no results.-creating a new user profile and Installing, no anti-virus or other programs running, no results.-in other pc (windows 7 home premium, intel graphics) same results.my current OS is Windows 10 pro 21h2 19044.1826 (Nvidia GTX 1080 516.59)Any ideas? Thanks. MrMuFa5a last edited by @mrmufa5a here another sample more easy to spot and link to: Opera:In brave and chrome:re tested on another PC windows 8, same issue. alobpreis @MrMuFa5a last edited by @mrmufa5a said in blurry images:@mrmufa5a here another sample more easy to spot and link to: my Opera (88.0.4412.74) the image appears perfectly fine, like the second one you posted. Which zoom % are you using? I tried different zooms from 100% to 200% and it looked fine all the way.Did you check if the source image used by the browsers is the same in all cases?Here, for HP it uses this one: you try downloading a Opera portable to see how it works there? alobpreis
2025-04-14