You are not logged in.

#1 2007-01-21 09:29:49

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Can not play avi files compressed with DivX

Can not play avi files compressed with DivX.

[a@myhost ~]$ gxine

(gxine:4490): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
[a@myhost ~]$ gxine

(gxine:4503): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
WARN: Can't get file status for /dev/cdrom:
No such file or directory
The program 'gxine' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 488 error_code 11 request_code 143 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.)
[a@myhost ~]$ gxine --sync

(gxine:4530): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
WARN: Can't get file status for /dev/cdrom:
No such file or directory
The program 'gxine' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 934 error_code 11 request_code 143 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.)
[a@myhost ~]$ 
[a@myhost ~]$ 
[a@myhost ~]$ vlc
VLC media player 0.8.5 Janus
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  143 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  83
  Current serial number in output stream:  84
[a@myhost ~]$ gmplayer
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium II Klamath/Pentium II OverDrive (Family: 6, Model: 3, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs

Playing /mnt/hda3/video/Christmas-Fusion.avi.
AVI file format detected.
VIDEO:  [DIV3]  360x288  24bpp  25,000 fps  593,2 kbps (72,4 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, s16le, 128,0 kbit/12,50% (ratio: 16000->128000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 360 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 360x288 => 360x288 Planar YV12 
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 143
[ws]  Minor code: 19
[ws]  Modules: flip_page
[a@myhost ~]$ 

Goodbye!

Offline

#2 2007-01-21 10:16:41

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Can not play avi files compressed with DivX

Did you try syncupdating?


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#3 2007-01-21 12:25:54

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Can not play avi files compressed with DivX

Stalwart wrote:

Did you try syncupdating?

No.
Then in /etc/X11/xorg.conf Device section driver is vesa

Driver      "vesa"

, then VLC player open avi file, then ati

Driver      "ati"

- any player after open exit.
But with vesa driver monitor refresh rate is, I think 60 Hz, with ati 85 Hz.
How make syncupdating?


Goodbye!

Offline

#4 2007-01-21 14:06:10

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Can not play avi files compressed with DivX

What do?:

[root@myhost a]# pacman -Syu
:: Synchronizing package databases... 
 current                  [################] 100%      72K    13.1K/s  00:00:05
 extra                    [################] 100%     272K    13.3K/s  00:00:20
:: Replace mawk with gawk from "current"? [Y/n] 

Replace mawk with gawk from "current"?


Goodbye!

Offline

#5 2007-01-21 14:23:06

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Can not play avi files compressed with DivX

Looks like you have pretty outdated system roll Launch -Syu several times and read all messages carefully


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#6 2007-01-21 18:29:29

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Can not play avi files compressed with DivX

Make pacman -Syu, now with ati VLC player not exit after open some avi and play only sound, without video, but gmplayer and gxine exit after open.

[a@myhost ~]$ vlc
VLC media player 0.8.6a Janus
[00000283] main decoder error: no suitable decoder module for fourcc `DIV3'.
VLC probably does not support this sound or video format.

Goodbye!

Offline

#7 2007-01-21 20:48:04

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Can not play avi files compressed with DivX

Are you sure you have ffmpeg and codecs?


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#8 2007-01-22 13:46:26

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Can not play avi files compressed with DivX

Stalwart wrote:

Are you sure you have ffmpeg and codecs?

Not sure.
But I now install Baltix Linux, because after turn on computer archlinux not start.

On Baltix same problem:

ali@alo:~$ totem

(totem:9168): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(totem:9168): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
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 90 error_code 11 request_code 140 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.)
ali@alo:~$

My xorg.conf on Baltix:

# /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/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/CID"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us,lt"
        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"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "ATI Technologies, Inc. 3D Rage Pro (AGP)"
        Driver          "ati"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-60
        VertRefresh     43-85
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. 3D Rage Pro (AGP)"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

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

Section "DRI"
        Mode    0666
EndSection

Goodlock!


Goodbye!

Offline

#9 2007-01-23 00:25:13

megahead13
Member
From: Athens, Greece
Registered: 2006-07-06
Posts: 8

Re: Can not play avi files compressed with DivX

same problem here after upgrading to latest vlc 0.8.6a Never had this problem with vlc until today

Offline

#10 2007-01-23 08:26:14

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Can not play avi files compressed with DivX

With this /etc/X11/xorg.conf content totem and vlc players, and I think others, play avi files:

# /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/X11/fonts/misc"
    FontPath    "/usr/share/X11/fonts/cyrillic"
    FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/Type1"
    FontPath    "/usr/share/X11/fonts/CID"
    FontPath    "/usr/share/X11/fonts/100dpi"
    FontPath    "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us,lt"
    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"
    Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
    Identifier    "ATI Technologies, Inc. 3D Rage Pro (AGP)"
    Driver        "ati"
    BusID        "PCI:1:0:0"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
    HorizSync    28-55
    VertRefresh    43-85
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "ATI Technologies, Inc. 3D Rage Pro (AGP)"
    Monitor        "Generic Monitor"
    DefaultDepth    16
    SubSection "Display"
        Depth        1
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "800x600" "640x480"
    EndSubSection
EndSection

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

Section "DRI"
    Mode    0666
EndSection

smile
Goodlock!


Goodbye!

Offline

#11 2007-02-05 11:20:03

JoyFM
Member
From: potsdam
Registered: 2007-01-03
Posts: 27
Website

Re: Can not play avi files compressed with DivX

i had to remove my ~/.vlc after upgrading to 0.8.6a ... than it works perfectly wink

Offline

#12 2007-02-27 01:15:22

berkus
Member
From: Tallinn, Estonia
Registered: 2005-03-29
Posts: 65
Website

Re: Can not play avi files compressed with DivX

Just so that information is not lost: i just got exactly the same behavior with latest xorg-server 1.2.0-2.

It seems like a bug in Xv extension (and/or memory manager in certain X versions) - conclusion from googling around.

For mplayer this is most probably fixed by selecting different -vo option. For me -vo x11 worked fine (-vo sdl did not).

YMMV.

ps:
$ pacman -Q xorg-server libxv
xorg-server 1.2.0-2
libxv 1.0.2-1

Last edited by berkus (2007-02-27 01:16:23)


keep in touch.

Offline

Board footer

Powered by FluxBB