You are not logged in.

#1 2009-10-31 00:36:13

manouchk
Member
Registered: 2008-07-29
Posts: 306

[solved] mplayer high CPU usage and slow video

Hi,

The last update of archlinux I did brought me a version of mplayer whith high CPU usage and slow video. The CPU usage is 100% (If remember well it was much less than that, my CPU is a dothan 1.5GHz). The audio is played normally but videos are played slower than they should be.

Anyone having this problem?

pacman -Q|grep mplayer
mplayer 29776-1
mplayer-plugin 3.55-1
...

last updates:

more /var/log/pacman.log |grep upgraded
[2009-10-30 09:29] upgraded reflector (4.2-1 -> 4.2.1-1)
[2009-10-30 10:12] upgraded aria2 (1.5.2-1 -> 1.6.2-1)
[2009-10-30 10:15] upgraded powerpill (16.1-2 -> 16.1-2)
[2009-10-30 11:35] upgraded kernel-headers (2.6.30.5-1 -> 2.6.31.4-1)
[2009-10-30 11:35] upgraded tzdata (2009n-1 -> 2009o-1)
[2009-10-30 11:36] upgraded glibc (2.10.1-4 -> 2.10.1-5)
[2009-10-30 11:36] upgraded attr (2.4.43-1 -> 2.4.44-1)
[2009-10-30 11:36] upgraded acl (2.2.47-2 -> 2.2.48-1)
[2009-10-30 11:36] upgraded glib2 (2.20.4-1 -> 2.22.2-1)
[2009-10-30 11:36] upgraded atk (1.26.0-1 -> 1.28.0-1)
[2009-10-30 11:36] upgraded libpano13 (2.9.12-2 -> 2.9.14-2)
[2009-10-30 11:36] upgraded gcc-libs (4.4.1-1 -> 4.4.2-2)
[2009-10-30 11:36] upgraded autopano-sift-c (2.5.0-3 -> 2.5.0-4)
[2009-10-30 11:36] upgraded binutils (2.19.1-5 -> 2.20-1)
[2009-10-30 11:36] upgraded bluez (4.54-1 -> 4.56-1)
[2009-10-30 11:36] upgraded compositeproto (0.4-2 -> 0.4.1-1)
[2009-10-30 11:36] upgraded dbus-glib (0.80-1 -> 0.82-1)
[2009-10-30 11:36] upgraded consolekit (0.3.0-5 -> 0.4.1-1)
[2009-10-30 11:36] upgraded libcups (1.3.11-1 -> 1.4.1-1)
[2009-10-30 11:36] upgraded hicolor-icon-theme (0.10-2 -> 0.11-1)
[2009-10-30 11:36] upgraded poppler (0.10.7-2 -> 0.12.1-1)
[2009-10-30 11:36] upgraded cups (1.3.11-1 -> 1.4.1-1)
[2009-10-30 11:36] upgraded curl (7.19.6-1 -> 7.19.6-2)
[2009-10-30 11:36] upgraded dhcpcd (5.1.0-1 -> 5.1.1-1)
[2009-10-30 11:36] upgraded dialog (1.1_20080819-2 -> 1.1_20080819-3)
[2009-10-30 11:36] upgraded dmxproto (2.2.99.1-1 -> 2.3-1)
[2009-10-30 11:36] upgraded sdl (1.2.13-3 -> 1.2.14-1)
[2009-10-30 11:36] upgraded ptlib (2.6.4-1 -> 2.6.5-1)
[2009-10-30 11:36] upgraded opal (3.6.4-1 -> 3.6.6-1)
[2009-10-30 11:36] upgraded libsoup (2.26.3-1 -> 2.28.1-1)
[2009-10-30 11:36] upgraded pango (1.24.5-1 -> 1.26.0-2)
[2009-10-30 11:36] upgraded shared-mime-info (0.60-1 -> 0.70-1)
[2009-10-30 11:36] upgraded gtk2 (2.16.5-1 -> 2.18.3-1)
[2009-10-30 11:36] upgraded gconf (2.26.2-3 -> 2.28.0-1)
[2009-10-30 11:36] upgraded gnome-keyring (2.26.3-1 -> 2.28.1-1)
[2009-10-30 11:36] upgraded libgweather (2.26.2.1-1 -> 2.28.0-1)
[2009-10-30 11:36] upgraded libbonobo (2.24.1-1 -> 2.24.2-1)
[2009-10-30 11:36] upgraded sqlite3 (3.6.18-1 -> 3.6.19-1)
[2009-10-30 11:36] upgraded nss (3.12.4-1 -> 3.12.4-2)
[2009-10-30 11:36] upgraded evolution-data-server (2.26.3-2 -> 2.28.1-1)
[2009-10-30 11:36] upgraded libsigc++2.0 (2.2.3-1 -> 2.2.4.2-1)
[2009-10-30 11:37] upgraded ekiga (3.2.5-2 -> 3.2.6-1)
[2009-10-30 11:37] upgraded enca (1.11-1 -> 1.12-1)
[2009-10-30 11:37] upgraded exiv2 (0.18-1 -> 0.18.2-1)
[2009-10-30 11:37] upgraded fontcacheproto (0.1.2-2 -> 0.1.3-1)
[2009-10-30 11:37] upgraded perl (5.10.1-3 -> 5.10.1-5)
[2009-10-30 11:37] upgraded foomatic-db (4.0_20090625-1 -> 4.0.3_20090904-2)
[2009-10-30 11:37] upgraded ghostscript (8.70-1 -> 8.70-2)
[2009-10-30 11:37] upgraded foomatic-filters (4.0_20090625-1 -> 4.0.3_20090904-2)
[2009-10-30 11:37] upgraded foomatic-db-engine (4.0_20090625-1 -> 4.0.3_20090904-2)
[2009-10-30 11:37] upgraded gcc (4.4.1-1 -> 4.4.2-2)
[2009-10-30 11:37] upgraded glibmm (2.20.1-1 -> 2.22.1-1)
[2009-10-30 11:37] upgraded gmusicbrowser (1.0.1-2 -> 1.0.2-1)
[2009-10-30 11:37] upgraded gnome-common (2.26.0-2 -> 2.28.0-1)
[2009-10-30 11:37] upgraded gnome-icon-theme (2.26.0-1 -> 2.28.0-1)
[2009-10-30 11:37] upgraded python (2.6.3-2 -> 2.6.4-1)
[2009-10-30 11:37] upgraded pygobject (2.18.0-1 -> 2.20.0-1)
[2009-10-30 11:37] upgraded pygtk (2.14.1-4 -> 2.16.0-2)
[2009-10-30 11:37] upgraded gnome-menus (2.26.2-1 -> 2.28.0.1-1)
[2009-10-30 11:37] upgraded popt (1.14-1 -> 1.15-1)
[2009-10-30 11:37] upgraded tdb (3.3.7-1 -> 3.3.8-1)
[2009-10-30 11:37] upgraded smbclient (3.3.7-2 -> 3.3.8-1)
[2009-10-30 11:37] upgraded gnome-vfs (2.24.1-2 -> 2.24.2-1)
[2009-10-30 11:37] upgraded libgnome (2.26.0-2 -> 2.28.0-1)
[2009-10-30 11:37] upgraded libbonoboui (2.24.1-1 -> 2.24.2-1)
[2009-10-30 11:37] upgraded libgnomeui (2.24.1-1 -> 2.24.2-1)
[2009-10-30 11:37] upgraded gnome-python (2.26.1-1 -> 2.28.0-1)
[2009-10-30 11:37] upgraded pangomm (2.24.0-1 -> 2.26.0-1)
[2009-10-30 11:37] upgraded gtkmm (2.16.0-1 -> 2.18.2-1)
[2009-10-30 11:37] upgraded gparted (0.4.6-2 -> 0.4.7-1)
[2009-10-30 11:37] upgraded gzip (1.3.12-6 -> 1.3.13-1)
[2009-10-30 11:37] upgraded net-snmp (5.4.2.1-1 -> 5.4.2.1-2)
[2009-10-30 11:37] upgraded hplip (3.9.6b-2 -> 3.9.8-2)
[2009-10-30 11:37] upgraded wxgtk (2.8.10.1-4 -> 2.8.10.1-5)
[2009-10-30 11:37] upgraded hugin (0.7.0-5 -> 0.8.0-1)
[2009-10-30 11:38] upgraded imagemagick (6.5.6.1-1 -> 6.5.6.10-1)
[2009-10-30 11:38] upgraded poppler-glib (0.10.7-1 -> 0.12.1-1)
[2009-10-30 11:38] upgraded inkscape (0.46-13 -> 0.46-14)
[2009-10-30 11:38] upgraded iptables (1.4.4-1 -> 1.4.5-1)
[2009-10-30 11:38] upgraded kbproto (1.0.3-2 -> 1.0.4-1)
[2009-10-30 11:38] upgraded libxklavier (3.9-2 -> 4.0-1)
[2009-10-30 11:38] upgraded kdebase-workspace (4.3.2-1 -> 4.3.2-2)
[2009-10-30 11:38] upgraded kdelibs (4.3.2-3 -> 4.3.2-4)
[2009-10-30 11:38] upgraded kernel26-firmware (2.6.30-1 -> 2.6.31-1)
[2009-10-30 11:38] upgraded module-init-tools (3.10-2 -> 3.11.1-1)
[2009-10-30 11:40] upgraded kernel26 (2.6.30.6-1 -> 2.6.31.5-1)
[2009-10-30 11:40] upgraded kphotoalbum (4.0.2-3 -> 4.1-1)
[2009-10-30 11:40] upgraded laptop-mode-tools (1.51-1 -> 1.52-1)
[2009-10-30 11:40] upgraded lftp (4.0.2-1 -> 4.0.3-1)
[2009-10-30 11:40] upgraded libevent (1.4.11-1 -> 1.4.12-1)
[2009-10-30 11:40] upgraded libfetch (2.25-1 -> 2.26-1)
[2009-10-30 11:40] upgraded libgpg-error (1.6-1 -> 1.7-2)
[2009-10-30 11:40] upgraded libgphoto2 (2.4.6-2 -> 2.4.6-3)
[2009-10-30 11:40] upgraded libgtop (2.26.1-1 -> 2.28.0-1)
[2009-10-30 11:40] upgraded libpciaccess (0.10.8-1 -> 0.10.9-1)
[2009-10-30 11:40] upgraded libraw1394 (2.0.2-1 -> 2.0.4-1)
[2009-10-30 11:40] upgraded libspectre (0.2.2-2 -> 0.2.3-1)
[2009-10-30 11:40] upgraded xf86dgaproto (2.0.99.1-1 -> 2.1-1)
[2009-10-30 11:40] upgraded libxxf86dga (1.0.99.1-1 -> 1.1.1-0.1)
[2009-10-30 11:40] upgraded lirc-utils (0.8.5-1 -> 0.8.6-3)
[2009-10-30 11:40] upgraded live-media (2009.09.21-1 -> 2009.09.28-2)
[2009-10-30 11:40] upgraded lxrandr (0.1-1 -> 0.1.1-1)
[2009-10-30 11:40] upgraded vte (0.20.5-1 -> 0.22.2-1)
[2009-10-30 11:40] upgraded lxterminal (0.1.5-1 -> 0.1.6-1)
[2009-10-30 11:40] upgraded mlocate (0.22.1-1 -> 0.22.2-2)
[2009-10-30 11:40] upgraded mplayer (29411-3 -> 29776-1)
[2009-10-30 11:40] upgraded ntfs-3g (2009.4.4-1 -> 2009.4.4-2)
[2009-10-30 11:40] upgraded openbox (3.4.7.2-3 -> 3.4.7.2-4)
[2009-10-30 11:40] upgraded openntpd (3.9p1-7 -> 3.9p1-9)
[2009-10-30 11:40] upgraded openssh (5.2p1-1 -> 5.3p1-1)
[2009-10-30 11:40] upgraded pango-perl (1.220-1 -> 1.221-1)
[2009-10-30 11:40] upgraded pcmanfm (0.5.1-2 -> 0.5.2-1)
[2009-10-30 11:40] upgraded perl-xyne-arch (0.80-2 -> 0.83-1)
[2009-10-30 11:40] upgraded pixman (0.16.0-1 -> 0.16.2-1)
[2009-10-30 11:40] upgraded poppler-qt (0.10.7-1 -> 0.12.1-1)
[2009-10-30 11:40] upgraded python-matplotlib (0.99.1.1-1 -> 0.99.1.1-4)
[2009-10-30 11:40] upgraded randrproto (1.3.0-1 -> 1.3.1-1)
[2009-10-30 11:40] upgraded recordproto (1.13.2-2 -> 1.14-1)
[2009-10-30 11:40] upgraded setuptools (0.6c9-2 -> 0.6c11-1)
[2009-10-30 11:41] upgraded texlive-bin (2009.4-2 -> 2009.4-3)
[2009-10-30 11:41] upgraded wine (1.1.31-1 -> 1.1.32-1)
[2009-10-30 11:41] upgraded xbitmaps (1.0.1-2 -> 1.1.0-1)
[2009-10-30 11:41] upgraded xcursor-themes (1.0.1-2 -> 1.0.2-1)
[2009-10-30 11:41] upgraded xf86miscproto (0.9.2-2 -> 0.9.3-1)
[2009-10-30 11:41] upgraded xf86vidmodeproto (2.2.99.1-1 -> 2.3-1)
[2009-10-30 11:41] upgraded xfsprogs (3.0.1-2 -> 3.0.3-1)
[2009-10-30 11:41] upgraded xineramaproto (1.1.99.1-1 -> 1.2-1)
[2009-10-30 11:41] upgraded xorg-apps (7.4-2 -> 7.5-1.1)
[2009-10-30 11:41] upgraded xproto (7.0.15-1 -> 7.0.16-1)
[2009-10-30 11:41] upgraded xscreensaver (5.10-1 -> 5.10-2)
[2009-10-30 11:41] upgraded xulrunner (1.9.1.3-1 -> 1.9.1.3-2)

Last edited by manouchk (2009-11-01 02:05:00)

Offline

#2 2009-10-31 00:53:39

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [solved] mplayer high CPU usage and slow video

Which video card and driver have you installed ?

Offline

#3 2009-10-31 01:18:52

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

My video card is :
VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
My driver is radeon:
I'm using:
xf86-video-ati 6.12.4-1
libgl 7.5.1-2
ati-dri 7.5.1-2

I also tried the libcaca video output and the CPU usage is also 100% (without rescaling the video, libcaca did not let me rescale the movie)

Last edited by manouchk (2009-11-01 12:56:34)

Offline

#4 2009-10-31 01:52:10

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [solved] mplayer high CPU usage and slow video

With Smplayer and Xv output, you have the same problem ?

Try xf86-video-ati-git as well.

Offline

#5 2009-10-31 11:31:56

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

OK with smplayer and xv output, videos play very well!

If I switch to gl output, the problem is present (smplayer almost freezes). If I switch back to xv output it is okay!

A very big drawback is that xv output does not allow to display film through the TV-out of my ATI card (ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]).

Offline

#6 2009-10-31 11:42:07

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

with xf86-video-ati-git the gl output does not work, and worst xrandr  cannot find output "S-video"!

xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm

I think I gonna switch back!

Last edited by manouchk (2009-10-31 11:42:42)

Offline

#7 2009-10-31 12:41:56

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

In my upgrade I got kernel from 2.6.30 to 2.6.31. The kernel now has this ATI stuff which could be the problem?

1.4. ATI Radeon Kernel Mode Setting support

This version adds Kernel Mode Setting (KMS) support for ATI Radeon. Hardware supported is R1XX,R2XX,R3XX,R4XX,R5XX (radeon up to X1950). Works is underway to provide support for R6XX, R7XX and newer hardware (radeon from HD2XXX to HD4XXX).

I've observed at boot that when modules are load,  the resolution of the virtual console is modified, let say increased, probably to the native resolution of my display (1400x1050). Could it be framebuffer and that would be uncompatible with gl/ati outputs?

Offline

#8 2009-10-31 16:00:15

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

I'm trying a downgrade of kernel all dependencies! Let see if it works and if I come back here soon!

 sudo pacman -U /var/cache/pacman/pkg/kernel26-firmware-2.6.30-1-i686.pkg.tar.gz /var/cache/pacman/pkg/kernel-headers-2.6.30.5-1-i686.pkg.tar.gz /var/cache/pacman/pkg/kernel26-2.6.30.6-1-i686.pkg.tar.gz /var/cache/pacman/pkg/glibc-2.10.1-4-i686.pkg.tar.gz /var/cache/pacman/pkg/binutils-2.19.1-5-i686.pkg.tar.gz /var/cache/pacman/pkg/gcc-4.4.1-1-i686.pkg.tar.gz /var/cache/pacman/pkg/gcc-libs-4.4.1-1-i686.pkg.tar.gz  /var/cache/pacman/pkg/xulrunner-1.9.1.3-1-i686.pkg.tar.gz /var/cache/pacman/pkg/firefox-3.5.3-1-i686.pkg.tar.gz

Offline

#9 2009-10-31 16:14:09

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

OK, donwgrading from kernel 2.6.31 to 2.6.30 solve the problem and mpalyer works fine! Looks like 2.6.31 needs some manual actions or some modifications/improvements.


If I understood well, kernel 2.6.31 provide the module for ati?
Does that mean that xf86-video-ati is not needed anymore? What about ati-dri?

Well, well, I don't know!
I got the loaded modules related with radeon for kernel 2.6.30 and 2.6.31:

[14:05][manu@compal:~]$ more modules_2.6.30|grep radeon
radeon                366208  2 
drm                   154656  3 radeon
[14:05][manu@compal:~]$ more modules_2.6.31|grep radeon
radeon                665984  2 
ttm                    37164  1 radeon
drm                   156160  3 radeon,ttm
i2c_algo_bit            5888  1 radeon
i2c_core               21808  4 radeon,drm,i2c_algo_bit,i2c_i801

And hereafter are all modules loaded on my system for both situation, kernel 2.6.31 and 2.6.30:

[14:13][manu@compal:~]$ more modules_2.6.31
Module                  Size  Used by
loop                   15336  2 
ipv6                  279636  14 
michael_mic             2364  8 
arc4                    1756  4 
ecb                     2812  4 
lib80211_crypt_tkip     9308  2 
ext2                   68964  2 
fuse                   64888  0 
fan                     4448  0 
usbhid                 40768  0 
pcmcia                 36168  0 
hid                    42528  1 usbhid
snd_seq_dummy           2720  0 
snd_seq_oss            31232  0 
snd_seq_midi_event      7036  1 snd_seq_oss
cpufreq_powersave       1404  0 
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
cpufreq_ondemand        7400  1 
8139too                23936  0 
acpi_cpufreq            8648  0 
freq_table              3740  2 cpufreq_ondemand,acpi_cpufreq
snd_seq_device          6792  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40320  0 
snd_mixer_oss          17564  1 snd_pcm_oss
snd_intel8x0           30616  0 
snd_intel8x0m          14216  0 
radeon                665984  2 
snd_ac97_codec        106112  2 snd_intel8x0,snd_intel8x0m
ac97_bus                1564  1 snd_ac97_codec
ttm                    37164  1 radeon
yenta_socket           25256  1 
snd_pcm                74464  4 snd_pcm_oss,snd_intel8x0,snd_intel8x0m,snd_ac97_codec
rsrc_nonstatic         12316  1 yenta_socket
ohci1394               30220  0 
uhci_hcd               23596  0 
snd_timer              21156  2 snd_seq,snd_pcm
wbsd                   14852  0 
8139cp                 20604  0 
iTCO_wdt               11072  0 
irda                  126712  0 
drm                   156160  3 radeon,ttm
joydev                 10496  0 
i2c_algo_bit            5888  1 radeon
parport_pc             37060  1 
pcmcia_core            35184  3 pcmcia,yenta_socket,rsrc_nonstatic
i2c_i801                9616  0 
ieee1394               85668  1 ohci1394
intel_agp              28348  1 
snd                    58820  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd
_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
mii                     4892  2 8139too,8139cp
iTCO_vendor_support     3136  1 iTCO_wdt
ehci_hcd               36652  0 
crc_ccitt               1724  1 irda
ipw2200               145224  0 
evdev                  10240  10 
soundcore               6944  1 snd
i2c_core               21808  4 radeon,drm,i2c_algo_bit,i2c_i801
battery                10816  0 
container               3516  0 
ppdev                   7008  0 
libipw                 27680  1 ipw2200
mmc_core               53080  1 wbsd
agpgart                32660  3 ttm,drm,intel_agp
usbcore               154032  4 usbhid,uhci_hcd,ehci_hcd
shpchp                 34384  0 
snd_page_alloc          8900  3 snd_intel8x0,snd_intel8x0m,snd_pcm
pcspkr                  2492  0 
pci_hotplug            28732  1 shpchp
sg                     27728  0 
lp                      9732  0 
button                  5612  0 
processor              36076  2 acpi_cpufreq
ac                      4224  0 
thermal                13912  0 
psmouse                59764  0 
serio_raw               5792  0 
lib80211                5856  3 lib80211_crypt_tkip,ipw2200,libipw
parport                34412  3 parport_pc,ppdev,lp
rtc_cmos               11344  0 
rtc_core               17976  1 rtc_cmos
rtc_lib                 2524  1 rtc_core
ext4                  334112  2 
mbcache                 7104  2 ext2,ext4
jbd2                   82016  1 ext4
crc16                   1660  1 ext4
sr_mod                 16644  0 
cdrom                  36032  1 sr_mod
sd_mod                 28344  5 
ata_generic             4704  0 
ata_piix               23268  4 
pata_acpi               4252  0 
libata                169260  3 ata_generic,ata_piix,pata_acpi
scsi_mod              112436  4 sg,sr_mod,sd_mod,libata


[14:13][manu@compal:~]$ more modules_2.6.30
Module                  Size  Used by
loop                   15312  2 
radeon                366208  2 
drm                   154656  3 radeon
ipv6                  277876  10 
michael_mic             2340  8 
arc4                    1732  4 
ecb                     2788  4 
lib80211_crypt_tkip     9284  2 
ext2                   69036  2 
fuse                   60896  0 
fan                     4392  0 
pcmcia                 36268  0 
snd_seq_dummy           2696  0 
snd_seq_oss            31168  0 
snd_seq_midi_event      7012  1 snd_seq_oss
snd_seq                53744  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
cpufreq_powersave       1380  0 
snd_seq_device          6768  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40352  0 
yenta_socket           25136  1 
rsrc_nonstatic         12292  1 yenta_socket
snd_mixer_oss          17540  1 snd_pcm_oss
8139too                25192  0 
cpufreq_ondemand        7672  1 
pcmcia_core            35128  3 pcmcia,yenta_socket,rsrc_nonstatic
ohci1394               30196  0 
joydev                 10400  0 
usbhid                 40608  0 
8139cp                 21348  0 
ieee1394               85324  1 ohci1394
hid                    42496  1 usbhid
acpi_cpufreq            8624  0 
freq_table              3716  2 cpufreq_ondemand,acpi_cpufreq
iTCO_wdt               10952  0 
mii                     4804  2 8139too,8139cp
snd_intel8x0m          14192  0 
snd_intel8x0           30592  0 
irda                  126776  0 
crc_ccitt               1700  1 irda
snd_ac97_codec        106088  2 snd_intel8x0m,snd_intel8x0
ppdev                   7656  0 
ac97_bus                1540  1 snd_ac97_codec
uhci_hcd               23540  0 
parport_pc             36964  1 
iTCO_vendor_support     3080  1 iTCO_wdt
snd_pcm                73512  4 snd_pcm_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_timer              21100  2 snd_seq,snd_pcm
i2c_i801                9656  0 
intel_agp              27484  1 
snd                    58436  10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd
_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
wbsd                   14828  0 
soundcore               6784  1 snd
ehci_hcd               36112  0 
psmouse                59644  0 
shpchp                 34328  0 
i2c_core               22776  2 drm,i2c_i801
snd_page_alloc          8876  3 snd_intel8x0m,snd_intel8x0,snd_pcm
pci_hotplug            28964  1 shpchp
ipw2200               144880  0 
lp                      9700  0 
agpgart                32756  2 drm,intel_agp
button                  5556  0 
mmc_core               52704  1 wbsd
serio_raw               5704  0 
battery                10984  0 
evdev                  10176  9 
container               3492  0 
usbcore               150160  4 usbhid,uhci_hcd,ehci_hcd
pcspkr                  2372  0 
thermal                13888  0 
libipw                 27656  1 ipw2200
parport                34380  3 ppdev,parport_pc,lp
sg                     27928  0 
processor              35864  2 acpi_cpufreq
ac                      4360  0 
lib80211                5832  3 lib80211_crypt_tkip,ipw2200,libipw
rtc_cmos               11212  0 
rtc_core               18048  1 rtc_cmos
rtc_lib                 2500  1 rtc_core
ext4                  237988  2 
mbcache                 7080  2 ext2,ext4
jbd2                   57756  1 ext4
crc16                   1636  1 ext4
sr_mod                 16612  0 
cdrom                  36032  1 sr_mod
sd_mod                 27328  5 
ata_generic             4680  0 
ata_piix               23080  4 
pata_acpi               4228  0 
libata                168044  3 ata_generic,ata_piix,pata_acpi
scsi_mod              110708  4 sg,sr_mod,sd_mod,libata

Last edited by manouchk (2009-10-31 16:18:23)

Offline

#10 2009-10-31 18:23:35

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

As I can see ati S-video output is not working natively with kernel 2.6.31. Redhat may have though a patch for that:

https://bugzilla.redhat.com/show_bug.cgi?id=497055

I think I could post a bug report for the missing S-Video output as redhat team seems to have released a working patch?

I don't know if the gl output problem freezing problem of mplayer may be dependent on any configurations?

Offline

#11 2009-10-31 19:35:36

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Wow, I tried the very last updates here to see if things gets improved (some packages are from today on the mirror I use):

[2009-10-31 17:02] upgraded xorg-server (1.6.3.901-1 -> 1.7.1-1)
[2009-10-31 17:02] upgraded mesa (7.5.1-2 -> 7.6-2)
[2009-10-31 17:02] upgraded kernel26 (2.6.30.6-1 -> 2.6.31.5-1)
[2009-10-31 17:00] upgraded ati-dri (7.5.1-2 -> 7.6-2)

Well, it still seems very buggy. Let resume 3 possibilities presented in ATI archwiki page:
option 1) trying the new KMS stuff:
     - X server could start after I (re)moved xorg.conf
     - xrandr does show only a single screen and no S-Video of course
     - mplayer plays very slowly
     - I got no 3D acceleration (I though may have miss an option for that?) maybe:
(II) Loading extension DRI2
(II) LoadModule: "ati"
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 1.6.3.901, module version = 6.12.99
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(EE) module ABI major version (5) doesn't match the server's version (6)
(II) UnloadModule: "ati"
(II) Unloading /usr/lib/xorg/modules/drivers/ati_drv.so
(EE) Failed to load module "ati" (module requirement mismatch, 0)
(II) LoadModule: "vesa"

I'm switching "back" to xf86-video-ati and check again!

Offline

#12 2009-10-31 20:05:06

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

OK! Now things are getting better. DRI2 works fine with late updates and no git packages. The only remaining problem is the missing S-Video output from xrandr... like in redhat bug:

looks like it has been solved on redhat devel on 2009-09-08:
https://bugzilla.redhat.com/show_bug.cgi?id=497055

Could not find a patch on that date?

Offline

#13 2009-10-31 20:09:10

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Looking at redhat bug:
They use a package called xorg-x11-drv-ati-6.13.0-0.3.20090908git651fe5a47.fc12.i686

Is that what we call xf86-video-ati on archlinux. If yes current version is 6.12. Version 6.13 may be necessary in order to get S-Video output...

Offline

#14 2009-10-31 20:31:16

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Well no S-Video output yet from xrandr, something is missing:

xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1400x1050      61.8*+   60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9

I'd like to know in which package is the problem kernel, libxrandr, xrandr?

I think this problem is worth a bug report now!

Last edited by manouchk (2009-10-31 20:32:28)

Offline

#15 2009-10-31 20:44:30

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Wow! II think I'm switching back to kernel 2.6.30 (if I can) and wait till it is solved!

Offline

#16 2009-10-31 20:48:11

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Wow, things are getting bad downgrading looks much complicated!

Look:

sudo pacman -U /var/cache/pacman/pkg/kernel26-firmware-2.6.30-1-i686.pkg.tar.gz /var/cache/pacman/pkg/kernel-headers-2.6.30.5-1-i686.pkg.tar.gz /var/cache/pacman/pkg/kernel26-2.6.30.6-1-i686.pkg.tar.gz /var/cache/pacman/pkg/glibc-2.10.1-4-i686.pkg.tar.gz /var/cache/pacman/pkg/binutils-2.19.1-5-i686.pkg.tar.gz /var/cache/pacman/pkg/gcc-4.4.1-1-i686.pkg.tar.gz /var/cache/pacman/pkg/gcc-libs-4.4.1-1-i686.pkg.tar.gz  /var/cache/pacman/pkg/xulrunner-1.9.1.3-1-i686.pkg.tar.gz /var/cache/pacman/pkg/firefox-3.5.3-1-i686.pkg.tar.gz
Chargement des données du paquet...
Vérification des dépendances...
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: kernel26: requiert coreutils
:: kernel26: requiert module-init-tools
:: kernel26: requiert mkinitcpio>=0.5.20
:: glibc: requiert tzdata
:: binutils: requiert zlib
:: gcc: requiert mpfr>=2.4.1
:: gcc: requiert cloog-ppl>=0.15.3
:: xulrunner: requiert gtk2>=2.16.5
:: xulrunner: requiert libidl2>=0.8.13
:: xulrunner: requiert mozilla-common
:: xulrunner: requiert nss>=3.12.3.1
:: xulrunner: requiert libxt
:: xulrunner: requiert hunspell>=1.2.8
:: xulrunner: requiert startup-notification>=0.10
:: xulrunner: requiert mime-types
:: xulrunner: requiert dbus-glib>=0.80
:: xulrunner: requiert alsa-lib>=1.0.20
:: firefox: requiert desktop-file-utils

I will try later!

Anyone could get in touch with an ATI S-Video output owith kernel 2.6.31?

Offline

#17 2009-11-01 02:03:44

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] mplayer high CPU usage and slow video

Well, I eventually  tried kernel 2.6.31 apending option  radeon.modeset=0 with all newest packages I could found and looks like everything works also with S-video output !!

For /boot/grub/menu.lst, I apended radeon.modeset=0 and it works well:

kernel /vmlinuz26 root=/dev... resume=/dev/... radeon.modeset=0

Here are the packages I use and that works (for me):

ati-dri 7.6-2
xf86-video-ati-git 20091031-1
xorg-server 1.7.1-1
xorg-server-utils 7.5-2
kernel-headers 2.6.31.4-2
kernel26 2.6.31.5-1
kernel26-firmware 2.6.31-1
mesa 7.6-2

Last edited by manouchk (2009-11-01 02:14:06)

Offline

Board footer

Powered by FluxBB