View previous topic :: View next topic |
Author |
Message |
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Sun Feb 26, 2006 5:42 pm Post subject: [SOLVED] [X11/ATI] System się zamraża przy wylogowaniu |
|
|
Niby wszystko jest na forach opisane - ale dalej nie bardzo wiem jak problem mam rozwiązać - więc wybaczcie ten post ale potrzebuję wsparcia bardziej doświadczonych użytkowników, ale do rzeczy:
Z góry zaznaczam, że nie dzieje się tak zawsze ale kiedy zamykam X-y, wylogowuje użytkownika lub wykonuje xdm restart to w efekcie mam zwis systemu - no może nie do końca bo system można czasami zamknąć przyciskiem shutdown. Objawy są następujące, iż widze na ekranie ciemność. Nie mogę sie przełączać pomiędzy konsolami ,ale na shutdown czasami reaguje i się zamyka. Przeszperałem fora i tego typu bag jest opisany wielokrotnie ale żadne z rozwiązań nie zadziałało dotychcas u mnie. Próbowałem zmieniać jądra o to jakie były efekty:
1. Gentoo-Sources 2.6.14 (TUTAJ NASTĘPOWAŁO JEDYNIE WYJŚCIE Z XOW I NIE MOŻNOŚĆ ICH PONOWNEGO URUCHOMIENIA)
2. Gentoo-sources 2.6.15 od r1 do r5 zwis opisany powyżej
3. Nitro-r3 czasami zwis powodował dodatkowo wyświetlenie "tęczy" na ekranie mojego laptopa
Zgodnie ze znalezionymi na forum postami - próbowałem zmieniać wersję sterowników ATI nie pomagało.
Moja aktualną konfiguracja to karta ATI Radeon 9600 mobility na sterownikach wersji 8.22.5, Modularny X.org 7.0 (moduły aktualizowane regularnie), moduły agpgart i intel-agp (zakładam, że taki powinien być przy Centrino) oraz fglrx ładowane podczas uruchamiania systemu
Jestem przekonany, że nie jest to problem menadżera logowania bo testowałem zarówno Gnome i KDE z gdmem i kdmem efekty bez zmian.
Na gentoo-portage znalazłem buga dla gentoo-sources:
https://bugs.gentoo.org/show_bug.cgi?id=120977
I jest tam link do rozwiązania, które ponoć pomaga:
http://lkml.org/lkml/2005/12/11/26
Tyle, że nie wiem co z tym mam zrobić, jądro spatchować? Jak? Jakieś How-To dla lamera
Innych rozwiązań nie znalazłem reszta postów na ten temat mi nie pomogła - te propozycje się nie sprawdzają lub nie są satysfakcjonujące (no splash no dri itp.)
https://forums.gentoo.org/viewtopic-t-294159-highlight-x+crash+logout.html
https://forums.gentoo.org/viewtopic-t-107531-highlight-x+crash+logout.html
https://forums.gentoo.org/viewtopic-t-74095-highlight-x+crash+logout.html
Jeśli ten fix lkml pomaga to podpowiedzcie co z tym co tam jest napisane mam zrobić.
Tak dla porządku podam jeszcze kilka drobiazgów:
emerge --info:
Code: |
portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer -ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa amarok aotuv apm arts artswrappersuid artworkextra asf ati avi bash-completion berkdb binfilter bitmap-fonts bl bzip2 cddb cdparanoia cdr cle266 config_wizard cpudetection crypt cups dbus dedicated dga directfb divx4linux dmx doc dri dts dv dvb dvd dvdr dvdread dxr3 eds elf emboss encode esd exif extraicons extramodules fbcon ffmpeg firefox flac fontconfig foomaticdb fortran fpx gdbm ggi gif gnutls gpg gphoto2 gpm grammar gstreamer gtk gtk2 gtkhtml gzip hal howl i8x0 idn ieee1394 imagemagick imlib insecure-savers jabber java jbig jpeg jpeg2k kde kdgraphics kerberos krb4 libcaca libg++ libgda libwww lirc lm_sensors logitech-mouse lzo mad math matroska mikmod mjpeg mmx mmx2 mmxext mng mono motif mozilla moznoxft mozsvg mp3 mpeg mplayer musepack musicbrainz ncurses network new-login nfs nls nntp nsplugin ogg oggvorbis on-the-fly-crypt openexr opengl oss pam pcmcia pda pdf pdflib perl png python qmail qt quicktime quile rdesktop readline real rle rpm samba sasl scanner sdl sensord slp smaba sndfile snmp sometime speech speex spell sse sse2 ssl svg svga symlink tcltk tcpd tga theora thesaurus tiff tlen toolbar tools truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix visualization voice vorbis wifi win32codecs wmf wordperfect x86 xanim xcomposite xine xml2 xmms xosd xpm xprint xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc input_devices_synaptics input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux linguas_pl linguas_en userland_GNU video_cards_fglrx video_cards_ati"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
|
Konfiguracja xow xorg.conf (powycinałem zbędne linie):
Code: |
Section "dri"
Group 27 # video
Mode 0660
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
SubSection "extmod"
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
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 ###
# Option "backingstore" "true"
# === Screen Management ===
Option "DesktopSetup" "Clone"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "TVFormat" "PAL-D"
Option "TVStandard" "PAL-D"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06218862"
Option "GammaCorrectionII" "0x05114451"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "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" "yes"
Option "FSAAScale" "6"
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:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display
Depth 24
Modes "1280x800" "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
|
I logi które mogą być związane z w/w tematem Warningi i errory:
Xorg.0.log
Code: |
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Specified desktop setup not supported: 8
|
Te linie się powtażają tylko zmienia się numer /dev/dri/cardxxx
Code: |
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned '' "
Could not init font path element /usr/share/fonts/75dpi, removing from list!
(EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm
(EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm
|
xdm.log jest niewielki więc zamieszczam kompletny:
Code: |
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-gentoo-r1 i686
Current Operating System: Linux komputerek 2.6.15-nitro3 #7 SMP Thu Feb 2 14:40:38 CET 2006 i686
Build Date: 30 January 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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: Thu Feb 2 15:01:03 2006
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "pc/pl2" for symbols include
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
Warning: Cannot convert string "-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1" to type FontStruct
Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1" to type FontStruct
Warning: Cannot convert string "-adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1" to type FontStruct
/usr/lib/X11/xdm/Xsetup_0: line 3: xconsole: command not found
xdm error (pid 12065): fatal IO error 32 (Broken pipe)
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-gentoo-r1 i686
Current Operating System: Linux komputerek 2.6.15-nitro3 #7 SMP Thu Feb 2 14:40:38 CET 2006 i686
Build Date: 30 January 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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: Thu Feb 2 15:01:16 2006
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "pc/pl2" for symbols include
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
Warning: Cannot convert string "-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1" to type FontStruct
Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1" to type FontStruct
Warning: Cannot convert string "-adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1" to type FontStruct
/usr/lib/X11/xdm/Xsetup_0: line 3: xconsole: command not found
xdm error (pid 12107): fatal IO error 32 (Broken pipe)
xdm error (pid 12062): Server crash rate too high: removing display :0
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
|
kdm.log (warningi i errory):
Code: |
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "pc/pl2" for symbols include
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
(EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm
|
dmesg | grep fglrx
Code: |
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 428 MBytes.
[fglrx] module loaded - fglrx 8.22.5 [Feb 7 2006] on minor 0
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
[fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
[fglrx] free AGP = 256126976
[fglrx] max AGP = 256126976
[fglrx] free LFB = 52719616
[fglrx] max LFB = 52719616
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 65536
|
Tak poza konkursem jak widzicie tu coś co można poprawić a nie jest związane z tematem też będę wdzięczny za sugestie. Cała konfiguracja Xow było robiona toczka w toczkę z handbookiem. _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11
Last edited by andrzejk on Mon Mar 06, 2006 5:29 pm; edited 1 time in total |
|
Back to top |
|
|
sebad Tux's lil' helper
Joined: 06 Oct 2005 Posts: 130 Location: Poland
|
Posted: Mon Feb 27, 2006 2:17 pm Post subject: |
|
|
Mialem dokladnie ten sam problem. Wina lezy tylko i wylacznie w nieszczesnych sterach ATI i obsludze radeonfb. Jesli masz wlaczona w kernelu obsluge framebuffera dla radeonow to jest to na 99% wina tego. Rozwiazania sa dwa:
1 Zaladowac stery w wersju nie nowszej jak 8.14.13-r5
2 Wylaczyc obsluge radeonfb w kernelu i uzywac vesafb
Ja polecam rozwiazanie drugie ,gdyz poza obsluga framebuffera na niektorym kartqach ,stery sprawuja sie bardzo dobrze.
Jest zdecydowana poprawa wydajnosci w porownaniu z wersja stabilna. _________________ Serwis komputerowy - Warszawa |
|
Back to top |
|
|
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Mon Feb 27, 2006 2:52 pm Post subject: |
|
|
Code: |
2 Wylaczyc obsluge radeonfb w kernelu i uzywac vesafb
|
Czyli nici ze splasha a jest taki ładny ;-(?
A ten patch bo jak mniemam chodzi tu o spachowanie jądra, testowałeś?
Quote: | Załadować stery w wersji nie nowszej jak 8.14.13-r5 |
Nie chciał się ładować moduł fglrx na jądrze 2.6.15-r1. Ponowny upgrade po wcześnijszym odpaleniu fglrxconfiga spowodował kernel panic - dobrze, że miałem zapasowy xorg.conf bo zrobiło mi się gorąco.
Quote: | Wylaczyc obsluge radeonfb w kernelu i uzywac vesafb |
Wywaliłem radeonfb nie pomogło, wywaliłem obsługe frembuffera w ogóle - bez zmian - przy wylogowaniu system się "zamraża" mam czarny ekranik ale shutdown z guzika lub restart za pomocą salutu trzech króli działa. W opisie buga do którego link zamieściłem powyżej ludzie piszą, że przejście do xorga 6.8.x sterów 8.14.x i jądra 2.6.14 pomaga ale baaaardzo chciałbym tego uniknąć - może ktoś ma jeszcze jakiś pomysł.
od raku: połączono dwa posty _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11 |
|
Back to top |
|
|
argasek Bodhisattva
Joined: 06 May 2004 Posts: 1121 Location: Sol [0,0], Poland, Kraków
|
|
Back to top |
|
|
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Mon Mar 06, 2006 5:28 pm Post subject: |
|
|
Dopisanie:
TerminateServer=true
do
/usr/kde/3.5/share/config/kdm/kdmrc
działa - serwer się restartuje i nie ma zwisów grafiki - Dzięks daje solved! _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11 |
|
Back to top |
|
|
pszemas Apprentice
Joined: 02 Aug 2005 Posts: 181
|
Posted: Mon Mar 06, 2006 6:15 pm Post subject: |
|
|
Quote: |
Czyli nici ze splasha a jest taki ładny ;-(?
|
co ma piernik do wiatraka ? tez mam ati i dzialam na vesafb i jest git i jakos mi splash nie zrobil sie brzydki ;]
tez tak mialem (po wyjsciu z X'ow system zamarzal) zmienilem stery na najnowzsze czyli:
Code: |
ACCEPT_KEYWORDS="~x86" emerge ati-drivers |
Pozdrowienia ! |
|
Back to top |
|
|
andrzejk Tux's lil' helper
Joined: 08 Jan 2006 Posts: 139 Location: Warsaw, Poland
|
Posted: Mon Mar 06, 2006 10:59 pm Post subject: |
|
|
Quote: | co ma piernik do wiatraka ? tez mam ati i dzialam na vesafb i jest git i jakos mi splash nie zrobil sie brzydki ;] |
Nic - a uwaga jest nieaktualna była w oddzielnym poscie i dotyczyla usunięcia frambuffera "at all". Jak się okazło nie miało to związku z problemem i właśnie przywracam vese-fb na której działałem od początku - szukając rozwiązania chwytałem się różnych pomysłów.
U mnie update sterów nie pomógł - co napisałem.
Pozdrawiam _________________ Dell XPS Gentoo 3.12.2 GCC 4.8.2 KDE 4.11 |
|
Back to top |
|
|
mysiar Tux's lil' helper
Joined: 26 Aug 2004 Posts: 102 Location: Kraków
|
Posted: Wed Mar 15, 2006 2:31 pm Post subject: |
|
|
andrzejk wrote: | Dopisanie:
TerminateServer=true
do
/usr/kde/3.5/share/config/kdm/kdmrc
działa - serwer się restartuje i nie ma zwisów grafiki - Dzięks daje solved! |
tak gwoli informacji dodam, że należy to dopisać w grupie
[X-:*-Core]
http://ati.cchtml.com/show_bug.cgi?id=239
co by było prościej _________________ piotr
kilka moich ebuldów / my few ebuilds |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|