Wednesday, September 4, 2019

X Window System (1)

X11R7

So X11 latest version is X11R7.7. Downloaded and cant find S3 ViRGE drivers. Hmmm.
https://www.x.org/releases/X11R7.7/doc/xorg-docs/ReleaseNotes.html
Removed in this Release section reveals that in this release its removed. :(

Previous version has it:
https://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html
Can we add it back?

Build script: https://cgit.freedesktop.org/xorg/util/modular/tree/?h=X11R7.6

Well, looking at the source its hell to compile.
More updated version in gitlab https://gitlab.freedesktop.org/xorg

Xfree86

I currently have Xfree86.
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
Latest version is:
XFree86 Version 4.8.0
Release Date: 15 December 2008
X Protocol Version 11, Revision 0
And its really easy to compile. New host.def and some changes in xfree.cf
make World
And done. Like what? :D

Still, my new video card S3 ViRGE  i bought so i can use hw accelerated yuv for Mpleyer has some problems.

Mplayer Xv req
http://www.mplayerhq.hu/DOCS/HTML/en/xv.html
It must support YUY2 packed, and YV12 planar pixel formats to be usable with MPlayer.

In S3 driver there is.
s3v_xv.c
/* Looks like ViRGE only supports YUY2 and Y211?, */
Hardware manual (link 10MB)

I need to compile X server, and Mplayer again to see if it all actually works.

Building it


States that XFree86-4.8.0-src-7.tgz has hardcopy of documents, so i will not need it.
Made directory at

mkdir /usr/src/XFree86
cd /usr/src/XFree86
Downloaded tgz files into that directory over a network.
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-1.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-2.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-3.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-4.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-5.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.8.0/source/XFree86-4.8.0-src-6.tgz
df -h 
Be sure that there is enogh free space. 280 MB is needed.
Exctract and make preparations.

tar -xzf XFree86-4.8.0-src-1.tgz
tar -xzf XFree86-4.8.0-src-2.tgz
tar -xzf XFree86-4.8.0-src-3.tgz
tar -xzf XFree86-4.8.0-src-4.tgz
tar -xzf XFree86-4.8.0-src-5.tgz
tar -xzf XFree86-4.8.0-src-6.tgz
mkdir build
cd build
lndir ../xc
Last line is to make a shadow directory of symbolic links. So all new files will not be in source tree.
Made a new host.def and some changes in xfree86.cf in xc/config/cf. So it has what i need.

No comments:

Post a Comment