Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Sparc
  • Search

DVD/DivX on a Sparc...What's it take?

Have a Sparc system? Post here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
IronTek
n00b
n00b
Posts: 9
Joined: Sun Jun 15, 2003 8:53 pm
Contact:
Contact IronTek
Website

DVD/DivX on a Sparc...What's it take?

  • Quote

Post by IronTek » Thu Dec 25, 2003 8:06 pm

I just installed Gentoo on my Ultra 10 and was curious as to what I could do with it in the way of leisurely activities.

I installed xine and tried to play a DivX file. Alas, it seems as if the UltraSparc 440 in my box might be a little underpowered for it (though I'm hoping there might be some optimizations to make it run better). Though I figure if I could get DivX playing properly, DVD's would decode without a problem (no DVD drive in yet though).

At any rate, I'm curious as to what kinds of systems people can decode MPEG2/4 on without any problems.
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

  • Quote

Post by stonent » Thu Dec 25, 2003 9:55 pm

I think the x86 versions of Mplayer and Xine use the windows codecs which have been heavily optimized. What CFLAGS are you using?
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
IronTek
n00b
n00b
Posts: 9
Joined: Sun Jun 15, 2003 8:53 pm
Contact:
Contact IronTek
Website

  • Quote

Post by IronTek » Thu Dec 25, 2003 10:59 pm

CFLAGS="-mcpu=ultrasparc -O3 -pipe"

I would like to think MPEG2 would decode just fine, but I would also think that MPEG4 *should* decode just find given that I would think a 440MHz UltraSparc IIi should perform around a PII 500 (more-or-less). A 500MHz P2/3 can decode DivX...

...though granted, they could just be that heavily optimized.
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

  • Quote

Post by stonent » Fri Dec 26, 2003 12:26 am

There might be a problem in your xf86config file as well. If it us using a framebuffer driver rather than the Mach64 driver. Can you post the contents of it?

Are you using DMA on your hard drive?

What does xvinfo say?

http://www.geekounet.org/powerbook/driplusxv.html

Here is some info on getting Mach64 accelleration working under Linux on non-intel systems.
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
Weeve
Retired Dev
Retired Dev
Posts: 641
Joined: Wed Oct 30, 2002 3:13 pm

  • Quote

Post by Weeve » Fri Dec 26, 2003 1:12 am

This is most likely due to the fact that the only output driver available to you is x11. xv would most likely enable smoother playback but it isn't working out of the box at the moment.
Top
IronTek
n00b
n00b
Posts: 9
Joined: Sun Jun 15, 2003 8:53 pm
Contact:
Contact IronTek
Website

  • Quote

Post by IronTek » Fri Dec 26, 2003 1:37 am

Well, right now, I'm using a Creator3D and not the onboard ATI adapter.

...but, given the right settings, a 440MHz UltraSparc IIi should be able to play MPEG4 just fine, should it not?
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

  • Quote

Post by stonent » Fri Dec 26, 2003 2:02 am

Yes, but if the acceleration isn't working/enabled on the Creator3D card it will be offloading the image rendering to the CPU (cpu will be drawing the video after decoding vs the card drawing the video after decoding) and do a software video overlay. If possible try to see if trying the onboard ATI video shows a difference in video speed.

Some other stuff I found: Google groups
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
IronTek
n00b
n00b
Posts: 9
Joined: Sun Jun 15, 2003 8:53 pm
Contact:
Contact IronTek
Website

  • Quote

Post by IronTek » Fri Dec 26, 2003 3:12 am

Oh...to answer some of your earlier questions, I am using DMA on my hard drive (and 32 bit IO).

Also, xvinfo says:

X-Video Extension version 2.2
screen #0
no adaptors present

(I'm using the sunffb driver)

...with regards to your more current posts, I'm not sure how one can enable acceleration since (AFAIK) I have to use the sunffb driver (which I assume, perhaps wrongly, is as accelerated as it's going to get)
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

  • Quote

Post by stonent » Fri Dec 26, 2003 3:50 am

Well, I'll admit, I don't know as much about the Creator cards vs the ATI ones. But having some things missing in the config file could cause some slowness.

I found this on google groups for an example:

Code: Select all

Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
# Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "pex5"
 Load "record"
 Load "speedo"
 Load "type1"
 Load "vbe"
 Load "xie"
EndSection
I'm not sure why he disabled dri, but you could try either one. Just back up your current settings to see if it makes it better.

For the next section, try once with the fbdev enabled and once without. It depends on if you are using the kernel framebuffer driver.

Code: Select all

Section "Device"
 Identifier "Generic Video Card"
 Driver  "sunffb"
 Option  "UseFBDev"  "true"
EndSection
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
stonent
Veteran
Veteran
User avatar
Posts: 1139
Joined: Thu Aug 07, 2003 2:05 am
Location: Texas
Contact:
Contact stonent
Website

  • Quote

Post by stonent » Fri Dec 26, 2003 4:59 pm

I'm installing Gentoo on my 300MHz Ultra AXe system. I'll let you know how well it decodes video.
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Gentoo on Sparc”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic