Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||||
| Line: 530 to 530 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | |||||||||||||
| Line: 229 to 229 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| See here for reasons to avoid TwinView and what to do instead. The following /etc/X11/xorg.conf is an example of a dual head configuration running at 1920x1200 with the DVI on the left and the VGA on the right. Please be careful: only use this on your monitors if they are capable of these settings, otherwise damage could occur. | |||||||||||||
| Added: | |||||||||||||
| > > |
Connecting the NVidia5200 to a HDTVSome HDTVs are able to display 1920x1080 resolution over the VGA input. For example the for the Samsung LN40A630, this xorg.conf works in Ubuntu Gutsy Gibbon. | ||||||||||||
Puzzling Quirks
| |||||||||||||
| Line: 239 to 241 | |||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
Rotating Your Monitor Clockwise | |||||||||||||
| Line: 522 to 524 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 237 to 237 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck?" | ||||||||
| Changed: | ||||||||
| < < |
$HOME/MPlayer-1.0pre8/mplayer -monitoraspect 16:9 -ao alsa -ac hwac3 -vo xvmc -vc ffmpeg12mc filename.ts. Playback with xine using this command: /usr/bin/xine -V xxmc --geometry 1920x1080+0+0 --borderless filename.ts. In Feisty, moving the window around and resizing it works fine during playback using xvmc, whereas with Dapper it tended to crash.
| |||||||
| > > |
| |||||||
| ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 24 to 24 | ||||||||
|---|---|---|---|---|---|---|---|---|
| (e.g.: sudo apt-get install linux-restricted-modules-2.6.15-26-686) sudo apt-get install nvidia-glx nvidia-glx-dev libxvmc1 libxvmc-dev | ||||||||
| Added: | ||||||||
| > > |
Update: for Ubuntu 8.04 (Hardy Heron), after using System -> Administration -> Hardware Drivers to enable the NVIDIA accelerated graphics driver, you just need to install mplayer (no additional packages need to be installed). You still need to edit /etc/X11/XvMCConfig as shown below, to get XvMC going.
| |||||||
After loading the nvidia kernel module you should see these messages in the dmesg output, which show the particular version
of the nVidia proprietary driver currently used by Dapper Drake (1.0-8762). The version available from nVidia's website is usually
going to be slightly ahead of this, as nVidia are continually making changes to the driver (with varying degrees of success). Trying
| ||||||||
| Line: 156 to 159 | ||||||||
| patching file MPlayer-1.0pre8/xvmc_render.h To build mplayer with XvMC support for nVidia on Ubuntu, I first needed to add a missing symbolic link as | ||||||||
| Changed: | ||||||||
| < < |
explained here (filed bug 58741 for this. Update: Jan 2008 - fix is now included in Ubuntu 8.04 (Hardy Heron) Alpha3, scheduled for release April 2008): | |||||||
| > > |
explained here (filed bug 58741 for this. Update: April 2008 - the following workaround is still needed for building MPlayer-1.0pre8 in Ubuntu 8.04 (Hardy Heron) Beta, scheduled for release April 2008): | |||||||
cd /usr/lib && sudo ln -s libXvMCNVIDIA.so.1 libXvMCNVIDIA.so | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 435 to 435 | ||||||||
|---|---|---|---|---|---|---|---|---|
| See also this thread on the gentoo forums where spock_ explains some details. | ||||||||
| Changed: | ||||||||
| < < |
The required kernel module uvesafb will be included in Ubuntu Hardy Heron, as it is part of the mainline kernel since 2.6.24. You'll need to build the userspace v86d for Ubuntu, as there doesn't appear to be any package containing it yet:
| |||||||
| > > |
The required kernel module uvesafb will be included in Ubuntu Hardy Heron, as it is part of the mainline kernel since 2.6.24. You'll need to build the userspace v86d for Ubuntu, as there doesn't appear to be any package containing it yet (see this launchpad bug 189621):
| |||||||
sudo apt-get install -y build-essential | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 417 to 417 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Config Status: cfg=new, avail=yes, need=no, active=unknown | ||||||||
| Changed: | ||||||||
| < < |
Let's avoid the 24 bit modes (they'd be slow, and might interfere with the accelerated X driver) and pick Mode 0x0346. We'd add "vga=0x348" to the kernel boot line, by editing /boot/grub/menu.lst and adding the following line.
Using this syntax will save having to edit the kernel line to add "vga=0x348" each time a new update to the kernel package is installed.
| |||||||
| > > |
Let's avoid the 24 bit modes (they'd be slow, and might interfere with the accelerated X driver) and pick Mode 0x0346. We'd add "vga=0x346" to the kernel boot line, by editing /boot/grub/menu.lst and adding the following line.
Using this syntax will save having to edit the kernel line to add "vga=0x346" each time a new update to the kernel package is installed.
| |||||||
|
| ||||||||
| Changed: | ||||||||
| < < |
# defoptions=quiet vga=773 splash | |||||||
| > > |
# defoptions=vga=0x346 | |||||||
| Run the following command to update the kernel boot line in the grub configuration file: | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 463 to 463 | ||||||||
|---|---|---|---|---|---|---|---|---|
To see what other resolutions are available, you can also use:
cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes | ||||||||
| Added: | ||||||||
| > > |
cat /sys/class/graphics/fb0/modes | |||||||
Now you should be able to use mplayer's -vo fbdev flag to playback video on the framebuffer console (Ctrl Alt F1), e.g.:
| ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 432 to 432 | ||||||||
|---|---|---|---|---|---|---|---|---|
Framebuffer Support for nVidia 5200 with
For the upcoming Ubuntu 8.04 (Hardy Heron), see here for info on the | ||||||||
| Added: | ||||||||
| > > |
See also this thread on the gentoo forums where spock_ explains some details. | |||||||
The required kernel module uvesafb will be included in Ubuntu Hardy Heron, as it is part of the mainline kernel since 2.6.24. You'll need to build the userspace v86d for Ubuntu, as there doesn't appear to be any package containing it yet:
| ||||||||
| Line: 458 to 460 | ||||||||
| sudo modprobe uvesafb mode=1400x1050-16 mtrr=3 scroll=ywrap | ||||||||
| Added: | ||||||||
| > > |
To see what other resolutions are available, you can also use:
cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes | |||||||
Now you should be able to use mplayer's -vo fbdev flag to playback video on the framebuffer console (Ctrl Alt F1), e.g.:
mplayer -vo fbdev -zoom -x 1400 -y 1050 filename.ts | ||||||||
| Line: 478 to 485 | ||||||||
| mplayer -vo fbdev -zoom -x 1280 -y 1024 filename.ts | ||||||||
| Added: | ||||||||
| > > |
In this thread on the gentoo forums, spock_ explains some additional details:
Caveats and limitations with
The | |||||||
| Changed: | ||||||||
| < < |
-- PeterKnaggs - 27 Jan 2008 | |||||||
| > > |
| |||||||
| Back to LinuxHardwareInfo | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 317 to 317 | ||||||||
|---|---|---|---|---|---|---|---|---|
the nVidia Linux Support Forums might be a good place to start asking questions.
Framebuffer Support for nVidia 5200 with the old
| ||||||||
| Changed: | ||||||||
| < < |
For Ubuntu Gutsy Gibbon, the framebuffer is not properly configured by the Ubuntu installer, so we need to do a few manual steps. | |||||||
| > > |
For Ubuntu 7.10 (Gutsy Gibbon), the framebuffer is not properly configured to support VESA by the Ubuntu installer, so we need to do a few manual steps. | |||||||
| See here and launchpad bug 129910 for details (workaround: the "black" console is still functional, so if you log in and load the modules manually, it becomes fully functional again). | ||||||||
| Changed: | ||||||||
| < < |
Add the following two lines to the /etc/initramfs-tools/modules (the set of modules included in the initial ramdisk) configuration file.
The reason to use vesafb rather than nvidiafb is that nvidiafb conflicts with the proprietary nvidia-glx-new driver.
Since vesafb works well with nVidia video cards, that's the recommended driver for this situation.
| |||||||
| > > |
Add the following two lines to the /etc/initramfs-tools/modules (the set of modules included in the initial ramdisk) configuration file.
You could also try using nvidiafb rather than vesafb, as nvidiafb apparently no longer conflicts with the proprietary nvidia-glx-new driver.
| |||||||
On the other hand, the nvidiafb is fine if you are using the Free Software nv xorg video driver,
| ||||||||
| Line: 418 to 417 | ||||||||
| Config Status: cfg=new, avail=yes, need=no, active=unknown | ||||||||
| Changed: | ||||||||
| < < |
Let's pick Mode 0x0346: for this, we'd add "vga=0x348" to the kernel boot line, by editing /boot/grub/menu.lst and adding the following line.
| |||||||
| > > |
Let's avoid the 24 bit modes (they'd be slow, and might interfere with the accelerated X driver) and pick Mode 0x0346. We'd add "vga=0x348" to the kernel boot line, by editing /boot/grub/menu.lst and adding the following line.
| |||||||
|
Using this syntax will save having to edit the kernel line to add "vga=0x348" each time a new update to the kernel package is installed.
| ||||||||
| Line: 432 to 431 | ||||||||
Framebuffer Support for nVidia 5200 with
| ||||||||
| Changed: | ||||||||
| < < |
For the upcoming Ubuntu Hardy Heron, see here for info on the uvesafb project.
| |||||||
| > > |
For the upcoming Ubuntu 8.04 (Hardy Heron), see here for info on the uvesafb project.
| |||||||
The required kernel module uvesafb will be included in Ubuntu Hardy Heron, as it is part of the mainline kernel since 2.6.24. You'll need to build the userspace v86d for Ubuntu, as there doesn't appear to be any package containing it yet:
| ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 316 to 316 | ||||||||
|---|---|---|---|---|---|---|---|---|
| and you've googled to the limits of the known universe, the nVidia Linux Support Forums might be a good place to start asking questions. | ||||||||
| Added: | ||||||||
| > > |
Framebuffer Support for nVidia 5200 with the old
For Ubuntu Gutsy Gibbon, the framebuffer is not properly configured by the Ubuntu installer, so we need to do a few manual steps.
See here and launchpad bug 129910 for details (workaround: the "black" console is still functional, so if you log in and load the modules manually, it becomes fully functional again).
Add the following two lines to the | |||||||
Framebuffer Support for nVidia 5200 with
| ||||||||
| Changed: | ||||||||
| < < |
See here for info on the uvesafb project.
| |||||||
| > > |
For the upcoming Ubuntu Hardy Heron, see here for info on the uvesafb project.
| |||||||
The required kernel module uvesafb will be included in Ubuntu Hardy Heron, as it is part of the mainline kernel since 2.6.24. You'll need to build the userspace v86d for Ubuntu, as there doesn't appear to be any package containing it yet:
| ||||||||
| Line: 349 to 464 | ||||||||
| mplayer -vo fbdev -zoom -x 1400 -y 1050 filename.ts | ||||||||
| Changed: | ||||||||
| < < |
You can also try other aspect ratios e.g.: | |||||||
| > > |
You can also try other aspect ratios listed in the output from hwinfo, as follows:
| |||||||
|
| ||||||||
| Changed: | ||||||||
| < < |
sudo modprobe -r uvesafb sudo modprobe uvesafb mode=1280x1024-16 mtrr=3 scroll=ywrap mplayer -vo fbdev -zoom -x 1280 -y 1024 filename.ts | |||||||
| > > |
sudo apt-get install hwinfo sudo hwinfo --framebuffer | |||||||
| Added: | ||||||||
| > > |
For example: | |||||||
sudo modprobe -r uvesafb | ||||||||
| Line: 364 to 479 | ||||||||
| mplayer -vo fbdev -zoom -x 1280 -y 1024 filename.ts | ||||||||
| Changed: | ||||||||
| < < |
-- PeterKnaggs - 02 Sep 2006 | |||||||
| > > |
-- PeterKnaggs - 27 Jan 2008 | |||||||
| Back to LinuxHardwareInfo | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 341 to 341 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ./configure --default make sudo make install | ||||||||
| Changed: | ||||||||
| < < |
sudo modprobe uvesafb | |||||||
| > > |
sudo modprobe uvesafb mode=1400x1050-16 mtrr=3 scroll=ywrap | |||||||
| Changed: | ||||||||
| < < |
Now you should be able to use mplayer's -vo fbdev flag to playback video on the framebuffer console (Ctrl Alt F1).
| |||||||
| > > |
Now you should be able to use mplayer's -vo fbdev flag to playback video on the framebuffer console (Ctrl Alt F1), e.g.:
mplayer -vo fbdev -zoom -x 1400 -y 1050 filename.tsYou can also try other aspect ratios e.g.: | |||||||
| Added: | ||||||||
| > > |
sudo modprobe -r uvesafb sudo modprobe uvesafb mode=1280x1024-16 mtrr=3 scroll=ywrap mplayer -vo fbdev -zoom -x 1280 -y 1024 filename.ts sudo modprobe -r uvesafb sudo modprobe uvesafb mode=1280x1024-16 mtrr=3 scroll=ywrap mplayer -vo fbdev -zoom -x 1280 -y 1024 filename.ts | |||||||
| -- PeterKnaggs - 02 Sep 2006 | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 316 to 316 | ||||||||
|---|---|---|---|---|---|---|---|---|
| and you've googled to the limits of the known universe, the nVidia Linux Support Forums might be a good place to start asking questions. | ||||||||
| Added: | ||||||||
| > > |
Framebuffer Support for nVidia 5200 with
See here for info on the | |||||||
| -- PeterKnaggs - 02 Sep 2006 | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 143 to 143 | ||||||||
|---|---|---|---|---|---|---|---|---|
| wget http://www3.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre8.tar.bz2 tar jxvf MPlayer-1.0pre8.tar.bz2 wget http://www.penlug.org/twiki/pub/Main/LinuxHardwareInfoNvidia5200/mplayer_xvmc_bob_deinterlace.patch | ||||||||
| Added: | ||||||||
| > > |
sudo apt-get install patch | |||||||
cat mplayer_xvmc_bob_deinterlace.patch|patch -p0 >patch.out 2>patch.err
Check the patch.out and patch.err files. The first should be as follows, the second should be empty.
| ||||||||
| Line: 155 to 156 | ||||||||
| patching file MPlayer-1.0pre8/xvmc_render.h To build mplayer with XvMC support for nVidia on Ubuntu, I first needed to add a missing symbolic link as | ||||||||
| Changed: | ||||||||
| < < |
explained here (filed bug 58741 for this): | |||||||
| > > |
explained here (filed bug 58741 for this. Update: Jan 2008 - fix is now included in Ubuntu 8.04 (Hardy Heron) Alpha3, scheduled for release April 2008): | |||||||
cd /usr/lib && sudo ln -s libXvMCNVIDIA.so.1 libXvMCNVIDIA.so | ||||||||
Using older machines for HDTV video playback (with nVidia 5200)If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested to find that one popular approach to getting the job done is to offload some of the work to the graphics card using an X extension called XvMC. Now that the PCI interface nVidia 5200 graphics card are considered "legacy", they | ||||||||
| Changed: | ||||||||
| < < |
are becoming quite reasonably priced, and nVidia makes a (proprietary) driver for the 5200 card available for Linux | |||||||
| > > |
are becoming quite reasonably priced, and nVidia makes a non-Free Software (proprietary) driver for the 5200 card available for Linux | |||||||
| with support for this extension. If you can find an nVidia 5200 card with a heat sink, choose it in preference to one with a fan. | ||||||||
| ||||||||
| Changed: | ||||||||
| < < |
Using older machines for HDTV video playback | |||||||
| > > |
Using older machines for HDTV video playback (with nVidia 5200) | |||||||
| If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested to find that one popular approach to getting the job done is to offload some of the work to the graphics card using an X extension called XvMC. Now that the PCI interface nVidia 5200 graphics card are considered "legacy", they are becoming quite reasonably priced, and nVidia makes a (proprietary) driver for the 5200 card available for Linux with support for this extension. | ||||||||
| Changed: | ||||||||
| < < |
If you can find one with a heat sink, choose it in preference to one with a fan. | |||||||
| > > |
If you can find an nVidia 5200 card with a heat sink, choose it in preference to one with a fan. | |||||||
| Some vendors still stock the PCI version of the nVidia 5200. See the Wiggly Windows section below for some memory considerations when buying an nVidia card. | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 13 to 13 | ||||||||
|---|---|---|---|---|---|---|---|---|
| The focus of this article, though, is mainly to explain how to get video playback of HDTV streams working with the nVidia 5200. | ||||||||
| Added: | ||||||||
| > > |
Update: Issues with nVidia 6200 card in Dell PowerEdge 1600SCIt has been reported that a Dell PowerEdge 1600SC with BIOS revision A12 doesn't work with a PCI nVidia 6200 card. Two beeps are heard, but no video is displayed. | |||||||
Installing the drivers for the nVidia 5200 (PCI)The following packages include the binary-only proprietary nVidia drivers (the Linux kernel modules and the libraries needed to use them) for Ubuntu 6.06 (Dapper Drake): | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 236 to 236 | ||||||||
|---|---|---|---|---|---|---|---|---|
Rotating Your Monitor Clockwise | ||||||||
| Changed: | ||||||||
| < < |
The Dell 2405FPW monitor can be rotated clockwise, which can be very convenient if you are working a lot on web pages or documents. It allows
you to display full pages vertically, instead of having to scroll them up and down. It also appears to be an advantage for coding, because an
xterm can be stretched to display 140 lines of code compared to 51 when the screen isn't rotated. For the nVidia driver, to enable rotation,
you need to add the RandRRotation option into the "Device" section, for example as follows:
| |||||||
| > > |
The Dell 2405FPW monitor can be rotated clockwise, which can be very convenient if you are working a lot on web pages or documents.
It allows you to display full pages vertically, instead of having to scroll them up and down. It also appears to be an advantage
for coding, because an xterm can be stretched vertically to display 140 lines of code compared to "only" 51 when the screen isn't
rotated. For the nVidia driver, to enable rotation, you need to add the RandRRotation option into the "Device" section,
for example as follows:
| |||||||
Section "Device"
Identifier "Generic Video Card"
| ||||||||
| Line: 271 to 272 | ||||||||
and Right. Selecting Left will immediately rotate your screen counter-clockwise, at which point you would then
rotate your monitor clockwise. The Inverted option could be useful if you are running out of desk space, but are able
to attach the monitor (hanging upside-down) to the ceiling.
| ||||||||
| Added: | ||||||||
| > > |
After enabling rotation, xvmc video playback would be "stretched" vertically.
To avoid that, flip the monitoraspect to 9:16 instead of 16:9 as follows.
The video window then fills only a little more than a third of the screen,
instead of stretching vertically to fill the entire screen.
mplayer -framedrop -monitoraspect 9:16 -cache 8192 -vo xvmc -vc ffmpeg12mc -ao alsa -ac hwac3 filename.ts | |||||||
The gentoo wiki hosts this useful page on widescreen monitor configuration.
Wiggly Windows | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 18 to 18 | ||||||||
|---|---|---|---|---|---|---|---|---|
sudo apt-get install linux-restricted-modules-`uname -r` (e.g.: sudo apt-get install linux-restricted-modules-2.6.15-26-686) | ||||||||
| Changed: | ||||||||
| < < |
sudo apt-get install nvidia-glx nvidia-glx-dev | |||||||
| > > |
sudo apt-get install nvidia-glx nvidia-glx-dev libxvmc1 libxvmc-dev | |||||||
After loading the nvidia kernel module you should see these messages in the dmesg output, which show the particular version
of the nVidia proprietary driver currently used by Dapper Drake (1.0-8762). The version available from nVidia's website is usually
| ||||||||
| Line: 99 to 99 | ||||||||
Creation of the configuration file for XvMC on nVidia 5200Thenvidia-glx package contains the nVidia XvMC shared library, and
| ||||||||
| Changed: | ||||||||
| < < |
the file /etc/X11/XvMCConfig needs to contain a reference to it like this, with no spaces:
| |||||||
| > > |
the libxvmc1 package contains the configuration file /etc/X11/XvMCConfig which
needs to contain a reference to the nVidia shared library like this, with no spaces:
| |||||||
libXvMCNVIDIA_dynamic.so.1 | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 283 to 283 | ||||||||
|---|---|---|---|---|---|---|---|---|
| single screen) on the nVidia 5200 using this /etc/X11/xorg.conf and following this guide (with help from the Beryl wiki). | ||||||||
| Changed: | ||||||||
| < < |
You may find that you need to use this "black windows" workaround from the bottom of this Beryl wiki page: | |||||||
| > > |
You may find that you need to use this "black windows" workaround from the gentoo nVidia page (search for "Black Window Bug") or from the bottom of the Beryl wiki page: | |||||||
| If opening multiple windows results in some of them persistently showing only black contents, it means you do not have enough video memory. This is a bug in the nVidia 1.0-9631 drivers: currently, shared video RAM cannot be used with the GLX_EXT_TEXTURE_FROM_PIXMAP extension. | ||||||||
| Changed: | ||||||||
| < < |
NVidia is aware of it, and it may be fixed in the future. In the meantime, one solution is to use the Copy Rendering Path. | |||||||
| > > |
NVidia is aware of it, and it may be fixed in the future (update: it's fixed now in Ubuntu 7.10 Gutsy Gibbon, which uses nVidia kernel module 100.14.19.). In the meantime, one solution is to use the Copy Rendering Path. | |||||||
It can be enabled by right-clicking the beryl icon (in the top right-hand corner) and then selecting Advanced Beryl options --> Rendering path --> Copy. This does slow things down considerably, though, so I guess in the meantime
having an nVidia card with more than 128MB memory could be an advantage for running beryl.
| ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 106 to 106 | ||||||||
|---|---|---|---|---|---|---|---|---|
| See this link for where I found the explanation. | ||||||||
| Added: | ||||||||
| > > |
If you try to use XvMC with the libXvMC.so.1 library (the default) instead of the libXvMCNVIDIA_dynamic.so.1 library configured in /etc/X11/XvMCConfig, the error message is quite misleading:
/usr/lib/libXvMC.so.1: undefined symbol: XvMCCreateContext vo_xvmc: XvMCCreateContext failed with error 2 FATAL: Cannot initialize video driver. | |||||||
Playback of 1080i ATSC contentPlayback of 1080i ATSC content works very well (on a Dell PowerEdge 1600SC with an nVidia 5200 card in a PCI slot) using xine. See here for how to receive ATSC over the air, and here for some MPEG2 transport stream samples and test patterns. Playback using
| ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 222 to 222 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Changed: | ||||||||
| < < |
and with Ubuntu Feisty Fawn beta (which contains revision 1.0-9755), I found that there is no longer any jagged breakup like there used to be in Dapper Drake (see below). The screen size info is being properly sent as the full display size instead of as just the gnome desktop size, so now fullscreen playback with mplayer is as easy as $HOME/MPlayer-1.0pre8/mplayer -monitoraspect 16:9 -ao alsa -ac hwac3 -vo xvmc -vc ffmpeg12mc filename.ts. In Feisty, moving the window around and resizing it works fine during playback using xvmc, whereas with Dapper it tended to crash.
| |||||||
| > > |
and with Ubuntu Feisty Fawn beta (which contains revision 1.0-9755), I found that there is no longer any jagged breakup like there used to be in Dapper Drake (see below). The screen size info is being properly sent as the full display size instead of as just the gnome desktop size, so now fullscreen playback with mplayer is as easy as $HOME/MPlayer-1.0pre8/mplayer -monitoraspect 16:9 -ao alsa -ac hwac3 -vo xvmc -vc ffmpeg12mc filename.ts. Playback with xine using this command: /usr/bin/xine -V xxmc --geometry 1920x1080+0+0 --borderless filename.ts. In Feisty, moving the window around and resizing it works fine during playback using xvmc, whereas with Dapper it tended to crash.
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Rotating Your Monitor Clockwise | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 8 to 8 | ||||||||
|---|---|---|---|---|---|---|---|---|
| with support for this extension. If you can find one with a heat sink, choose it in preference to one with a fan. | ||||||||
| Changed: | ||||||||
| < < |
Some vendors still stock the PCI version of the nVidia 5200, possibly in anticipation of Microsoft's Vista "Aero" user interface.
The "Aero" user interface appears to be similar to what Linux can already achieve by using the
X Composite Extension in the Xgl project.
Of course, Xgl currently enjoys far wider hardware support from available graphics cards, and provides (or rather,
the compositing manager "compiz" provides) those wonderfully enjoyable "wiggly" windows. You might also like to give
Beryl a try in Ubuntu Feisty Fawn. I've found that it works very reliably (for a single screen) on the nVidia 5200 using this /etc/X11/xorg.conf and following this guide (with help
from the Beryl wiki) and this "black windows"
workaround from the bottom of this Beryl wiki page:
If opening multiple windows results in some of them persistently showing only black contents, it means you do not have enough video memory.
This is a bug in the nVidia 1.0-9631 drivers: currently, shared video RAM cannot be used with the GLX_EXT_TEXTURE_FROM_PIXMAP extension.
NVidia is aware of it, and it may be fixed in the future. In the meantime, one solution is to use the Copy Rendering Path.
It can be enabled by right-clicking the beryl icon (in the top right-hand corner) and then selecting Advanced Beryl options --> Rendering path --> Copy. This does slow things down considerably, though, so I guess in the meantime
having an nVidia card with more than 128MB memory could be an advantage for running beryl.
| |||||||
| > > |
Some vendors still stock the PCI version of the nVidia 5200. See the Wiggly Windows section below for some memory considerations when buying an nVidia card. | |||||||
| Changed: | ||||||||
| < < |
The focus of this article, though, is just to explain how to get the video playback of HDTV streams working with the nVidia 5200. | |||||||
| > > |
The focus of this article, though, is mainly to explain how to get video playback of HDTV streams working with the nVidia 5200. | |||||||
Installing the drivers for the nVidia 5200 (PCI)The following packages include the binary-only proprietary nVidia drivers (the Linux kernel modules and the libraries needed to use them) for Ubuntu 6.06 (Dapper Drake): | ||||||||
| Line: 218 to 207 | ||||||||
| Subpicture id 0x34344149 vo_xvmc: OSD support by additional frontend rendering | ||||||||
| Added: | ||||||||
| > > |
The gentoo wiki covers a lot more details of mplayer, and is well worth a visit. | |||||||
Multiple monitor supportSee here for reasons to avoid TwinView and what to do instead. The following /etc/X11/xorg.conf is an example of a dual head configuration running at 1920x1200 with the DVI on the left and the VGA on the right. Please be careful: only use this on your monitors if they are capable of these settings, | ||||||||
| Line: 272 to 263 | ||||||||
and Right. Selecting Left will immediately rotate your screen counter-clockwise, at which point you would then
rotate your monitor clockwise. The Inverted option could be useful if you are running out of desk space, but are able
to attach the monitor (hanging upside-down) to the ceiling.
| ||||||||
| Added: | ||||||||
| > > |
The gentoo wiki hosts this useful page on widescreen monitor configuration.
Wiggly WindowsRecently the graphical effects and usability aspects of the Linux desktop have gained a substantial boost from the X Composite Extension. This extension is beginning to enjoy quite broad hardware support from graphics cards, and provides (or rather, the compositing manager "compiz" provides) those wonderfully enjoyable "wiggly" windows. You might also like to giveberyl a try in Ubuntu Feisty Fawn. I've found that it works very reliably (for a
single screen) on the nVidia 5200 using this /etc/X11/xorg.conf and following this guide (with help
from the Beryl wiki).
You may find that you need to use this "black windows" workaround from the bottom of this Beryl wiki page:
If opening multiple windows results in some of them persistently showing only black contents, it means you do not have enough video memory.
This is a bug in the nVidia 1.0-9631 drivers: currently, shared video RAM cannot be used with the GLX_EXT_TEXTURE_FROM_PIXMAP extension.
NVidia is aware of it, and it may be fixed in the future. In the meantime, one solution is to use the Copy Rendering Path.
It can be enabled by right-clicking the beryl icon (in the top right-hand corner) and then selecting Advanced Beryl options --> Rendering path --> Copy. This does slow things down considerably, though, so I guess in the meantime
having an nVidia card with more than 128MB memory could be an advantage for running beryl.
| |||||||
nVidia SupportIf you're still stuck after studying the readme.txt, | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 230 to 230 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck?" | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
$HOME/MPlayer-1.0pre8/mplayer -monitoraspect 16:9 -ao alsa -ac hwac3 -vo xvmc -vc ffmpeg12mc filename.ts. In Feisty, moving the window around and resizing it works fine during playback using xvmc, whereas with Dapper it tended to crash.
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
Rotating Your Monitor ClockwiseThe Dell 2405FPW monitor can be rotated clockwise, which can be very convenient if you are working a lot on web pages or documents. It allows you to display full pages vertically, instead of having to scroll them up and down. It also appears to be an advantage for coding, because an xterm can be stretched to display 140 lines of code compared to 51 when the screen isn't rotated. For the nVidia driver, to enable rotation, you need to add theRandRRotation option into the "Device" section, for example as follows:
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
BusID "PCI:4:3:0"
Option "AddARGBGLXVisuals" "True"
Option "RandRRotation" "true"
EndSection
To use this to enable rotation, once you have launched X you can issue the following command (e.g. from an xterm window):
xrandr -o leftTo get back to non-rotated, use: xrandr -o normalIf you would like to initiate the rotation graphically, you can install the gnome randr applet package, as follows: apt-get install gnome-randr-appletRight-clicking on the gnome panel and selecting the + Add to Panel menu item, then scrolling down
to find the Display Geometry Switcher in the Utilities section, selecting it and clicking the + Add button
will add an inconspicuous little grey monitor icon. Clicking on it will offer the options Normal, Left, Inverted
and Right. Selecting Left will immediately rotate your screen counter-clockwise, at which point you would then
rotate your monitor clockwise. The Inverted option could be useful if you are running out of desk space, but are able
to attach the monitor (hanging upside-down) to the ceiling.
| |||||||
nVidia Support | ||||||||
| Changed: | ||||||||
| < < |
If you're still stuck after studying the readme.txt, and you've googled to the limits of the known universe, the nVidia Linux Support Forums might be a good place to start asking questions. | |||||||
| > > |
If you're still stuck after studying the readme.txt, (or if you are using the latest 1.0-9755 drivers, then in Appendix D) and you've googled to the limits of the known universe, the nVidia Linux Support Forums might be a good place to start asking questions. | |||||||
| -- PeterKnaggs - 02 Sep 2006 | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 102 to 102 | ||||||||
|---|---|---|---|---|---|---|---|---|
invoke-rc.d gdm restart | ||||||||
| Changed: | ||||||||
| < < |
After logging in, check the output of xdpyinfo.
| |||||||
| > > |
After logging in, check the output of xdpyinfo for the following lines in the section listing the extensions currently loaded (where it will say for example, "number of extensions: 31"):
XVideo
XVideo-MotionCompensation
| |||||||
Creation of the configuration file for XvMC on nVidia 5200Thenvidia-glx package contains the nVidia XvMC shared library, and
| ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 102 to 102 | ||||||||
|---|---|---|---|---|---|---|---|---|
invoke-rc.d gdm restart | ||||||||
| Added: | ||||||||
| > > |
After logging in, check the output of xdpyinfo.
| |||||||
Creation of the configuration file for XvMC on nVidia 5200Thenvidia-glx package contains the nVidia XvMC shared library, and
| ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 148 to 148 | ||||||||
|---|---|---|---|---|---|---|---|---|
| patching file MPlayer-1.0pre8/mplayer.c patching file MPlayer-1.0pre8/xvmc_render.h | ||||||||
| Changed: | ||||||||
| < < |
To build mplayer with XvMC support for nVidia on Ubuntu, I first needed to add a missing symbolic link (filed bug 58741 for this): | |||||||
| > > |
To build mplayer with XvMC support for nVidia on Ubuntu, I first needed to add a missing symbolic link as explained here (filed bug 58741 for this): | |||||||
cd /usr/lib && sudo ln -s libXvMCNVIDIA.so.1 libXvMCNVIDIA.so | ||||||||
Using older machines for HDTV video playbackIf you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested | ||||||||
| Line: 224 to | ||||||||
|---|---|---|---|---|---|---|---|---|