[Hardware] ATI Radeon RV280 on ALM 2.4

Eugene Prokopiev prokopiev на stc.donpac.ru
Ср Мар 1 09:36:15 MSK 2006


Здравствуйте!

Требуется на ALM 2.4 завести следующее:

# pciscan
Recommended driver     Description
------------------     -----------
unknown                Intel Corp.|82865G [Springdale-G] Chipset Host 
Bridge[Host bridge]
unknown                Intel Corp.|82865G/PE/P Processor to AGP 
Controller[PCI bridge Normal decode]
usb-uhci               Intel Corporation|USB Controller[UHCI USB Controller]
usb-uhci               Intel Corporation|USB Controller[UHCI USB Controller]
usb-uhci               Intel Corporation|USB Controller[UHCI USB Controller]
usb-uhci               Intel Corp.|82801EB USB EHCI Controller #2[UHCI 
USB Controller]
usb-ehci               Intel Corporation|USB Enhanced Controller[EHCI 
USB Controller]
i810_rng               Intel Corporation|82820 815e (Camino 2) Chipset 
PCI[PCI bridge Normal decode]
unknown                Intel Corp.|82801EB ISA Bridge (LPC)[ISA bridge]
unknown                Intel Corp.|82801EB ICH5 IDE[IDE interface 
storage controller]
unknown                Intel Corp.|82801EB SMBus[SMBus]
snd-intel8x0           Intel Corp.|82801EB AC'97 Audio[Multimedia audio 
controller]
Card:ATI Radeon RV280  ATI Technologies Inc|Radeon RV280 [Radeon 
9200][VGA compatible controller]
unknown                [Display controller]
8139too                Realtek|RTL-8139[Ethernet controller]
eepro100               Intel Corp.|NC3121 Fast Ethernet NIC 
(WOL)[Ethernet controller]

Много не нужно: хватит 2D в режиме 1024х768 16 85 :)

Запускаю xf86cfg, он выдает значительно больше. В Configure Modeline 
выбираю требуемое, нажимаю Quit. Предлагают сохранить наконфигуренное в 
/etc/X11/XF86Config, соглашаюсь. Также предлагают записать конфигурацию 
XKB в /usr/X11R6/lib/X11/xkb/X0-config.keyboard, тоже соглашаюсь.

После этого ни на текстовых консолях, ни на 7ой не вижу ничего. По ssh 
запускаю service dm start. На 7ой консоли вижу нечто жуткое (совсем не 
1024х768 16 85), на текстовых консолях текст из белого превращается в 
оранжево-коричневый.

В конфиг нагенерилось следующее:

# cat /etc/X11/XF86Config
Section "ServerLayout"
         Identifier     "XFree86 Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
         RgbPath      "/usr/X11R6/lib/X11/rgb"
         ModulePath   "/usr/X11R6/lib/modules"
         FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
         FontPath     "unix/:-1"
EndSection

Section "Module"
         Load  "dbe"
         Load  "dri"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "xie"
         Load  "xtrap"
EndSection

Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "keyboard"
EndSection

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "auto"
         Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"

         #DisplaySize      310   230     # mm
         Identifier   "Monitor0"
         VendorName   "SAM"
         ModelName    "SyncMaster"
         Option      "DPMS"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"                   # [<bool>]
         #Option     "SWcursor"                  # [<bool>]
         #Option     "Dac6Bit"                   # [<bool>]
         #Option     "Dac8Bit"                   # [<bool>]
         #Option     "ForcePCIMode"              # [<bool>]
         #Option     "BusType"                   # [<str>]
         #Option     "CPPIOMode"                 # [<bool>]
         #Option     "CPusecTimeout"             # <i>
         #Option     "AGPMode"                   # <i>
         #Option     "AGPFastWrite"              # [<bool>]
         #Option     "AGPSize"                   # <i>
         #Option     "GARTSize"                  # <i>
         #Option     "RingSize"                  # <i>
         #Option     "BufferSize"                # <i>
         #Option     "EnableDepthMoves"          # [<bool>]
         #Option     "EnablePageFlip"            # [<bool>]
         #Option     "NoBackBuffer"              # [<bool>]
         #Option     "PanelOff"                  # [<bool>]
         #Option     "DDCMode"                   # [<bool>]
         #Option     "MonitorLayout"             # [<str>]
         #Option     "IgnoreEDID"                # [<bool>]
         #Option     "OverlayOnCRTC2"            # [<bool>]
         #Option     "CloneMode"                 # [<str>]
         #Option     "CloneHSync"                # [<str>]
         #Option     "CloneVRefresh"             # [<str>]
         #Option     "UseFBDev"                  # [<bool>]
         #Option     "VideoKey"                  # <i>
         #Option     "DisplayPriority"           # [<str>]
         #Option     "PanelSize"                 # [<str>]
         #Option     "ForceMinDotClock"          # <freq>
         Identifier  "Card0"
         Driver      "ati"
         VendorName  "ATI Technologies Inc"
         BoardName   "Unknown Board"
         BusID       "PCI:1:0:0"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         SubSection "Display"
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Depth     24
         EndSubSection
EndSection

Заменяю секцию Screen на следующее:

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         Subsection "Display"
             Depth       16
             Modes       "1024x768" "800x600" "640x480"
             ViewPort    0 0
         EndSubsection
EndSection

В ответ на startx получаю совершенно дикое сообщение:

(==) Log file: "/var/log/XFree86.0.log", Time: Wed Mar  1 09:29:37 2006
(==) Using config file: "/etc/X11/XF86Config"
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(EE) RADEON(0): No Display subsection in Screen section "Screen0" for 
depth/fbbpp 8/8
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Напомню, что в конфиге написано BusID       "PCI:1:0:0"

По этому поводу в /var/log/XFree86.0.log написано:

(II) Primary Device is: PCI 01:00:0
(II) ATI:  Candidate "Device" section "Card0".
(WW) ATI:  PCI/AGP Mach64 in slot 1:0:1 could not be detected!
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset ATI Radeon 9200 5961 (AGP) found
...
(II) RADEON(0): PCI bus 1 card 0 func 0
(EE) RADEON(0): No Display subsection in Screen section "Screen0" for 
depth/fbbpp 8/8
(II) UnloadModule: "ati"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(II) UnloadModule: "radeon"
(II) Unloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Установлено:

# rpm -qa | grep XFree
XFree86-KOI8-75dpi-fonts-3.0-ipl7mdk
XFree86-bitmaps-4.3.0-alt17
XFree86-xauth-4.3.0-alt17
XFree86-75dpi-fonts-4.3.0-alt17
XFree86-libs-4.3.0-alt17
XFree86-4.3.0-alt17
XFree86-xfs-4.3.0-alt17
XFree86-xdm-4.3.0-alt17
XFree86-Xnest-4.3.0-alt17
XFree86-devel-4.3.0-alt17
XFree86-utils-4.3.0-alt17
XFree86-locales-4.3.0-alt17
XFree86-server-4.3.0-alt17

# rpm -qa | grep fglrx
kernel-modules-fglrx-std-up-1.0.3.7.6-alt6.6

Пробовал сделать так:

# apt-cache search XFree86 | grep ati
XFree86 - Part of the XFree86 implementation of the X Window System
XFree86-ati-gatos - ATI Gatos additional drivers for XFree86-4.3.0
XFree86-devel-static - X11R6 development static libraries
XFree86-doc - Documentation on various X11 programming interfaces
XFree86-8514 - The XFree86 server program for older IBM 8514 or 
compatible video cards
hwdata - Hardware identification and configuration data
libGLwrapper - GLwrapper library for automatic selecting right libGL library
livecd-config-xf86vesa - setup for LiveCD creation - preconfigure 
XFree86 for VESA modes
xfree86_xkb_xml - XML-based XKB configuration registry
[root на prokopiev root]# apt-get install XFree86-ati-gatos
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
   XFree86-ati-gatos
0 upgraded, 1 newly installed, 0 removed and 4 not upgraded.
Need to get 0B/265kB of archives.
After unpacking 572kB of additional disk space will be used.
Committing changes...
Preparing... 
################################################################################################### 
[100%]
1: XFree86-ati-gatos 
################################################################################################### 
[100%]
Done.

Но теперь я даже не могу запустить xf86cfg

List of video drivers:
	...
         ati
         ...
         ati_gatos
         ...
Duplicate symbol ATIMach64PollEngineStatus in 
/usr/X11R6/lib/modules/drivers/atimisc_gatos_drv.o
Also defined in /usr/X11R6/lib/modules/drivers/atimisc_drv.o

Fatal server error:
Module load failure


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.8.log".
Please report problems to xfree86 на packages.altlinux.org.

Failed to run "X -configure".

X c изменениями в конфиге, которые описаны выше, тоже не запускаются.

Что делать дальше?

-- 
С уважением, Прокопьев Евгений



Подробная информация о списке рассылки Hardware