[Openchrome-users] install procedure

Julius Junghans julius.junghans
Thu Aug 3 05:50:06 PDT 2006


Hi,

i would like to get xvmc running with mplayer, after reading the wiki 
documentation how it all works together i still have some questions:

openchrome and unichrome are complete replacements for xf86-video-via, right?

current configuration:
equery files xf86-video-via
[ Searching for packages matching xf86-video-via... ]
* Contents of x11-drivers/xf86-video-via-0.2.1-r1:
/usr
/usr/lib
/usr/lib/libviaXvMC.la
/usr/lib/libviaXvMC.so -> libviaXvMC.so.1.0.0
/usr/lib/libviaXvMC.so.1 -> libviaXvMC.so.1.0.0
/usr/lib/libviaXvMC.so.1.0.0
/usr/lib/libviaXvMCPro.la
/usr/lib/libviaXvMCPro.so -> libviaXvMCPro.so.1.0.0
/usr/lib/libviaXvMCPro.so.1 -> libviaXvMCPro.so.1.0.0
/usr/lib/libviaXvMCPro.so.1.0.0
/usr/lib/xorg
/usr/lib/xorg/modules
/usr/lib/xorg/modules/drivers
/usr/lib/xorg/modules/drivers/via_drv.so

^ thats my current via driver installation without the man pages.

openchrome build:
openchrome # find -iname \*.so
./libxvmc/.libs/libviaXvMC.so
./libxvmc/.libs/libviaXvMCPro.so
./unichrome/.libs/via_drv.so
openchrome # find -iname \*.la
./libxvmc/libviaXvMC.la

these are the files i need to put in place and make the symlinks for 
libviaXvMC and the via.ko/drm.ko from the kernel

compile order:
kernel (drm.ko via.ko)
openchrome (libviaXvMC.so libviaXvMC.la)
mesa (unichrome_dri.so)

^- is this correct, does it matter?
And where does libdrm play its role?



mplayer: (cvs from today)
mplayer.test # patch -Np0 <../mplayer-uni-20060505.diff
patching file Makefile
Hunk #1 succeeded at 188 (offset -17 lines).
patching file codec-cfg.c
patching file configure
Hunk #1 succeeded at 423 (offset 2 lines).
Hunk #2 succeeded at 1547 (offset 35 lines).
Hunk #3 succeeded at 3857 (offset 99 lines).
Hunk #4 succeeded at 8221 (offset 85 lines).
patching file xvmc_render.h
patching file etc/codecs.conf
patching file help/help_mp-en.h
Hunk #1 succeeded at 1519 (offset -2 lines).
patching file libmpcodecs/img_format.c
patching file libmpcodecs/img_format.h
patching file libmpcodecs/vd_ffmpeg.c
Hunk #1 succeeded at 153 (offset -28 lines).
Hunk #2 succeeded at 481 (offset -77 lines).
Hunk #3 succeeded at 857 (offset -105 lines).
patching file libvo/vo_xvmc.c
Hunk #7 succeeded at 1166 (offset 1 line).
Hunk #8 succeeded at 1248 (offset 1 line).
Hunk #9 succeeded at 1270 (offset 1 line).
Hunk #10 succeeded at 1298 (offset 1 line).
Hunk #11 succeeded at 1391 (offset 1 line).
patching file vidix/drivers/radeon_vid.c
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 307 (offset -7 lines).
patching file libavcodec/avcodec.h
Hunk #1 succeeded at 2156 (offset 55 lines).
patching file libavcodec/mpeg12.c
Hunk #2 succeeded at 2532 (offset 20 lines).
Hunk #3 succeeded at 3323 (offset 23 lines).
patching file libavcodec/xvmcvideo.c
patching file libavutil/avutil.h
Hunk #1 succeeded at 68 (offset 1 line).

it says succeeded so i assume this is ok?

Did i miss something important?


greets
Julius




More information about the Openchrome-users mailing list