Автор Тема: mplayer+xv+radeon problem  (Прочетена 2307 пъти)

partenov

  • Напреднали
  • *****
  • Публикации: 12
    • Профил
mplayer+xv+radeon problem
« -: Jan 30, 2005, 19:05 »
Ползвам следното:
кернел 2.4.29
x11-6.8.1-i486-3 - xorg
mplayer 1.0pre6a
Видео Адаптора е Radeon 7500 с включено хардуерно ускорение (dri).
Пускам си аз Mplayer, като за видео драйвер използвам Х11/XV и вместо картина, има смао черен екран. Не се съобащават никакви грешки за каквото и да било от страна на Mplayer. Звук има...
Пускам xvinfo и ето какво се получава:
Примерен код

X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Radeon Video Overlay"
    number of ports: 1
    port base: 69
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
      depth 24, visualID 0x2b
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 24, visualID 0x2e
      depth 24, visualID 0x2f
      depth 24, visualID 0x30
      depth 24, visualID 0x31
      depth 24, visualID 0x32
    number of attributes: 15
      "XV_SET_DEFAULTS" (range 0 to 1)
              client settable attribute
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 30)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLOR" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_RED_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GREEN_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_BLUE_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SWITCHCRT" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GAMMA" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)


Изглежда всичко е ОК!

Разликата от друг път е че съм угрейднал X11 до последната версия Преди това проблем не съм имал!

Ако някой знае къде е проблема, моля да сподели че е много досадно. '<img'>
Активен

Kernel 2.4.26
Slackware 10 with patches
KDE 3.3.2

alex_c

  • Напреднали
  • *****
  • Публикации: 122
    • Профил
mplayer+xv+radeon problem
« Отговор #1 -: Jan 30, 2005, 20:42 »
При мен софтуерът е почти същия, с изключение на Х11, и всичко си върви. Дай малко по-подробна информация какво ти вади MPlayer-a - пусни филм от конзола и публикувай тук информацията, която излиза.
За да си сигурен, че проблема е с Х-а, излез в козолен режим (Ctrl+Alt+F1)  като root и пусни MPlayer-a с командата:
mplayer -vo cvidix Ime_na_film.avi. Ако в този режим има картина, най-вероятно проблемът е в новия Х, който си инсталирал и моят съвет е да прекомпилираш MPlayer-a, използвайки новите библиотеки и заглавни файлове на Х-а.
Best wishes!
Alex
Активен

partenov

  • Напреднали
  • *****
  • Публикации: 12
    • Профил
mplayer+xv+radeon problem
« Отговор #2 -: Jan 30, 2005, 21:12 »
Ето най напред изхода на мплейъра от конзолата (виртуаланата в КДЕ)
Примерен код

/programs/bin/mplayer -vo xv /mnt/D/internet/The\ Usual\ Suspects.avi
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Playing /mnt/D/internet/The Usual Suspects.avi.
AVI file format detected.
VIDEO:  [DIV3]  512x216  24bpp  23,978 fps  671,5 kbps (82,0 kbyte/s)
SUB: Detected subtitle file format: microdvd
SUB: Read 1037 subtitles.
SUB: Adjusted 748 subtitle(s).
SUB: added subtitle file (1): /mnt/D/internet/The Usual Suspects.txt
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 512 x 216 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 512x216 => 512x216 Planar YV12
A:  25,8 V:  25,8 A-V:  0,000 ct:  0,026 620/620  3%  2%  1,0% 0 0


Всичко си тръгва, но няма картина '<img'>

За прекомпилиорането на Mplayer...
Това направих най-първо след като забелязах проблема.. Уви не даде резултат.. '<img'>

Пробвах да запусна Mplayer в конзолен режим (tty1) но явно нямам поддръжка на cvidix и съответно не стана експеримента. '<img'>
Активен

Kernel 2.4.26
Slackware 10 with patches
KDE 3.3.2

partenov

  • Напреднали
  • *****
  • Публикации: 12
    • Профил
mplayer+xv+radeon problem
« Отговор #3 -: Feb 02, 2005, 23:53 »
EEEEEEEE Най-накрая се отървах от този проблем...
Накратко.. в настройките на драйвера за Радеона има една опция
Цитат
Option "MergedFB" "boolean"
              This  enables  merged  framebuffer mode.  In this mode you have a single shared framebuffer with
              two viewports looking into it................
.....и т.н. За подробности $> man radeon
Тази опция по подразбиране е оставвена като "undefined". След като я форсирах на off, и всичко си дойде на мястото..
 '<img'>
Активен

Kernel 2.4.26
Slackware 10 with patches
KDE 3.3.2

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
linux 2.6.0 +radeon 9000 pro2 problem
Хардуерни и софтуерни проблеми
lostsoul 2 2583 Последна публикация Dec 26, 2003, 23:45
от mikis
Slack10.0 + kernel 2.6.7 + Radeon 9200 = problem
Настройка на хардуер
senser 7 2696 Последна публикация Jul 16, 2004, 23:31
от XaugyTuH
Radeon 9200 problem + Red Hat 9
Настройка на хардуер
dragoneye 0 1519 Последна публикация Oct 05, 2004, 20:43
от dragoneye
Problem s Ati Radeon na Ubuntu
Настройка на хардуер
Enforcement 6 2965 Последна публикация Jul 23, 2005, 06:41
от JooL
Problem s ati radeon x300 (no 3d support)
Настройка на хардуер
SHTILL 8 3932 Последна публикация Jul 04, 2006, 02:15
от the_real_maniac