Дрова от ATI (Виснут X'ы при включенном dri)

nVidia, ATI, SIS, VIA и др.

Модератор: Модераторы разделов

Digal
Сообщения: 19

Дрова от ATI

Сообщение Digal »

Поставил дрова от ati(64bit) на FC3(тоже 64). Карточка - Sapphire Radeon 9600Pro/128M. Вроде всё сделал по умному: взял конфиг, сегнеренный fglrxconfig'ом, оттуда нужные участки перенёс в xorg.conf, но
1. X'ы не грузятся. Показывают чёрный экран и намертво вешают систему.
2. Если отключить Load "dri", то X'ы грузятся, но tuxracer тормозит и fglrxinfo показывает в качестве GL-рендерера Mesa.
Спасибо сказали:
Аватара пользователя
clx
Сообщения: 3121
Статус: Think Different !
ОС: Mac OS X

Re: Дрова от ATI

Сообщение clx »

Как устанавливал дрова? Покажи конфиг Х..
iMac 20" Core Duo.
Спасибо сказали:
Digal
Сообщения: 19

Re: Дрова от ATI

Сообщение Digal »

Походу я ошибся, и у меня стоит xorg.conf, сгенеренный fglrxconfig'ом. Но если сделать так, как я сказал выше, то симптомы те же.

Код: Выделить всё

# File: xorg.conf
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.


# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
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 Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
#   Load        "dri"   # libdri.a

EndSection

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

Section "Files"

    RgbPath    "/usr/X11R6/lib/X11/rgb"
    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/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

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

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

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xfree86"
    Option "XkbModel"    "pc101"
    Option "XkbLayout"    "ru"

EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
EndSection



# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 68.7
    VertRefresh 60 - 150
#не уверен, что это правильно, но по крайней мере в документации к монитору так написано
#при других значениях, в.т.ч. из стандартного списка - тоже не работает
    Option "DPMS"

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present

# Standard VGA Device: - Эту секцию я закомментировал (но с ней тоже не работает)
#Section "Device"
#    Identifier  "Standard VGA"
#    VendorName  "Unknown"
#    BoardName   "Unknown"
#    Chipset     "generic"
#    Driver      "vga"
#    BusID       "PCI:0:10:0"
#    VideoRam    256
#    Clocks      25.2 28.3
#EndSection

# === ATI device section ===
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    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"               "0x00000000"
# === 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"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4150
    Screen 0
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  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

### EOF ###


Устанавливал так

Код: Выделить всё

rpm -ihv --force fglrx64_6_8_0-8.10.19-1.x86_64.rpm
sh /lib/modules/fglrx/make_install.sh
fglrxconfig

--force - потому что новый rpm конфликтует с mesa. В доках написано, что так можно сделать.
Тем не менее, fglrxinfo выдаёт

Код: Выделить всё

Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.1)


Уф. Вроде всё.
Спасибо сказали:
Аватара пользователя
ddc
Бывший модератор
Сообщения: 3535
Статус: OpenBSD-compatible
ОС: OpenBSD -current

Re: Дрова от ATI

Сообщение ddc »

Выполни "fglrxconfig".
Спасибо сказали:
Аватара пользователя
clx
Сообщения: 3121
Статус: Think Different !
ОС: Mac OS X

Re: Дрова от ATI

Сообщение clx »

(czarker @ Вторник, 15 Марта 2005, 10:01) писал(а):Выполни "fglrxconfig".


Ты читать умеешь? Он конфигурил fglrxconfig'om и у него такая байда..
iMac 20" Core Duo.
Спасибо сказали:
Аватара пользователя
ddc
Бывший модератор
Сообщения: 3535
Статус: OpenBSD-compatible
ОС: OpenBSD -current

Re: Дрова от ATI

Сообщение ddc »

Для clx:
Он писал, что взял конфиг и переклеил из него куски. потом сказал, что у него целиковый fglrxconfig-конфиг. Из этого наиболее очевидный вывод: он взял целиком левый конфиг и приклеил себе. Если нет, то пусть так и напишет.
И зачем опять столько агрессии? :rolleyes:
Спасибо сказали:
Digal
Сообщения: 19

Re: Дрова от ATI

Сообщение Digal »

В общем так:
сначала я взял fglrx'овый конфиг - висим
потом взял свой, вклеил туда всё, что не касается устройств ввода из fglrxconfig'ового - висим
потом отключил dri - работает
потом взял fglrxconfig'овый(чуть по другому настроенный) и отключил dri - тоже работает - этот вариант и приведён в листинге (за исключением километровых комментариев)

Это не считая перестановки один раз полностью рухнувшей системы и прочих радостей жизни.
Спасибо сказали:
Аватара пользователя
ddc
Бывший модератор
Сообщения: 3535
Статус: OpenBSD-compatible
ОС: OpenBSD -current

Re: Дрова от ATI

Сообщение ddc »

Попробуй тогда xorgconfig, драйвер VESA, после чего руками замени его на "fglrx".
Спасибо сказали:
Digal
Сообщения: 19

Re: Дрова от ATI

Сообщение Digal »

Сегодня пытался поставить xmms из исходников, он не нашёл glib. Походу просто не прописаны толком пути до библиотек, в.т.ч до libglx и libdri (ну или как-то так), которые поставились с новым драйвером. Где все эти пути прописываются?
Спасибо сказали: