Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARC A310 QSV extremely unreliable? #79

Closed
dragon2611 opened this issue Jun 16, 2024 · 3 comments · Fixed by #91
Closed

ARC A310 QSV extremely unreliable? #79

dragon2611 opened this issue Jun 16, 2024 · 3 comments · Fixed by #91

Comments

@dragon2611
Copy link

Ubuntu 22.04, finding QSV is extremely unreliable for wolf with an ARC A310, note this is a VM with the GPU passed through so that could be impacting things.

Tried updating opencl but doesn't seem to help.

It looks like something might be crashing when trying to setup the stream as I can see some dump files in /etc/wolf/cfg, very occasionally (probably less than 1 in 10 attempts) it will work.

I removed the QSV sections from config.toml and fell back to vaapi and that seems a lot more consistent.

@ABeltramo
Copy link
Member

Can you share some logs? Unfortunately, I dont have an Intel GPU to test it out properly, quicksync is all based on user reports and the community..

@dragon2611
Copy link
Author

dragon2611 commented Jun 16, 2024

@ABeltramo - I dont think I have the output from the docker console anymore, I did however (hopefully) send you over the backtrace files that got dumped in the /etc/wolf/cfg folder as well as the steam log from my session folder.

It's not a major problem for me if this doesn't work given the A310 is fairly weak GPU anyway and the machine it's in is meant to be a server not a gaming machine.

@ABeltramo
Copy link
Member

After a bit of debugging I can reproduce the issue on my Intel ARC, seems to be the same as intel/media-driver#1800

Replacing vapostproc with videoconvert completely fixes it for me, see the change here.

Fixed pipeline:

[[gstreamer.video.hevc_encoders]]
plugin_name = "qsv"
check_elements = ["qsvh265enc", "videoconvert"]
video_params = """
queue !
videoconvert !
video/x-raw, chroma-site={color_range}, width={width}, height={height}, format=NV12, colorimetry={color_space}
\
"""
encoder_pipeline = """
qsvh265enc b-frames=0 gop-size=0 idr-interval=1 ref-frames=1 bitrate={bitrate} rate-control=cbr low-latency=1 target-usage=6 !
h265parse !
video/x-h265, profile=main, stream-format=byte-stream
\
"""

@ABeltramo ABeltramo linked a pull request Aug 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants