Bug 437695 - VAAPI Failure Plasma Wayland Session
Summary: VAAPI Failure Plasma Wayland Session
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.22.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 08:54 UTC by Heiko Gimbel
Modified: 2021-06-12 12:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Gimbel 2021-05-26 08:54:30 UTC
SUMMARY

VAAPI is broken on KDE Plasma Wayland Session

STEPS TO REPRODUCE
1. Open a terminal
2. Type in vainfo


OBSERVED RESULT

Error Message:
heiko@Tuxedobook:~$ vainfo
wl_drm@6: error 0: authenticate failed
VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null)
vaInitialize failed with error code 3 (invalid VADisplay),exit



EXPECTED RESULT
Should show VAAPI information without errors like on X11 session

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2021-05-26 10:19:21 UTC
>wl_drm@6: error 0: authenticate failed
>VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)

wl_drm is very low in the stack, can you confirm this works correctly in weston.
Comment 2 Bug Janitor Service 2021-06-10 04:33:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Heiko Gimbel 2021-06-12 11:06:37 UTC
I have tried the same on Kubuntu 21.04 (Plasma 5.22.0) today with an AMD GPU. MESA-VA Drivers are installed. vainfo works on X11. On Wayland i get the same result as on my Notebook with an Intel iGPU. Typing in vainfo into a terminal results in the following:

wl_drm@6: error 0: authenticate failed
VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null)
vaInitialize failed with error code 3 (invalid VADisplay),exit
Comment 4 Heiko Gimbel 2021-06-12 11:11:06 UTC
It might also be important that KODI Mediacenter is not starting on Plasma Wayland because of this VAAPI problem. Starting KODI from the terminal results in the same error.
Comment 5 Heiko Gimbel 2021-06-12 11:34:36 UTC
I installed Weston and got the same error. So the problem seems not to be related to plasma-wayland. VAAPI seems actually broken on Wayland in general at least on Ubuntu.
Comment 6 David Edmundson 2021-06-12 12:42:02 UTC
>I installed Weston and got the same error. 

No signs currently point to kwin.