# Known bugs

## Special system/CPU-specific bugs/problems

- SIGILL (signal 4) on P3 using 2.2.x kernels:

  Problem: kernel 2.2.x doesn't have proper (working) SSE support

  Solution: upgrade kernel to 2.4.x

  Workaround: `./configure --disable-sse`

- General SIGILL (signal 4):

  Problem: you compiled and run MPlayer on different machines (for example compiled on P3 and running on Celeron)

  Solution: compile MPlayer on the same machine where you will use it!

  Workaround: You can forget all this by configuring with the `--enable-runtime-cpudetection` option or you can disable particular CPU instruction sets with more specific options (like `--disable-mmx`, `--disable-3dnow`, etc).

- "Internal buffer inconsistency" during MEncoder run:

  Problem: known problem when lame < 3.90 was compiled with gcc 2.96 or 3.x.

  Solution: use lame >=3.90.

  Workaround: compile lame with gcc 2.95.x and remove any already installed lame packages, they may have been compiled with gcc 2.96.

- Messed up MP2/MP3 sound on PPC:

  Problem: known GCC miscompilation bug on PPC platforms, no fix yet.

  Workaround: use FFmpeg's (slow) MP1/MP2/MP3 decoder (`-ac ffmpeg`)

- SIGSEGV (signal 11) in libmpeg2, when scaling+encoding:

  Problem: known GCC 2.95.2 MMX bug

  Solution: upgrade to 2.95.3

- Crashes when dumping streams:

  Problem: core dump

  Solution: Don't panic. Make sure you know where your towel is.

## Various A-V sync and other audio problems

### General audio delay or jerky sound (exists with all or many files)

- most common: buggy audio driver! - try to use different drivers, try ALSA 0.9 OSS emulation with `-ao oss`, also try `-ao sdl`, sometimes it helps. If your file plays fine with `-nosound`, then you can be sure it's sound card (driver) problem.

- audio buffer problems (buffer size badly detected)

  Workaround: MPlayer's `-abs` option

- samplerate problems - maybe your card doesn't support the samplerate used in your files - try the resampling filter (`-af resample=...`)

- slow machine (CPU or VGA)

  try with `-vo null`, if it plays well, then you have slow VGA card/driver

  Workaround: buy a faster card or read this documentation about how to speed up

  Also try `-framedrop`

### Audio delay/de-sync specific to one or a few files

- bad file

  Workaround:

  - `-ni` or `-nobps` option (for non-interleaved or bad files)

    and/or

  - `-mc 0`(required for files with badly interleaved VBR audio)

    and/or

  - `-delay` or +/- keys at runtime to adjust delay

  If none of these help, please upload the file, we'll check (and fix).

- your sound card doesn't support 48kHz playback

  Workaround: buy a better sound card... or try to decrease fps by 10% (use `-fps 27` for a 30fps movie) or use the resample filter

- slow machine(if A-V is not around 0, and the last number in the status line increasing)

  Workaround: `-framedrop`

### No sound at all

- your file uses an unsupported audio codec

  read the documentation and help us adding support for it

### No picture at all (just plain grey/green window)

- your file uses an unsupported video codec

  Workaround: read the documentation and help us adding support for it

- auto-selected codec can't decode the file, try to select another using `-vc` or `-vfm` options

- you try to play DivX 3.x file with OpenDivX decoder or XviD (`-vc odivx`) - install DivX4Linux and recompile player

### Video-out problems

First note: options `-fs -vm` and `-zoom` are just recommendations, not (yet) supported by all drivers. So it isn't a bug if it doesn't work. Only a few driver supports scaling/zooming, don't expect this from x11 or dga.

#### OSD/sub flickering

- x11 driver: sorry, it can't be fixed now

- xv driver: use `-double` option

#### Green image using mga_vid (`-vo mga` / `-vo xmga`)

- mga_vid misdetected your card's RAM amount, reload it using `mga_ram_size` option