domingo, 24 de julio de 2011

Problema al hibernar ordenador con tarjeta gráfica NVIDIA en Debian GNU/Linux

Si se usan los drivers propietarios proporcinados por NVIDIA, la suspensión a disco o hibernación no funcionará. Para corregirlo se debe añadir la opción "NvAGP" a "1" en la sección "Device" del fichero "/etc/X11/xorg.conf".

Este es el contenido íntegro de mi fichero "/etc/X11/xorg.conf" configurado con la salida de video HDMI conectada a un televisor:

Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
EndSection

Section "ServerFlags"
Option "NoPM" "true"
EndSection

Section "Extensions"
Option "Composite" "Disabled"
EndSection

Section "Monitor"
Identifier "Monitor0"
Option "DPI" "96x96"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "TripleBuffer" "True"
Option "UseEdidDpi" "False"
Option "NvAGP" "1"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Más información en:
https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend

miércoles, 13 de julio de 2011

Codificar videos con mencoder para PSP

Se debe usar el siguiente comando:

mencoder -ofps 30000/1001 -af volnorm,lavcresample=24000 -vf dsize=320:200,scale=0:0,harddup -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=1000:threads=2:acodec=libfaac -of lavf -lavfopts format=psp INPUT.AVI -o OUTPUT.MP4

Más información en:
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-handheld-psp.html
http://movingparts.net/2007/12/10/mencoder-dvd-rip-volume-increase-your-psp-and-you/