Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]problem przy wyjściu z X-ów
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
znal
Apprentice
Apprentice


Joined: 12 Jul 2007
Posts: 190

PostPosted: Sat Jan 24, 2009 3:55 pm    Post subject: [SOLVED]problem przy wyjściu z X-ów Reply with quote

Problem polega na tym, że przy wychodzeniu z X-ów w obojętnie jaki sposób (przełączenie się na konsolę przez Ctrl+Alt+Fx, shutdown, Ctrl+Alt+Bksp...) następuje całkowita zwiecha: ekran robi się czarny, klawiatura nie reaguje, pozostaje tylko twardy reset. Niestety nie pamiętam dokładnie od kiedy tak się dzieje, konfig X-ów nie był wcześniej zmieniany.
W logach nic się nie pojawia.
Oto co próbowałem zrobić:
- reemerge, downgrade xorg-serwera do kilku różnych wersji
- jw. dla ati-drivers
- wywalenie wpisów dla myszki i klawiry z xorg.conf (wg loga evdev to już załatwia)
Oczywiście zero efektów.
Poniżej trochę info:
Code:

koral@koral ~ $ emerge -pv xf86-input-evdev xorg-server ati-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.5.3-r1  USE="hal sdl xorg -3dfx -debug -dmx -ipv6 -kdrive -minimal -nptl -tslib" INPUT_DEVICES="evdev -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -keyboard -magellan -microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -tslib -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fglrx radeon -apm -ark -ast -chips -cirrus -cyrix -dummy -epson -fbdev -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa -vga -via -vmware -voodoo -xgi" 0 kB
[ebuild   R   ] x11-drivers/xf86-input-evdev-2.1.1  USE="hal -debug" 271 kB
[ebuild   R   ] x11-drivers/ati-drivers-8.561  USE="acpi -debug" 0 kB
koral@koral ~ $ emerge --info
Portage 2.3_pre12524 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r8 i686)
=================================================================                                               
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_XP_2600+-with-glibc2.0                                 
Timestamp of tree: Sat, 24 Jan 2009 11:30:01 +0000                                                               
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                         
ccache version 2.4 [enabled]                                                                                     
app-shells/bash:     3.2_p48                                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                         
dev-lang/python:     2.5.4-r2                                                                                   
dev-util/ccache:     2.4-r8                                                                                     
dev-util/cmake:      2.6.2-r1                                                                                   
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.2                                                                                       
sys-apps/sandbox:    1.3.2                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                             
sys-devel/binutils:  2.19                                                                                       
sys-devel/gcc-config: 1.4.0-r4                                                                                   
sys-devel/libtool:   2.2.6a                                                                                     
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="x86 ~x86"                                                                                       
CBUILD="i686-pc-linux-gnu"                                                                                       
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe -DNDEBUG -DG_DISABLE_ASSERT"           
CHOST="i686-pc-linux-gnu"                                                                                       
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                                                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                                                   
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -DNDEBUG -DG_DISABLE_ASSERT"                                                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                                                                                   
FEATURES="assume-digests ccache digest distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"         
GENTOO_MIRRORS="http://gentoo.po.opole.pl http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.vectranet.pl/gentoo/ http://gentoo.inode.at/ http://gentoo.prz.rzeszow.pl"       
LANG="pl_PL.UTF-8"                                                                                                                                                                 
LC_ALL="pl_PL.UTF-8"                                                                                                                                                               
LDFLAGS="-Wl,-O1"                                                                                                                                                                   
LINGUAS="pl"                                                                                                                                                                       
MAKEOPTS="-j2"                                                                                                                                                                     
PKGDIR="/usr/portage/packages"                                                                                                                                                     
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                                                         
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                           
PORTDIR="/usr/portage"                                                                                                                                                             
PORTDIR_OVERLAY="/usr/local/portage/layman/Eaedificata /usr/local/portage/layman/roslin /usr/local/portage/other"                                                                   
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                                     
USE="3dnow 3dnowext X acl acpi alsa branding bzip2 cairo cdr cracklib cups dbus djvu dri dvd dvdr dvdread fam firefox fortran gdbm gif gstreamer gtk hal iconv java5 java6 jpeg kde kdeprefix libnotify midi minimal mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pdf perl png ppds python qt3support quicktime readline reiserfs samba sdl session spl sse ssl startup-notification svg symlink sysfs syslog tcpd tiff truetype unicode usb vorbis win32codecs x86 xcomposite xinetd xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"                                                                                                                                                   
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS                                           

koral@koral ~ $ grep -vE '^(#|$)' /etc/X11/xorg.conf
Section "ServerLayout"                             
        Identifier     "Simple Layout"             
        Screen      0  "aticonfig-Screen[0]" 0 0   
        Option "AIGLX" "true"                       
EndSection                                         
Section "Files"                                     
        FontPath     "/usr/share/fonts/misc/"       
        FontPath     "/usr/share/fonts/100dpi/"     
        FontPath     "/usr/share/fonts/75dpi/"     
EndSection                                         
Section "Module"                                   
        Load  "dbe"     # Double buffer extension   
        SubSection "extmod"                         
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection                                                               
        Load  "freetype"                                                             
EndSection                                                                           
Section "Monitor"                                                                   
        Identifier   "My Monitor"                                                   
        HorizSync    31.5 - 82.0                                                     
        VertRefresh  50.0 - 70.0                                                     
EndSection                                                                           
Section "Monitor"                                                                   
        Identifier   "aticonfig-Monitor[0]"                                         
        Option      "VendorName" "ATI Proprietary Driver"                           
        Option      "ModelName" "Generic Autodetecting Monitor"                     
        Option      "DPMS" "true"                                                   
EndSection                                                                           
Section "Device"                                                                     
        Identifier  "Standard VGA"                                                   
        Driver      "vga"                                                           
        VendorName  "Unknown"                                                       
        BoardName   "Unknown"                                                       
EndSection                                                                           
Section "Device"                                                                     
    #VideoRam    131072                                                             
    # Insert Clocks lines here if appropriate                                       
        Identifier  "** ATI Radeon (generic)               [radeon]"                 
        Driver      "radeon"                                                         
Option "DRI" "true"                                                                 
Option "XAANoOffscreenPixmaps" "true"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "TexturedVideo" "on"
EndSection
Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "TexturedVideo" "on"
EndSection
Section "Screen"
        Identifier "Screen 1"
        Device     "** ATI Radeon (generic)               [radeon]"
        Monitor    "My Monitor"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection
Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Section "DRI"
    Mode 0666
EndSection
Section "Extensions"
    Option "Composite" "Enable"
EndSection


Last edited by znal on Sat Feb 07, 2009 1:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
gall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2007
Posts: 142
Location: /home/gall

PostPosted: Sat Jan 24, 2009 4:02 pm    Post subject: Reply with quote

Skoro nie jesteś w stanie powiedzieć od kiedy masz problem to może chociaż kiedy aktualizowałeś ważniejsze paczki z grupy X ?
_________________
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
Back to top
View user's profile Send private message
znal
Apprentice
Apprentice


Joined: 12 Jul 2007
Posts: 190

PostPosted: Sat Jan 24, 2009 5:01 pm    Post subject: Reply with quote

Jakoś na początku tego roku przeszedłem z x86 na ~x86, wtedy uaktualniły się napewno paczki z grupy X, ale wydaje mi się, że od razu po tym było OK. Ciężko było zauważyć ten problem, bo ostatnio nie potrzebowałem przełączać się na czystą konsolę z X-ów, ubijać ich ani nie patrzyłem na ekran w czasie zamykania systemu.
Back to top
View user's profile Send private message
gall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2007
Posts: 142
Location: /home/gall

PostPosted: Sat Jan 24, 2009 8:35 pm    Post subject: Reply with quote

znal wrote:
wydaje mi się,

A mi się wydaje ze mam 20 000 000 zł na koniec. Szkoda że tylko mi się wydaje . . .

A co do tematu:

Z mojego doświadczenia wynika że przejście z stable na unstable mało kiedy idzie jak po maśle. Proponuje sprawdzić jak będzie wyglądała sprawa ze sterownikami otwartymi dla ati. Ogólnie złotego opcji postępowania w twojej sytuacji raczej niema. Sprawdzaj step by step najważniejsze paczki Xów albo ściągnij nowsze wersje z laymana może już nie być tego problemu.
_________________
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
Back to top
View user's profile Send private message
znal
Apprentice
Apprentice


Joined: 12 Jul 2007
Posts: 190

PostPosted: Mon Jan 26, 2009 5:05 pm    Post subject: Reply with quote

Na otwartych sterownikach i xorg-server (najnowszych, ale nie 9999, z overlaya x11) problem nie występuje. Jednak nie działa direct rendering. ZTCP nigdy nie udało mi się go uruchomić na otwartych sterownikach, dlatego zawsze używałem kolejnych wersji zamkniętych. On akurat teraz nie jest bezwzględnie potrzebny, ale może się uda go naprawić. Oczywiście reemerge sterów, xorga i mesy nie poskutkowało.
Szczegóły poniżej:
Code:
koral koral # glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Naruszenie ochrony pamięci
koral koral # grep EE /var/log/Xorg.0.log
Current Operating System: Linux koral 2.6.27-gentoo-r8 #2 PREEMPT Mon Jan 26 15:36:30 CET 2009 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) module ABI major version (1) doesn't match the server's version (2)
(EE) Failed to load module "dri" (module requirement mismatch, 0)
koral koral # grep WW /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Warning, couldn't open module freetype
(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option "VideoOverlay" is not used
(WW) RADEON(0): Option "OpenGLOverlay" is not used
(WW) RADEON(0): Option "TexturedVideo" is not used
(WW) RADEON(0): Option "VendorName" is not used
(WW) RADEON(0): Option "ModelName" is not used

xorg.conf jak w poprzednim poscie tylko inny Driver.

UPDATE:
Problem został rozwiązany. Niestety zmian było tak dużo, że nie pamiętam dokładnie, co spowodowało naprawę. Zapewne będzie to coś z listy poniżej:
- update xorg-servera (do 1.5.99.902)
- usunięcie flagi minimal z xorg-servera
- dodanie flagi nptl do mesy i xorg-servera
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
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