- Installation
-
To install XFree86 4.3.0 download the appropriate files, i.e. all the
files (not including the sub directory DRI) located in
then in a konsole navigate to the directory with all the rpm's,
and type the following commands to update XFree86
to release 4.3.0:
rpm --nodeps --force -Uhv *.rpm
SuSEconfig
Just ignore the warnings (if there are any).
For configuration of XFree86 4.3.0 use the configuration XFree86 tools
'xf86config',
'xf86cfg' or the SuSE XFree86 4
configuration tool SaX2. SaX2 is
located in
Install SaX2 with
rpm -Uhv sax*.i386.rpm
Make sure that the following packages are installed, They are required by SaX2!
-
perl (series a)
-
perl_tk (series perl)
-
perl_sto (series perl)
-
perl_gtx (series perl)
-
xbanner (series xap)
Just type the following command if you want to use SaX2 for configuration:
sax2
If the mouse does not work, please run SaX2 with the following options:
sax2 -n /dev/mousedevice -t protocol
- Nvidia OpenGL Support
-
For hardware accelerated OpenGL support please download and install
the SuSE 8.1 RPMs located on the nvidia website.
rpm -Uhv NVIDIA_GLX-1.0-*.suse81.i386.rpm --nodeps --force
(ignore all occuring error messages!)
rpm -Uhv NVIDIA_kernel-1.0-*.suse81.i386.rpm --force
switch2nvidia_glx
The kernel RPM also contains the sources, so you can compile the
kernel module NVdriver yourself if you want. Your kernel sources,
i.e. package kernel-source, must be installed for this.
cd /usr/src/linux; make cloneconfig; make dep
cd /usr/src/kernel-modules/nv_glx
make -f Makefile.module
make -f Makefile.module install
depmod -a
You must configure XFree86 4.3.0 with
sax2 -m 0=nvidia (0 is a digit, not a letter!)
and enable 3D support, i.e. there must be a line in your /etc/X11/XF86Config
in the Modules section which looks like this:
###
Load "glx"
###
Otherwise you will get the following error when starting an OpenGL application:
Xlib: extension "GLX" missing on display ":0.0"
- DRI (3D accelerated OpenGL support)
-
To be able to use DRI you must compile some kernel modules. Your
kernel source package 'kernel-source' must be installed and configured for
this. The configuration can be done with the commands:
cp /boot/vmlinuz.config /usr/src/linux/.config
cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h
cd /usr/src/linux; make cloneconfig; make dep
Then you'll have to compile the DRM kernel modules. The sources can be
found in SuSE FTP under suse81/DRI (SuSE Linux 8.1) .
Install the sources with
rpm -Uhv km_drm-*.i386.rpm
Compile and install the kernel modules with
cd /usr/src/kernel-modules/drm
make -f Makefile.module
install -m 644 -o root -g root gamma.o i810.o i830.o mga.o r128.o radeon.o tdfx.o /lib/modules/`uname -r`/kernel/drivers/char/drm
depmod -a
At last you must install the XFree86-GLX package located in suse81/DRI (SuSE
Linux 8.1) with:
rpm -Uhv XFree86-GLX-*.i386.rpm
/usr/X11R6/bin/switch2xf86_glx
and add the following entries to your /etc/X11/XF86Config in the
Modules Section:
###
Load "glx"
Load "dri"
###
Please notice, that most drivers only support 16bpp ("DefaultDepth 16" in
"Screen" Section of /etc/X11/XF86Config)!
DRI Support is currently available for the following boards:
You'll need the following entry in the "Device" Section of your
/etc/X11/XF86Config for i810/i815/i830/i845 chipsets, otherwise there
won't be enough memory available to use 3D.
#
VideoRam 16384
#
Important
Either add all users who work on this machine locally, to the group 'video' , or
change the DRI section of your /etc/X11/XF86Config to:
Section "DRI"
Group "video"
Mode 0666
EndSection
Otherwise users can't access 3D hardware and 'Mesa Software Rendering' (slow)
would be the fallback. Notice that these mentioned changes represent a security
issue.
- Known Problems
-
-
Some people complain that the keys <, > and | no longer work
after the update. Please verify that "pc105" (and not "pc104") is
specified in the config file "/etc/X11/XF86Config" if you own a
pc105 keyboard (german keyboards and maybe also others).
-
Fonts look ugly. Use 'fonts-config -f' to recreate font
cache files for Xft/Xft2. See also manual page for
fonts-config. fonts-config is included in the new xf86tools
package.
-
fonts-config resp. fc-cache hangs. Please use the following
workaround for now to fix it:
rm -f /usr/X11R6/lib/X11/fonts/misc/fonts.cache-1.gz
rm -f /usr/X11R6/lib/X11/fonts/100dpi/fonts.cache-1.gz
rm -f /usr/X11R6/lib/X11/fonts/75dpi/fonts.cache-1.gz
rm -f /usr/X11R6/lib/X11/fonts/cyrillic/fonts.cache-1.gz
rm -f /usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1.gz