Jump to content

ubuntu 20.04 emby hw dont work


TristenP

Recommended Posts

TristenP

Hello i tryd to install libva,gmmlib,media driver but nothing seems to work can you help ? i have updated the kernel to  "Linux 5.10.0-1050-oem #52-Ubuntu SMP" but doesent resolved it. Any help what steps i must make to get it work? 

dmesg | grep 915

[    0.091915] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.915625] Write protecting the kernel read-only data: 22528k

vainfo

error: can't connect to X server!
error: failed to initialize display

lspci | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)

best regards

hardware_detection-63770399961.txt

Link to comment
Share on other sites

TristenP

yes i buildet all myself and installed it but the dri folder is not there. Why ? can you tell me the exact installation order for libva,gmmlib,media driver ?

ls -l /dev/dri

ls: cannot access /dev/dri: No such file or directory
Link to comment
Share on other sites

Q-Droid

It looks like the drm/i915 kernel module is not loaded. It should have detected and loaded on startup but if it doesn't you might have to tweak some kernel boot options. Without the module none of the other drivers will function because the device won't initialize.

i915 kernel module:
lsmod | grep i915

DRM initialization:
dmesg | grep i915
 

 

Link to comment
Share on other sites

TristenP

thanks for the help i fixed it grub was blocking the driver.I have compiled all to make it work with quicksync.Can you tell me witch is better ? media-driver or MediaSDK ? finaly i got it worked that was hard for me to compile all these thinks when one need help just pm me (for free).

vainfo

Spoiler

vainfo
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.13 (libva 2.13.0.pre1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.4.0 (14efdc7d)
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
 

best regards

Link to comment
Share on other sites

Q-Droid

You don't need to install drivers unless you're using Intel graphics for other apps, such as desktop GUI or other tools. Emby on Linux includes the drivers it needs for  Intel HW accel.

Edited by Q-Droid
Link to comment
Share on other sites

  • 2 weeks later...
TristenP
On 10/22/2021 at 1:03 PM, Q-Droid said:

You don't need to install drivers unless you're using Intel graphics for other apps, such as desktop GUI or other tools. Emby on Linux includes the drivers it needs for  Intel HW accel.

without installed driver emby GPU doesent worked.

You can just upgrade the kernel it worked for me (Ubuntu 20.04) 

apt-get install software-properties-common
sudo add-apt-repository ppa:cappelikan/ppa
apt install mainline
mainline --install-latest
reboot and check with uname -r the kernel version

but you get a old drivers thats why i compiled all to run the latest drivers.I think i make a new thread  and post the how to

 

libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.4.1 (96135a86)
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

 

Edited by TristenP
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...