vaapi nvidia driver

Richieste di programmi e di intervento del MIB
User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

ok i updated xserver

i check in xorg0.log there is no pb
then
no hw accel with vlc

i found a movie "bigbuckbunny"
then
i tested with mplayer

i selected "va-api" in "video" tab and "va-api" in "codec demuxer" tab
then
i play the movie
then
"error opening/initializing the selected video_out (-vo) device"

it seems mplayer does not find va-api driver !

i don't know how to say to it where vaapi driver is.
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

ok now player finds the vaapi driver

it open it but it fails to init it

error message :

"[vo_vaapi] vaQueryImageFormats(): invalid parameter
"
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: vaapi nvidia driver

Post by GvMariani »

promeneur wrote:ok i updated xserver
i check in xorg0.log there is no pb
then
no hw accel with vlc
i found a movie "bigbuckbunny"
then
i tested with mplayer
i selected "va-api" in "video" tab and "va-api" in "codec demuxer" tab
then
i play the movie
then
"error opening/initializing the selected video_out (-vo) device"
it seems mplayer does not find va-api driver !
i don't know how to say to it where vaapi driver is.
You will need the mplayer-vaapi, not the standard one...
in the next few days I will try make a more recent rpm for it.
I already made an updated gstreamer-vaapi (only for x86_64) and in the next days I will rebuild it for i686 and upload both on the 2010.3 repo.

BTW you are already with 2010.3 so you should have the right ffmpeg but I'm wondering if this could be the culprit (because of the previous vlc error with avcodec...)

GvM

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

You will need the mplayer-vaapi, not the standard one...
since the beginning i have mplayer-vaapi installed.

all my reports concern the vaapi version of mplayer
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

(because of the previous vlc error with avcodec...)
i am almost sure avcodec error is a redondant error, not the actual error.
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: vaapi nvidia driver

Post by GvMariani »

promeneur wrote:
You will need the mplayer-vaapi, not the standard one...
since the beginning i have mplayer-vaapi installed.
all my reports concern the vaapi version of mplayer
Yep, bur the one standard from Mdv is really old (april 2010, according to the file name) and likely built against the equally old libva 0.3.1-sds code base...
Our ffmpeg and vlc were also built against a different libva.
Since your low-level setup is likely working (see vainfo and vdpauinfo output...) then something goes wrong in the interaction between the those libraries and the sw using them:
exactly the issue I got sometimes in the past when trying to use a program built against an older library than the one actually installed on the system.
I'm wondering if a rebuild of all those bits against the new libva could make all the things work.

Another test (at least with mplayer who supports it): you have a Nvidia card, right?
do the same test with a local file and the vdpau plugin...
does it wotk?
If so, while sorting out the vaapi issue, you can have hw video acceleration by using any media player supporting the output with libvdpau.

BTW, you did not state in your previous posts what drivers are you using: the proprietary ones are rather picky about the releases of mesa & xorg they support...
And if you are using them this also could explain the error message about the DRI ext missing...
If your profile is correct you are also using a rather old kernel (hence the lowest DRM layer): you should also try with a more recent one (for mesa 8.0.2 at least a 3.3.x) to test with all the graphic stack renewed.

GvM

PS: You have now updated all your graphical stack to our latest packages...
the vaapi issue aside, how it does? Any other issue?

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

you have a Nvidia card, right?
yes
vdpau plugin
i didn't find any mplayer vdpau plugin. where can i find it ?

i made tests using vdpau instead nvidia with vlc and mplayer then same failure
If your profile is correct you are also using a rather old kernel (hence the lowest DRM layer): you should also try with a more recent one (for mesa 8.0.2 at least a 3.3.x) to test with all the graphic stack renewed.
i made tests using kernel 3.2.27 then same failure. i will test with a 3.4.x kernel
you did not state in your previous posts what drivers are you using
nvidia driver 302.11
And if you are using them this also could explain the error message about the DRI ext missing.
i read several doc about this. they all say "it is meaning less" but is it sure ?
PS: You have now updated all your graphical stack to our latest packages...
the vaapi issue aside, how it does? Any other issue?
no issue with :
kde
dolphin
kontact, kmail
konqueror
firefox
vlc

P.S. i tested Firefox hardware acceleration with mozilla test
see

https://hacks.mozilla.org/2010/09/hardware-acceleration/

this test is limited to 60 fps

this test checks the contents acceleration and not only the wegl acceleration

fiefox : 60 fps
i assume this work for firefox.

konqueror +khtml : 14 fps

konqueror+webkit : 19 fps

rekonq : 19 fps

don't know if hardware acceleration is enable for kde environment. in kde settings by default kde uses opengl (there is choice to use xrender)
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

with kernel 3.5.3

with vlc and mplayer same failure
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: vaapi nvidia driver

Post by GvMariani »

promeneur wrote:
you have a Nvidia card, right?
yes
vdpau plugin
i didn't find any mplayer vdpau plugin. where can i find it ?
i made tests using vdpau instead nvidia with vlc and mplayer then same failure
You can see the available output by doing "mplayer -vo help" in a konsole;
so perhaps you should give something as

Code: Select all

mplayer -vo vdpau videofile.ext 
I'm not sure if there is need of other options switch (as, eg, the "-vc codecname" to select the video decoder: see "mplayer -vc help" for the complete list)...
but you shoud see if hw accel is working or else.

GvM

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

mplayer -vo vdpau videofile.ext
i already tested this : -vo vaapi, vdpau,nvidia -vc vaapi,vdpau : same failure
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

since i updated to xserver 1.12.3

- usb key partially works

kde notification works but when clicking on the option "open file manager" nothing happens"
when using dolphin i can access to the usb key

- usb multicard reader partially works

same as usb key

- printer

when switching on then no notification "printer is there"(approximate sentence) from printer applet

does xserver manage usb ?
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: vaapi nvidia driver

Post by GvMariani »

promeneur wrote:since i updated to xserver 1.12.3
- usb key partially works
kde notification works but when clicking on the option "open file manager" nothing happens"
when using dolphin i can access to the usb key
- usb multicard reader partially works
same as usb key
- printer
when switching on then no notification "printer is there"(approximate sentence) from printer applet
does xserver manage usb ?
None of those issues should be related to the new graphical stack...
if your printer is on USB, all are USB related => kernel related...
perhaps a new kernel needs a more recent libusb?

GvM

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

perhaps a new kernel needs a more recent libusb?
i didn't change my kernel.

i test other kernels but i use always the 3.1.6

i have another idea.

is there in xserver something in relation to authorization, policy, something around ?
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: vaapi nvidia driver

Post by GvMariani »

promeneur wrote:
perhaps a new kernel needs a more recent libusb?
i didn't change my kernel.
i test other kernels but i use always the 3.1.6
i have another idea.
is there in xserver something in relation to authorization, policy, something around ?
There is something in the xinit package...
Indeed, when preparing the new 7.7 I also tested the release 1.3.2 of it but this broke the KDE authorization system (ie I was no more able to mount anything: I needed to do it always from root konsole...)
so I reverted to the previous 1.3.1 release and this made the above to work anew.

If this is the problem you should not be able at all to mount your usb key by clicking on the little icon on the right of the device notifier pop-up window for your key and that should return a visible error message about the lacking of the authorization...
But you wrote that from dolphin you can access to the key, so at least the mount phase was done successfully.

Anyway you suspect this is the culprit you can always simply reinstall the older 7.6-provided package ("rpm --forc"! is your friend here...) and see.

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: vaapi nvidia driver

Post by promeneur »

i don't understand.

you speak about 7.7 , 7.6 . what are they ?

in the repo i have :

xinit 1.3.1 2010.1 from main release

xinit 1.3.1 2010.2 from mesa-xorg/xserver (the one which is installed)

what is the 7.6 one ?

i must reinstall xinit 1.3.1 2010.1 from main release ?

what is the list of rpms i must reinstall ?
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

Post Reply