Comments (35)
Intel, please give this bug some more attention. I had a good look on a sample that shows the artifacts. The macroblock artifacts were only present in B-frames that referenced at least one P-frame that has Intensity Compensation (MVMODE='Intensity Compensation'). The source code already indicates a FIXME when using luma_scale. The artifacts may just be due to this FIXME and fixing/implementing Luma Scaling may just be solution.
*** UPDATE ***
The patch below solves the macroblocking issues for me on Haswell platform. I did not implement other platforms. The idea is to store the intensity compensation parameters on a P-frame and use them on subsequent B-frames.
Regards,
Jerome Borsboom
from intel-vaapi-driver.
How about a big
BUMP
At this rate, I'll be old, retired, and won't give a rat's xxx before it makes progress.
from intel-vaapi-driver.
I have tried to implement a better integrated version of the patch for more platforms. Please build and try out the code at carpalis/intel-vaapi-driver.
from intel-vaapi-driver.
Assign the bug Focus to check this issue on SKL+
from intel-vaapi-driver.
I would like to see this long standing issue resolved. I can provide samples where the macro blocking artifacts are occurring with VC-1. Would like to see this issue resolved with Haswell, Braswell, Broadwell, and Skylake. Once I acquire an Apollo Lake and Kaby Lake NUC, I will test against those as well.
This is occurring with LibreELEC 8.0 Kernel 4.9.8 using Mesa 13.0.3, VAAPI Intel Driver 1.7.3
from intel-vaapi-driver.
I also would like this resolved. There are a lot of folks who are depending on this working cleanly, especially in Linux, so we can use the hardware directly and free up the processor to all the other things it needs to do.
from intel-vaapi-driver.
@lqvnguyen, Please provide a sample, thanks
from intel-vaapi-driver.
@xhaihao Samples provided here.
from intel-vaapi-driver.
I have to say that I also would like a fix for this.
from intel-vaapi-driver.
@xhaihao Were you able to review the samples?
from intel-vaapi-driver.
Updates?
from intel-vaapi-driver.
@lqvnguyen Sorry for slow response. I can reproduce the issue with the samples you provided. We will look into the issue. but it is hard to say when we will fix the issue.
from intel-vaapi-driver.
I'd also like to have this resolved. This has been broken in linux for a long time, and I'd like to be able to use my CPU for things other than software decoding VC-1.
from intel-vaapi-driver.
@xhaihao Now that you have reproduced it, do you have an idea of the root cause? This issue has plagued the Linux platform for years, yet functions properly under Windows. What can we do to get more support and traction on this issue?
from intel-vaapi-driver.
@lqvnguyen Currently the root is unknown, we will check the pipeline setting for VC1 first.
from intel-vaapi-driver.
This was just tested against the NUC7i3BNK. Same issue as all previous Intel CPU/iGPUs mentioned in my first post.
from intel-vaapi-driver.
Additionally Windows has support for VC-1 1080i. Why is there no support for this under Linux? Do you need a new GHI for this?
from intel-vaapi-driver.
Update please.
from intel-vaapi-driver.
Is there any update on this? I'm getting increasingly frustrated with needing to decode VC-1 in software.
from intel-vaapi-driver.
@lqvnguyen @DaveBinM unfortunately, we still not root cause the issue.
from intel-vaapi-driver.
Can we have the priority raised for this?
from intel-vaapi-driver.
I'd also like to see the priority of this increased, as it's an ongoing issue for me.
from intel-vaapi-driver.
Any chance someone could provide an update on this, please?
from intel-vaapi-driver.
Bump
from intel-vaapi-driver.
This is a problem for me as well as I can't migrate an app from Windows to my NAS or Linux machines where i need it to run due to this issue.
Is there an update or expected ETA on this? Can you tell us what progress is being made?
Thanks,
Carlo
from intel-vaapi-driver.
We did some analysis, checked all the input/output parameters and made many attempts, but unfortunately, we still can't root cause the issue.we will continue to work on this issue once some urgent tasks on hand are solved, Thanks a lot for your patience and understanding.
from intel-vaapi-driver.
Update?
from intel-vaapi-driver.
Jerome Borsboo--Thank you for contributing your knowledge. The community appreciates this.
from intel-vaapi-driver.
@carpalis many thanks for the patch, I tried the patch on SKL and it works fine. Could you submit a PR?
from intel-vaapi-driver.
@carpalis Thanks so much for this contribution!!! @xhaihao Are you looking to add this to the drivers for haswell and later generations?
from intel-vaapi-driver.
@carpalis Thank you so much for this contribution. I'm very glad to see this long standing issue resolved! 🙂
from intel-vaapi-driver.
As public documentation for SandyBridge graphics does not include the Command Reference, I could not implement the patch for SandyBridge platform. If someone from Intel could tell me which field in the MFX_VC1_PRED_PIPE_STATE command enables intensity scaling for the forward reference plane, I can implement the patch for SandyBridge. It should be either bit 0 or bit 2 in the last byte of the command.
from intel-vaapi-driver.
It is bit2 @carpalis
from intel-vaapi-driver.
@fritsch said he'll find the sample and report back, thanks!
from intel-vaapi-driver.
SNB is now also included in the patch set.
from intel-vaapi-driver.
Related Issues (20)
- H.264 320x240 encode produces a duplicate frame HOT 1
- H264 encoder skipping entrie frames at low bitrate
- h264 support for GM45 chipset HOT 64
- get chip id failed: -1 [2] HOT 7
- PCI ID 0x2a02 Missing from device ID list
- Question : does driver support VA_FILTER_SCALING on Wayland ?
- How to change skip threshold
- upgrade from 5.18 to 5.19 kernel breaks interlaced video playback HOT 8
- uhd 610 decoding hevc 8k hdr error. HOT 1
- Cut new release HOT 1
- Upgrade from 5.18 to 5.19 kernel breaks VAAPI video playback HOT 6
- This driver is incompatible with oneVPL HOT 2
- Intel Arc A770 Linux Chrome vaapi_wrapper.cc(843)] Could not get a valid VA display HOT 1
- implement DRI3 support HOT 1
- HEVC/H.265 not showing up under vainfo
- Tthe vaapi does not support UHD Graphics 750 HOT 1
- IRC link to https://freenode.net/kb/answer/chat does not work
- How to check if HW decoding is supported for model "X"? HOT 4
- [BUG] Problems with VaapiVideoDecodeGL from Chromium in Wayland HOT 1
- [Bug]: VAAPI HEVC decoding hangs GPU HOT 4
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 intel-vaapi-driver.