Installing video drivers

**Note: To install video drivers you must first install the Livna Repository as stated above.
Installing nVidia driver
$ sudo yum install kmod-nvidia
If a kernel update is installed as well you must reboot your computer. If not restart X server by hitting ctrl+alt+backspace (be carefull, all open windows will close). Each time you install a new kernel you must also install the appropriate kmod-nvidia but yum should resolve this dependencie for you.
Installing ati driver
Thanks to leigh123@linux from fedoraforums.org for the details on how to install the ati driver in Fedora 8!

First you must check here whether your card is supported under Linux. All video cards below 9250 are unsupported.

1. Install fglrx driver.

You must have the Livna repository enabled to install that driver.

$ su –
(Give your root password)
# yum install kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
# yum update kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
# service fglrx restart
# fglrx-config-display enable
If you install a new kernel you will have to reboot for fglrx to work

If you are using F8 x86_64 and 8.40 you will need to apply a fix to the driver

$ su –
(Give your root password)
# cd /usr/lib64/xorg/modules/drivers/
# mv fglrx_drv.so fglrx_drv.so.orig
# cat fglrx_drv.so.orig | sed “s/\xe8\x61\x2c\xfe\xff/\x90\x90\x90\x90\x90/g” > fglrx_drv.so
# diff fglrx_drv.so fglrx_drv.so.orig
# aticonfig –initialThis command should report a change ( diff fglrx_drv.so fglrx_drv.so.orig )

2. Edit xorg.conf

$ su –
(Give your root password)
# gedit /etc/X11/xorg.conf
Then add these sections. ( for driver version 8.42 or higher )

Section “Extensions”
Option “Composite” “Enable”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
EndSection

Section “DRI”
Mode 0666
EndSection( for driver version 8.41 or lower require these options instead )

Section “Extensions”
Option “Composite” “Disable”
EndSection

Section “ServerFlags”
Option “AIGLX” “off”
EndSection

Section “DRI”
Mode 0666
EndSection
Don’t forget to save the changes

Finally, the following options are useful in the section “Device” :

Option “UseFastTLS” “0”
Option “BlockSignalsOnLock” “on”
Option “ForceGenericCPU” “off”
Option “KernelModuleParm” “locked-userpages=0”

After editing don’t forget to restart X ( Ctrl + Alt + Backspace )

3. Check for direct rendering.

Type these commands in a terminal

$ fglrxinfoThe output should look something like this.

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1300/X1550 Series
OpenGL version string: 2.0.6458 (8.36.5)
And this command.

$ glxinfoThe output should look something like this

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1300/X1550 Series
OpenGL version string: 2.0.6458 (8.36.5)
If you can’t get direct rendering try adding this line to the “Device” section of xorg.conf

Option “UseInternalAGPGART” “no”

Advertisements

About Tanveer
RIA (Rich Internet Application) Developer with a wide variety of business applications. Particularly interested in client/server and relational database design. Always interested in migration projects, as well as close interaction with the DB manufacturers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: