Comments (9)
作者目前在备考
from anime4kcpp.
哈哈,好的,作者加油。
另外由于我最近在折腾potplayer播放器,我使用的是lav+mpcvr+anime4cpp(使用的是加载为滤镜的dll文件版本)的滤镜配置,我看到了 #73 的留言,我尝试了多次之后,发现只要lav或者mpcvr一旦我强制要求调用独显进行工作时,就会出现卡顿无法播放的情况,但不调用独显,让lav使用软解,是都能正常工作的。当然,我对这些不甚了解。等作者有空时可以尝试一下,我只是表达一下我的做法。
from anime4kcpp.
dll滤镜工作的前提是必须把数据copy回内存,如需要硬件解码请使用DXVA2 copy-back或者D3D11 copy-back解码器。
硬解码、anime4kcpp和mpcvr三者是可以同时工作的。
from anime4kcpp.
那应该如何设置才行,以下是我的lav和mpcvr的设置,我同时在mpcvr中使用了超分辨
from anime4kcpp.
不过即便我在lav中选择none进行软解,我的独显已经在运行时少则占用50%,大部分时候占用在80%~90%,请问还可以让lav硬解吗?
from anime4kcpp.
不过即便我在lav中选择none进行软解,我的独显已经在运行时少则占用50%,大部分时候占用在80%~90%,请问还可以让lav硬解吗?
解码是单独的电路,一般不影响显卡渲染和计算,要开硬解的话,lav解码器选dxva2 copy-back或者d3d11 copy-back,显卡可以选核显或者独显,mpcvr保持默认就行。
显卡高负载的原因可能源于mpcvr的超分,1080p的原视屏两次超分就是8k了。
关于上面提到的解码显卡选择,还需要具体问题具体分析,力求最少的数据拷贝次数,毕竟就算是算力很高的显卡,如果你的系统内存或者显存带宽跟不上依然可能卡顿。
如果你的系统是核显负责输出的话,可以用核显解码,独显跑滤镜,最后交给核显输出,这样理论上数据流只需要在显存内存来回拷贝2次,性能可能是比较好的,此时如果你开独显硬解,则数据理论上需要拷贝3次。
如果是独显直连,则应该完全绕开核显,从解码到渲染都不使用核显。
实际情况还需要测试。
from anime4kcpp.
感谢你的耐心解释,我尝试了让lav解码使用核显,mpcvr用独显渲染,并不会出现卡顿和崩溃现象。当然,我在资源管理器中看到我的内存以及显卡的显存带宽是完全足够的。
另外,我可以向你请教一下这个滤镜和原来的0.9hlsl版的着色器一起使用,能够起到加强的效果吗?
2.我现在的设置是属于使用独显来使这个滤镜进行吗?我在wiki中没有理解这些设置的参数,谢谢。
from anime4kcpp.
原版hlsl没必要使用,现在的配置就是在使用独立显卡的cuda跑滤镜。
mpcvr用独立显卡渲染的话,如果显示器是核显负责输出,还是会多一次把数据复制给核显的过程,和打游戏时类似,如果核显的性能不是弱到跑不动mpcvr渲染器的话,可能并不会有性能提升,但会增加带宽压力。
from anime4kcpp.
好的,谢谢作者
from anime4kcpp.
Related Issues (20)
- Can't compile on fedora 36 with cuda HOT 1
- Upscaling video gameplay HOT 1
- Can't build on Arch HOT 1
- Anime4KCPP 使用时资源占用很低 HOT 1
- Can't select the CUDA GPU or use its platform HOT 1
- Add/Edit some info to the wiki HOT 1
- Anime4KCPP在天玑8100上的性能问题
- 编译 Android 端时出错, HOT 4
- 请问您 OpenCV for Android 的版本 HOT 8
- Cant compile on Arch Linux Error on Downloader.cpp hpp HOT 7
- Shader vs model HOT 1
- Android 端无法启用 GPU 模式 HOT 4
- 将 Anime4KCPP_Android 用于视频上,出现 crash,您帮忙看下 HOT 1
- WebAssembly support HOT 1
- Training ACNet
- Allow to adjust strength of CAS sharpening
- Failed to write
- Add feature to prevent color changes after upscale
- Question to compare waifu2x and anime4k HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anime4kcpp.