View Single Post
Old 04-06-04, 08:30 AM   #1
ragdim
Registered User
 
Join Date: Mar 2004
Posts: 2
Unhappy Strange video playback problems (2.6 kernels)

Hi,

I'm having performance problems with video playback when using the nvidia driver and 2.6 kernels. There are no problems when using nv driver (except for the lack of OpenGL support of course). I've tested this with the current 53.36 version and with earlier modified drivers from minion.de. The problem appeared when I switched to kernel 2.6.0 and is present in 2.6.5 also. It works fine with 2.4 kernels.

My system:
-Pentium 3 @ 800MHz
-MSI 6198 with VIA Apollo PRO 133 chipset
-512 MB SDRAM
-GeForce2 MX 32MB
-Arch Linux 0.6 (same problem with Slackware 9.1)

The actual problem is that when I play any video (with any player), the process X starts eating CPU and audio gets out of sync. Here are some test results while playing a DivX5 file sized 640x480:

mplayer -vo xv

CPU usage
mplayer: 18%
X: 50-60%

-Unwatchable, audio is out of sync after ~10 secs of playback.
Total CPU usage is near 100%. Mplayer complains my CPU is too slow.

mplayer -vo x11

CPU usage
mplayer: 24%
X: 14%

-Video plays fine, but I can't go fullscreen. If I add -zoom and put
fullscreen mode on, mplayer uses 100% CPU and video skips at times.

mplayer -vo xv (using nv driver)

CPU usage
mplayer: 18%
X: 22%

-Video plays fine, no problems.

Other -vo modes, such as gl and gl2 are unusable as well. Changing -ao mode to oss or sdl doesn't help either. I have tested mplayer 0.92, 1.0pre3 and current CVS plus Xine 1rc3b. OpenGL performance seems to be reasonable for my card. In glxgears I get ~1500 FPS. I've tried with with different values of NvAGP, tried to not load the agpgart module (via_agp) with no luck so far.

Here are some infos from /proc

/proc/driver/nvidia/agp/card:
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x1f000102

/proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 2x 1x
Registers: 0x1f000203:0x00000102

/proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 2x
Fast Writes: Disabled
SBA: Disabled

/proc/driver/nvidia/cards/0
Model: GeForce2 MX/MX 400
IRQ: 5
Video BIOS: 03.11.00.07.00
Card Type: AGP

There seems to be a similiar problem in this thread.

It might be the Apollo PRO 133 + GeForce 2MX combination which is causing the problems.

If anyone knows a solution to this I would be more than happy to hear. Switching drivers when playing games or watching movies is kinda frustrating.
Attached Files
File Type: txt XF86Config.txt (2.8 KB, 165 views)
ragdim is offline   Reply With Quote