Bug 1911939 - hardware acceleration makes videos look pixelated and/or over-sharpened
Summary: hardware acceleration makes videos look pixelated and/or over-sharpened
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: wayland
Version: 33
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-01-01 20:41 UTC by itrymybest80
Modified: 2021-01-07 12:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)
example (170.31 KB, image/jpeg)
2021-01-01 20:41 UTC, itrymybest80
no flags Details

Description itrymybest80 2021-01-01 20:41:58 UTC
Created attachment 1743722 [details]

Description of problem: videos look pixelated and/or over sharpened when hw acceleration is enabled.

I've provided you with an "example" picture of what it looks like with hw acceleration enabled (left) and disabled (right).

Version-Release number of selected component (if applicable):

How reproducible: always.

Steps to Reproduce:
1. enable hw acceleration.
2. play a video.

Actual results: videos look "pixelated", or over sharpened with hw enabled.

Expected results: flawless video w/wo hw acceleration.

This is the closest thing I've found, while searching for an answer online, though most likely not related:
x86_64, PRIME Z270-A, i5-7600K, 16GB DDR4, AMD RX 580 8GB (MESA 20.3.2) & 970 EVO M.2.

Comment 1 itrymybest80 2021-01-01 21:18:26 UTC
As it turns out, it was a problem with VA-API, but disabling HW rendering or using VDPAU solved it, though I'm not sure what to make of it.

Comment 2 David Warner 2021-01-04 00:29:59 UTC
Mesa <20.3 had a bug (https://gitlab.freedesktop.org/mesa/mesa/-/issues/1193) that caused VA-API not to work at all in VLC when using the AMD driver.

Comment 3 David Warner 2021-01-04 01:01:50 UTC
For what it's worth, I can't repro this, though my environment is somewhat different:

Hardware: RX 5500 XT
- KDE 5.20.4/Qt 5.15.2
- X11
- vlc-3.0.12-1.fc33
- mesa-20.3.2-1.fc33

Re: VDPAU - I was under the impression that that was tied to X11 and didn't work under Wayland - can you confirm that it's working in VLC and not falling back to software rendering?

Comment 4 itrymybest80 2021-01-07 12:29:04 UTC
Thanks for pointing that out, it looks to be falling back to software and I noticed the same behaviour when selecting VA-API (drm).

Note You need to log in before you can comment on or make changes to this bug.