LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2006, 10:57 AM   #1
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Rep: Reputation: 30
Tweaking linux for DIVX playback


I have an old LINUX box here:
PII 350@390MHZ
192MB RAM
40GB 7200RPM HDD which has DMA on!!!

On it I have XUBUNTU INSTALLED which has XFCE desktop.
I've installed TOTEM-XINE and the XINELIB package. And I can watch DIVX movies. But every 4sec the picture just skips. Is there a way to improve this??

ps. I've tried watching DIVX movies thru the network but the behaviour is the same, meaning it still skips every 4secs.

Last edited by Ashrack; 07-31-2006 at 11:01 AM.
 
Old 07-31-2006, 11:11 AM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
what kind of video card? and what drivers? do you have acceleration enabled, or is it mostly using your cpu? what about the xine options? not sure if this would matter, but is postprocessing enabled or disabled (right click in screen, video -> postprocess)? have you tried any other players, vlc, mplayer, etc.?
 
Old 07-31-2006, 11:51 AM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,393
Blog Entries: 8

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
With the DIVX files I've tried, my 466mhz Celeron is on the very edge of what can play them smoothly. That overclocked Pentium II just wouldn't be fast enough to keep up. I don't really think there's anything you can do, other than going through the drastic measure of re-encoding the video files (and fiddling with the encoding settings to figure out how to get the best quality which will still play smoothly on the slow computer).
 
Old 08-01-2006, 11:30 AM   #4
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by slackhack
what kind of video card?
here's the LSPCI:
Code:
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:08.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 40)
0000:00:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
0000:00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
Quote:
and what drivers? do you have acceleration enabled, or is it mostly using your cpu?
am using the standart ATI driver in 'xorg.conf' I dont know about the acceleration! Where can I check that?

Quote:
what about the xine options? not sure if this would matter, but is postprocessing enabled or disabled (right click in screen, video -> postprocess)? have you tried any other players, vlc, mplayer, etc.?
tried playing with XINE options, but it doesnt help!
I installed MPLAYER now and the performance is better and is now watchable but I would still like to further improve it. Is it possible??
 
Old 08-01-2006, 11:42 AM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
i would say it might be possible, within the limits of your card. to check if acceleration is enabled, type "glxinfo" and look for a line at the top that says "direct rendering." if it says "yes," you're probably at the limit of what you can get. if it says "no," you can probably get a little more performance with better configuration.

check this thread for howtos and pointers:
http://www.linuxquestions.org/questi...t=acceleration

 
Old 08-03-2006, 04:29 AM   #6
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
DRI is disabled 4M! Hers my Xorg.0.log:
Code:
(II) ATI(0): [drm] SAREA 2200+1208: 3408
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "mach64"
(II) ATI(0): [drm] drmOpen failed
(EE) ATI(0): [dri] DRIScreenInit Failed
(II) ATI(0): Largest offscreen areas (with overlaps):
(II) ATI(0): 	1280 x 2252 rectangle at 0,1024
(II) ATI(0): 	512 x 2253 rectangle at 0,1024
(II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Indirect CPU to Screen color expansion
	Solid Lines
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		14 256x256 slots
		5 512x512 slots
(==) ATI(0): Backing store disabled
(==) ATI(0): Silken mouse enabled
(**) Option "dpms"
(**) ATI(0): DPMS enabled
(II) ATI(0): Direct rendering disabled
I read the guide, and in the guide it said to install FGLRX driver, but that is not usefull 4M because this GPU is so old that its not even supported in the FGLRX. So how else can I get DRI enabled?
 
Old 08-03-2006, 08:40 AM   #7
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Got DRI working! I compiled the latest MACH64 DRM module! And now I can watch movies with MPLAYER and the cpu maxes at ~75%

Not bad for this oldy. In windows I could never get DIVX working!!!

Last edited by Ashrack; 08-28-2006 at 05:04 PM.
 
Old 08-03-2006, 09:25 AM   #8
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47






.
 
  


Reply


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
What is needed for Divx playback? AquaInferno SUSE / openSUSE 4 02-04-2006 09:31 PM
blue line at the top of TV playback, DIVX playback spiderworm Linux - Software 0 01-31-2005 02:33 PM
Support for divx playback: weird behaviour! bruno buys Linux - General 3 02-26-2004 11:30 PM
MPlayer 0.9 Slow DivX ;-) Playback Null Linux - Software 2 12-29-2002 07:01 PM
DivX playback causes my Toshiba Satellite to hang timread Linux - Newbie 3 03-24-2002 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 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
Open Source Consulting | Domain Registration