Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I got Intel i810 and xv codec to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 626
Location: UK

PostPosted: Sun Dec 19, 2004 5:02 pm    Post subject: How I got Intel i810 and xv codec to work Reply with quote

There are numerous reports on these forums of the i810 video driver not working with the xv video codec. Problems range from a blue screen, to visual defects to X-server crashing. This appears to be a bug in XFree. Additionally, I have never been able to get xorg to work with my i810, although others have.

I knew it should be possible to get it to work, because my copy of Knoppix sets everything up fine. Despite following up numerous other reports of solutions, nothing ever worked for me. If you're having similar problems, what I did may or may not work for you :?

All I did was upgrade to XFee86 version 4.4.0, following the quite good instructions at: http://www.xfree86.org/4.4.0/Install3.html#3.

After making Xinstall.sh executable, installation was pretty painless. For all except one thing, I just accepted the defaults. I didn't really know how to stop the x-server (still very much a noob), so I just re-named my XF86Config, and logged out of kde. That bumped me to the command line (or whatever it's called in Linux), then when everything was done re-started, because startx gave an error.

To my amazement, everything works. I can play avi, mpeg and everything as I would expect for a PC of this capability. xine does still crash if I right-click while a movie is playing, but Noatun (which I believe uses xine-lib anyway) works flawlessly. I don't have a DVD player, so don't know if that works.

I know this isn't the Gentoo way :( The reason I use Gentoo is for it's ease in upgrading through Portage. I love every other aspect of Gentoo. I understand why the decision was made to change the default x-server to xorg, but making XFree 4.4.0 available through Portage would have saved a gazillion posts on these forums.
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Mon Dec 20, 2004 1:28 am    Post subject: Reply with quote

there was somewhere on the forum a thread having the ebuilds for Xfree-4.4.0 won't this be a lot easier?
_________________

[1] DFI NF4-Ultra
[2] Opteron 165 @ 2.5Ghz
[3] Palit X800Pro ( trying to change it for a 7600GT )
[4] G.Skill 2GB ZX @ DDR500 3-3-3-8
[5] SkyHAwk 620watt
Back to top
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 626
Location: UK

PostPosted: Mon Dec 20, 2004 9:05 am    Post subject: Reply with quote

Yes, it would be if it actually happens. Certainly not available just now, unless it's masked of course.
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Mon Dec 20, 2004 3:40 pm    Post subject: Reply with quote

i found this online :)

Code:

ok this is how I got xfree-4.4.0 to emerge:

replaced XFree86-4.3.99.902.tar.bz2 with the xfree-4.4.0 source from xfree86.org
unmaks xfree-4.3.99.902-r2
if you emerge xfree, you will see an error saying can't apply patch ...........

the solution is to hack the xfree-4.3.99.902-r2.ebuild to disable those 4 patches: 7200 9200 0410 9860.

you can edit your xfree-4.3.99.902-r2.ebuild:
by adding lines like the following
mv -f ${PATCH_DIR}/0120*parallel-make* ${PATCH_DIR}/excluded (you can find this line in the file xfree-4.3.99.902-r2.ebuild)
so, add the following:
mv -f ${PATCH_DIR}/7200* ${PATCH_DIR}/excluded
mv -f ${PATCH_DIR}/9200* ${PATCH_DIR}/excluded
mv -f ${PATCH_DIR}/0410* ${PATCH_DIR}/excluded
mv -f ${PATCH_DIR}/9860* ${PATCH_DIR}/excluded

I assume the above method will work. I found those 4 bad patches by trial and error. (I delete one patch at a time and correct the digest file each time. the patches are in XFree86-4.3.99.902-patches-0.5.tar.bz2)

enjoy!!

note: you will need to unpack the 7 tgz source files downloaded from xfree.org and repack it to a bz2 format. you will need to emerge cabextract if you don't have it.
gzip -d < XFree86-4.4.0-src-1.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-2.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-3.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-4.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-5.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-6.tgz | tar vxf -
gzip -d < XFree86-4.4.0-src-7.tgz | tar vxf -

then repack the xc folder:
tar -vcjf XFree86-4.3.99.902.tar.bz2 xc

then move it to the distfiles folder in portage
correct the digest file with the new checksum

hope it will help as your original thread helped :)
_________________

[1] DFI NF4-Ultra
[2] Opteron 165 @ 2.5Ghz
[3] Palit X800Pro ( trying to change it for a 7600GT )
[4] G.Skill 2GB ZX @ DDR500 3-3-3-8
[5] SkyHAwk 620watt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum