Banners

Установка драйверов от Ati на Slackware

IFRAME banner:

BannerPoint

Начнем.
Добываем собственно сам драйвер:
# wget http://www2.ati.com/drivers/linux/fglrx-4.3.0-3.11.1.i386.rpm -O /tmp/fglrx.rpm
# cd /tpm
Не надо нам супер модных rpm-пакетов :)
# rpm2tgz ./fglrx.rpm
# installpkg ./fglrx.tgz
# cd /lib/module/fglrx/build_mod
# ./make.sh
# cd ..
# ./make_install.sh
Все проходит нормально.
# lsmod
модуль agpgart толжен быть загружен
# insmod fglrx
# lsmod
fglrx присутствует, грузим Х-сы заново, вводим:

# fglrxinfo
получаем:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9500 Pro Generic
OpenGL version string: 1.3.4641 (X4.3.0-3.14.6)

Значит все прошло успешно!
Следуя инструкциям из http://www2.ati.com/drivers/linux/linux_3.14.6.html:
Цитата:
This information applies to the following system configurations:
* ATI Proprietary Linux Driver version 3.14.6 and later
The following may occur when trying to run certain 3D applications:
* 3D image appears corrupt or blank
* Missing textures
* System performance drops sharply
The following error message may also appear numerous times:
FGLTexMgr: open of shared memory object failed (Function not implemented) __FGLTexMgrCreateObject: __FGLTexMgrSH The display driver requires POSIX Shared Memory to be enabled on the system in order to run these applications c To enable POSIX Shared Memory on your system, perform the following as root:
1. Add the following line to /etc/fstab (if it isn't there already): tmpfs /dev/shm tmpfs defaults 0 0
2. Mount shared memory as follows: mount /dev/shm
3. Issue the following command to check that it mounted properly: mount | grep "shm"
If the mount was successful, then the following output (or similar) should appear:
mpfs on /dev/shm type tmpfs (rw)
At this point, POSIX Shared Memory is enabled. Your 3D applications should run properly and the error message ab If the output from this command is blank, then the mount failed
If /dev/shm fails to mount, then this feature may not be turned on in your Linux kernel. In this case we recomme

для "танкистов" поясню:
Добавляем в /etc/fstab строку:
/dev/shm tmpfs defaults 0 0
Потом подрубаем POSIX Shared Memory:
# mount /dev/shm
Глядим загрузилось ли shm:
#mount | grep "shm"

На всякий случай проверим, как все прошло (должен повится кубик):
# fgl_glxgears

Все, взяли q3 и вперед :)

Для наглядности мой кофиг Х-сов:
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"
Load "speedo"

# This loads the GLX module
Load "glx"
Load "dri"
EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#


# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
EndSection


# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "ru(winkeys),us"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

#Section "InputDevice"

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IntelliMouse"
Option "Device" "/dev/ttyS0"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
Identifier "My Monitor"
VendorName "Monitor Vendor"
ModelName "Iiyama HM903DT, VisionMaster Pro 454"
DisplaySize 360 290
HorizSync 30.0 - 133.0
VertRefresh 50.0 - 200.0
Option "dpms"
ModeLine "1152x864" 121.00 1152 1216 1344 1598 864 865 868 900 +hsync +vsync
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "fglrx"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00008000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:2:0:0" # vendor=1002, device=5961

EndSection
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen1"
Device "fglrx"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

Screen "Screen 1"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Все свои вопросы пишите: werzer


Сайт создан в системе uCoz