Install via source drivers


Synopsis:

Once installed, You can watch hardware scaled video. Something I was unable to do using the previous via or vesa drivers with 8.10.
Running two+ videos simultaneously still does not work. But overall desktop performance is much better than previous drivers or the vesa drivers. I am not sure of the current status of 3d integration....

Note: vinstalls require root access (sudo)

Install required packages:

(Others would be better at determining exactly which packages are required)
sudo apt-get install subversion build-essential automake1.9 libtool pkg-config xserver-xorg-dev libxvmc-dev x11proto-gl-dev libglu1-mesa-dev autoconf libdrm2 libdrm-dev mesa-common-dev gettext libxinerama-dev x11proto-xf86dri-dev xutils-dev autoconf2.13 autoconf-archive gnu-standards autoconf-doc automake1.9-doc libtool-doc gcj automake

Get the source ready

Download via-xserver-86a-50283_src.tgz from http://linux.via.com.tw/
Unpack the archive


Ensure full directory path contains no spaces.

Compile the XServer drivers

Compile the DRM kernel module

Fix the vinst process

Copy the compiled files to "via-xserver-86a-50283_src/XServer/Misc/bin" for the vinstall script

Do the install

Run the vinstall script as sudo from the Misc folder.


add/modify entries in /etc/X11/xorg.conf
Section "Device"

EndSection

Fixup libGL.so.1

My libGL.so.1.2 seems to come from libgl1-mesa-glx, You may need to install this package. I had to add a link for libGL.so.1 to enable X11/Xv playback in mplayer.


Hold your breath and reboot! (or restart X)

Credits

Thanks to the people in this thread http://ubuntuforums.org/showthread.php?p=7887317

LaptopTestingTeam/Old/HP2133/CompileSourceHowTo (last edited 2010-02-26 23:55:09 by primes2h)