VDPAU - dekodowanie sprzętowe video na kartach nVidia
-
- Przyjaciel
- Posty: 340
- Rejestracja: 09 lip 2005, 18:33
- Płeć: Mężczyzna
- Wersja Ubuntu: 12.04
- Środowisko graficzne: Xfce
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Przecież to już wszystko jest spaczkowane i udostępnione. Trzeba tylko wiedzieć, gdzie szukać, a w przypadku repozytoriów dla Ubuntu to chyba oczywiste.
https://launchpad.net/~nvidia-vdpau/+archive/ppa
404 sposoby na Linuksa: http://404.g-net.pl
#254787
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
bo do szukania trzeba było użyć "find":Thomas_PL pisze:Mam takie pytanie: skąd wziąść biblioteki VDPAU dla sterownika 190.18?
Coś z użyciem google nie udało mi się na na to natrafić...
Kod: Zaznacz cały
find /usr/lib -iname *vdpau* -print
BIN są potrzebne do "pracy" a DEV są potrzebne do kompilacji programów używających VDPAU.
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Piegowaty Guziec
- Posty: 20
- Rejestracja: 29 wrz 2007, 22:32
- Płeć: Mężczyzna
- Wersja Ubuntu: 9.04
- Środowisko graficzne: GNOME
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
U mnie po kompilacji tandem mplayer + smplayer zauważalnie szybciej chodzi. Przy czym nie nie zmieniałem nic w ich konfiguracji. Więc czasami opłaca się kombinować.salvadhor pisze:Ludzie, a na co tyle kombinować.
Przecież to już wszystko jest spaczkowane i udostępnione. Trzeba tylko wiedzieć, gdzie szukać, a w przypadku repozytoriów dla Ubuntu to chyba oczywiste.
https://launchpad.net/~nvidia-vdpau/+archive/ppa
- Cooler1989
- Sędziwy Jeż
- Posty: 35
- Rejestracja: 14 maja 2007, 15:02
- Płeć: Mężczyzna
- Wersja Ubuntu: 8.04
- Środowisko graficzne: GNOME
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Piszę ponieważ mam problem z wykorzystaniem mojej kart do odtwarzania filmów HD. Zainstalowałem najnowsze sterowniki nv 185.18.31 oraz mplayer-pl z jednego z tematów na forum: viewtopic.php?t=43972
Według tamtych instrukcji powinno działać. Wersja mplayera chyba posiada wsparcie dla VDPAU ponieważ komenda
Kod: Zaznacz cały
find /usr/include/ -regex .*vdpau.* -print
Kod: Zaznacz cały
/usr/include/vdpau
/usr/include/vdpau/vdpau.h
/usr/include/vdpau/vdpau_x11.h
Kod: Zaznacz cały
mplayer -vc ffh264vdpau -vo vdpau -vf-clr film.mkv
Kod: Zaznacz cały
Wymuszam kodek video: ffh264vdpau
Nie mogę odnaleźć kodeka video pasującego do wybranego -vo i formatu video 0x33564D57.
Zobacz DOCS/HTML/en/codecs.html!
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Pliki w "/usr/include" nie służą do niczego innego jak do własnoręcznej kompilacji i te co znalazłeś to nie świadczą o tym, że MPlayer używa VDPAU tylko, że masz dobrze zainstalowane najnowsze sterowniki nVidii ze wsparciem VDPAU w nich zaszytym.Cooler1989 pisze:Witam,
Piszę ponieważ mam problem z wykorzystaniem mojej kart do odtwarzania filmów HD. Zainstalowałem najnowsze sterowniki nv 185.18.31 oraz mplayer-pl z jednego z tematów na forum: viewtopic.php?t=43972
Według tamtych instrukcji powinno działać. Wersja mplayera chyba posiada wsparcie dla VDPAU ponieważ komendaDaje wynik:Kod: Zaznacz cały
find /usr/include/ -regex .*vdpau.* -print
Kod: Zaznacz cały
/usr/include/vdpau /usr/include/vdpau/vdpau.h /usr/include/vdpau/vdpau_x11.h
Z MPlayerem nie ma to nic wspólnego.
Sugestia jest taka, że "format video 0x33564D57" to jest WMV3 więc powinieneś otworzyć go tak:Cooler1989 pisze:Natomiast kiedy próbuje odtworzyć film komendą:...mplayer zwraca mi błąd:Kod: Zaznacz cały
mplayer -vc ffh264vdpau -vo vdpau -vf-clr film.mkv
Proszę o pomoc i jakieś sugestie, bo nieznam się dobrze na tym temacie - nie wiem nawet czego szukać.Kod: Zaznacz cały
Wymuszam kodek video: ffh264vdpau Nie mogę odnaleźć kodeka video pasującego do wybranego -vo i formatu video 0x33564D57. Zobacz DOCS/HTML/en/codecs.html!
Kod: Zaznacz cały
mplayer -vc ffwmv3vdpau -vo vdpau -vf-clr film.mkv
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
- Cooler1989
- Sędziwy Jeż
- Posty: 35
- Rejestracja: 14 maja 2007, 15:02
- Płeć: Mężczyzna
- Wersja Ubuntu: 8.04
- Środowisko graficzne: GNOME
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Dobra sugestia, bo działa
Nie znam się za bardzo na zreczy (wspominałem o tym), ale pamiętam że przed ponown instalacją systemu wszystko odpalałem jednym poleceniem
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Kod: Zaznacz cały
gedit $HOME/.mplayer/config
poszukaj linijki z "vo" i zmień a jeśli nie ma to dopisz:
Kod: Zaznacz cały
vo=vdpau
poszukaj linijki z "vc" i zmień a jeśli nie ma to dopisz:
Kod: Zaznacz cały
vc=ffh264vdpau,ffvc1vdpau,ffwmv3vdpau,ffmpeg12vdpau,
poszukaj linijek z "vf" i albo je skasuj albo postaw przed nimi znak "#"
dopisz linijkę
Kod: Zaznacz cały
vf-clr=1
od tej pory albo odpalasz film przez
Kod: Zaznacz cały
mplayer film.mkv
Jeśli używasz SMPlayer ( gorąco polecam - programiści MPlayer również ) to tam możesz ustawić "vo" na "vdpau" w "Ustawienia / Główne", zakładka "Wideo", pole "Sterownik wyjściowy" a resztę opcji, czyli "-vc ffh264vdpau,ffvc1vdpau,ffwmv3vdpau,ffmpeg12vdpau, -vf-clr" w "Ustawienia / Zaawansowane", zakładka "Opcje MPlayera", pole "Opcje".
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Piegowaty Guziec
- Posty: 8
- Rejestracja: 15 paź 2009, 20:23
- Płeć: Mężczyzna
- Wersja Ubuntu: 10.04
- Środowisko graficzne: GNOME
- Architektura: x86
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Poddałem się...dk75 pisze:
Jeśli używasz SMPlayer ( gorąco polecam - programiści MPlayer również ) to tam możesz ustawić "vo" na "vdpau" w "Ustawienia / Główne", zakładka "Wideo", pole "Sterownik wyjściowy" a resztę opcji, czyli "-vc ffh264vdpau,ffvc1vdpau,ffwmv3vdpau,ffmpeg12vdpau, -vf-clr" w "Ustawienia / Zaawansowane", zakładka "Opcje MPlayera", pole "Opcje".
zrobiłem wszystko co trzeba i zadziałało na 9.04. Ale że jestem menda która próbuje ciągle czegoś nowego to przesiadłem się na Kubuntu 9.10 (beta oczywiście).
A tutaj kicha... obraz wyświetla się, ale
a) bez akceleracji
b) aby się w ogóle pojawił, trzeba go minimalnie przesunąć do przodu (np strzałką), inaczej mam czarny ekran...
szukałem rozwiązań, ale pod Kubuntu 9.10 nie widzę... a tak fajnie działało pod Ubuntu 9.04.
-
- Sędziwy Jeż
- Posty: 55
- Rejestracja: 26 lis 2007, 21:41
- Płeć: Mężczyzna
- Wersja Ubuntu: 11.04
- Środowisko graficzne: KDE Plasma
- Architektura: x86
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
./configure --cc=gcc-4.3 --host-cc=gcc-4.3
-
- Piegowaty Guziec
- Posty: 8
- Rejestracja: 15 paź 2009, 20:23
- Płeć: Mężczyzna
- Wersja Ubuntu: 10.04
- Środowisko graficzne: GNOME
- Architektura: x86
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
wróciłem do Ubuntu i poszło jak z płatka
teraz próbuję to samo pod opensuse z KDE... i też nie działa ale zrobię to, zrobię!!
pozdrawiam
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Sterownik z strony nvidia. wersja 195.63.15
vdpauinfo
Kod: Zaznacz cały
wojtek@wojtek-laptop:~/mplayer$ vdpauinfo
display: :0.0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 195.36.15 Fri Mar 12 01:18:10 PST 2010
Video surface:
name width height types
-------------------------------------------
420 4096 4096 NV12 YV12
422 4096 4096 UYVY YUYV
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 8192 2048 2048
MPEG2_SIMPLE 3 8192 2048 2048
MPEG2_MAIN 3 8192 2048 2048
H264_MAIN 41 8192 2048 2048
H264_HIGH 41 8192 2048 2048
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 8192 8192 y Y8U8V8A8 V8U8Y8A8
R10G10B10A2 8192 8192 y Y8U8V8A8 V8U8Y8A8
Bitmap surface:
name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 4096
VIDEO_SURFACE_HEIGHT y 1 4096
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
Kod: Zaznacz cały
wojtek@wojtek-laptop:~/mplayer$ ./configure
Checking for cc version ... 4.4.3
Detected operating system: Linux
Detected host architecture: x86_64
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:23:10)
Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... yes
Checking for ebx availability ... yes
Checking for PIC ... no
Checking for yasm ... no
Checking for bswap ... yes
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for llrint ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... no
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for network ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no
Checking for DPMS ... no
Checking for Xv ... no
Checking for XvMC ... no
Checking for VDPAU ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for 3dfx ... no
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... yes
Checking for OpenGL ... no
Checking for MatrixView ... no
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (FreeType support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... no
Checking for bzlib ... no
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for internal mp3lib support ... yes
Checking for liba52 support ... no
Checking for internal libmpeg2 support ... yes
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in libavcodec: no)
Checking for FAAD2 support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... auto
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for FFmpeg libswscale ... yes (static)
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... yes (in libavcodec: yes)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in libavcodec: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Creating config.mak
Creating config.h
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer
Byte order: little-endian
Optimizing for: native
Languages:
Messages/GUI: en
Manual pages: en
Documentation: en
Enabled optional drivers:
Input: dvdnav(internal) ftp pvr tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb network
Codecs: x264 libavcodec(internal) real xanim faad2(internal) libmpeg2(internal) mp3lib(internal) tremor(internal)
Audio output: oss v4l2 mpegpes(dvb)
Video output: v4l2 pnm mpegpes(dvb) fbdev cvidix yuv4mpeg md5sum tga
Disabled optional drivers:
Input: vstream radio tv-dshow live555 nemesi cddb cdda smb
Codecs: libschroedinger libdirac xvid libdv libopencore_amrwb libopencore_amrnb qtx win32 faac musepack libdca liba52 libtheora speex toolame twolame libmad liblzo gif OpenJPEG
Audio output: sun alsa openal jack pulse nas esd arts ivtv dxr2 sdl
Video output: zr zr2 ivtv dxr3 dxr2 sdl vesa gif89a jpeg matrixview opengl svga caca aa ggi xmga mga xvidix winvidix 3dfx dga vdpau xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid wii s3fb tdfxfb
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
Please check mtrr settings at /proc/mtrr (see DOCS/HTML//video.html#mtrr)
NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (Linux). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.
Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).
NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.
If you suspect a bug, please read DOCS/HTML//bugreports.html.
EDIT:
Znalazłem dopowiedz problemem były biblioteki zgodności z open gl 32 bity
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Więc nie trzeba wywalać COMPIZA (wystarczy zdeaktywować) a w xorg.conf wyłączyć composite aby sprawdzić czy to to.
Jak tak, to można uruchamiać MPlayera na osobnym screenie bez COMPIZ i bez composite a na podstawowym desktopie mieć eyecandy.
PS: mam atom 1,6 x2 HT i podczas odtwarzania filmu 1920x1080 30p zajętość procesora według monitora systemu jest tak rozłożona:
- mplayer 4-12%
- smplayer 0-4%
- pulseaudio 0-4%
- compiz.real 50-60%
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Kod: Zaznacz cały
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder58) Fri Mar 12 02:13:46 PST 2010
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Mar 12 02:12:40 PST 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUO"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG TV"
HorizSync 30.0 - 83.0
VertRefresh 58.0 - 62.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 120M"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 120M"
BusID "PCI:2:0:0"
Screen 1
EndSection
Section "Screen"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1920x1080 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
- Załączniki
-
- compiz-check.tar.bz2
- (8.17 KiB) Pobrany 98 razy
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Kod: Zaznacz cały
Checking if it's possible to run Compiz on your system...
Checking for texture_from_pixmap... [ OK ]
Checking for non power of two support... [ OK ]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]
Checking for hardware/setup problems... [FAIL]
There has been (at least) one error detected with your setup:
Error: Another compositing manager in use.
Would you like to know more? (Y/n) y
A tak na marginesie czy ktoś ma jeszcze problemy z nowym mplayerem ciągle mam ten błąd
Kod: Zaznacz cały
MPlayer SVN-r31044-4.4.3 (C) 2000-2010 MPlayer Team
[png @ 0x1d5e790]Internal error, IDCT permutation not set
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
dwademony pisze:Czyli jest włączone jak się tego pozbyć bez utraty compiza?
Kopiujesz swojego xorg.conf do xorg.conf-vdpau i na końcu dopisujesz
Kod: Zaznacz cały
Section "Extensions"
Option "Composite" "Disable"
EndSection
tworzysz skrypt ~/.xinitrc.vdpau (oto mój na przykład)
Kod: Zaznacz cały
#!/bin/bash
/usr/bin/nvidia-settings --config=/home/dk75/.nvidia-settings-rc --ctrl-display=:1 --load-config-only
sleep 2
# -af pan=2:fl->l:fr->r:fc->l:fc->r:rl->l:rr->r:lfe->l:lfe->r
# Normal
/usr/local/bin/mplayer -noconfig all -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau -demuxer lavf -alang eng,en,jpn,jp,pol,pl -slang eng,en,pol,pl -mc 2 -softvol -softvol-max 200 -ass -fontconfig -fs -tskeepbroken -tsprobe 100000 "$1"
# Vorbis 5.1 ( FL, C, FR, RL, RR, LFE )
#/usr/local/bin/mplayer -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau -af-add pan=2:.5:0:.5:.5:0:.5:.5:0:0:.5:.5:.5 -noconsolecontrols -mc 2 -softvol -softvol-max 200 -ass -fontconfig -fs -tskeepbroken -tsprobe 100000 "$1"
# DTS ( C, FL, FR, RL, RR, LFE )
#/usr/local/bin/mplayer -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau -af-add pan=2:.5:.5:.5:0:0:.5:.5:0:0:.5:.5:.5 -noconsolecontrols -mc 2 -softvol -softvol-max 200 -ass -fontconfig -fs -tskeepbroken -tsprobe 100000 "$1"
# WAV ( FL, FR, C, LFE, RL, RR )
#/usr/local/bin/mplayer -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau -af-add pan=2:.5:0:0:.5:.5:.5:.5:.5:.5:0:0:.5 -noconsolecontrols -mc 2 -softvol -softvol-max 200 -ass -fontconfig -fs -tskeepbroken -tsprobe 100000 "$1"
Robisz skrypt uruchomieniowy (to jest to co używałem z Nautilusem):
Kod: Zaznacz cały
gksudo xhost +localhost; sudo xinit /home/dk75/.xinitrc.vdpau "$1" -- :1 -config "/etc/X11/xorg.conf-vdpau" -depth 24 -audit 0 -auth /etc -nolisten tcp -a 2 &
Mam 31029 to nie wiemdwademony pisze:A tak na marginesie czy ktoś ma jeszcze problemy z nowym mplayerem ciągle mam ten błądKod: Zaznacz cały
MPlayer SVN-r31044-4.4.3 (C) 2000-2010 MPlayer Team [png @ 0x1d5e790]Internal error, IDCT permutation not set
Spróbuj skompilować nową wersję pod wieczór - wtedy najczęściej naprawiają błędy które się pojawiają z rana.
Kompilowanie MPlayera przed południem to duże ryzyko natrafienia na błąd.
Najbardziej tajemniczy jest twój błąd compiz-check o działających dwóch menadżerach composite... co jeszcze masz oprócz COMPIZ?
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
EDIT:
Witam ponownie więc tak oto odpowiedz skryptu
Kod: Zaznacz cały
wojtek@wojtek-laptop:~$ '/home/wojtek/Pulpit/start-vdpau'
localhost being added to access control list
wojtek@wojtek-laptop:~$
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
Current Operating System: Linux wojtek-laptop 2.6.33-020633-generic #020633 SMP Thu Feb 25 10:10:03 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.33-020633-generic root=UUID=a272a2bf-bcb7-48c1-b377-a2bd6ce65e7d ro nomodeset quiet splash
Build Date: 23 April 2010 05:11:46PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce@ubuntu.com>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Apr 26 00:00:08 2010
(++) Using config file: "/etc/X11/xorg.conf-vdpau"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
MPlayer SVN-r31057-4.4.3 (C) 2000-2010 MPlayer Team
Odtwarzam .
Brak pliku: ''
Otwieranie nie powiodło się.
Wychodzę... (Koniec pliku)
waiting for X server to shut down .. ddxSigGiveUp: Closing log
Kod: Zaznacz cały
Error while decoding frame!
[vdpau] Attempting to recover from preemption.
[vdpau] Error when calling vdp_device_create_x11: 2
[vdpau] Recovering from preemption failed
[vdpau] Attempting to recover from preemption.53 23% 10% 1.2% 47 0
[vdpau] Error when calling vdp_device_create_x11: 2
[vdpau] Recovering from preemption failed
vf_get_image: Tried to allocate a format that can not be allocated!
[wmv3_vdpau @ 0xd4b9e0]get_buffer() failed (-1 2 2 (nil))
Error while decoding frame!
[vdpau] Attempting to recover from preemption.
[vdpau] Error when calling vdp_device_create_x11: 2
[vdpau] Recovering from preemption failed
[vdpau] Attempting to recover from preemption.54 23% 10% 1.2% 48 0
[vdpau] Error when calling vdp_device_create_x11: 2
[vdpau] Recovering from preemption failed
vf_get_image: Tried to allocate a format that can not be allocated!
[wmv3_vdpau @ 0xd4b9e0]get_buffer() failed (-1 2 2 (nil))
Error while decoding frame!
- dk75
- Przebojowy Jelonek
- Posty: 1142
- Rejestracja: 07 mar 2007, 22:59
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: GNOME
- Architektura: x86_64
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Lenovo T61p, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
http://linuxcounter.net/user/483055.html
-
- Sędziwy Jeż
- Posty: 75
- Rejestracja: 02 kwie 2008, 19:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 14.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
- Kontakt:
Odp: VDPAU - dekodowanie sprzętowe video na kartach nVidia
Kod: Zaznacz cały
gksudo xhost +localhost; sudo xinit /home/wojtek/.xinitrc.vdpau "$1" -- :1 -config "/etc/X11/xorg.conf-vdpau" -depth 24 -audit 0 -auth /etc -nolisten tcp -a 2 & mplayer Amazing_Caves_1080.wmv
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 1 gość