LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 02-03-2010, 01:37 PM   #1
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 116

Rep: Reputation: 16
Help with Xine & Mplayer video playback


I just built a new Linux box & cannot get Movies (dvds or files) to play properly.
Xine playback is jittery but audio stays in sync with video.
Xine complains about "Too Many Dropped Frames"
Mplayer playback is ok but audio & video are way out of sync.
Mplayer says my system is "Too Slow"
.
I think it might be a RADEON driver issue because my Mandriva-2009.1 uses X.org version: 1.6.1
& maybe those drivers (radeon_drv.so) don't fully support the ATI Radeon HD 4200 GPU. I know
there is a prorietory driver (fglrx) but before trying it I'd like to here what you guys think.

Here is some relevant info about my computer:

Motherboard
Asus M4A785T-M
CPU AMD Athlon II (X2) Soscket AM3
Chipset AMD 785G/SB710
Graphics ATI Radeon HD 4200 GPU (integrated)
Audio VIA VT1708S
Memory 2GB DDR3

lspci -vv
01:05.0 VGA compatible controller: ATI Technologies Inc Device 9710 (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 83a2
01:05.1 Audio device: ATI Technologies Inc Device 970f
Subsystem: ASUSTeK Computer Inc. Device 83a2
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

lsmod
Note: Radeon module is not listed unless I issue the "modprobe radeon" command.
It seems X uses its "radeon_drv.so" not the kernel "radeon.ko" If I do
modprobe radeon,..I doesn't help Xine or Mplayer playback.

X.org version: 1.6.1
Xorg.0.log:

(--) PCI:*(0@1:5:0) ATI Technologies Inc unknown chipset (0x9710) rev 0, Mem @ 0xd0000000/268435456,
0xfeaf0000/65536, 0xfe900000/1048576, I/O @ 0x0000d000/256.
(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed
(II) RADEON(0): Acceleration disabled
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 6.12.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0

xorg.conf (This is not the complete file ..just a snip of some sections of interest)
Section "Module"
Load "dri"
Load "record"
Load "dbe"
Load "vnc"
Load "extmod"
Load "glx"
Load "dri2"

Section "Device"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Asus M4A785T-M"
BusID "PCI:1:5:0"
Option "AccelMethod" "EXA"
Option "DRI" "1" ## My attempt to Enable DRI... I also tried "DRI" "on"

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"

Sorry this post is so long. I know it isn't easy to sift thru a long post because that is exactly what I've been doing this past week while try ing to get a solution. Thank you.

Last edited by ssenuta; 02-03-2010 at 01:40 PM. Reason: typo
 
Old 02-03-2010, 02:47 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
You can only get 2D acceleration with that GPU if you are using kernel 2.6.30 or higher. You will also need a newer version of the Xorg radeon driver. I believe 6.12.4 was the first version with 2D acceleration for your GPU, and you are using 6.12.2.
 
Old 02-04-2010, 12:47 AM   #3
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 116

Original Poster
Rep: Reputation: 16
If 2D acceleration allows me to play movies, that is ok by me. I'm not into playing games or other high end video stuff.

However, you also say I need to get the Xorg radeon driver version 6.12.4 or higher. Does that mean I have to install a whole newer version of X.org ?

That will be a problem because Mandriva packages this driver in their x11-server-common-1.6.1.5.7mdv2009.1.rpm & a higher numbered package is for the new Mandriva-2010.0 distribution. I also believe building X from source is not an easy task.

How can I get a new version of the /usr/lib/xorg/modules/drivers/radeon_drv.so ? I am already running Kernel-2.6.32.2.

Last edited by ssenuta; 02-04-2010 at 12:51 AM. Reason: add info
 
Old 02-04-2010, 06:16 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
You do not need to install a whole new version of Xorg, just a newer version of that driver, which you can download from here:

ftp://ftp.x.org/pub/individual/drive...6.12.4.tar.bz2

You would uncompress that tarball, run:

./configure --prefix=/usr --with-xorg-module-dir=/usr/lib/xorg/modules

Then run 'make' and 'make install' (as root or with sudo).

Adam
 
Old 02-04-2010, 09:01 PM   #5
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 116

Original Poster
Rep: Reputation: 16
Thank you!!! You solved my Xine & Mplayer playback problem.

I downloaded & installed the xf86-video-ati-6.12.4.tar.bz2 tarball exactly like you said & everything is working fine now.

Here is a snip of the lsmod command output:
radeon 437442 1
ttm 23909 1 radeon
drm_kms_helper 17131 1 radeon
drm 103336 4 radeon,ttm,drm_kms_helper
agpgart 19008 2 ttm,drm
i2c_algo_bit 3579 1 radeon

Note: The above modules were not there before your fix.

Here is a snip of Xorg.0.log after tarball build/install:

(II) LoadModule: "radeon"
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 6.12.4
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0

(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): Setting EXA maxPitchBytes
(II) EXA(0): Offscreen pixmap area of 117538816 bytes
(II) EXA(0): Driver registered support for the following operations:
(II) Solid
(II) Copy
(II) Composite (RENDER acceleration)
(II) UploadToScreen
(II) DownloadFromScreen
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): DPMS enabled

(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib /dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0

Thanks again & thanks to everyone that took the time to read my post.
 
Old 02-04-2010, 09:08 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Cool, glad I could help. The AIGLX messages are simply tell you that you don't have the 3D driver installed. That would require building libdrm and mesa from source (and possibly other components).
 
  


Reply

Tags
driver, radeon


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD HD Series Graphics Guide: Optimizing Video Playback for MythTV, Mplayer, & Others jchance Linux - Desktop 16 05-16-2011 12:23 PM
Video Playback Audio without Video xine openSUSE bahbahthelamb Linux - Software 5 09-09-2008 10:54 AM
Xine/Mplayer and Xvid 1.0 playback? yautja666 Linux - Newbie 3 05-24-2004 05:59 AM
fast sound and video playback (xmms, xine, mplayer) budhusa Linux - Software 8 01-13-2004 02:50 AM
MPlayer & Xine, no video but audio Kocil Linux - Software 10 09-28-2003 12:56 PM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration