<<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.51 - 26 Sep 2008 - PeterKnaggs)

META TOPICPARENT 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: 530 to 530

META FILEATTACHMENT xorg.conf attr="" comment="Dual head xorg.conf with DVI and CRT at 1920x1200" date="1157426665" path="xorg.conf" size="4924" user="PeterKnaggs" version="1.4"
META FILEATTACHMENT dpkg--get-selections attr="" comment="output of dpkg --get-selections" date="1157919302" path="dpkg--get-selections" size="33353" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT xorg.conf_for_beryl attr="" comment="/etc/X11/xorg.conf for use with Beryl" date="1174459677" path="xorg.conf_for_beryl" size="4031" user="PeterKnaggs" version="1.1"
Changed:
<
<
META FILEATTACHMENT xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA attr="" comment="xorg.conf for 1920x1080 with Samsung LN40A630 connected to nvidia5200 over VGA output" date="1222015228" path="xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA" size="3324" user="PeterKnaggs" version="1.1"
>
>
META FILEATTACHMENT xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA attr="" comment="xorg.conf for 1920x1080 with Samsung LN40A630 connected to nvidia5200 over VGA output" date="1222449805" path="xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA" size="3324" user="PeterKnaggs" version="1.2"
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.50 - 21 Sep 2008 - PeterKnaggs)

META TOPICPARENT 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: 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 HDTV

Some 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

  • Using the VGA output, the nVidia 5200 PCI card is able to drive a Dell 2405FPW monitor at 1920x1200. The following lines need to be added to use the DVI output, otherwise the best resolution attainable is only 1280x1024. With these lines added, 1920x1200 over the DVI connection works (with some caveats, see below) with a Dell 2405FPW monitor:

Line: 239 to 241

  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631, 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:
<
<
  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor connected over either VGA or DVI at 1920x1200, I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1080 stream.ts) and xine --geometry 1840x1035 stream.ts, and move the window over to the right side of the screen, to avoid bizarre jagged horizontal breakup of the video. Just by moving the window over to the right, all was crystal clear again. Couldn't believe my eyes the first time it happened by accident, and all the interference disappeared. Any suggestions on what could be the cause of this would be much appreciated. It seems to be due to some incompatibility between the Dell 2405FPW monitor and the nVidia 5200, or perhaps the settings I'm using are still not right, because using an ordinary Sun GDM-90W10 VGA monitor works fine (with no jagged breakup during video playback) with the same configuration file.
>
>
  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor (or a Samsung LN-40A630 M1FXZA) connected over either VGA or DVI at 1920x1200, when playing back 1080i streams in fullscreen mode, there is very bad jagged horizontal breakup of the video. Playback in non-fullscreen mode isn't too badly affected: I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1080 stream.ts) and xine --geometry 1840x1035 stream.ts, and moving the window over to the right side of the screen also helps remove the interference.

  • When running the Dell 2405FPW monitor on either VGA or DVI at 1680x1050 there's nothing unusual, no jagged breakup during video playback, although of course text looks quite fuzzy (due to not running at the monitor's native 1920x1200 resolution).

Rotating Your Monitor Clockwise

Line: 522 to 524

Added:
>
>

META FILEATTACHMENT mplayer_xvmc_bob_deinterlace.patch attr="" comment="Scott Larson's xvmc bob deinterlace patch for mplayer" date="1157255340" path="mplayer_xvmc_bob_deinterlace.patch" size="6173" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT xorg.conf attr="" comment="Dual head xorg.conf with DVI and CRT at 1920x1200" date="1157426665" path="xorg.conf" size="4924" user="PeterKnaggs" version="1.4"
META FILEATTACHMENT dpkg--get-selections attr="" comment="output of dpkg --get-selections" date="1157919302" path="dpkg--get-selections" size="33353" user="PeterKnaggs" version="1.1"
META FILEATTACHMENT xorg.conf_for_beryl attr="" comment="/etc/X11/xorg.conf for use with Beryl" date="1174459677" path="xorg.conf_for_beryl" size="4031" user="PeterKnaggs" version="1.1"
Added:
>
>
META FILEATTACHMENT xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA attr="" comment="xorg.conf for 1920x1080 with Samsung LN40A630 connected to nvidia5200 over VGA output" date="1222015228" path="xorg.conf_for_Samsung_LN40A630_nvidia5200_VGA" size="3324" user="PeterKnaggs" version="1.1"
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.49 - 21 Sep 2008 - PeterKnaggs)

META TOPICPARENT 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: 237 to 237

Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck?"
Changed:
<
<
  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631,
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.
>
>
  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631, 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.

  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor connected over either VGA or DVI at 1920x1200, I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1080 stream.ts) and xine --geometry 1840x1035 stream.ts, and move the window over to the right side of the screen, to avoid bizarre jagged horizontal breakup of the video. Just by moving the window over to the right, all was crystal clear again. Couldn't believe my eyes the first time it happened by accident, and all the interference disappeared. Any suggestions on what could be the cause of this would be much appreciated. It seems to be due to some incompatibility between the Dell 2405FPW monitor and the nVidia 5200, or perhaps the settings I'm using are still not right, because using an ordinary Sun GDM-90W10 VGA monitor works fine (with no jagged breakup during video playback) with the same configuration file.
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.48 - 13 Apr 2008 - PeterKnaggs)

META TOPICPARENT 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: 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
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.47 - 07 Feb 2008 - PeterKnaggs)

META TOPICPARENT 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: 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
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.46 - 06 Feb 2008 - PeterKnaggs)

META TOPICPARENT 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: 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:

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.45 - 03 Feb 2008 - PeterKnaggs)

META TOPICPARENT 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: 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.:

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.44 - 03 Feb 2008 - PeterKnaggs)

META TOPICPARENT 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: 432 to 432

Framebuffer Support for nVidia 5200 with uvesafb

For the upcoming Ubuntu 8.04 (Hardy Heron), see here for info on the uvesafb project.
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:

  • vesafb is loaded earlier than uvesafb/vesafb-tng/nvidiafb/whateverfb, therefore it's better for the splash screen: with vesafb the video mode switch does indeed happen earlier than with any other fb driver. However, this DOES NOT mean that the splash screen will be displayed at an earlier stage. It will only appear after the fb driver and fbcon are initialized. If you're bothered by the messages displayed while still in text mode when not using vesafb, use the quiet kernel command line parameter to suppress them.

  • The ywrap or ypan options are used in the kernel command line, but the driver says it's using redraw: ywrap/ypan are only available on x86.

  • Does v86d have to be included in an initrd?: Yes, it does, unless you want to compile uvesafb as a module.

  • uvesafb requires an initrd, which adds complexity to the boot process: uvesafb only needs the initrd as a storage mechanism to hold the v86d executable. It does not require any special scripts or the use of genkernel. In fact, it doesn't even require an initrd something line in GRUB/LILO -- you can just use CONFIG_INITRAMFS_SOURCE="/usr/src/v86d-0.1/misc/initramfs" in your kernel config and forget that there is an initrd involved smile

  • The framebuffer splash, CONSOLE=/dev/tty1 and etc. are independent of the fb driver (people often confuse fbsplash and the fbdev layer, but please note that these are two completely different things).

Caveats and limitations with uvesafb

The uvesafb driver is a generic driver which supports a wide variety of video cards, but which is ultimately limited by the Video BIOS interface. The most important limitations are:


Changed:
<
<
-- PeterKnaggs - 27 Jan 2008
>
>
  • Lack of any type of acceleration.
  • A strict and limited set of supported video modes. Often the native or most optimal resolution/refresh rate for your setup will not work with uvesafb, simply because the Video BIOS doesn't support the video mode you want to use. This can be especially painful with widescreen panels, where native video modes don't have the 4:3 aspect ratio, which is what most BIOS-es are limited to (with some exceptions: e.g. a Dell latitude d820 can do 1920x1200).
  • Adjusting the refresh rate is only possible with a VBE 3.0 compliant Video BIOS. Note that many nVidia Video BIOS-es claim to be VBE 3.0 compliant, while they simply ignore any refresh rate settings.

Back to LinuxHardwareInfo

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.43 - 27 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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 vesafb

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 uvesafb

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:

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.42 - 27 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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: 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 vesafb

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 /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. On the other hand, the nvidiafb is fine if you are using the Free Software nv xorg video driver,

fbcon
vesafb

Then run this command to rebuild the initial ramdisk:

sudo update-initramfs -u

Also, edit /etc/modprobe.d/blacklist-framebuffer and comment out the line blacklisting vesafb so that it will actually be loaded into the kernel during boot:

#blacklist vesafb

Use the following commands to load the modules manually (before rebooting):

sudo modprobe fbcon
sudo modprobe vesafb

The dmesg output should contain for example:

vesafb: framebuffer at 0xd0000000, mapped to 0xfb900000, using 5742k, total 131072k
vesafb: mode is 1400x1050x16, linelength=2800, pages=1
vesafb: protected mode interface info at c000:e340
vesafb: pmi: set display start = c00ce376, set palette = c00ce3e0
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 175x65
fb0: VESA VGA frame buffer device

List the configurable framebuffer resolutions using the following commands:

sudo apt-get install hwinfo
sudo hwinfo --framebuffer

For the nVidia 5200, the output looks like this:

02: None 00.0: 11001 VESA Framebuffer                           
  [Created at bios.447]
  Unique ID: rdCR.gV6QWt3XSCC
  Hardware Class: framebuffer
  Model: "NVIDIA NV34 Board - p162-1n "
  Vendor: "NVIDIA Corporation"
  Device: "NV34 Board - p162-1n "
  SubVendor: "NVIDIA"
  SubDevice: 
  Revision: "Chip Rev"
  Memory Size: 128 MB
  Memory Range: 0xd0000000-0xd7ffffff (rw)
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x0330: 320x200 (+320), 8 bits
  Mode 0x0331: 320x400 (+320), 8 bits
  Mode 0x0332: 320x400 (+640), 16 bits
  Mode 0x0333: 320x400 (+1280), 24 bits
  Mode 0x0334: 320x240 (+320), 8 bits
  Mode 0x0335: 320x240 (+640), 16 bits
  Mode 0x0336: 320x240 (+1280), 24 bits
  Mode 0x033d: 640x400 (+1280), 16 bits
  Mode 0x033e: 640x400 (+2560), 24 bits
  Mode 0x0345: 1600x1200 (+1600), 8 bits
  Mode 0x0346: 1600x1200 (+3200), 16 bits
  Mode 0x0347: 1400x1050 (+1400), 8 bits
  Mode 0x0348: 1400x1050 (+2800), 16 bits
  Mode 0x0352: 2048x1536 (+8192), 24 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown

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. 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.

# defoptions=quiet vga=773 splash

Run the following command to update the kernel boot line in the grub configuration file:

sudo update-grub

Framebuffer Support for nVidia 5200 with uvesafb

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

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.41 - 27 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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.ts

You 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

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.40 - 27 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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: 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 uvesafb

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:

sudo apt-get install -y build-essential
wget http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-0.1.3.tar.bz2
tar jxvf v86d-0.1.3.tar.bz2
cd v86d-0.1.3/

You'll need to edit the Makefile here, so that it contains:

KDIR   ?= /lib/modules/$(shell uname -r)/build
instead of:
KDIR   ?= /lib/modules/$(shell uname -r)/source
Then configure and build as usual:
./configure --default
make
sudo make install
sudo modprobe uvesafb

Now you should be able to use mplayer's -vo fbdev flag to playback video on the framebuffer console (Ctrl Alt F1).


-- PeterKnaggs - 02 Sep 2006

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.39 - 13 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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: 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
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.38 - 13 Jan 2008 - PeterKnaggs)

META TOPICPARENT 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 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.

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.37 - 12 Jan 2008 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo
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.
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.36 - 30 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 1600SC

It 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):

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.35 - 27 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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

  • When running the Dell 2405FPW monitor on either VGA or DVI at 1680x1050 there's nothing unusual, no jagged breakup during video playback, although of course text looks quite fuzzy (due to not running at the monitor's native 1920x1200 resolution).

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

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.34 - 26 Dec 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 5200

The nvidia-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
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.33 - 06 Nov 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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.
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.32 - 30 Jun 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 content

Playback 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 xine

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.31 - 01 Jun 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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

  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631,
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:
<
<
  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor connected over either VGA or DVI at 1920x1200, I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1200 stream.ts) and xine --geometry 1840x1150 stream.ts, and move the window over to the right side of the screen, to avoid bizarre jagged horizontal breakup of the video. Just by moving the window over to the right, all was crystal clear again. Couldn't believe my eyes the first time it happened by accident, and all the interference disappeared. Any suggestions on what could be the cause of this would be much appreciated. It seems to be due to some incompatibility between the Dell 2405FPW monitor and the nVidia 5200, or perhaps the settings I'm using are still not right, because using an ordinary Sun GDM-90W10 VGA monitor works fine (with no jagged breakup during video playback) with the same configuration file.
>
>
  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor connected over either VGA or DVI at 1920x1200, I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1080 stream.ts) and xine --geometry 1840x1035 stream.ts, and move the window over to the right side of the screen, to avoid bizarre jagged horizontal breakup of the video. Just by moving the window over to the right, all was crystal clear again. Couldn't believe my eyes the first time it happened by accident, and all the interference disappeared. Any suggestions on what could be the cause of this would be much appreciated. It seems to be due to some incompatibility between the Dell 2405FPW monitor and the nVidia 5200, or perhaps the settings I'm using are still not right, because using an ordinary Sun GDM-90W10 VGA monitor works fine (with no jagged breakup during video playback) with the same configuration file.

  • When running the Dell 2405FPW monitor on either VGA or DVI at 1680x1050 there's nothing unusual, no jagged breakup during video playback, although of course text looks quite fuzzy (due to not running at the monitor's native 1920x1200 resolution).

Rotating Your Monitor Clockwise

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.30 - 08 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 support

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,
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 Windows

Recently 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 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).

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 Support

If you're still stuck after studying the readme.txt,
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.29 - 08 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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:
<
<
  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631, 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.
>
>
  • Update March 11, 2007: When testing with Ubuntu Feisty Fawn alpha herd5, which contains nVidia kernel module revision 1.0-9631,
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.

  • In Ubuntu Dapper Drake, when running with the Dell 2405FPW monitor connected over either VGA or DVI at 1920x1200, I found that I needed to use the following geometry settings: mplayer -monitoraspect 16:9 (or mplayer -geometry 1920x1200 stream.ts) and xine --geometry 1840x1150 stream.ts, and move the window over to the right side of the screen, to avoid bizarre jagged horizontal breakup of the video. Just by moving the window over to the right, all was crystal clear again. Couldn't believe my eyes the first time it happened by accident, and all the interference disappeared. Any suggestions on what could be the cause of this would be much appreciated. It seems to be due to some incompatibility between the Dell 2405FPW monitor and the nVidia 5200, or perhaps the settings I'm using are still not right, because using an ordinary Sun GDM-90W10 VGA monitor works fine (with no jagged breakup during video playback) with the same configuration file.

  • When running the Dell 2405FPW monitor on either VGA or DVI at 1680x1050 there's nothing unusual, no jagged breakup during video playback, although of course text looks quite fuzzy (due to not running at the monitor's native 1920x1200 resolution).
Added:
>
>

Rotating Your Monitor Clockwise

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:
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 left

To get back to non-rotated, use:

  xrandr -o normal

If you would like to initiate the rotation graphically, you can install the gnome randr applet package, as follows:

  apt-get install gnome-randr-applet

Right-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

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.28 - 05 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 5200

The nvidia-glx package contains the nVidia XvMC shared library, and

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.27 - 05 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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 5200

The nvidia-glx package contains the nVidia XvMC shared library, and

 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.26 - 01 Apr 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If 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
 <<O>>  Difference Topic LinuxHardwareInfoNvidia5200 (r1.25 - 26 Mar 2007 - PeterKnaggs)

META TOPICPARENT LinuxHardwareInfo

Using older machines for HDTV video playback

If you've been wondering if you can use a slightly slower machine to play back HDTV content, you may be interested
Line: 224 to