Автор Тема: Xv и debian  (Прочетена 2015 пъти)

madmax_haskovo

  • Напреднали
  • *****
  • Публикации: 24
    • Профил
    • WWW
Xv и debian
« -: Mar 07, 2008, 09:29 »
Добре, оправихме звука, но сега изникна друг проблем. Възпроизвеждането през XV не работи. Ето ситуацията: MPlayer зарежда филма и директно излиза. Kaffeine тръгва да го възпроизвежда, но няма картина, само звук. Totem ( и производните му ) забиват по същия начин, както MPlayer. Интересното е, че когато сменя видео изхода от XV на X11, картина има, тоест кодеците са налични ( явно съм ги инсталирал всичките, днес даже инсталирах за всеки случай и W32codecs ). Някой може ли да ми каже какво става? Ако има нужда да приложа някой файл ( xorg.conf или някой друг ), само кажете кой.
Активен

Каквото и да си мислиш, може и да не е вярно.

v_badev

  • Напреднали
  • *****
  • Публикации: 1355
    • Профил
Xv и debian
« Отговор #1 -: Mar 07, 2008, 10:19 »
Първо покажи изхода от mplayer пуснат в конзола с XV.
Освен това може да е полезно да покажеш xorg.conf и да напишеш какво ти в видеото, коя е версията на Debian и коя графична среда ползваш.



Активен

madmax_haskovo

  • Напреднали
  • *****
  • Публикации: 24
    • Профил
    • WWW
Xv и debian
« Отговор #2 -: Mar 07, 2008, 10:48 »
Цитат (v_badev @ Март 07 2008,10:19)
Първо покажи изхода от mplayer пуснат в конзола с XV.
Освен това може да е полезно да покажеш xorg.conf и да напишеш какво ти в видеото, коя е версията на Debian и коя графична среда ползваш.

Сега съм на работа, но като се прибера, ще ги пусна. '<img'>
Активен

Каквото и да си мислиш, може и да не е вярно.

madmax_haskovo

  • Напреднали
  • *****
  • Публикации: 24
    • Профил
    • WWW
Xv и debian
« Отговор #3 -: Mar 07, 2008, 20:21 »
Цитат (v_badev @ Март 07 2008,10:19)
Първо покажи изхода от mplayer пуснат в конзола с XV.
Освен това може да е полезно да покажеш xorg.conf и да напишеш какво ти в видеото, коя е версията на Debian и коя графична среда ползваш.

Ето какво имам: Debian testing, вградена карта i915 на лаптоп HP Nx6110, Gnome 2.20.3

xorg.conf
Примерен код

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   FontPath   "/usr/share/fonts/X11/misc"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc"
   FontPath   "/usr/share/fonts/X11/cyrillic"
   FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic"
   FontPath   "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/share/fonts/X11/100dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
   FontPath   "/usr/share/fonts/X11/75dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "i2c"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "vbe"
   Load   "dbe"
EndSection

Section "Extensions"
   Option   "Composite"   "Enable"
   Option   "RENDER"   "Enable"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
   Option      "HorizScrollDelta"   "0"
EndSection

Section "Device"
   Identifier   "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
   Driver      "i810"
   BusID      "PCI:0:2:0"
   Option      "XAANoOffscreenPixmaps"   "true"
   Option      "DRI"   "true"
   Option      "AddARGBGLXVisuals"   "True"
   Option      "AllowGLXWithComposite"   "True"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice   "Synaptics Touchpad"
   Option      "AIGLX"   "true"
EndSection

Section "DRI"
   Mode   0666
EndSection


ето какво ми дава MPlayer в конзолата:
Примерен код

philip@vega:/media/hda2/Download$ gmplayer
MPlayer dev-SVN-rUNKNOWN-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /media/hda2/Download/terminator.the.sarah.connor.chronicals.s01e03.hdtv.xvid-notv.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  24bpp  23.976 fps  995.8 kbps (121.6 kbyte/s)
Clip info:
 Software: transcode-1.0.2
SUB: Detected subtitle file format: subviewer
SUB: Read 464 subtitles.
SUB: Adjusted 4 subtitle(s).
SUB: Added subtitle file (1): /media/hda2/Download/terminator.the.sarah.connor.chronicals.s01e03.hdtv.xvid-notv.srt
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12
[ws] Error in display.  0.084 ct:  0.000   1/  1 ??% ??% ??,?% 0 0              
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 141
[ws]  Minor code: 19
[ws]  Modules: flip_page


ето и резултата от Totem:
Примерен код

philip@vega:~$ totem

(totem:23736): Gtk-WARNING **: Theme directory scalable/apps/24 of theme OSX_Iconset has no size field


(totem:23736): Gtk-WARNING **: Theme directory  scalable/stock/128 of theme OSX_Iconset has no size field

The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 52 error_code 11 request_code 141 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Ако трябва още нещо...
Активен

Каквото и да си мислиш, може и да не е вярно.

Icelander

  • Новаци
  • *
  • Публикации: 2
    • Профил
Xv и debian
« Отговор #4 -: Mar 08, 2008, 15:50 »
А, нещо любопитно: имам същия проблем и даже ползвам последния Compiz Fusion. Когато работи, плеърите не работят, а когато го изключа, няма проблеми. Като се разрових по форумите, се оказа, че много хора с видеокарти на Intel ( с различни чипове ) имат същия проблем. Явно е нещо централно от драйвера на Intel или несъвместимост с Compiz Fusion.



Активен

aaaaaa

  • Напреднали
  • *****
  • Публикации: 971
    • Профил
Xv и debian
« Отговор #5 -: Mar 08, 2008, 17:31 »
Същият проблем имах навремето - когато compiz е пуснат mplayer не иска да работи с xv. Има две възможни решения - да ползваш нещо друго - например x11 или да си компилираш mplayer сам - има пач, който оправя нещата. Дори тогава обаче възпроизвеждането на hdtv филми е доста проблемно, за нормални няма проблем (предполагам, просто в тази ситуация mplayer не работи толкова оптимално, колкото нормално). Има и трети вариант - да ползваш xgl вместо aiglx. Повече информация можеш да намериш във форумите на ubuntu - там май даже има howto.



Активен

...to boldly go where no one has gone before...

Icelander

  • Новаци
  • *
  • Публикации: 2
    • Профил
Xv и debian
« Отговор #6 -: Mar 08, 2008, 23:46 »
Цитат (aaaaaa @ Март 08 2008,18:31)
Същият проблем имах навремето - когато compiz е пуснат mplayer не иска да работи с xv. Има две възможни решения - да ползваш нещо друго - например x11 или да си компилираш mplayer сам - има пач, който оправя нещата. Дори тогава обаче възпроизвеждането на hdtv филми е доста проблемно, за нормални няма проблем (предполагам, просто в тази ситуация mplayer не работи толкова оптимално, колкото нормално). Има и трети вариант - да ползваш xgl вместо aiglx. Повече информация можеш да намериш във форумите на ubuntu - там май даже има howto.

Можеш ли да ми кажеш къде точно е това, защото обърнах форума с главата надолу и нищо не открих конкретно по темата? Балгодаря предварително. '<img'>
Активен

tolostoi

  • Напреднали
  • *****
  • Публикации: 1337
  • Distribution: Ubuntu
  • Window Manager: Unity
  • левел: авераж :)
    • Профил
Xv и debian
« Отговор #7 -: Mar 10, 2008, 11:04 »
Доста ти е претрупан xorg.conf-a пък и вече се ползва драйвера 'intel' пусни един
Примерен код
dpkg-reconfigure -phigh xserver-xorg
от къде си инсталирал компиз? Питам понеже вече го има в тестинг хранилището на debian и версията от хранилището работи по-добре отколкото тази в tuxfamily например.

При мен
Примерен код
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
ето и xorg-a
Примерен код
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   FontPath   "/usr/share/fonts/X11/misc"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc"
   FontPath   "/usr/share/fonts/X11/cyrillic"
   FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic"
   FontPath   "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/share/fonts/X11/100dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
   FontPath   "/usr/share/fonts/X11/75dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
#   Option      "CoreKeyboard"
#   Option      "XkbRules"   "xorg"
#   Option      "XkbModel"   "pc105"
#   Option      "XkbLayout"   "us,bg"
#   Option      "XkbVariant"   ",phonetic"
#   Option      "XkbOptions"   "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
EndSection

Section "Device"
   Identifier   "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller"
   Driver      "intel"
   BusID      "PCI:0:2:0"
EndSection

Section "Monitor"
   Identifier   "HP L1940"
   Option      "DPMS"
#   Option "DDC" "false"
   HorizSync   30-65
   VertRefresh   50-62
#Modeline "1280x960@60" 105.68 1280 1312 1712 1744 960 979 989 1009
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller"
   Monitor      "HP L1940"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1280x1024" "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1280x1024" "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1280x1024" "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1280x1024" "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1280x1024" "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1280x1024" "1024x768"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection
като секция Files е излишна



Активен


... в Столичен инспекторат една година след миграцията, продължават да работят под Linux. Което, май прави "експеримента" успешен
by entusiast

madmax_haskovo

  • Напреднали
  • *****
  • Публикации: 24
    • Профил
    • WWW
Xv и debian
« Отговор #8 -: Mar 10, 2008, 14:43 »
Compiz го взех точно оттам - от tuxfamily. но проблема си го имаше и с този от testing хранилището. А драйвера ще го сменя, пък ще видим какво ще стане. Не очаквам обаче чудеса '<img'>
Активен

Каквото и да си мислиш, може и да не е вярно.

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
BG Debian
Предложения за български проект
asa 0 9681 Последна публикация Sep 25, 2002, 11:52
от asa
Debian i KDE
Настройка на програми
IvanST 9 18354 Последна публикация Jan 05, 2003, 21:54
от n_antonov
Грешка в MBR Debian не стартира!
Настройка на програми
IvanST 8 18005 Последна публикация Jan 07, 2003, 13:36
от IvanST
debian + kde 3.1
Настройка на програми
rat 0 8426 Последна публикация Jan 28, 2003, 17:28
от rat
кои CD-та на Debian ми трябва ?
Настройка на програми
brady 5 12475 Последна публикация Jul 10, 2003, 16:33
от FuckBTK