You are not logged in.

#1 2014-10-02 13:44:15

maggie
Member
Registered: 2011-02-12
Posts: 255

intel-dri and mesa-dri and vdpau in general

I updated today and allowed pacman to replace intel-dri with mesa-dri. There is an optdep called mesa-vdpau but I don't see anything about this on the wiki for intel graphics.  Can someone set me straight? What drivers do I need for my in CPU graphics to work best?

xf86-video-intel is my xorg driver and required. I have some optional ones too including, intel-dri [replaced by mesa-dri], mesa-libgl (a dep I think), mesa-vdpau (I installed manually), and libva-intel-driver.

Offline

#2 2014-10-02 13:51:07

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: intel-dri and mesa-dri and vdpau in general

mesa-vdpau provides hardware video decoding for nouveau and radeon. There's nothing for intel in mesa-vdpau, so you can remove it. Intel uses vaapi for hardware decoding, libva-intel-driver provides that.

Offline

#3 2014-10-02 13:57:02

Cthulhu82
Member
From: Nantes, France
Registered: 2013-04-01
Posts: 159

Re: intel-dri and mesa-dri and vdpau in general

I recommend you to read the dedicated page on the wiki for intel graphics. All the informations you need are here. The only point to remember is, as you point out, that intel-dri is now included in mesa-dri.

Last edited by Cthulhu82 (2014-10-02 13:57:29)


« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock

Offline

#4 2014-10-02 14:33:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: intel-dri and mesa-dri and vdpau in general

Gusar wrote:

mesa-vdpau provides hardware video decoding for nouveau and radeon. There's nothing for intel in mesa-vdpau, so you can remove it. Intel uses vaapi for hardware decoding, libva-intel-driver provides that.

Are you certain about this?  It is listed as optional for mesa-dri.

Offline

#5 2014-10-02 15:04:34

Cthulhu82
Member
From: Nantes, France
Registered: 2013-04-01
Posts: 159

Re: intel-dri and mesa-dri and vdpau in general

graysky wrote:

It is listed as optional for mesa-dri.

According to the wiki, VDPAU is supported by GMA4500 and newer, and only if you replace the libva-intel-driver by the AUR libva-intel-driver-g45-h264 For older version of intel graphics, only VA-API is supported.

Last edited by Cthulhu82 (2014-10-02 15:05:51)


« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock

Offline

#6 2014-10-02 15:33:58

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: intel-dri and mesa-dri and vdpau in general

graysky wrote:

Are you certain about this?  It is listed as optional for mesa-dri.

100% certain. Look at the contents of the mesa-vdpau package, nothing about intel in there, just nouveau, r600 and radeonsi.

Cthulhu82 wrote:
graysky wrote:

It is listed as optional for mesa-dri.

According to the wiki, VDPAU is supported by GMA4500 and newer, and only if you replace the libva-intel-driver by the AUR libva-intel-driver-g45-h264

Err, no. libva-intel-driver-g45-h264 is VAAPI and it's only for g45 chips, because the main libva-intel-driver driver doesn't have g45 support. VDPAU on intel is only available via a wrapper, libvdpau-va-gl.

Last edited by Gusar (2014-10-02 15:35:23)

Offline

#7 2014-10-02 16:16:29

Cthulhu82
Member
From: Nantes, France
Registered: 2013-04-01
Posts: 159

Re: intel-dri and mesa-dri and vdpau in general

Gusar wrote:

Err, no. libva-intel-driver-g45-h264 is VAAPI and it's only for g45 chips, because the main libva-intel-driver driver doesn't have g45 support. VDPAU on intel is only available via a wrapper, libvdpau-va-gl.

My bad, didn't understand it correctly.


« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock

Offline

#8 2014-10-03 00:43:03

souenzzo
Member
Registered: 2012-10-31
Posts: 35

Re: intel-dri and mesa-dri and vdpau in general

So,
for vdpau in intel gpu, we still need to use libvdpau-va-gl right?
It's just with me or libvdpau-va-gl is really buggy ?

Offline

#9 2014-10-03 01:10:07

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,500

Re: intel-dri and mesa-dri and vdpau in general

souenzzo wrote:

So,
for vdpau in intel gpu, we still need to use libvdpau-va-gl right?
It's just with me or libvdpau-va-gl is really buggy ?

I think that's why it is still AUR.  NVM, it is in community, but perhaps has little effect on my hardware.  VDPAU is a nvidia thing.  Hard to believe that intel has been replaced entirely by just mesa.  It is actually replacing all of the drivers ati, nouveau, intel, svga with mesa-dri.  They can probably just squeeze them all in one dri file instead of several specific ones.  Don't really need any powerful graphics functions  when in console mode.

Last edited by nomorewindows (2014-10-03 01:23:32)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#10 2014-10-03 02:30:04

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: intel-dri and mesa-dri and vdpau in general

souenzzo wrote:

So,
for vdpau in intel gpu, we still need to use libvdpau-va-gl right?
It's just with me or libvdpau-va-gl is really buggy ?

It's a wrapper, so not surprising it doesn't work perfectly. Its only use is with Flash anyway, for local file playback just use mpv, it has the best vaapi implementation.


nomorewindows wrote:

VDPAU is a nvidia thing.

Not particularity. While Nvidia came up with it, it was from the very beginning designed as a vendor-neutral thing. Mesa's VDPAU works well.

nomorewindows wrote:

They can probably just squeeze them all in one dri file instead of several specific ones.

It is just one file. Well, almost. It's two files - one for classic mesa drivers, one for gallium drivers:

$ fdupes -H /usr/lib/xorg/modules/dri
/usr/lib/xorg/modules/dri/nouveau_vieux_dri.so
/usr/lib/xorg/modules/dri/r200_dri.so
/usr/lib/xorg/modules/dri/i915_dri.so
/usr/lib/xorg/modules/dri/radeon_dri.so
/usr/lib/xorg/modules/dri/i965_dri.so

/usr/lib/xorg/modules/dri/nouveau_dri.so
/usr/lib/xorg/modules/dri/swrast_dri.so
/usr/lib/xorg/modules/dri/r300_dri.so
/usr/lib/xorg/modules/dri/r600_dri.so
/usr/lib/xorg/modules/dri/radeonsi_dri.so
/usr/lib/xorg/modules/dri/kms_swrast_dri.so
/usr/lib/xorg/modules/dri/vmwgfx_dri.so

Offline

#11 2014-10-06 03:14:52

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: intel-dri and mesa-dri and vdpau in general

I got libvdpau-va-gl to to work, but vaapi works much better on my X220. I would call libvdpau-va-gl deceleration, not acceleration.

Using Intel HD graphics 3000 here.

Offline

#12 2014-10-11 23:41:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: intel-dri and mesa-dri and vdpau in general

Offline

#13 2014-10-15 16:01:53

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: intel-dri and mesa-dri and vdpau in general

After latest updates, vdpau working fine here. Not sluggish anymore. Also issue was solved with VLC crashing when opening some videos from file manager.

@Karol
Yes, I have had libva-intel-driver installed for sometime.

$ vlc -v GimmeShelter.mp4
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
[0x1a6b118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[flv @ 0x7f9674c3ea20] Stream discovered after head already parsed
[flv @ 0x7f9658c01d20] Stream discovered after head already parsed
[0x7f9658c01818] avformat demux warning: unsupported track type (2:0) in avformat demux
[0x7f9658f71e58] faad decoder warning: decoded zero sample
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[0x7f9659120a98] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[0x7f9659120a98] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f962c001248] main vout display error: Failed to resize display
[0x1b4ed28] pulse audio output warning: starting late (-14348 us)

Last edited by David Batson (2014-10-15 16:28:46)

Offline

Board footer

Powered by FluxBB