[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

squeeze, accelerazione video



Salve, uso debian squeeze.
 sapete come abilitare l'accelerazione video (GPU) su vlc e mplayer?
vlc 1.1.3 mi lascia l'opzione in grigio non selezionabile

Linux bishop 2.6.32-5-686-bigmem #1 SMP Wed Jan 12 04:40:25 UTC 2011
i686 GNU/Linux su zbox hd-nd22
03:00.0 VGA compatible controller: nVidia Corporation C79 [ION] (rev b1)

grazie

== altre info ==
Uso solo i repo ufficiali debian

installati i driver nvidia (mediante nvidia-kernel-dkms)
$ dpkg -l | grep nvidia
ii  libgl1-nvidia-alternatives
195.36.31-6                       simplifies replacing MESA libGL with
GPU vendor libraries ii  libgl1-nvidia-glx
195.36.31-6                       NVIDIA binary OpenGL libraries ii
libglx-nvidia-alternatives
195.36.31-6                       simplifies replacing Xorg module
libglx.so with GPU vendor library ii
nvidia-glx
195.36.31-6                       NVIDIA binary Xorg driver ii
nvidia-kernel-common
20100522+1                        NVIDIA binary kernel module support
files ii  nvidia-kernel-dkms
195.36.31-6                       NVIDIA binary kernel module DKMS
source ii  nvidia-vdpau-driver
195.36.31-6                       NVIDIA vdpau driver

installati le libreria vdpau e libva
$ dpkg -l | grep vdpau
ii  libvdpau1
0.4.1-2                           Video Decode and Presentation API for
Unix (libraries) ii  nvidia-vdpau-driver
195.36.31-6                       NVIDIA vdpau driver ii
vdpau-va-driver
0.6.3-1                           VDPAU-based backend for VA API

$ dpkg -l | grep libva
ii  libva-x11-1
1.0.1-3                           Video Acceleration (VA) API for Linux
-- X11 runtime ii  libva1
1.0.1-3                           Video Acceleration (VA) API for Linux
-- runtime


vainfo restituis
$ vainfo 
libva: libva version 0.31.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA
API - 0.6.3 vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
ce


il mio xorg.conf
$ cat /etc/X11/xorg.conf 
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "extmod"
	Load  "record"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Extensions"
    Option       "Composite" "Enable"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
	Identifier  "Card0"
#	Driver      "nouveau"
	Driver      "nvidia"
	Option      "NoLogo" "true"
	VendorName  "nVidia Corporation"
	BoardName   "C79 [ION]"
	BusID       "PCI:3:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection



Reply to: