This issue was initially reported downstream at https://bugzilla.redhat.com/show_bug.cgi?id=1455101
Description of problem:
When trying to run any libVA based application on wayland, they always fail.
Version-Release number of selected component (if applicable):
totem-3.24.0-1.fc26.x86_64
gstreamer1-vaapi-1.12.0-1.fc26.x86_64
libva-1.8.2-1.fc26.x86_64
libva-intel-driver-1.8.2-1.fc26.x86_64
How reproducible:
always. Ever since I started using wayland (about 2 years ago).
Steps to Reproduce:
- have the packages installed as noted above
- run a gnome/wayland session
- start totem
- play video file
Actual results:
Green screen, no video output.
Output of totem:
VA error: wayland: failed to identify /dev/dri/card0: Permission denied (errno 13)
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
Expected results:
Work fine
Additional info:
This renders libva completely useless on wayland.
The warning (first line) is printed from drm_handle_device in libva/va/wayland/va_wayland_drm.c.
$ ls -al /dev/dri
drwxr-xr-x. 3 root root 100 23. Mai 06:53 .
drwxr-xr-x. 19 root root 4240 24. Mai 09:54 ..
drwxr-xr-x. 2 root root 80 23. Mai 06:53 by-path
crw-rw----+ 1 root video 226, 0 23. Mai 06:53 card0
crw-rw----+ 1 root video 226, 128 23. Mai 06:53 renderD128
$ vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Desktop - 1.8.2
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Should I add myself to the video group? If yes, shouldn't that be the default for any user?
This issue was initially reported downstream at https://bugzilla.redhat.com/show_bug.cgi?id=1455101
Description of problem:
When trying to run any libVA based application on wayland, they always fail.
Version-Release number of selected component (if applicable):
totem-3.24.0-1.fc26.x86_64
gstreamer1-vaapi-1.12.0-1.fc26.x86_64
libva-1.8.2-1.fc26.x86_64
libva-intel-driver-1.8.2-1.fc26.x86_64
How reproducible:
always. Ever since I started using wayland (about 2 years ago).
Steps to Reproduce:
Actual results:
Green screen, no video output.
Output of totem:
Expected results:
Work fine
Additional info:
This renders libva completely useless on wayland.
The warning (first line) is printed from drm_handle_device in libva/va/wayland/va_wayland_drm.c.
Should I add myself to the video group? If yes, shouldn't that be the default for any user?