Купил и поставил новую видюху Radeon HD 7950 Ловлю проблемы - при старте иксов система зависает. Где-то в 1 случаев из 5, но закономерности понять не удалось. Может 7 раз отстартовать нормально, потом 3 раза подряд зависнуть.
Зависает в смысле, что устройства ввода - мыша и клава перестают реагировать. Сама система после зависания вроде как еще живет, т.к. при выключении кнопкой питания пятисундным нажатием пишет в лог:
Oct 13 10:33:05 debian shutdown[3467]: shutting down for system halt
Из логов мало чего понял, кроме того, что при неудаче не появляется сообщение в логах иксов:
(II) fglrx(0): DRI initialization successfull
Еще при загрузке системы подозрительные сообщения о kernel taint (всегда):
Oct 13 10:32:45 debian kernel: [ 3.174823] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Oct 13 10:32:45 debian kernel: [ 3.174825] Disabling lock debugging due to kernel taint
Oct 13 10:32:45 debian kernel: [ 3.194483] [fglrx] Maximum main memory to use for locked dma buffers: 7719 MBytes.
Oct 13 10:32:45 debian kernel: [ 3.194551] [fglrx] vendor: 1002 device: 679a count: 1
Oct 13 10:32:45 debian kernel: [ 3.194681] [fglrx] ioport: bar 4, base 0xe000, size: 0x100
Oct 13 10:32:45 debian kernel: [ 3.194690] pci 0000:01:00.0: setting latency timer to 64
Oct 13 10:32:45 debian kernel: [ 3.194769] [fglrx] Kernel PAT support is enabled
Oct 13 10:32:45 debian kernel: [ 3.194782] [fglrx] module loaded - fglrx 8.98.2 [Jul 19 2012] with 1 minors
Как бы подебажить, какой лог настроить/смотреть, чтобы отловить ошибку? Подключиться по ssh к зависшей системе нет возможности (не с чего).
сведения о системе, версиях драйвера
~$ uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
~$ lspci |grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Tahiti PRO [Radeon HD 7950]
~$ ls /var/lib/dkms/fglrx/
12-6+point kernel-3.2.0-4-amd64-x86_64
Различия в логах Xorg.log в случае успешной и неуспешной загрузки.
При неуспешной все заканчивается на строках:
[ 14.225] (II) fglrx(0): Adapter AMD Radeon HD 7900 Series has 6 configurable heads and 1 displays connected.
[ 14.226] (==) fglrx(0): PseudoColor visuals disabled
[ 14.226] (II) Loading sub module "ramdac"
[ 14.226] (II) LoadModule: "ramdac"
[ 14.226] (II) Module "ramdac" already built-in
[ 14.226] (==) fglrx(0): NoDRI = NO
[ 14.226] (==) fglrx(0): Capabilities: 0x00000000
[ 14.226] (==) fglrx(0): CapabilitiesEx: 0x00000000
[ 14.226] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
[ 14.226] (==) fglrx(0): UseFastTLS=0
[ 14.226] (--) Depth 24 pixmap format is 32 bpp
[ 14.226] (II) Loading extension ATIFGLRXDRI
[ 14.226] (II) fglrx(0): doing swlDriScreenInit
[ 14.226] (II) fglrx(0): swlDriScreenInit for fglrx driver
[ 14.226] ukiDynamicMajor: found major device number 251
[ 14.226] ukiDynamicMajor: found major device number 251
[ 14.226] ukiDynamicMajor: found major device number 251
[ 14.226] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 14.226] ukiOpenDevice: node name is /dev/ati/card0
[ 14.226] ukiOpenDevice: open result is 13, (OK)
[ 14.226] ukiOpenByBusid: ukiOpenMinor returns 13
[ 14.226] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 14.226] (II) fglrx(0): [uki] DRM interface version 1.0
[ 14.226] (II) fglrx(0): [uki] created "fglrx" driver at busid "PCI:1:0:0"
[ 14.226] (II) fglrx(0): [uki] added 8192 byte SAREA at 0x2000
[ 14.226] (II) fglrx(0): [uki] mapped SAREA 0x2000 to 0x7f0d08c6d000
[ 14.226] (II) fglrx(0): [uki] framebuffer handle = 0x3000
[ 14.226] (II) fglrx(0): [uki] added 1 reserved context for kernel
[ 14.226] (II) fglrx(0): swlDriScreenInit done
[ 14.226] (II) fglrx(0): Kernel Module Version Information:
[ 14.226] (II) fglrx(0): Name: fglrx
[ 14.226] (II) fglrx(0): Version: 8.98.2
[ 14.226] (II) fglrx(0): Date: Jul 19 2012
[ 14.226] (II) fglrx(0): Desc: AMD FireGL DRM kernel module
[ 14.226] (II) fglrx(0): Kernel Module version matches driver.
[ 14.226] (II) fglrx(0): Kernel Module Build Time Information:
[ 14.226] (II) fglrx(0): Build-Kernel UTS_RELEASE: 3.2.0-4-amd64
[ 14.226] (II) fglrx(0): Build-Kernel MODVERSIONS: no
[ 14.226] (II) fglrx(0): Build-Kernel __SMP__: no
[ 14.226] (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
[ 14.226] (II) fglrx(0): [uki] register handle = 0x00004000
В случае успешной продолжается
12.412] (II) fglrx(0): DRI initialization successfull
[ 12.413] (II) fglrx(0): FBADPhys: 0xf400000000 FBMappedSize: 0x010e0000
[ 12.414] (==) fglrx(0): Backing store disabled
[ 12.414] (II) Loading extension FGLRXEXTENSION
[ 12.414] (**) fglrx(0): DPMS enabled
[ 12.414] (II) fglrx(0): Initialized in-driver Xinerama extension
[ 12.414] (**) fglrx(0): Textured Video is enabled.
[ 12.414] (II) LoadModule: "glesx"
[ 12.414] (II) Loading /usr/lib/xorg/modules/glesx.so
[ 12.432] (II) Module glesx: vendor="X.Org Foundation"
[ 12.432] compiled for 1.4.99.906, module version = 1.0.0
[ 12.432] (II) Loading extension GLESX
[ 12.432] (II) fglrx(0): GLESX enableFlags = 592
[ 12.433] (II) fglrx(0): GLESX is enabled
[ 12.433] (II) LoadModule: "amdxmm"
[ 12.433] (II) Loading /usr/lib/xorg/modules/amdxmm.so
[ 12.435] (II) Module amdxmm: vendor="X.Org Foundation"
[ 12.435] compiled for 1.4.99.906, module version = 2.0.0
[ 12.445] (II) Loading extension AMDXVOPL
[ 12.445] (II) Loading extension AMDXVBA
[ 12.449] (II) fglrx(0): UVD feature is enabled(II) fglrx(0):
[ 12.449] (II) fglrx(0): Enable composite support successfully
[ 12.449] (WW) fglrx(0): Option "VendorName" is not used
[ 12.449] (WW) fglrx(0): Option "ModelName" is not used
[ 12.449] (II) fglrx(0): X context handle = 0x1
......
[ 12.829] (II) Using input driver 'evdev' for 'Power Button'
[ 12.829] (**) Power Button: always reports core events
[ 12.829] (**) evdev: Power Button: Device: "/dev/input/event4"
[ 12.829] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 12.829] (--) evdev: Power Button: Found keys
[ 12.829] (II) evdev: Power Button: Configuring as keyboard
[ 12.829] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[ 12.829] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 12.829] (**) Option "xkb_rules" "evdev"
[ 12.829] (**) Option "xkb_model" "pc105"
[ 12.829] (**) Option "xkb_layout" "us,ru"
[ 12.829] (**) Option "xkb_variant" ","
[ 12.829] (**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
[ 12.855] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 12.855] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 12.855] (II) Using input driver 'evdev' for 'Power Button'
[ 12.855] (**) Power Button: always reports core events
[ 12.855] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 12.855] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 12.855] (--) evdev: Power Button: Found keys
[ 12.855] (II) evdev: Power Button: Configuring as keyboard
[ 12.855] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event3"
[ 12.855] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 12.855] (**) Option "xkb_rules" "evdev"
[ 12.855] (**) Option "xkb_model" "pc105"
[ 12.855] (**) Option "xkb_layout" "us,ru"
[ 12.855] (**) Option "xkb_variant" ","
[ 12.855] (**) Option "xkb_options" "grp:ctrl_shift_toggle,grp_led:scroll"
[ 12.855] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/event0)
[ 12.855] (**) PixArt USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 12.855] (II) Using input driver 'evdev' for 'PixArt USB Optical Mouse'
[ 12.855] (**) PixArt USB Optical Mouse: always reports core events
[ 12.855] (**) evdev: PixArt USB Optical Mouse: Device: "/dev/input/event0"
[ 12.855] (--) evdev: PixArt USB Optical Mouse: Vendor 0x93a Product 0x2510
[ 12.855] (--) evdev: PixArt USB Optical Mouse: Found 3 mouse buttons
[ 12.855] (--) evdev: PixArt USB Optical Mouse: Found scroll wheel(s)
[ 12.855] (--) evdev: PixArt USB Optical Mouse: Found relative axes
[ 12.855] (--) evdev: PixArt USB Optical Mouse: Found x and y relative axes
[ 12.855] (II) evdev: PixArt USB Optical Mouse: Configuring as mouse
[ 12.855] (II) evdev: PixArt USB Optical Mouse: Adding scrollwheel support
....
конфиг иксов
~$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection