LinuxForum.Fans
Тема

Проблемы с графикой при старте системы

Автор: nik222 21 сообщений 6662 просмотров
#231839

Здравствуйте. В очередной раз столкнулся с проблемой: при загрузке системы после экрана с секундомером черный экран. Система прогружается до конца но без GUI. Сталкиваюсь с такой ситуацией уже не в первый раз. Было и на Centos 6.1 и на 6.2
Подскажите пожалуйста как можно выявить причину проблемы?

#231844

Логи иксов, видеокарта

#231853
nik222 написал:
Здравствуйте. В очередной раз столкнулся с проблемой: при загрузке системы после экрана с секундомером черный экран. Система прогружается до конца но без GUI. Сталкиваюсь с такой ситуацией уже не в первый раз. Было и на Centos 6.1 и на 6.2
Подскажите пожалуйста как можно выявить причину проблемы?

В системе случайно не две видеокарты?

#231859

Логи: http://cl.ly/0N3H1E0h2F2y3T301X3f
Карта: ATI ES1000

VGA разъема два, в спецификации если не ошибаюсь речь идет о двух интегрированных видеокартах.

#231862

покажите вывод

text
lspci

драйвера какие-то ставили для видяхи?

#231866

видеокарта там одна... ATI ES1000 встречаются на серверных материнках, если мне память не изменяет.

#231869

Честно - не ставил. (после windows не смог понят как это реализуется)

text
lspci:
Показать
00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:04.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 4 (rev 13)
00:05.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 5 (rev 13)
00:06.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 6 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:08.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 8 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13)
00:0a.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 10 (rev 13)
00:0d.0 Host bridge: Intel Corporation Device 343a (rev 13)
00:0d.1 Host bridge: Intel Corporation Device 343b (rev 13)
00:0d.2 Host bridge: Intel Corporation Device 343c (rev 13)
00:0d.3 Host bridge: Intel Corporation Device 343d (rev 13)
00:0d.4 Host bridge: Intel Corporation 5520/5500/X58 Physical Layer Port 0 (rev 13)
00:0d.5 Host bridge: Intel Corporation 5520/5500 Physical Layer Port 1 (rev 13)
00:0d.6 Host bridge: Intel Corporation Device 341a (rev 13)
00:0e.0 Host bridge: Intel Corporation Device 341c (rev 13)
00:0e.1 Host bridge: Intel Corporation Device 341d (rev 13)
00:0e.2 Host bridge: Intel Corporation Device 341e (rev 13)
00:0e.3 Host bridge: Intel Corporation Device 341f (rev 13)
00:0e.4 Host bridge: Intel Corporation Device 3439 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.3 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
01:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 03)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 03)
01:04.4 USB controller: Hewlett-Packard Company Integrated Lights-Out Standard Virtual USB Controller
01:04.6 IPMI SMIC interface: Hewlett-Packard Company Integrated Lights-Out Standard KCS Interface
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
03:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
04:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
10:00.0 PCI bridge: NEC Corporation uPD720400 PCI Express - PCI/PCI-X Bridge (rev 06)
10:00.1 PCI bridge: NEC Corporation uPD720400 PCI Express - PCI/PCI-X Bridge (rev 06)

lspci -v:

Показать
01:03.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 31fb
Flags: bus master, stepping, medium devsel, latency 64, IRQ 23
Memory at e8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 3000 [size=256]
Memory at f1ff0000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at f1e00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon, radeonfb
#231873

поискал я тут инфу по этому поводу и вот:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Technical_Notes/desktop.html

из пункта 12.1. Known Issues

ATI RN50/ES1000 graphics devices have limited Video RAM (VRAM) and are restricted to an 8-bit color depth for the text console. Consequently, the graphical boot screen is unavailable on systems using these graphics devices.

т.е. видяха слабая, как минимум...

хотелось бы увидеть конфиг Иксов

#231876

Извините, но я не могу найти xorg.conf :( (в /etc/X11/ нету)

По поводу слабой видеокары: после установки системы все было нормально недели две, ну и второй такой же сервер работает на windows - каких то ощутимых проблем с графикой нет.

#231877
nik222 написал:
Извините, но я не могу найти xorg.conf :( (в /etc/X11/ нету)

По поводу слабой видеокары: после установки системы все было нормально недели две, ну и второй такой же сервер работает на windows - каких то ощутимых проблем с графикой нет.

X :1 -configure
и потом смотри конфиг в /root/xorg.conf.new

#231880

так, рассказывайте, что случилось по прошествии двух недель... если было нормально, а стало плохо, значит что-то произошло.

#231883

Прошу:

Показать
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "dbe"
Load "dri2"
Load "extmod"
Load "record"
Load "glx"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<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 "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:3:0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # <str>
#Option "fbdev" # <str>
#Option "debug" # [<bool>]
Identifier "Card1"
Driver "fbdev"
BusID "PCI:1:3:0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:1:3:0"
EndSection

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

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

извиняюсь, ссылка оказалось битой

#231888

to Hrafn: вечером уходил с работы все было ок, дома подключался к серверу по средством nx. С утра графики уже не было.

#232265

Не у кого ни каких идей ?

#232457

Похоже привел несколько некорректную информацию. :( При создании Xorg.conf использовал команду Xorg :1 -configure - что как я понимаю неправильно.
При вводе Xorg :0 -configure получаю:

text
Fatal server error:
Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.
#232514

По вашему логу:

text

# grep -A3 -P "\(EE\)|\(WW\)" /var/log/Xorg.0.log*
[some output skipped]
[ 97501.072] (WW) Falling back to old probe method for vesa
[ 97501.072] (WW) Falling back to old probe method for fbdev
[ 97501.072] (II) Loading sub module "fbdevhw"
[ 97501.072] (II) LoadModule: "fbdevhw"
[ 97501.072] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
--
[ 97501.313] (WW) RADEON(0): You need a newer kernel for sync extension
[ 97501.313] (II) RADEON(0): [DRI2] Setup complete
[ 97501.313] (II) RADEON(0): [DRI2]   DRI driver: radeon
[ 97501.313] (II) RADEON(0): Front buffer size: 3072K
--
[ 97501.331] (EE) AIGLX error: Calling driver entry point failed
[ 97501.331] (EE) AIGLX: reverting to software rendering
[ 97501.331] (II) AIGLX: Screen 0 is not DRI capable
[ 97501.332] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[ 97501.332] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Драйвера обновляли? Ядро пересобирали? Попробуйте отключить glx-ы и т.п.
Используете 3 монитора? Попробуйте отредактировать Xorg.conf (привести в соответствие с действительностью).

Для "обхода" ошибки "Server is already active for display 0":
Переключаетесь в свободную консоль (CTRL+ALT+F2, CTRL+ALT+F3, CTRL+ALT+F4 - какая больше понравится).
Логинитесь. От суперюзера даете
telinit 3
После чего в консольке пробуете запустить "ругающуюся" команду. По завершении работы команды можете сделать telinit 5 из той же консольки. На 1-ом терминале (ALT+F1) снова запустится X-сервер (судя по ругани на уже присутствующий сервер на :0 X-ы таки запускаются).

#232536

Извиняюсь за столь наивные вопросы:

Как можно обновить драйвера ?
Как можно отключить glx ?

Монитор используется один (хотя мне не совсем понятно как расценивать подключение по средством nx). X-ы быть может и стартуют, но графики я не вижу (черный экран)

#232556

Как можно отключить glx ?

В Xorg.conf убрать строки
Load "dri2"
Load "dri"
Load "glx"
Можно посмотреть еще и на другие модули (я бы убрал их все для начала, и потом по одному включал).
Попробуйте таки сделать в консольке telinit 3 и запустить, например, startx. Чем будет плеваться X-сервер? Желательно лог в студию

Как можно обновить драйвера ?

Это зависит от того, каким способом вы ставили то, что сейчас пытается использовать X-сервер. Если из репозитория - yum reinstall попробовать, либо yum update. Если ручками - соответственно по той же схеме, что и устанавливали.

#232663

Не хочет переключаться в консольный режим - все тот же черный экран. НО: при подключении к серверу по средством nxklient и вводе startx X-ы стартуют, но только из под root. При запуске в терминале:

text
X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: c6b18n2 2.6.32-71.el6.x86_64 
Current Operating System: Linux m.roket 2.6.32-71.el6.i686 #1 SMP Fri Nov 12 04:17:17 GMT 2010 i686
Kernel command line: ro root=/dev/mapper/vg_m-lv_root rd_LVM_LV=vg_m/lv_root rd_LVM_LV=vg_m/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=ru_RU.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
Build Date: 17 December 2011  04:48:52PM
Build ID: xorg-x11-server 1.10.4-6.el6_2.1 
Current version of pixman: 0.18.4
    Before reporting problems, check https://www.redhat.com/apps/support/
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 27 11:30:29 2012
(==) Using default built-in configuration (30 lines)
(II) [KMS] Kernel modesetting enabled.
(EE) AIGLX error: Calling driver entry point failed
(EE) AIGLX: reverting to software rendering
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet

** (gnome-keyring-daemon:3486): WARNING **: couldn't read 4 bytes from gnome-keyring socket: Сообщение сброшено другой стороной

** (gnome-keyring-daemon:3486): WARNING **: couldn't initialize running daemon GNOME_KEYRING_SOCKET=/tmp/keyring-CSrA90/socket SSH_AUTH_SOCK=/tmp/keyring-CSrA90/socket.ssh GNOME_KEYRING_PID=3501 Failed to play sound: Not available W: main.c:

(polkit-gnome-authentication-agent-1:4464): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:4464): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed ** Message: applet now removed from the notification area

** (nm-applet:4452): WARNING **: get_all_cb: couldn't retrieve system settings properties: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files. Initializing nautilus-gdu extension

** (nm-applet:4452): WARNING **: fetch_connections_done: error fetching system connections: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files.

** (gnome-panel:4326): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet: (null) ** Message: applet now embedded in the notification area ** Message: applet now removed from the notification area

#232743

Выглядит загадочно. Всё те же ошибки glx-а. Но, если учесть, что под рутом запускается нормально - не критичные.
Попробуйте переустановить группы "Платформа Desktop" и "Система X Window".

Войдите или зарегистрируйтесь, чтобы ответить.