Re: mplayer slowness and kernel

2009-05-19 Thread Jan Willem Stumpel
Florian Kulzer wrote:
 
 It seems that your xorg video driver has problems to use
 hardware video acceleration with the newer kernel. (A problem
 with DMA for hard drive or DVD access is also possible, but
 less likely, IMHO.)
 
 What do you get from:
 
 lspci -nn | grep -Ei 'vga|display|video|media'

00:1f.5 Multimedia audio controller [0401]: Intel Corporation
82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc
RV280 [Radeon 9200 SE] [1002:5964] (rev 01)
01:00.1 Display controller [0380]: ATI Technologies Inc RV280
[Radeon 9200 SE] (Secondary) [1002:5d44] (rev 01)

 grep -Ei '^\((ee|ww)\)|xv|/drivers/' /var/log/Xorg.0.log

With 2.6.26 kernel:
(WW) `fonts.dir' not found (or not valid) in
/usr/X11R6/lib/X11/fonts/misc.
(WW) The directory /usr/local/share/dosemu/Xfonts does not exist.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse'
or 'vmmouse' will be disabled.
(WW) Disabling Generic Keyboard
(WW) Disabling Configured Mouse
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
directory)
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(WW) Warning, couldn't open module freetype
(EE) Failed to load module freetype (module does not exist, 0)
(WW) Warning, couldn't open module type1
(EE) Failed to load module type1 (module does not exist, 0)
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) RADEON(0): Will try to use DMA for Xv image transfers
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xf7fff000 is: 0xf7fff000
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffc0 is: 0xfc7ffc00
(WW) RADEON(0): Option XaaNoOffscreenPixmap is not used

With 2.6.29 kernel:

(WW) `fonts.dir' not found (or not valid) in
/usr/X11R6/lib/X11/fonts/misc.
(WW) The directory /usr/local/share/dosemu/Xfonts does not exist.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse'
or 'vmmouse' wi
ll be disabled.
(WW) Disabling Generic Keyboard
(WW) Disabling Configured Mouse
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
directory)
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(WW) Warning, couldn't open module freetype
(EE) Failed to load module freetype (module does not exist, 0)
(WW) Warning, couldn't open module type1
(EE) Failed to load module type1 (module does not exist, 0)
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) RADEON(0): Will try to use DMA for Xv image transfers
(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option XaaNoOffscreenPixmap is not used

Thanks for looking into this. Regards, Jan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mplayer slowness and kernel

2009-05-19 Thread Sjoerd Hiemstra
Jan Willem Stumpel:
 Florian Kulzer:
  It seems that your xorg video driver has problems to use
  hardware video acceleration with the newer kernel. (A problem
  with DMA for hard drive or DVD access is also possible, but
  less likely, IMHO.)
  
  What do you get from:
  
  lspci -nn | grep -Ei 'vga|display|video|media'
 
 00:1f.5 Multimedia audio controller [0401]: Intel Corporation
 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02)
 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc
 RV280 [Radeon 9200 SE] [1002:5964] (rev 01)
 01:00.1 Display controller [0380]: ATI Technologies Inc RV280
 [Radeon 9200 SE] (Secondary) [1002:5d44] (rev 01)

I just want to mention that playing videos with the 2.6.29 kernel gives
the same problem here, not just with mplayer but with any video such as
Youtube videos played with the mozilla totem plugin; it looks as if a
buffer is almost constantly full.
AND my video card also is an ATI Radeon, so that's one more pointer in
the direction of the Radeon driver.
Let me show my output from the command above:

00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5](rev 02)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon R300 NE 
[Radeon 9500 Pro] [1002:4e45]
01:00.1 Display controller [0380]: ATI Technologies Inc Radeon R300 [Radeon 
9500 Pro] (Secondary) [1002:4e65]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mplayer slowness and kernel

2009-05-19 Thread Florian Kulzer
On Tue, May 19, 2009 at 18:35:05 +0200, Sjoerd Hiemstra wrote:
 Jan Willem Stumpel:
  Florian Kulzer:
   It seems that your xorg video driver has problems to use
   hardware video acceleration with the newer kernel. (A problem
   with DMA for hard drive or DVD access is also possible, but
   less likely, IMHO.)
   
   What do you get from:
   
   lspci -nn | grep -Ei 'vga|display|video|media'
  
  00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801EB/ER 
  (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02)
  01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV280 
  [Radeon 9200 SE] [1002:5964] (rev 01)
  01:00.1 Display controller [0380]: ATI Technologies Inc RV280 [Radeon 9200 
  SE] (Secondary) [1002:5d44] (rev 01)
 
 I just want to mention that playing videos with the 2.6.29 kernel gives
 the same problem here, not just with mplayer but with any video such as
 Youtube videos played with the mozilla totem plugin; it looks as if a
 buffer is almost constantly full.
 AND my video card also is an ATI Radeon, so that's one more pointer in
 the direction of the Radeon driver.
 Let me show my output from the command above:
 
 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM 
 (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5](rev 02)
 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon R300 NE 
 [Radeon 9500 Pro] [1002:4e45]
 01:00.1 Display controller [0380]: ATI Technologies Inc Radeon R300 [Radeon 
 9500 Pro] (Secondary) [1002:4e65]

I remember more people complaining about performance problems with
radeon cards and kernel 2.6.29; see also the warning that Jan Willem
posted from his Xorg log:

(WW) RADEON(0): Direct rendering disabled

AFAIK, kernel 2.6.30 is supposed to fix these issues. The Debian kernel
team has recently made 2.6.30-rc5 kernel images available in
/dists/trunk, so you could test this yourself without having to compile
your own kernel: 

http://wiki.debian.org/DebianKernel

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



mplayer slowness and kernel

2009-05-18 Thread Jan Willem Stumpel
With the 2.6.29 kernel (from the linux-image-2.6.29-2-686
package), playing a movie with mplayer uses up to 95% cpu. mplayer
becomes very slow and jerky, with stuttering sound, and Your
system is TOO SLOW warnings. No twiddling of mplayer's parameters
helps.

When I go back to the slightly older 2.6.26 kernel
(linux-image-2.6.26-2-686), mplayer works properly again (about
20% cpu usage and no warnings or stuttering, even at full screen
size.

Is this a known problem?

Regards, Jan



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mplayer slowness and kernel

2009-05-18 Thread Florian Kulzer
On Mon, May 18, 2009 at 13:24:33 +0200, Jan Willem Stumpel wrote:
 With the 2.6.29 kernel (from the linux-image-2.6.29-2-686
 package), playing a movie with mplayer uses up to 95% cpu. mplayer
 becomes very slow and jerky, with stuttering sound, and Your
 system is TOO SLOW warnings. No twiddling of mplayer's parameters
 helps.
 
 When I go back to the slightly older 2.6.26 kernel
 (linux-image-2.6.26-2-686), mplayer works properly again (about
 20% cpu usage and no warnings or stuttering, even at full screen
 size.

It seems that your xorg video driver has problems to use hardware video
acceleration with the newer kernel. (A problem with DMA for hard drive
or DVD access is also possible, but less likely, IMHO.)

What do you get from:

lspci -nn | grep -Ei 'vga|display|video|media'

grep -Ei '^\((ee|ww)\)|xv|/drivers/' /var/log/Xorg.0.log

(The second one for both kernels separately, please.)

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org