GithubHelp home page GithubHelp logo

Comments (35)

carpalis avatar carpalis commented on June 2, 2024 3

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.

vaapi-vc1.zip

Regards,
Jerome Borsboom

from intel-vaapi-driver.

ChuckPa avatar ChuckPa commented on June 2, 2024 1

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.

carpalis avatar carpalis commented on June 2, 2024 1

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.

xhaihao avatar xhaihao commented on June 2, 2024

Assign the bug Focus to check this issue on SKL+

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

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.

ChuckPa avatar ChuckPa commented on June 2, 2024

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.

xhaihao avatar xhaihao commented on June 2, 2024

@lqvnguyen, Please provide a sample, thanks

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

@xhaihao Samples provided here.

from intel-vaapi-driver.

LongChair avatar LongChair commented on June 2, 2024

I have to say that I also would like a fix for this.

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

@xhaihao Were you able to review the samples?

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Updates?

from intel-vaapi-driver.

xhaihao avatar xhaihao commented on June 2, 2024

@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.

DaveBinM avatar DaveBinM commented on June 2, 2024

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.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

@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.

xhaihao avatar xhaihao commented on June 2, 2024

@lqvnguyen Currently the root is unknown, we will check the pipeline setting for VC1 first.

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

This was just tested against the NUC7i3BNK. Same issue as all previous Intel CPU/iGPUs mentioned in my first post.

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

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.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Update please.

from intel-vaapi-driver.

DaveBinM avatar DaveBinM commented on June 2, 2024

Is there any update on this? I'm getting increasingly frustrated with needing to decode VC-1 in software.

from intel-vaapi-driver.

xhaihao avatar xhaihao commented on June 2, 2024

@lqvnguyen @DaveBinM unfortunately, we still not root cause the issue.

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Can we have the priority raised for this?

from intel-vaapi-driver.

DaveBinM avatar DaveBinM commented on June 2, 2024

I'd also like to see the priority of this increased, as it's an ongoing issue for me.

from intel-vaapi-driver.

DaveBinM avatar DaveBinM commented on June 2, 2024

Any chance someone could provide an update on this, please?

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Bump

from intel-vaapi-driver.

cayars avatar cayars commented on June 2, 2024

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.

YuJiankang avatar YuJiankang commented on June 2, 2024

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.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Update?

from intel-vaapi-driver.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

Jerome Borsboo--Thank you for contributing your knowledge. The community appreciates this.

from intel-vaapi-driver.

xhaihao avatar xhaihao commented on June 2, 2024

@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.

lqvnguyen avatar lqvnguyen commented on June 2, 2024

@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.

DaveBinM avatar DaveBinM commented on June 2, 2024

@carpalis Thank you so much for this contribution. I'm very glad to see this long standing issue resolved! 🙂

from intel-vaapi-driver.

carpalis avatar carpalis commented on June 2, 2024

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.

xhaihao avatar xhaihao commented on June 2, 2024

It is bit2 @carpalis

from intel-vaapi-driver.

keithah avatar keithah commented on June 2, 2024

@fritsch said he'll find the sample and report back, thanks!

from intel-vaapi-driver.

carpalis avatar carpalis commented on June 2, 2024

SNB is now also included in the patch set.

from intel-vaapi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.