intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
1.01k stars 346 forks source link

[Feature]: Braswell support (Celeron N3050) #1844

Open Quackdoc opened 3 months ago

Quackdoc commented 3 months ago

What Feature?

Told to to use iHD for braswell for chrome support https://issues.chromium.org/issues/40279587#comment22

The i965 driver is no longer actively maintained [1], preventing new PR submissions to its repository.

I strongly recommend using the iHD driver instead [2]. The Braswell iGPU shares the same architecture with Broadwell, please try it with iHD driver. If not currently supported, please file an issue with the iHD project.

Please check the iHD supported platforms:

What's the usage scenario would be benifited?

Playback, Web browser

What impacted?

No response

Do you want to contribute a patch to develop this feature?

No.

nyanmisaka commented 3 months ago

According to hw info in intel-vaapi-driver, Braswell/CherryView is a mixture of Gen8(Broadwell) and Gen9(Skylake). Maybe you can try adding the DIDs to Gen8 DDI and see. But anyway the README says that Braswell is not a platform supported by iHD.

Quackdoc commented 3 months ago

I did try patching the file to add support for the igpu, it seems like it almost works, mpv will decode a frame or maybe two, but then the gpu hangs with the below eeror

resetting vcs0 preemtpion time out
mpv[PID] context reset due to gpu hang
GPU HANG: ecode 8:4:a01fffff, in mpv [PID]

it would indeed be nice for iHD to support braswell since it seems like chrome will no longer work with it, and hasvk + zink-video seems like it won't be viable any time soon